Re: pixmap or image and toolbar



Hi,

Peter Van Osta <pvosta unionbio-eu com> writes:

> I want to use a bitmap of 200x200 pixels, divided in 10x10 squares, in
> which the user can click with his mouse. The result of this action
> should be that a 20x20 square changes color, depending on the position
> in the window where the user clicks. What should I use, a pixmap or an
> image and what is the difference in behaviour if both are possible ? Is
> there some sample code that shows how to do this ?

are the rectangles supposed to be solid-colored? In that case, I'd
suggest to use a GtkDrawingArea.


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]