Re: [gtk-list] Re: one function takes the control





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)



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