After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 113889 - additional events are not honored
additional events are not honored
Status: RESOLVED DUPLICATE of bug 128013
Product: libglade
Classification: Deprecated
Component: general
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: James Henstridge
James Henstridge
Depends on:
Blocks:
 
 
Reported: 2003-05-28 10:04 UTC by Martyn Russell
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description Martyn Russell 2003-05-28 10:04:14 UTC
For this a drawingarea I use, I want to know about additional events not
normally subscribed to.  In this particular case, I am interested in:

  GDK_LEAVE_NOTIFY_MASK, 
  GDK_BUTTON_PRESS_MASK, 
  GDK_POINTER_MOTION_MASK, 
  GDK_POINTER_MOTION_HINT_MASK.

In glade, I set the events to be the above and the binary (it tells me) is:

  00000010000100001100

When I run the application, these events are not honored.  I have to then
in my application somewhere use the following (to make sure I get the events):

  gtk_widget_set_events (da, gtk_widget_get_events (da)
			 | GDK_LEAVE_NOTIFY_MASK
			 | GDK_BUTTON_PRESS_MASK
			 | GDK_POINTER_MOTION_MASK
			 | GDK_POINTER_MOTION_HINT_MASK);
Comment 1 Damon Chaplin 2004-01-30 16:00:53 UTC
fixed in cvs.

*** This bug has been marked as a duplicate of 128013 ***