Re: Widget states for 3.0 (and 2.18?)



On Mon, 2009-08-17 at 15:01 +0100, Neil Jagdish Patel wrote:
> 
> Sounds like the checkbox is "active" (checked), and the user is hovering
> over it, hence prelight. Not sure that's how it currently works, though.
> 

This is not how it works in GTK+. The "checked" state is indicated by
the GtkShadowType passed to the drawing function (gtk_paint_check),
where:

GTK_SHADOW_IN = checked
GTK_SHADOW_OUT = unchecked
GTK_SHADOW_ETCHED_IN = inconsistent

Regards,

Thomas



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