Default fg_gc[GTK_STATE_SELECTED]



Hi:

Does anyone know why this gc is white by default in GTK+ ?
(gtkcurve looks to be the only significant user that isn't deprecated, 
besides calls from gtk_style).

It offers poor contrast with the bg_gc[GTK_STATE_SELECTED], 
which means that focus indication for selected items is pretty hard to
see with the
default theme.  Since it's used for drawing arrow as well, this affects
the visibility of arrows when the widgets containing them are in the
selected state.

I would suggest changing the default value of this to be similar to
text_gc[GTK_STATE_SELECTED] if no one knows of existing bits of GTK+
that 
make heavy use of fg_gc and this GtkStateType which rely on it being
light colored...

An alternative would be to make focus drawing use text_gc instead of
fg_gc, but it seems to me that fg_gc is generally the better choice.

Regards,

Bill



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