[9981] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: allocating colors
daemon@ATHENA.MIT.EDU (Owen Taylor)
Mon Nov 9 17:50:06 1998
To: gtk-list@redhat.com
From: Owen Taylor <otaylor@redhat.com>
Date: 09 Nov 1998 16:45:57 -0500
In-Reply-To: Adrian Feiguin's message of "Mon, 9 Nov 1998 18:57:40 +0300 (GMT-3)"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
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
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null