Re: allocating colors




Adrian Feiguin <adrian@ifir.ifir.edu.ar> writes:

> I have to initialize some attributes before my widget is realized. How can
> I initizalize a color, I mean: RGB & pixel, before I realize a widget. The
> problem is that widget->style->colormap is NULL and I can't use
> gdk_color_alloc(widget->style->colormap, &mycolor).

gtk_widget_get_colormap()
                                        Owen



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