|
enum | Gdk::InputSource {
Gdk::InputSource::MOUSE,
Gdk::InputSource::PEN,
Gdk::InputSource::KEYBOARD,
Gdk::InputSource::TOUCHSCREEN,
Gdk::InputSource::TOUCHPAD,
Gdk::InputSource::TRACKPOINT,
Gdk::InputSource::TABLET_PAD
} |
| An enumeration describing the type of an input device in general terms. More...
|
|
enum | Gdk::DevicePad::Feature {
Gdk::DevicePad::Feature::BUTTON,
Gdk::DevicePad::Feature::RING,
Gdk::DevicePad::Feature::STRIP
} |
| A pad feature. More...
|
|
enum | Gdk::DeviceTool::Type {
Gdk::DeviceTool::Type::UNKNOWN,
Gdk::DeviceTool::Type::PEN,
Gdk::DeviceTool::Type::ERASER,
Gdk::DeviceTool::Type::BRUSH,
Gdk::DeviceTool::Type::PENCIL,
Gdk::DeviceTool::Type::AIRBRUSH,
Gdk::DeviceTool::Type::MOUSE,
Gdk::DeviceTool::Type::LENS
} |
| Indicates the specific type of tool being used being a tablet. More...
|
|
enum | Gdk::DragCancelReason {
Gdk::DragCancelReason::NO_TARGET,
Gdk::DragCancelReason::USER_CANCELLED,
Gdk::DragCancelReason::ERROR
} |
| Used in Gdk::Drag to the reason of a cancelled DND operation. More...
|
|
enum | Gdk::AxisFlags {
Gdk::AxisFlags::X = 0x2,
Gdk::AxisFlags::Y = 0x4,
Gdk::AxisFlags::DELTA_X = 0x8,
Gdk::AxisFlags::DELTA_Y = 0x10,
Gdk::AxisFlags::PRESSURE = 0x20,
Gdk::AxisFlags::XTILT = 0x40,
Gdk::AxisFlags::YTILT = 0x80,
Gdk::AxisFlags::WHEEL = 0x100,
Gdk::AxisFlags::DISTANCE = 0x200,
Gdk::AxisFlags::ROTATION = 0x400,
Gdk::AxisFlags::SLIDER = 0x800
} |
| Flags describing the current capabilities of a device/tool. More...
|
|
enum | Gdk::AxisUse {
Gdk::AxisUse::IGNORE,
Gdk::AxisUse::X,
Gdk::AxisUse::Y,
Gdk::AxisUse::DELTA_X,
Gdk::AxisUse::DELTA_Y,
Gdk::AxisUse::PRESSURE,
Gdk::AxisUse::XTILT,
Gdk::AxisUse::YTILT,
Gdk::AxisUse::WHEEL,
Gdk::AxisUse::DISTANCE,
Gdk::AxisUse::ROTATION,
Gdk::AxisUse::SLIDER,
Gdk::AxisUse::LAST
} |
| Defines how device axes are interpreted by GTK. More...
|
|
enum | Gdk::CrossingMode {
Gdk::CrossingMode::NORMAL,
Gdk::CrossingMode::GRAB,
Gdk::CrossingMode::UNGRAB,
Gdk::CrossingMode::GTK_GRAB,
Gdk::CrossingMode::GTK_UNGRAB,
Gdk::CrossingMode::STATE_CHANGED,
Gdk::CrossingMode::TOUCH_BEGIN,
Gdk::CrossingMode::TOUCH_END,
Gdk::CrossingMode::DEVICE_SWITCH
} |
| Specifies the crossing mode for enter and leave events. More...
|
|
enum | Gdk::DragAction {
Gdk::DragAction::COPY = 1 << 0,
Gdk::DragAction::MOVE = 1 << 1,
Gdk::DragAction::LINK = 1 << 2,
Gdk::DragAction::ASK = 1 << 3
} |
| Used in Gdk::Drop and Gdk::Drag to indicate the actions that the destination can and should do with the dropped data. More...
|
|
enum | Gdk::Gravity {
Gdk::Gravity::NORTH_WEST = 1,
Gdk::Gravity::NORTH,
Gdk::Gravity::NORTH_EAST,
Gdk::Gravity::WEST,
Gdk::Gravity::CENTER,
Gdk::Gravity::EAST,
Gdk::Gravity::SOUTH_WEST,
Gdk::Gravity::SOUTH,
Gdk::Gravity::SOUTH_EAST,
Gdk::Gravity::STATIC
} |
| Defines the reference point of a surface and is used in Gdk::PopupLayout . More...
|
|
enum | Gdk::ModifierType {
Gdk::ModifierType::SHIFT_MASK = 1 << 0,
Gdk::ModifierType::LOCK_MASK = 1 << 1,
Gdk::ModifierType::CONTROL_MASK = 1 << 2,
Gdk::ModifierType::ALT_MASK = 1 << 3,
Gdk::ModifierType::BUTTON1_MASK = 1 << 8,
Gdk::ModifierType::BUTTON2_MASK = 1 << 9,
Gdk::ModifierType::BUTTON3_MASK = 1 << 10,
Gdk::ModifierType::BUTTON4_MASK = 1 << 11,
Gdk::ModifierType::BUTTON5_MASK = 1 << 12,
Gdk::ModifierType::SUPER_MASK = 1 << 26,
Gdk::ModifierType::HYPER_MASK = 1 << 27,
Gdk::ModifierType::META_MASK = 1 << 28
} |
| Flags to indicate the state of modifier keys and mouse buttons in events. More...
|
|
enum | Gdk::NotifyType {
Gdk::NotifyType::ANCESTOR,
Gdk::NotifyType::VIRTUAL,
Gdk::NotifyType::INFERIOR,
Gdk::NotifyType::NONLINEAR,
Gdk::NotifyType::NONLINEAR_VIRTUAL,
Gdk::NotifyType::UNKNOWN
} |
| Specifies the kind of crossing for enter and leave events. More...
|
|
enum | Gdk::ScrollDirection {
Gdk::ScrollDirection::UP,
Gdk::ScrollDirection::DOWN,
Gdk::ScrollDirection::LEFT,
Gdk::ScrollDirection::RIGHT,
Gdk::ScrollDirection::SMOOTH
} |
| Specifies the direction for scroll events. More...
|
|
enum | Gdk::TouchpadGesturePhase {
Gdk::TouchpadGesturePhase::BEGIN,
Gdk::TouchpadGesturePhase::UPDATE,
Gdk::TouchpadGesturePhase::END,
Gdk::TouchpadGesturePhase::CANCEL
} |
| Specifies the current state of a touchpad gesture. More...
|
|
enum | Gdk::KeyMatch {
Gdk::KeyMatch::NONE,
Gdk::KeyMatch::PARTIAL,
Gdk::KeyMatch::EXACT
} |
| Describes how well an event matches a given keyval and modifiers. More...
|
|
enum | Gdk::Event::Type {
Gdk::Event::Type::DELETE,
Gdk::Event::Type::MOTION_NOTIFY,
Gdk::Event::Type::BUTTON_PRESS,
Gdk::Event::Type::BUTTON_RELEASE,
Gdk::Event::Type::KEY_PRESS,
Gdk::Event::Type::KEY_RELEASE,
Gdk::Event::Type::ENTER_NOTIFY,
Gdk::Event::Type::LEAVE_NOTIFY,
Gdk::Event::Type::FOCUS_CHANGE,
Gdk::Event::Type::PROXIMITY_IN,
Gdk::Event::Type::PROXIMITY_OUT,
Gdk::Event::Type::DRAG_ENTER,
Gdk::Event::Type::DRAG_LEAVE,
Gdk::Event::Type::DRAG_MOTION,
Gdk::Event::Type::DROP_START,
Gdk::Event::Type::SCROLL,
Gdk::Event::Type::GRAB_BROKEN,
Gdk::Event::Type::TOUCH_BEGIN,
Gdk::Event::Type::TOUCH_UPDATE,
Gdk::Event::Type::TOUCH_END,
Gdk::Event::Type::TOUCH_CANCEL,
Gdk::Event::Type::TOUCHPAD_SWIPE,
Gdk::Event::Type::TOUCHPAD_PINCH,
Gdk::Event::Type::PAD_BUTTON_PRESS,
Gdk::Event::Type::PAD_BUTTON_RELEASE,
Gdk::Event::Type::PAD_RING,
Gdk::Event::Type::PAD_STRIP,
Gdk::Event::Type::PAD_GROUP_MODE,
Gdk::Event::Type::EVENT_LAST
} |
| Specifies the type of the event. More...
|
|
enum | Gdk::FrameClock::Phase {
Gdk::FrameClock::Phase::NONE = 0x0,
Gdk::FrameClock::Phase::FLUSH_EVENTS = 1 << 0,
Gdk::FrameClock::Phase::BEFORE_PAINT = 1 << 1,
Gdk::FrameClock::Phase::UPDATE = 1 << 2,
Gdk::FrameClock::Phase::LAYOUT = 1 << 3,
Gdk::FrameClock::Phase::PAINT = 1 << 4,
Gdk::FrameClock::Phase::RESUME_EVENTS = 1 << 5,
Gdk::FrameClock::Phase::AFTER_PAINT = 1 << 6
} |
| Used to represent the different paint clock phases that can be requested. More...
|
|
enum | Gdk::GLAPI {
Gdk::GLAPI::GL = 1 << 0,
Gdk::GLAPI::GLES = 1 << 1
} |
| The list of the different APIs that GdkGLContext can potentially support. More...
|
|
enum | Gdk::MemoryTexture::Format {
Gdk::MemoryTexture::Format::B8G8R8A8_PREMULTIPLIED,
Gdk::MemoryTexture::Format::A8R8G8B8_PREMULTIPLIED,
Gdk::MemoryTexture::Format::R8G8B8A8_PREMULTIPLIED,
Gdk::MemoryTexture::Format::B8G8R8A8,
Gdk::MemoryTexture::Format::A8R8G8B8,
Gdk::MemoryTexture::Format::R8G8B8A8,
Gdk::MemoryTexture::Format::A8B8G8R8,
Gdk::MemoryTexture::Format::R8G8B8,
Gdk::MemoryTexture::Format::B8G8R8,
Gdk::MemoryTexture::Format::R16G16B16,
Gdk::MemoryTexture::Format::R16G16B16A16_PREMULTIPLIED,
Gdk::MemoryTexture::Format::R16G16B16A16,
Gdk::MemoryTexture::Format::R16G16B16_FLOAT,
Gdk::MemoryTexture::Format::R16G16B16A16_FLOAT_PREMULTIPLIED,
Gdk::MemoryTexture::Format::R16G16B16A16_FLOAT,
Gdk::MemoryTexture::Format::R32G32B32_FLOAT,
Gdk::MemoryTexture::Format::R32G32B32A32_FLOAT_PREMULTIPLIED,
Gdk::MemoryTexture::Format::R32G32B32A32_FLOAT,
Gdk::MemoryTexture::Format::N_FORMATS
} |
| Gdk::MemoryFormat describes formats that image data can have in memory. More...
|
|
enum | Gdk::SubpixelLayout {
Gdk::SubpixelLayout::UNKNOWN,
Gdk::SubpixelLayout::NONE,
Gdk::SubpixelLayout::HORIZONTAL_RGB,
Gdk::SubpixelLayout::HORIZONTAL_BGR,
Gdk::SubpixelLayout::VERTICAL_RGB,
Gdk::SubpixelLayout::VERTICAL_BGR
} |
| This enumeration describes how the red, green and blue components of physical pixels on an output device are laid out. More...
|
|
enum | Gdk::Paintable::Flags {
Gdk::Paintable::Flags::STATIC_SIZE = 1 << 0,
Gdk::Paintable::Flags::STATIC_CONTENTS = 1 << 1
} |
| Flags about a paintable object. More...
|
|
enum | Gdk::Colorspace { Gdk::Colorspace::RGB
} |
| This enumeration defines the color spaces that are supported by the gdk-pixbuf library. More...
|
|
enum | Gdk::InterpType {
Gdk::InterpType::NEAREST,
Gdk::InterpType::TILES,
Gdk::InterpType::BILINEAR,
Gdk::InterpType::HYPER
} |
| Interpolation modes for scaling functions. More...
|
|
enum | Gdk::Pixbuf::Rotation {
Gdk::Pixbuf::Rotation::NONE = 0,
Gdk::Pixbuf::Rotation::COUNTERCLOCKWISE = 90,
Gdk::Pixbuf::Rotation::UPSIDEDOWN = 180,
Gdk::Pixbuf::Rotation::CLOCKWISE = 270
} |
| The possible rotations which can be passed to Gdk::Pixbuf::rotate_simple(). More...
|
|
enum | Gdk::AnchorHints {
Gdk::AnchorHints::FLIP_X = 1 << 0,
Gdk::AnchorHints::FLIP_Y = 1 << 1,
Gdk::AnchorHints::SLIDE_X = 1 << 2,
Gdk::AnchorHints::SLIDE_Y = 1 << 3,
Gdk::AnchorHints::RESIZE_X = 1 << 4,
Gdk::AnchorHints::RESIZE_Y = 1 << 5,
Gdk::AnchorHints::FLIP = 0x3,
Gdk::AnchorHints::SLIDE = 0xC,
Gdk::AnchorHints::RESIZE = 0x30
} |
| Positioning hints for aligning a surface relative to a rectangle. More...
|
|
enum | Gdk::Seat::Capabilities {
Gdk::Seat::Capabilities::NONE = 0x0,
Gdk::Seat::Capabilities::POINTER = 1 << 0,
Gdk::Seat::Capabilities::TOUCH = 1 << 1,
Gdk::Seat::Capabilities::TABLET_STYLUS = 1 << 2,
Gdk::Seat::Capabilities::KEYBOARD = 1 << 3,
Gdk::Seat::Capabilities::TABLET_PAD = 1 << 4,
Gdk::Seat::Capabilities::ALL_POINTING = 0x7,
Gdk::Seat::Capabilities::ALL = 0xF
} |
| Flags describing the seat capabilities. More...
|
|
enum | Gdk::SurfaceEdge {
Gdk::SurfaceEdge::NORTH_WEST,
Gdk::SurfaceEdge::NORTH,
Gdk::SurfaceEdge::NORTH_EAST,
Gdk::SurfaceEdge::WEST,
Gdk::SurfaceEdge::EAST,
Gdk::SurfaceEdge::SOUTH_WEST,
Gdk::SurfaceEdge::SOUTH,
Gdk::SurfaceEdge::SOUTH_EAST
} |
| Determines a surface edge or corner. More...
|
|
enum | Gdk::FullscreenMode {
Gdk::FullscreenMode::ON_CURRENT_MONITOR,
Gdk::FullscreenMode::ON_ALL_MONITORS
} |
| Indicates which monitor a surface should span over when in fullscreen mode. More...
|
|
enum | Gdk::Toplevel::State {
Gdk::Toplevel::State::MINIMIZED = 1 << 0,
Gdk::Toplevel::State::MAXIMIZED = 1 << 1,
Gdk::Toplevel::State::STICKY = 1 << 2,
Gdk::Toplevel::State::FULLSCREEN = 1 << 3,
Gdk::Toplevel::State::ABOVE = 1 << 4,
Gdk::Toplevel::State::BELOW = 1 << 5,
Gdk::Toplevel::State::FOCUSED = 1 << 6,
Gdk::Toplevel::State::TILED = 1 << 7,
Gdk::Toplevel::State::TOP_TILED = 1 << 8,
Gdk::Toplevel::State::TOP_RESIZABLE = 1 << 9,
Gdk::Toplevel::State::RIGHT_TILED = 1 << 10,
Gdk::Toplevel::State::RIGHT_RESIZABLE = 1 << 11,
Gdk::Toplevel::State::BOTTOM_TILED = 1 << 12,
Gdk::Toplevel::State::BOTTOM_RESIZABLE = 1 << 13,
Gdk::Toplevel::State::LEFT_TILED = 1 << 14,
Gdk::Toplevel::State::LEFT_RESIZABLE = 1 << 15
} |
| Specifies the state of a toplevel surface. More...
|
|
|
AxisFlags | Gdk::operator| (AxisFlags lhs, AxisFlags rhs) |
|
AxisFlags | Gdk::operator & (AxisFlags lhs, AxisFlags rhs) |
|
AxisFlags | Gdk::operator^ (AxisFlags lhs, AxisFlags rhs) |
|
AxisFlags | Gdk::operator~ (AxisFlags flags) |
|
AxisFlags & | Gdk::operator|= (AxisFlags & lhs, AxisFlags rhs) |
|
AxisFlags & | Gdk::operator &= (AxisFlags & lhs, AxisFlags rhs) |
|
AxisFlags & | Gdk::operator^= (AxisFlags & lhs, AxisFlags rhs) |
|
DragAction | Gdk::operator| (DragAction lhs, DragAction rhs) |
|
DragAction | Gdk::operator & (DragAction lhs, DragAction rhs) |
|
DragAction | Gdk::operator^ (DragAction lhs, DragAction rhs) |
|
DragAction | Gdk::operator~ (DragAction flags) |
|
DragAction & | Gdk::operator|= (DragAction & lhs, DragAction rhs) |
|
DragAction & | Gdk::operator &= (DragAction & lhs, DragAction rhs) |
|
DragAction & | Gdk::operator^= (DragAction & lhs, DragAction rhs) |
|
ModifierType | Gdk::operator| (ModifierType lhs, ModifierType rhs) |
|
ModifierType | Gdk::operator & (ModifierType lhs, ModifierType rhs) |
|
ModifierType | Gdk::operator^ (ModifierType lhs, ModifierType rhs) |
|
ModifierType | Gdk::operator~ (ModifierType flags) |
|
ModifierType & | Gdk::operator|= (ModifierType & lhs, ModifierType rhs) |
|
ModifierType & | Gdk::operator &= (ModifierType & lhs, ModifierType rhs) |
|
ModifierType & | Gdk::operator^= (ModifierType & lhs, ModifierType rhs) |
|
FrameClock::Phase | Gdk::operator| (FrameClock::Phase lhs, FrameClock::Phase rhs) |
|
FrameClock::Phase | Gdk::operator & (FrameClock::Phase lhs, FrameClock::Phase rhs) |
|
FrameClock::Phase | Gdk::operator^ (FrameClock::Phase lhs, FrameClock::Phase rhs) |
|
FrameClock::Phase | Gdk::operator~ (FrameClock::Phase flags) |
|
FrameClock::Phase & | Gdk::operator|= (FrameClock::Phase & lhs, FrameClock::Phase rhs) |
|
FrameClock::Phase & | Gdk::operator &= (FrameClock::Phase & lhs, FrameClock::Phase rhs) |
|
FrameClock::Phase & | Gdk::operator^= (FrameClock::Phase & lhs, FrameClock::Phase rhs) |
|
GLAPI | Gdk::operator| (GLAPI lhs, GLAPI rhs) |
|
GLAPI | Gdk::operator & (GLAPI lhs, GLAPI rhs) |
|
GLAPI | Gdk::operator^ (GLAPI lhs, GLAPI rhs) |
|
GLAPI | Gdk::operator~ (GLAPI flags) |
|
GLAPI & | Gdk::operator|= (GLAPI & lhs, GLAPI rhs) |
|
GLAPI & | Gdk::operator &= (GLAPI & lhs, GLAPI rhs) |
|
GLAPI & | Gdk::operator^= (GLAPI & lhs, GLAPI rhs) |
|
Paintable::Flags | Gdk::operator| (Paintable::Flags lhs, Paintable::Flags rhs) |
|
Paintable::Flags | Gdk::operator & (Paintable::Flags lhs, Paintable::Flags rhs) |
|
Paintable::Flags | Gdk::operator^ (Paintable::Flags lhs, Paintable::Flags rhs) |
|
Paintable::Flags | Gdk::operator~ (Paintable::Flags flags) |
|
Paintable::Flags & | Gdk::operator|= (Paintable::Flags & lhs, Paintable::Flags rhs) |
|
Paintable::Flags & | Gdk::operator &= (Paintable::Flags & lhs, Paintable::Flags rhs) |
|
Paintable::Flags & | Gdk::operator^= (Paintable::Flags & lhs, Paintable::Flags rhs) |
|
AnchorHints | Gdk::operator| (AnchorHints lhs, AnchorHints rhs) |
|
AnchorHints | Gdk::operator & (AnchorHints lhs, AnchorHints rhs) |
|
AnchorHints | Gdk::operator^ (AnchorHints lhs, AnchorHints rhs) |
|
AnchorHints | Gdk::operator~ (AnchorHints flags) |
|
AnchorHints & | Gdk::operator|= (AnchorHints & lhs, AnchorHints rhs) |
|
AnchorHints & | Gdk::operator &= (AnchorHints & lhs, AnchorHints rhs) |
|
AnchorHints & | Gdk::operator^= (AnchorHints & lhs, AnchorHints rhs) |
|
Seat::Capabilities | Gdk::operator| (Seat::Capabilities lhs, Seat::Capabilities rhs) |
|
Seat::Capabilities | Gdk::operator & (Seat::Capabilities lhs, Seat::Capabilities rhs) |
|
Seat::Capabilities | Gdk::operator^ (Seat::Capabilities lhs, Seat::Capabilities rhs) |
|
Seat::Capabilities | Gdk::operator~ (Seat::Capabilities flags) |
|
Seat::Capabilities & | Gdk::operator|= (Seat::Capabilities & lhs, Seat::Capabilities rhs) |
|
Seat::Capabilities & | Gdk::operator &= (Seat::Capabilities & lhs, Seat::Capabilities rhs) |
|
Seat::Capabilities & | Gdk::operator^= (Seat::Capabilities & lhs, Seat::Capabilities rhs) |
|
Toplevel::State | Gdk::operator| (Toplevel::State lhs, Toplevel::State rhs) |
|
Toplevel::State | Gdk::operator & (Toplevel::State lhs, Toplevel::State rhs) |
|
Toplevel::State | Gdk::operator^ (Toplevel::State lhs, Toplevel::State rhs) |
|
Toplevel::State | Gdk::operator~ (Toplevel::State flags) |
|
Toplevel::State & | Gdk::operator|= (Toplevel::State & lhs, Toplevel::State rhs) |
|
Toplevel::State & | Gdk::operator &= (Toplevel::State & lhs, Toplevel::State rhs) |
|
Toplevel::State & | Gdk::operator^= (Toplevel::State & lhs, Toplevel::State rhs) |
|
Positioning hints for aligning a surface relative to a rectangle.
These hints determine how the surface should be positioned in the case that the surface would fall off-screen if placed in its ideal position.
For example, Gdk::AnchorHints::FLIP_X will replace Gdk::Gravity::NORTH_WEST with Gdk::Gravity::NORTH_EAST and vice versa if the surface extends beyond the left or right edges of the monitor.
If Gdk::AnchorHints::SLIDE_X is set, the surface can be shifted horizontally to fit on-screen. If Gdk::AnchorHints::RESIZE_X is set, the surface can be shrunken horizontally to fit.
In general, when multiple flags are set, flipping should take precedence over sliding, which should take precedence over resizing.
- Bitwise operators:
AnchorHints operator|(AnchorHints, AnchorHints)
AnchorHints operator&(AnchorHints, AnchorHints)
AnchorHints operator^(AnchorHints, AnchorHints)
AnchorHints operator~(AnchorHints)
AnchorHints& operator|=(AnchorHints&, AnchorHints)
AnchorHints& operator&=(AnchorHints&, AnchorHints)
AnchorHints& operator^=(AnchorHints&, AnchorHints)
Enumerator |
---|
FLIP_X | Allow flipping anchors horizontally.
|
FLIP_Y | Allow flipping anchors vertically.
|
SLIDE_X | Allow sliding surface horizontally.
|
SLIDE_Y | Allow sliding surface vertically.
|
RESIZE_X | Allow resizing surface horizontally.
|
RESIZE_Y | Allow resizing surface vertically.
|
FLIP | Allow flipping anchors on both axes.
|
SLIDE | Allow sliding surface on both axes.
|
RESIZE | Allow resizing surface on both axes.
|
Flags to indicate the state of modifier keys and mouse buttons in events.
Typical modifier keys are Shift, Control, Meta, Super, Hyper, Alt, Compose, Apple, CapsLock or ShiftLock.
Note that GDK may add internal values to events which include values outside of this enumeration. Your code should preserve and ignore them. You can use Gdk::ModifierType::MODIFIER_MASK to remove all private values.
- Bitwise operators:
ModifierType operator|(ModifierType, ModifierType)
ModifierType operator&(ModifierType, ModifierType)
ModifierType operator^(ModifierType, ModifierType)
ModifierType operator~(ModifierType)
ModifierType& operator|=(ModifierType&, ModifierType)
ModifierType& operator&=(ModifierType&, ModifierType)
ModifierType& operator^=(ModifierType&, ModifierType)
Enumerator |
---|
SHIFT_MASK | The Shift key.
|
LOCK_MASK | A Lock key (depending on the modifier mapping of the X server this may either be CapsLock or ShiftLock).
|
CONTROL_MASK | The Control key.
|
ALT_MASK | The fourth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier, but normally it is the Alt key).
|
BUTTON1_MASK | The first mouse button.
|
BUTTON2_MASK | The second mouse button.
|
BUTTON3_MASK | The third mouse button.
|
BUTTON4_MASK | The fourth mouse button.
|
BUTTON5_MASK | The fifth mouse button.
|
SUPER_MASK | The Super modifier.
|
HYPER_MASK | The Hyper modifier.
|
META_MASK | The Meta modifier.
|
Specifies the current state of a touchpad gesture.
All gestures are guaranteed to begin with an event with phase Gdk::TouchpadGesturePhase::BEGIN, followed by 0 or several events with phase Gdk::TouchpadGesturePhase::UPDATE.
A finished gesture may have 2 possible outcomes, an event with phase Gdk::TouchpadGesturePhase::END will be emitted when the gesture is considered successful, this should be used as the hint to perform any permanent changes.
Cancelled gestures may be so for a variety of reasons, due to hardware or the compositor, or due to the gesture recognition layers hinting the gesture did not finish resolutely (eg. a 3rd finger being added during a pinch gesture). In these cases, the last event will report the phase Gdk::TouchpadGesturePhase::CANCEL, this should be used as a hint to undo any visible/permanent changes that were done throughout the progress of the gesture.
Enumerator |
---|
BEGIN | The gesture has begun.
|
UPDATE | The gesture has been updated.
|
END | The gesture was finished, changes should be permanently applied.
|
CANCEL | The gesture was cancelled, all changes should be undone.
|