Re: Gtk::AboutDialog issue.



Am Montag, den 29.01.2007, 18:12 +0000 schrieb Russel Winder:

> (Normally I am not a fan of modal dialogs but I guess in this
> case... :-)

I wholeheartedly share your sentiment.  You don't have to use a modal
dialog.  Just connect to signal_response() and delete the dialog in the
handler.

Also, it's better to use present() rather than raise().  present()
handles all the WM trickery of making the dialog appear for sure.
However, when displaying the dialog initially you need neither raise()
nor present().

--Daniel





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