Re: [gtk-list] Using GtkPreview/gtk_preview_draw_row
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Using GtkPreview/gtk_preview_draw_row
- Date: Mon, 5 Jul 1999 17:14:38 -0400 (EDT)
Hi,
If you just want a swatch of color, it's probably easier to simply create
a drawing area, and have an expose event handler that does
gdk_draw_rectangle() to draw a rectangle in the color you want.
I think GnomeColorPicker does this for its color swatch.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]