Delete a dialog from glade ?
- From: Bo Lorentsen <bl lue dk>
- To: gtkmm-list gnome org
- Subject: Delete a dialog from glade ?
- Date: Tue, 14 Nov 2006 14:41:22 +0100
Hi ...
I have been using glade-2 and Gtkmm-2.4 for a while, and this is a nice
way to get something done relatively fast. But I have problems related
to destruction of child windows. And I found nothing about it in the
tutorial.
The main window is easy, as "hide()" does the trick, but if I open op a
child Gtk::Window using glade get_widget_derive I am in trouble.
The window opens and I can bind and use widgets inside it, but if i make
an quit function (form a quit button) that calls "hide()", nothing
happens. If I try good old "delete this" the dialog stop responding
(except for the frame "X" that always works) but it is still visible.
I have also tried to make my window a Gtk::Dialog and then try to use
"run()" for modal usage, but this just opened up two frames, one with
the glade content and an empty one. So I guess Gtk::Dialog is not for
glade-2 usage:-)
Any hint to where I need to look for this answers ?
Regards
/BL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]