pixmap or image and toolbar



Hi,

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 ?

If I create a toolbaar in Glade, empty buttons appear, how do I fill
them with icons afterwards.

Thanks in advance for any suggestion or help, you are a great team.

Best regards,

Peter



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