An opaque type representing a string as an index into a table of strings on the X server.
Specifies the type of function passed to gdk_event_handler_set() to handle all GDK events.
Specifies the type of function used to filter native events before they are converted to GDK events.
Type of the callback used to set up @window so it can be grabbed. A typical action would be ensuring the window is visible, although there's room for other initialization actions.
A function of this type is passed to gdk_window_invalidate_maybe_recurse(). It gets called for each child of the window to determine whether to recursively invalidate it or now.
Whenever some area of the window is invalidated (directly in the window or in a child window) this gets called with @region in the coordinate space of @window. You can use @region to just keep track of the dirty region, or you can actually change @region in case you are doing display tricks like showing a child in multiple places.
Used to represent native events (XEvents for the X11 backend, MSGs for Win32).
Positioning hints for aligning a window relative to a rectangle.
Flags describing the current capabilities of a device/tool.
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 #GdkEventCrossing.
Predefined cursors.
A pad feature.
Indicates the specific type of tool being used being a tablet. Such as an airbrush, pencil, etc.
Indicates the device type. See aboveGdkDeviceManager.description for more information about the meaning of these device types.
Used in #GdkDragContext to indicate what the destination should do with the dropped data.
Used in #GdkDragContext to the reason of a cancelled DND operation.
Used in #GdkDragContext to indicate the protocol according to which DND is done.
A set of bit-flags to indicate which events a window is to receive. Most of these masks map onto one or more of the #GdkEventType event types above.
Specifies the type of the event.
Specifies the result of applying a #GdkFilterFunc to a native event.
#GdkFrameClockPhase is used to represent the different paint clock phases that can be requested. The elements of the enumeration correspond to the signals of #GdkFrameClock.
Indicates which monitor (in a multi-head setup) a window should span over when in fullscreen mode.
Error enumeration for #GdkGLContext.
Defines how device grabs interact with other devices.
Returned by gdk_device_grab(), gdk_pointer_grab() and gdk_keyboard_grab() to indicate success or the reason for the failure of the grab attempt.
Defines the reference point of a window and the meaning of coordinates passed to gtk_window_move(). See gtk_window_move() and the "implementation notes" section of the Extended Window Manager Hints
specification for more details.
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 gdk_keymap_get_modifier_mask() in order to determine what modifiers the currently used windowing system backend uses for particular purposes. For example, on X11/Windows, the Control key is used for invoking menu shortcuts (accelerators), whereas on Apple computers it’s the Command key (which correspond to %GDK_CONTROL_MASK and %GDK_MOD2_MASK, respectively).
A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types. Typical modifier keys are Shift, Control, Meta, Super, Hyper, Alt, Compose, Apple, CapsLock or ShiftLock.
Specifies the kind of crossing for #GdkEventCrossing.
Specifies why a selection ownership was changed.
Describes how existing data is combined with new data when using gdk_property_change().
Specifies the type of a property change for a #GdkEventProperty.
Specifies the direction for #GdkEventScroll.
Flags describing the seat capabilities.
Specifies the kind of modification applied to a setting in a #GdkEventSetting.
This enumeration describes how the red, green and blue components of physical pixels on an output device are laid out.
Specifies the current state of a touchpad gesture. All gestures are guaranteed to begin with an event with phase %GDK_TOUCHPAD_GESTURE_PHASE_BEGIN, followed by 0 or several events with phase %GDK_TOUCHPAD_GESTURE_PHASE_UPDATE.
Specifies the visiblity status of a window for a #GdkEventVisibility.
A set of values that describe the manner in which the pixel values for a visual are converted into RGB values for display.
These are hints originally defined by the Motif toolkit. The window manager can use them when determining how to decorate the window. The hint must be set before mapping the window.
These are hints originally defined by the Motif toolkit. The window manager can use them when determining the functions to offer for the window. The hint must be set before mapping the window.
Used to indicate which fields in the #GdkWindowAttr struct should be honored. For example, if you filled in the “cursor” and “x” fields of #GdkWindowAttr, pass “@GDK_WA_X | @GDK_WA_CURSOR” to gdk_window_new(). Fields in #GdkWindowAttr not covered by a bit in this enum are required; for example, the @width/@height, @wclass, and @window_type fields are required, they have no corresponding flag in #GdkWindowAttributesType.
Determines a window edge or corner.
Used to indicate which fields of a #GdkGeometry struct should be paid attention to. Also, the presence/absence of @GDK_HINT_POS, @GDK_HINT_USER_POS, and @GDK_HINT_USER_SIZE is significant, though they don't directly refer to #GdkGeometry fields. @GDK_HINT_USER_POS will be set automatically by #GtkWindow if you call gtk_window_move(). @GDK_HINT_USER_POS and @GDK_HINT_USER_SIZE should be set if the user specified a size/position using a --geometry command-line argument; gtk_window_parse_geometry() automatically sets these flags.
Specifies the state of a toplevel window.
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.
@GDK_INPUT_OUTPUT windows are the standard kind of window you might expect. Such windows receive events and are also displayed on screen. @GDK_INPUT_ONLY windows are invisible; they are usually placed above other windows in order to trap or filter the events. You can’t draw on @GDK_INPUT_ONLY windows.
The middle button.
The primary button. This is typically the left mouse button, or the right button in a left-handed setup.
The secondary button. This is typically the right mouse button, or the left button in a left-handed setup.
Represents the current time, and can be used anywhere a time is expected.
Use this macro as the return value for continuing the propagation of an event handler.
Use this macro as the return value for stopping the propagation of an event handler.
A special value, indicating that the background for a window should be inherited from the parent window.
This is the priority that the idle handler processing window updates is given in the [GLib Main Loop][glib-The-Main-Event-Loop].
Contains the fields which are common to all event structs. Any event pointer can safely be cast to a pointer to a #GdkEventAny to access these fields.
Used for button press and button release events. The @type field will be one of %GDK_BUTTON_PRESS, %GDK_2BUTTON_PRESS, %GDK_3BUTTON_PRESS or %GDK_BUTTON_RELEASE,
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 #GdkEventGrabBroken events.
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.
Generated during %GDK_SOURCE_TABLET_PAD interaction with tactile sensors.
Generated during %GDK_SOURCE_TABLET_PAD button presses and releases.
Generated during %GDK_SOURCE_TABLET_PAD mode switches in a group.
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. @type field will be one of %GDK_TOUCH_BEGIN, %GDK_TOUCH_UPDATE, %GDK_TOUCH_END or %GDK_TOUCH_CANCEL.
Generated during touchpad swipe gestures.
Generated during touchpad swipe gestures.
Generated when the window visibility status has changed.
Generated when the state of a toplevel window changes.
The #GdkGeometry struct gives the window manager information about a window’s geometry constraints. Normally you would set these on the GTK+ level using gtk_window_set_geometry_hints(). #GtkWindow then sets the hints on the #GdkWindow it creates.
A #GdkKeymapKey is a hardware key that can be mapped to a keyval.
Defines the x and y coordinates of a point.
Defines the position and size of a rectangle. It is identical to #cairo_rectangle_int_t.
A #GdkTimeCoord stores a single event in a motion history.
Attributes to use for a newly-created window.