GtkMessageDialog convenience method



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?

Thanks in advance,
Volodya



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]