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 631414 - Add symbolic constants for event emission control
Add symbolic constants for event emission control
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-10-05 13:10 UTC by Emmanuele Bassi (:ebassi)
Modified: 2012-01-03 13:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add symbolic constants for event emission control (1.75 KB, patch)
2010-10-05 13:11 UTC, Emmanuele Bassi (:ebassi)
accepted-commit_now Details | Review
Add symbolic constants for event emission control (1.75 KB, patch)
2012-01-03 12:59 UTC, Emmanuele Bassi (:ebassi)
committed Details | Review

Description Emmanuele Bassi (:ebassi) 2010-10-05 13:10:58 UTC
Similarly to:

  https://bugzilla.gnome.org/show_bug.cgi?id=631413

GDK should also have symbolic constants for event propagation.

GDK_EVENT_PROPAGATE and GDK_EVENT_STOP map to FALSE and TRUE, respectively.
Comment 1 Emmanuele Bassi (:ebassi) 2010-10-05 13:11:01 UTC
Created attachment 171763 [details] [review]
Add symbolic constants for event emission control

Similar to https://bugzilla.gnome.org/show_bug.cgi?id=631413 in GLib,
GTK+ should have symbolic constants for controlling the event handling
instead of a mere boolean value.

The GDK_EVENT_PROPAGATE and GDK_EVENT_STOP constants map to FALSE and
TRUE respectively.
Comment 2 Benjamin Otte (Company) 2010-10-05 13:17:52 UTC
Can we make that an enum for GTK3?
Comment 3 Matthias Clasen 2011-01-03 18:42:50 UTC
If you still want this, it needs to land soon.
Comment 4 Emmanuele Bassi (:ebassi) 2011-09-15 10:18:29 UTC
bug 631413, which added the GSource symbolic values was committed; I think we should commit this to gtk for 3.4.
Comment 5 Emmanuele Bassi (:ebassi) 2012-01-03 12:59:11 UTC
Created attachment 204497 [details] [review]
Add symbolic constants for event emission control

Similar to https://bugzilla.gnome.org/show_bug.cgi?id=631413 in GLib,
GTK+ should have symbolic constants for controlling the event handling
instead of a mere boolean value.

The GDK_EVENT_PROPAGATE and GDK_EVENT_STOP constants map to FALSE and
TRUE respectively.
Comment 6 Emmanuele Bassi (:ebassi) 2012-01-03 13:05:49 UTC
Attachment 204497 [details] pushed as c62a1fd - Add symbolic constants for event emission control