[Gtk-sharp-list] Make Run() of a Dialog return imediately

Mike Kestner mkestner at gmail.com
Wed Apr 30 10:36:44 EDT 2008


On Wed, 2008-04-30 at 16:13 +0200, Mathias Tausig wrote:

> The problem is, that I am not able to make Run() return imediately. The
> only soultion I see is via threading,which is alwas a hassle with gtk#.
> Are there any better ways of displaying a Dialog on the screen ehile
> leaving the control with the program?

Use Dialog.Show () and connect to the Response event to determine when
the user closes it so you can destroy it then.

-- 
Mike Kestner <mkestner at gmail.com>



More information about the Gtk-sharp-list mailing list