Re: [gtk-list] gtk_main question



On Mon, Apr 06, 1998 at 08:43:50PM -0500, A Dark Elf wrote:
> 
> Ok I messed with GTK for a while, but it seems I can't quit gtk_main() the
> way I need to. I have an app that simply needs to call a message box
> (dialog) at one time, wait for the user to press OK, destroy the message
> box and continue its execution. How would I do that? I made the dialog
> appear, but when the user press OK, either the window stays there (if I
> use gtk_widget_destroy and gtk_main_quit) and the program can continue, or
> the window disapears but everything hang there (if I use only
> gtk_widget_destroy) while gtk probably stays in the gtk_main loop.
> 
> What am I doing wrong here?
> 

Nothing as far as I can tell.. seems a bug ?  Perhaps the non-blocking
and/or recursive gtk_main broke this somehow ?


Ian


[code snipped]



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