Re: Gtk execution question



Ok: now is clear !
Thank you :)


                                                                                                         
                      Sven Neumann                                                                       
                      <sven gimp org>          To:       Lorenzo Zampese/Electrolux Professional         
                      Sent by: Sven             S.P.A./Italy/Electrolux Group Electrolux                 
                      Neumann                  cc:       gtk-list gnome org                              
                      <neo bender conve        Subject:  Re: Gtk execution question                      
                      rgence.de>                                                                         
                                                                                                         
                                                                                                         
                      12/11/2002 17:42                                                                   
                                                                                                         
                                                                                                         




Hi,

lorenzo zampese electrolux it writes:

> Maybe I was not clear in my previous message :
> I connect the "clicked" event as shown in the code, but
> my problem is I don't want to show the "file selection dialog"
> and "window" togheter.
>
> I wish to show the "window" only when the "ok button" is pressed !
> To do this a need to stop the GTK execution !

you should never stop the gtk+ execution or block the main loop. If
necessary you can use nested main loops but I don't think you need
to do that here.

> But GTK shows the "file selection dialog" and the "window" without
> waiting OK button is pressed :(

if you call gtk_widget_show() from the "clicked" signal handler (it's
not an event!), how can it be shown earlier?


Salut, Sven








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