You get a GdkColormap object with the get_colormap() method of a widget.
>From there you can call the colourmap's alloc method in one of two ways:
colormap.alloc('blue')
colormap.alloc(0, 0, 0x)
As for the GtkText widget, you have to delete some text and reinsert it to
change its colour.
Hi,
please excuse these very basic questions ...
How do I define a GdkColor? If I use colour_alloc
it says "colour_alloc deprecated. Use GdkColormap.alloc"
which I can't find anywhere.
is there a neat way of changing the color of a piece of
text in GtkText, other than deleting it and re-inser