Method

GdkWindowset_events

Declaration [src]

void
gdk_window_set_events (
  GdkWindow* window,
  GdkEventMask event_mask
)

Description [src]

The event mask for a window determines which events will be reported for that window from all master input devices. For example, an event mask including #GDK_BUTTON_PRESS_MASK means the window should report button press events. The event mask is the bitwise OR of values from the GdkEventMask enumeration.

See the [input handling overview][event-masks] for details.

Parameters

event_mask

Type: GdkEventMask

Event mask for window.