Crate gdk [−] [src]
Traits inteded for blanket imports.
In addition to a single pointer and keyboard for user interface input, GDK contains support for a variety of input devices, including graphics tablets, touchscreens and multiple pointers/keyboards interacting simultaneously with the user interface. Such input devices often have additional features, such as sub-pixel positioning information and additional device-dependent information.
The purpose of the
A generic GDK event.
Used for button press and button release events. The
Generated when a window size or position has changed.
Generated when the pointer enters or leaves a window.
Generated during DND operations.
Generated when all or part of a window becomes visible and needs to be redrawn.
Describes a change of keyboard focus.
Generated when a pointer or keyboard grab is broken. On X11, this happens
when the grab window becomes unviewable (i.e. it or one of its ancestors
is unmapped), or if the same application grabs the pointer or keyboard
again. Note that implicit grabs (which are initiated by button presses)
can also cause
Describes a key press or key release event.
Generated when the pointer moves.
Generated when the owner of a selection changes. On X11, this information is only available if the X server supports the XFIXES extension.
Describes a property change on a window.
Proximity events are generated when using GDK’s wrapper for the XInput extension. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the user’s finger has moved in or out of contact with a touch screen.
Generated from button presses for the buttons 4 to 7. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned.
Generated when a selection is requested or ownership of a selection is taken over by another client application.
Generated when a setting is modified.
Used for touch events.
Generated when the state of a toplevel window changes.
The standard cursors available.
Error enumeration for
Defines the reference point of a window and the meaning of coordinates
This enum is used with
Determines a window edge or corner.
These are hints for the window manager that indicate what type of function the window has. The window manager can use this when determining decoration and behaviour of the window. The hint must be set before mapping the window.
Informs this crate that GDK has been initialized and the current thread is the main one.