Re: [glade--]Dialog and destroy_event()
Mark Jones <[email protected]>
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2002-12-09 at 03:09, Murray Cumming wrote: > On Mon, 2002-12-09 at 03:41, Mark Jones wrote: > > I didn't realize destroy_events for dialogs are no longer part of > > gtkmm. So I added a watch for it in glade, and when it tried to compile > > it gave an error: > > myFile.cc:153: no matching function for call to > > `Gtk::Dialog::signal_destroy_event ()' > > > > So I looked at the gtkmm 2 docs and sure enough that is not supported. > > So I think glade-- may have to watch the names of the signals: > > > > <signal name="destroy_event" handler="on_myDialog_destroy_event" > > last_modification_time=""/> > > Why would you want to do this? If you want to do stuff on widget > destruction then just do it in a derived widget's destructor. Well, I guess I could do it there. So what did that signal exist for in 1.x? And, what does delete_event exist for currently? As, in what is a typical use for them? -- Mark Jones <[email protected]>