GtkDrawingArea background color
- From: Fabian Emmes <fab orlen de>
- To: gnome-devel-list gnome org
- Subject: GtkDrawingArea background color
- Date: Thu, 23 Dec 1999 19:27:13 +0100
hi all,
i tried to to set the background color of a GtkDrawingArea
to red, but instead got a beautiful green...
. . .
GtkWidget* drawing_area;
GdkColor red;
. . .
if( !gdk_color_parse( "red", &red ) ) g_print( "error parsing color!\n"
);
gdk_window_set_background( drawing_area->window, &red );
. . .
what am i doing wrong?
thanx
Fabian Emmes
--
I live the way I type; fast, with a lot of mistakes.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]