[gtkmm] Gtk::Button issues



Using gtkmm 2.0.2 (happens under 1.3.18 also).

I have a class derived from Gtk::Button, overiding on_pressed and
on_released.

Problem #1:  If a user has the mouse pointer away from the object, clicks
and holds, moves to the button, and then hits release, on_released is
called, despite the button never being shown as pressed or on_pressed being
called.

Problem #2:  Keyboard focus is on the button.  Hitting the space bar causes
the button to appear pressed and released like you'd expect.  However,
on_pressed and on_released aren't called.

Any ideas?

Thanks!

Alex Pavloff - apavloff eason com
Eason Technology -- www.eason.com
 



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