Re: gtk-list digest, Vol 1 #369 - 12 msgs




Chris Ellec <cae oco net> writes:

How can I access the various Flags in the GtkWidgetFlags  ?

I'd like to see the status of HAS_FOCUS and VISIBLE in particular. I
know it's like bit 8 and 12 or something like that, but how do I get
the value to mask ?


GTK_WIDGET_VISIBLE (widget)

GTK_WIDGET_HAS_FOCUS (widget)

Havoc


Ouch ! I had tried in vain to use gtk_widget_has_focus ... I didn't think about the all caps version.

Thanks Havoc,

Chris.





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