Re: widget not getting button event?



Marco Scholten wrote:
A widget without a window doesn't receive events, you need to place the label inside an eventbox.

see
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1EventBox.html

thanks, it works great!

the only strange thing is that the event box uses its on background color, so I have to change it manually.



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