Crate gdk [−] [src]
Traits intended 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 error capable of representing various error domains (types).
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.
An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that GTK+ understands.
A set of values describing the possible byte-orders for storing pixel values in memory.
Specifies the crossing mode for
The standard cursors available.
Indicates the device type. See [above][
Specifies the type of the event.
Indicates which monitor (in a multi-head setup) a window should span over when in fullscreen mode.
Error enumeration for
Defines how device grabs interact with other devices.
Defines the reference point of a window and the meaning of coordinates
An enumeration that describes the mode of an input device.
An enumeration describing the type of an input device in general terms.
This enum is used with
Specifies the kind of crossing for
Specifies why a selection ownership was changed.
Specifies the type of a property change for a
Specifies the direction for
Specifies the kind of modification applied to a setting in a
Specifies the visiblity status of a window for a
A set of values that describe the manner in which the pixel values for a visual are converted into RGB values for display.
Determines a window edge or corner.
Describes the kind of window.
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.