[9976] in The GTK GIMP ToolKit mailing list archive
[gtk-list] allocating colors
daemon@ATHENA.MIT.EDU (Adrian Feiguin)
Mon Nov 9 16:26:54 1998
Date: Mon, 9 Nov 1998 18:57:40 +0300 (GMT-3)
From: Adrian Feiguin <adrian@ifir.ifir.edu.ar>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
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).
Any hint?
Thanks,
<ADRIAN>
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null