Re: [gtk-list] Using GtkPreview/gtk_preview_draw_row




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]