Tristan Van Berkom writes:
> Guillaume Charhon wrote:
>> Thanks, but how can I "ref it or sink it" ? 
>> 
> Every widget in gtk+ is an object:
> http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Typ 
> e.html#GObject

Specifically, a GInitiallyUnowned; see 
http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type. 
html#floating-ref 

Please do read up on GObject 
(http://le-hacker.org/papers/gobject/index.html); if you're going to insist 
on using GTK+ from C (as opposed to a higher-level language), understanding 
GObject will save you lots of headaches.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to