User dialog within a callback function



Hallo,

how can I call a user dialog  like  dialog_new  widget
with in a running callback routine. If I set up the dialog widget
it is shown and has controll only after I closed the callback and 
the system is back in the main gtk loop. But I want to wait in the
first callback of the answer user dialog to decide what to do in
in this callback. So the question ist how to force to show and manage
a window widget direct. Can I open in the callback a second gtk_main()
loop and when closing the dialog  cancel the second loop with
gtk_main_quit().
Who has any idee how to solve such sycron dialogs.

Best Regards 
Günther
-- 
R=I+S  Rapp Informatik Systeme GmbH
       Rosenbühlstr. 24
       D-89182 Bernstadt
       Tel:  +49 (0)7348-7755
       Fax:  +49 (0)7348-6086
E-MAIL  mailto: guenther rapp-informatik de
WEB             www.rapp-informatik.de

Attachment: guenther.vcf
Description: Card for gŁnther



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