GNOME Bugzilla – Bug 113763
problems when using a mutli valued mask in a glade generated file
Last modified: 2004-12-22 21:47:04 UTC
The following file generated with glade-2 did not work : ... <property name="events">GDK_EXPOSURE_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_BUTTON_PRESS_MASK | GDK_POINTER_MOTION_MASK</property> ... and I had to change it to : ... <property name="events">GDK_EXPOSURE_MASK|GDK_LEAVE_NOTIFY_MASK|GDK_BUTTON_PRESS_MASK|GDK_PO INTER_MOTION_MASK</property> ... to make it work with libglade (suppression of the spaces)
*** Bug 120773 has been marked as a duplicate of this bug. ***
Created attachment 20575 [details] [review] adds a glade_xml_add_events function to resolve this issue
The patch I just submitted seems to fix this problem although it's not heavily tested (it certainly fixes the issue I directly needed it to fix). One problem I still noticed however was that if all event masks are selected, my motion_notify_event is only called upon mouse entry. Very strange, but it works fine if I only select the events I need. Neal
this is fixed in cvs. *** This bug has been marked as a duplicate of 128013 ***