Re: [gtkmm] Allowing GTK+ child widgets to prevent their own destruction



On Sun, 2002-11-10 at 19:55, Tassos Bassoukos wrote:
> Hello,
> please forgive my ignorance, but cannot the Gtk::Object be simply marked
> as invalid when the corresponding GtkObject is destroyed? Or does the
> design[0] of Gtkmm assume that a Gtk::Object has allways an associated
> GtkObject?

Yes, because that's simple and it's what people would expect.
Gtk::Objects objects and their GtkObjects have exactly the same
lifetime. But the C++ coder has control over that one lifetime.

-- 
Murray Cumming
murray usa net
www.murrayc.com




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