Re: GtkMessageDialog convenience method



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]