Import line: | Gdk = imports.gi.Gdk; |
GIR File: | Gdk-3.0.gir |
C documentation: | GdkEventMask |
Enum : | EventMask |
Properties | |
---|---|
guint32 Gdk.EventMask.ALL_EVENTS_MASK : 4194302
|
|
guint32 Gdk.EventMask.BUTTON1_MOTION_MASK : 32
|
|
guint32 Gdk.EventMask.BUTTON2_MOTION_MASK : 64
|
|
guint32 Gdk.EventMask.BUTTON3_MOTION_MASK : 128
|
|
guint32 Gdk.EventMask.BUTTON_MOTION_MASK : 16
|
|
guint32 Gdk.EventMask.BUTTON_PRESS_MASK : 256
|
|
guint32 Gdk.EventMask.BUTTON_RELEASE_MASK : 512
|
|
guint32 Gdk.EventMask.ENTER_NOTIFY_MASK : 4096
|
|
guint32 Gdk.EventMask.EXPOSURE_MASK : 2
|
|
guint32 Gdk.EventMask.FOCUS_CHANGE_MASK : 16384
|
|
guint32 Gdk.EventMask.KEY_PRESS_MASK : 1024
|
|
guint32 Gdk.EventMask.KEY_RELEASE_MASK : 2048
|
|
guint32 Gdk.EventMask.LEAVE_NOTIFY_MASK : 8192
|
|
guint32 Gdk.EventMask.POINTER_MOTION_HINT_MASK : 8
|
|
guint32 Gdk.EventMask.POINTER_MOTION_MASK : 4
|
|
guint32 Gdk.EventMask.PROPERTY_CHANGE_MASK : 65536
|
|
guint32 Gdk.EventMask.PROXIMITY_IN_MASK : 262144
|
|
guint32 Gdk.EventMask.PROXIMITY_OUT_MASK : 524288
|
|
guint32 Gdk.EventMask.SCROLL_MASK : 2097152
|
|
guint32 Gdk.EventMask.STRUCTURE_MASK : 32768
|
|
guint32 Gdk.EventMask.SUBSTRUCTURE_MASK : 1048576
|
|
guint32 Gdk.EventMask.VISIBILITY_NOTIFY_MASK : 131072
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gdk
Method |
Gdk.pointer_grab
(Window window, gboolean owner_events, EventMask event_mask, Window confine_to, Cursor cursor, guint32 time_)
:
Gdk.GrabStatus
Grabs the pointer (usually a mouse) so that all events are passed to this
application until the pointer is ungrabbed with gdk_pointer_ungrab(), or the grab window becomes unviewable. |
Gdk.Device
Method |
grab
(Window window, GrabOwnership grab_ownership, gboolean owner_events, EventMask event_mask, Cursor cursor, guint32 time_)
:
Gdk.GrabStatus
Grabs the device so that all events coming from this device are passed to
this application until the device is ungrabbed with gdk_device_ungrab(), or the window becomes unviewable. |
Gdk.Window
Method |
get_device_events
(Device device)
:
Gdk.EventMask
Returns the event mask for window corresponding to an specific device.
|
Gdk.Window
Method |
get_events
()
:
Gdk.EventMask
Gets the event mask for window for all master input devices.
|
Gdk.Window
Method |
get_source_events
(InputSource source)
:
Gdk.EventMask
Returns the event mask for window corresponding to the device class specified
by source. |
Gdk.Window
Method |
Sets the event mask for a given device (Normally a floating device, not
attached to any visible pointer) to window. |
Gdk.Window
Method |
set_events
(EventMask event_mask)
:
none
The event mask for a window determines which events will be reported
for that window from all master input devices. |
Gdk.Window
Method |
set_source_events
(InputSource source, EventMask event_mask)
:
none
Sets the event mask for any floating device (i.e.
|
Gtk.Widget
Method |
Adds the device events in the bitfield events to the event mask for
|
Gtk.Widget
Method |
get_device_events
(Device device)
:
Gdk.EventMask
Returns the events mask for the widget corresponding to an specific device.
|
Gtk.Widget
Method |
Sets the device event mask (see GdkEventMask) for a widget.
|