[9089] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: one function takes the control
daemon@ATHENA.MIT.EDU (Nidia Colorado de Silva)
Wed Oct 7 14:07:01 1998
Date: Wed, 07 Oct 1998 12:33:33 -0500
From: Nidia Colorado de Silva <nicosi@col2.telecom.com.co>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Johannes Keukelaar escribió:
> //I need one function that launch a dialog and only returns when this dialog
> //have been closed. The function is something like this:
>
> You'll want to make the dialog modal (with gtk_grab_add), connect your signal
> handlers, recursively call gtk_main, then call gtk_main_quit from one of your
> signal handlers (when the user clicks the ok or cancel button, for example),
It's safe to call gtk_main again? I have to call it in for the main window (the one
who launch the modal dialog)
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null