Re: mouse motion events
- From: smso graduate hku hk
- To: jody xha gmail com
- Cc: gtkmm-list gnome org
- Subject: Re: mouse motion events
- Date: Fri, 30 May 2008 01:25:50 +0800
I think you may try:
(1)
...signal_motion_notify_event().connect
(
sigc::mem_fun(*this, &stest::motion_action),
false // after = false
);
(2)
...add_events
(
Gdk::EXPOSURE_MASK
| Gdk::POINTER_MOTION_MASK
| Gdk::BUTTON_PRESS_MASK
| Gdk::BUTTON_RELEASE_MASK
| Gdk::BUTTON_MOTION_MASK
| Gdk::POINTER_MOTION_HINT_MASK
| Gdk::ENTER_NOTIFY_MASK
| Gdk::LEAVE_NOTIFY_MASK
);
(3)
If a widget which doesn't have native scrolling capability
is added to the Gtk::ScrolledWindow,
it is placed in the Gtk::Viewport of the Gtk::ScrolledWindow.
So you may try (1) and (2) above with the Gtk::Viewport.
Blind guess only!
Best regards.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]