Re: Change an image on a button

Tristan Van Berkom writes:
Guillaume Charhon wrote:
Thanks, but how can I "ref it or sink it" ?
Every widget in gtk+ is an object: e.html#GObject

Specifically, a GInitiallyUnowned; see html#floating-ref Please do read up on GObject (; 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.

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