[Glade-users] closing dialog boxes
Rikke D. Giles
rgiles@telebyte.com
Tue, 5 Aug 2003 03:14:19 -0700
Hey Gunther,
There is documentation at www.gnome.org under developer or develope
with gnome or whatever it's called now. Also gtk documentation at www.
gtk.org.
You want to destroy or hide the dialog, not quit out of the main gtk
loop (which is what gtk_main_quit()) does. So to destroy use
gtk_widget_destroy() and call it on the parent of the 'Cancel' button
on the dialog box (ie the dialog box itself). I'll leave it to you to
find out how to hide and raise windows :). Also, look at the example
program that came with glade, it shows some simple ways of doing these
things.
Cheers,
Rikke