Re: [glade--]Dialog and destroy_event()

[email protected] (Murray Cumming)
Newsgroups gmane.comp.gnome.glademm
Message-ID <[email protected]>
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.

-- 
Murray Cumming
[email protected]
www.murrayc.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.