Re: [gtk-list] Dialog Result



>  Is it possible to have a dialog box pop up with say two buttons, one
>  labeled "Yes" and one "No", and have the result returned to the calling
>  function which called the dialog?
[snip]

The Gnome version of the Midnight Commander does something like that.
If you download its sources, look at the gpageprop.c file.  Basically
you run a modal dialog by doing a gtk grab and by running a second
gtk_main().

  Federico



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