Gtk::Main::quit() on a Window pointer
- From: Rob Benton <rob benton conwaycorp net>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Gtk::Main::quit() on a Window pointer
- Date: Fri, 22 Apr 2005 14:47:31 -0500
I'm pretty sure I know the answer to this but I wanted to make sure I
wasn't overlooking something obvious. I have a class derived from
Gtk::Window that I'm getting through libglademm. If I hit the X/close
button on the window when it's running, does that object's destructor
get called?
Here's how it looks in my app:
inside main.C:
-------------
MyWindow * mainwin = xml->get_widget_derived();
inside MyWindow.C:
---------------
class MyWindow : public Gtk::Window {
public:
inline ~MyWindow() { g_print("I'm dead\n"); };
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]