Re: none



Tim Janik <timj gtk org> writes:

> On 13 Dec 2000, Havoc Pennington wrote:
> 
> > 
> > Tim Janik <timj gtk org> writes: 
> > > what? how's GtkObject deprecated?
> > > 
> > 
> > It has exactly one feature not found in GObject, which is the
> > "destroy" signal. Our claim is that "destroy" is only useful for GUI
> > objects, so "destroy" should really be in GtkWidget. So GtkObject is
> > just legacy cruft.
> 
> well, to be technically correct, GtkObject has the ::destroy signal,
> weak references, flags, introduces the floating state, has
> get_arg/set_arg compatibility code and introduces the user_data property
> (though of questionable benefit since GObject now supports a property
> data::user_data).

Weak refs is another thing that would be useful in GObject, especially
since it was one of the proposed workarounds for not having a
"destroy" signal.

 - Maciej




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