diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt index d393f763d8..d5deb42aa2 100644 --- a/docs/reference/gdk/gdk3-sections.txt +++ b/docs/reference/gdk/gdk3-sections.txt @@ -757,6 +757,8 @@ GdkEventMask GDK_CURRENT_TIME GDK_PRIORITY_EVENTS GDK_PRIORITY_REDRAW +GDK_EVENT_PROPAGATE +GDK_EVENT_STOP gdk_events_pending diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index a1baac1d75..d8a1f761d8 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -74,6 +74,25 @@ G_BEGIN_DECLS */ #define GDK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20) +/** + * GDK_EVENT_PROPAGATE: + * + * Use this macro as the return value for continuing the propagation of + * an event handler. + * + * Since: 3.4 + */ +#define GDK_EVENT_PROPAGATE (FALSE) + +/** + * GDK_EVENT_STOP: + * + * Use this macro as the return value for stopping the propagation of + * an event handler. + * + * Since: 3.4 + */ +#define GDK_EVENT_STOP (TRUE) typedef struct _GdkEventAny GdkEventAny; typedef struct _GdkEventExpose GdkEventExpose;