Re: looking for an invisible button



>I'm designing a small programm with a skinned keyboard.
>I have nice pixmaps for each key one when normal and one when hit.
>All I need is to put them in an invisible container mouse-sensitive (
>press, released, clicked).

 [ ... ]

>    - if there is another GTK container which would best fit my needs.

GtkEventBox, but be sure to set the events it can receive; by default,
it doesn't get any.

>or - if i should write my own widget?

Not really that necessary with the EventBox.

--p




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