help



Hi

I'm trying to use GTK under HP-UX for a MRI imaging project. The problem
is I have to manage colormaps (HP can only display 256 colors for a
widget). I want the 7 first colors to be reserved for the interface and
the others for the pictures.

However, despite numerous tries, I've not been able to tell the widget
to use my reserved colors to display itself. I've tried to change the
GtkStyle color values of the main widget (in fg, bg, mid, etc. fields)
and to force the graphic context (fg_gc, bg_gc, etc.), but it doesn't
work. I've also tried with a "gtk_widget_set_default_style", but it
looks the same.

Other problem : I haven't found any doc on this. Does any exist ?

FB

---

email : bouleau ipb u-strasbg fr




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