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



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
murray usa net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]