On 05/02/2010 03:41 PM, Maciej Pilichowski wrote: > Ok, in a way I figured it out -- Run() instead of Show() makes the > difference -- but still didn't grasp the "internal" meaning, why > Show() is bad (after all dialog is still modal).
The difference is what you have already found out -- Run is intended to be used on dialogs. It blocks and waits for a response to be generated from the dialog, then returns that response. So Run could be considered the synchronous variant of Show, with the perk that it returns a value you can use to see if your ok, cancel, or some other button was clicked. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers PGP key: pub 2048R/CF8338F5 2010-04-14 Fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5 _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
