Re: [gtk-list] gtk_notebook_remove_page



Owen Taylor wrote:

> When a widget's parent is destroyed, gtk_object_unref will be called
> on the widget. Since a widget is created with a reference count of 1,
> unless you have explicitely called gtk_object_ref on the widget, it
> will be destroyed. (The counting here is a bit strange, but it is
> meant, I suppose, to let people not worry about reference counting in
> the normal case.)

Does this mean that I can use the same widget in different places. For
example the same entry-field in every page or a notebook?



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