Re: GtkMessageDialog convenience method
- From: Murray Cumming <murrayc murrayc com>
- To: Vladimir Prus <ghost cs msu su>
- Cc: gtkmm-list gnome org
- Subject: Re: GtkMessageDialog convenience method
- Date: Sun, 28 May 2006 18:47:56 +0200
On Thu, 2006-05-25 at 12:58 +0400, Vladimir Prus wrote:
> Hi,
> It looks like GtkMessageDialog does not provide a convenience method to create
> a message both with both primary and secondary text and run it, something
> like:
>
> GtkMessageDialog::error(
> window, "Something bad happened", "Check your karma");
>
> Instead, I need to use:
>
> GtkMessageDialog d(..............);
> d.set_secondary_text(....);
> d.run();
>
> Is the lack of such convenience method by design, or nobody ever asked for it,
> or nobody has the right yet to implement it?
I think I just chose not to have too many versions of the constructor,
and not to have constructors with too many parameters.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]