Default GC's



Hi,

I couldn't find any description of the default GC's available in the
GtkStyle struct in the documentation. The ones I'm thinking of are:

  GdkGC *fg_gc[5];
  GdkGC *bg_gc[5];
  GdkGC *light_gc[5];
  GdkGC *dark_gc[5];
  GdkGC *mid_gc[5];
  GdkGC *text_gc[5];
  GdkGC *base_gc[5];
  GdkGC *black_gc;
  GdkGC *white_gc;

The arrayed ones, I understood are these:

GTK_STATE_NORMAL,
GTK_STATE_ACTIVE,
GTK_STATE_PRELIGHT,
GTK_STATE_SELECTED,
GTK_STATE_INSENSITIVE

However, it's not easy trying to figure out what it used where. And
when it the background of fg_gc used, and not the foreground of bg_gc?
I'm also interested in knowing what GC is used for example with
checkbox and radio widgets, when the mouse is over it. It sounds like
GTK_STATE_ACTIVE or GTK_STATE_PRELIGHT, but on which array?

Is there documentation for this, and I've just missed it? If so,
please point me to the place.


Greetings,

Tomas




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