Re: [gtk-list] gtk_main question
- From: Ian Main <imain gimp org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk_main question
- Date: Tue, 7 Apr 1998 04:06:14 -0700
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]