gtkmm  3.95.1
Enumerations | Functions
gdkmm Enums and Flags

Enumerations

enum  Gdk::EventMask {
  Gdk::EventMask::EXPOSURE_MASK = 1 << 1,
  Gdk::EventMask::POINTER_MOTION_MASK = 1 << 2,
  Gdk::EventMask::BUTTON_MOTION_MASK = 1 << 4,
  Gdk::EventMask::BUTTON1_MOTION_MASK = 1 << 5,
  Gdk::EventMask::BUTTON2_MOTION_MASK = 1 << 6,
  Gdk::EventMask::BUTTON3_MOTION_MASK = 1 << 7,
  Gdk::EventMask::BUTTON_PRESS_MASK = 1 << 8,
  Gdk::EventMask::BUTTON_RELEASE_MASK = 1 << 9,
  Gdk::EventMask::KEY_PRESS_MASK = 1 << 10,
  Gdk::EventMask::KEY_RELEASE_MASK = 1 << 11,
  Gdk::EventMask::ENTER_NOTIFY_MASK = 1 << 12,
  Gdk::EventMask::LEAVE_NOTIFY_MASK = 1 << 13,
  Gdk::EventMask::FOCUS_CHANGE_MASK = 1 << 14,
  Gdk::EventMask::STRUCTURE_MASK = 1 << 15,
  Gdk::EventMask::PROPERTY_CHANGE_MASK = 1 << 16,
  Gdk::EventMask::PROXIMITY_IN_MASK = 1 << 18,
  Gdk::EventMask::PROXIMITY_OUT_MASK = 1 << 19,
  Gdk::EventMask::SUBSTRUCTURE_MASK = 1 << 20,
  Gdk::EventMask::SCROLL_MASK = 1 << 21,
  Gdk::EventMask::TOUCH_MASK = 1 << 22,
  Gdk::EventMask::SMOOTH_SCROLL_MASK = 1 << 23,
  Gdk::EventMask::TOUCHPAD_GESTURE_MASK = 1 << 24,
  Gdk::EventMask::TABLET_PAD_MASK = 1 << 25,
  Gdk::EventMask::ALL_EVENTS_MASK = 0x3FFFFFE
}
 A set of bit-flags to indicate which events a surface is to receive. More...
 
enum  Gdk::InputMode {
  Gdk::InputMode::DISABLED,
  Gdk::InputMode::SCREEN,
  Gdk::InputMode::SURFACE
}
 An enumeration that describes the mode of an input device. More...
 
enum  Gdk::InputSource {
  Gdk::InputSource::MOUSE,
  Gdk::InputSource::PEN,
  Gdk::InputSource::ERASER,
  Gdk::InputSource::CURSOR,
  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::GrabStatus {
  Gdk::GrabStatus::SUCCESS,
  Gdk::GrabStatus::ALREADY_GRABBED,
  Gdk::GrabStatus::INVALID_TIME,
  Gdk::GrabStatus::NOT_VIEWABLE,
  Gdk::GrabStatus::FROZEN,
  Gdk::GrabStatus::FAILED
}
 Returned by gdk_device_grab() to indicate success or the reason for the failure of the grab attempt. More...
 
enum  Gdk::Device::Type {
  Gdk::Device::Type::MASTER,
  Gdk::Device::Type::SLAVE,
  Gdk::Device::Type::FLOATING
}
 Indicates the device type. 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::PRESSURE = 0x8,
  Gdk::AxisFlags::XTILT = 0x10,
  Gdk::AxisFlags::YTILT = 0x20,
  Gdk::AxisFlags::WHEEL = 0x40,
  Gdk::AxisFlags::DISTANCE = 0x80,
  Gdk::AxisFlags::ROTATION = 0x100,
  Gdk::AxisFlags::SLIDER = 0x200
}
 Flags describing the current capabilities of a device/tool. More...
 
enum  Gdk::AxisUse {
  Gdk::AxisUse::IGNORE,
  Gdk::AxisUse::X,
  Gdk::AxisUse::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
}
 An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that GTK understands. 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::Drag to indicate what the destination should do with the dropped data. 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::Event::Type {
  Gdk::Event::Type::NOTHING,
  Gdk::Event::Type::DELETE,
  Gdk::Event::Type::DESTROY,
  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::CONFIGURE,
  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
}
 Gdk::FrameClock::Phase is used to represent the different paint clock phases that can be requested. 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 this 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
}
 This enumeration describes the different interpolation modes that can be used with the 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::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::WMDecoration {
  Gdk::WMDecoration::ALL = 1 << 0,
  Gdk::WMDecoration::BORDER = 1 << 1,
  Gdk::WMDecoration::RESIZEH = 1 << 2,
  Gdk::WMDecoration::TITLE = 1 << 3,
  Gdk::WMDecoration::MENU = 1 << 4,
  Gdk::WMDecoration::MINIMIZE = 1 << 5,
  Gdk::WMDecoration::MAXIMIZE = 1 << 6
}
 These are hints originally defined by the Motif toolkit. More...
 
enum  Gdk::WMFunction {
  Gdk::WMFunction::ALL = 1 << 0,
  Gdk::WMFunction::RESIZE = 1 << 1,
  Gdk::WMFunction::MOVE = 1 << 2,
  Gdk::WMFunction::MINIMIZE = 1 << 3,
  Gdk::WMFunction::MAXIMIZE = 1 << 4,
  Gdk::WMFunction::CLOSE = 1 << 5
}
 These are hints originally defined by the Motif toolkit. 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  Pango::Gravity {
  Pango::Gravity::SOUTH,
  Pango::Gravity::EAST,
  Pango::Gravity::NORTH,
  Pango::Gravity::WEST,
  Pango::Gravity::AUTO
}
 Defines the reference point of a surface and the meaning of coordinates passed to gtk_window_move(). 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::FullscreenMode {
  Gdk::FullscreenMode::ON_CURRENT_MONITOR,
  Gdk::FullscreenMode::ON_ALL_MONITORS
}
 Indicates which monitor (in a multi-head setup) a surface should span over when in fullscreen mode. More...
 
enum  Gdk::Surface::Type {
  Gdk::Surface::Type::TOPLEVEL,
  Gdk::Surface::Type::CHILD,
  Gdk::Surface::Type::TEMP
}
 Describes the kind of surface. More...
 
enum  Gdk::Surface::State {
  Gdk::Surface::State::WITHDRAWN = 1 << 0,
  Gdk::Surface::State::ICONIFIED = 1 << 1,
  Gdk::Surface::State::MAXIMIZED = 1 << 2,
  Gdk::Surface::State::STICKY = 1 << 3,
  Gdk::Surface::State::FULLSCREEN = 1 << 4,
  Gdk::Surface::State::ABOVE = 1 << 5,
  Gdk::Surface::State::BELOW = 1 << 6,
  Gdk::Surface::State::FOCUSED = 1 << 7,
  Gdk::Surface::State::TILED = 1 << 8,
  Gdk::Surface::State::TOP_TILED = 1 << 9,
  Gdk::Surface::State::TOP_RESIZABLE = 1 << 10,
  Gdk::Surface::State::RIGHT_TILED = 1 << 11,
  Gdk::Surface::State::RIGHT_RESIZABLE = 1 << 12,
  Gdk::Surface::State::BOTTOM_TILED = 1 << 13,
  Gdk::Surface::State::BOTTOM_RESIZABLE = 1 << 14,
  Gdk::Surface::State::LEFT_TILED = 1 << 15,
  Gdk::Surface::State::LEFT_RESIZABLE = 1 << 16
}
 Specifies the state of a toplevel surface. More...
 
enum  Gdk::Surface::Hints {
  Gdk::Surface::Hints::POS = 1 << 0,
  Gdk::Surface::Hints::MIN_SIZE = 1 << 1,
  Gdk::Surface::Hints::MAX_SIZE = 1 << 2,
  Gdk::Surface::Hints::BASE_SIZE = 1 << 3,
  Gdk::Surface::Hints::ASPECT = 1 << 4,
  Gdk::Surface::Hints::RESIZE_INC = 1 << 5,
  Gdk::Surface::Hints::WIN_GRAVITY = 1 << 6,
  Gdk::Surface::Hints::USER_POS = 1 << 7,
  Gdk::Surface::Hints::USER_SIZE = 1 << 8
}
 Used to indicate which fields of a Gdk::Geometry struct should be paid attention to. More...
 
enum  Gdk::Surface::TypeHint {
  Gdk::Surface::TypeHint::NORMAL,
  Gdk::Surface::TypeHint::DIALOG,
  Gdk::Surface::TypeHint::MENU,
  Gdk::Surface::TypeHint::TOOLBAR,
  Gdk::Surface::TypeHint::SPLASHSCREEN,
  Gdk::Surface::TypeHint::UTILITY,
  Gdk::Surface::TypeHint::DOCK,
  Gdk::Surface::TypeHint::DESKTOP,
  Gdk::Surface::TypeHint::DROPDOWN_MENU,
  Gdk::Surface::TypeHint::POPUP_MENU,
  Gdk::Surface::TypeHint::TOOLTIP,
  Gdk::Surface::TypeHint::NOTIFICATION,
  Gdk::Surface::TypeHint::COMBO,
  Gdk::Surface::TypeHint::DND
}
 These are hints for the window manager that indicate what type of function the window has. More...
 
enum  Gdk::ModifierType {
  Gdk::ModifierType::SHIFT_MASK = 1 << 0,
  Gdk::ModifierType::LOCK_MASK = 1 << 1,
  Gdk::ModifierType::CONTROL_MASK = 1 << 2,
  Gdk::ModifierType::MOD1_MASK = 1 << 3,
  Gdk::ModifierType::MOD2_MASK = 1 << 4,
  Gdk::ModifierType::MOD3_MASK = 1 << 5,
  Gdk::ModifierType::MOD4_MASK = 1 << 6,
  Gdk::ModifierType::MOD5_MASK = 1 << 7,
  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::MODIFIER_RESERVED_13_MASK = 1 << 13,
  Gdk::ModifierType::MODIFIER_RESERVED_14_MASK = 1 << 14,
  Gdk::ModifierType::MODIFIER_RESERVED_15_MASK = 1 << 15,
  Gdk::ModifierType::MODIFIER_RESERVED_16_MASK = 1 << 16,
  Gdk::ModifierType::MODIFIER_RESERVED_17_MASK = 1 << 17,
  Gdk::ModifierType::MODIFIER_RESERVED_18_MASK = 1 << 18,
  Gdk::ModifierType::MODIFIER_RESERVED_19_MASK = 1 << 19,
  Gdk::ModifierType::MODIFIER_RESERVED_20_MASK = 1 << 20,
  Gdk::ModifierType::MODIFIER_RESERVED_21_MASK = 1 << 21,
  Gdk::ModifierType::MODIFIER_RESERVED_22_MASK = 1 << 22,
  Gdk::ModifierType::MODIFIER_RESERVED_23_MASK = 1 << 23,
  Gdk::ModifierType::MODIFIER_RESERVED_24_MASK = 1 << 24,
  Gdk::ModifierType::MODIFIER_RESERVED_25_MASK = 1 << 25,
  Gdk::ModifierType::SUPER_MASK = 1 << 26,
  Gdk::ModifierType::HYPER_MASK = 1 << 27,
  Gdk::ModifierType::META_MASK = 1 << 28,
  Gdk::ModifierType::MODIFIER_RESERVED_29_MASK = 1 << 29,
  Gdk::ModifierType::RELEASE_MASK = 1 << 30,
  Gdk::ModifierType::MODIFIER_MASK = 0x5c001fff
}
 A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types. More...
 
enum  Gdk::ModifierIntent {
  Gdk::ModifierIntent::PRIMARY_ACCELERATOR,
  Gdk::ModifierIntent::CONTEXT_MENU,
  Gdk::ModifierIntent::EXTEND_SELECTION,
  Gdk::ModifierIntent::MODIFY_SELECTION,
  Gdk::ModifierIntent::NO_TEXT_INPUT,
  Gdk::ModifierIntent::SHIFT_GROUP,
  Gdk::ModifierIntent::DEFAULT_MOD_MASK
}
 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. More...
 

Functions

EventMask Gdk::operator| (EventMask lhs, EventMask rhs)
 
EventMask Gdk::operator& (EventMask lhs, EventMask rhs)
 
EventMask Gdk::operator^ (EventMask lhs, EventMask rhs)
 
EventMask Gdk::operator~ (EventMask flags)
 
EventMask& Gdk::operator|= (EventMask& lhs, EventMask rhs)
 
EventMask& Gdk::operator&= (EventMask& lhs, EventMask rhs)
 
EventMask& Gdk::operator^= (EventMask& lhs, EventMask rhs)
 
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)
 
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)
 
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::FlagsGdk::operator|= (Paintable::Flags& lhs, Paintable::Flags rhs)
 
Paintable::FlagsGdk::operator&= (Paintable::Flags& lhs, Paintable::Flags rhs)
 
Paintable::FlagsGdk::operator^= (Paintable::Flags& lhs, Paintable::Flags 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)
 
WMDecoration Gdk::operator| (WMDecoration lhs, WMDecoration rhs)
 
WMDecoration Gdk::operator& (WMDecoration lhs, WMDecoration rhs)
 
WMDecoration Gdk::operator^ (WMDecoration lhs, WMDecoration rhs)
 
WMDecoration Gdk::operator~ (WMDecoration flags)
 
WMDecoration& Gdk::operator|= (WMDecoration& lhs, WMDecoration rhs)
 
WMDecoration& Gdk::operator&= (WMDecoration& lhs, WMDecoration rhs)
 
WMDecoration& Gdk::operator^= (WMDecoration& lhs, WMDecoration rhs)
 
WMFunction Gdk::operator| (WMFunction lhs, WMFunction rhs)
 
WMFunction Gdk::operator& (WMFunction lhs, WMFunction rhs)
 
WMFunction Gdk::operator^ (WMFunction lhs, WMFunction rhs)
 
WMFunction Gdk::operator~ (WMFunction flags)
 
WMFunction& Gdk::operator|= (WMFunction& lhs, WMFunction rhs)
 
WMFunction& Gdk::operator&= (WMFunction& lhs, WMFunction rhs)
 
WMFunction& Gdk::operator^= (WMFunction& lhs, WMFunction 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)
 
Surface::State Gdk::operator| (Surface::State lhs, Surface::State rhs)
 
Surface::State Gdk::operator& (Surface::State lhs, Surface::State rhs)
 
Surface::State Gdk::operator^ (Surface::State lhs, Surface::State rhs)
 
Surface::State Gdk::operator~ (Surface::State flags)
 
Surface::State& Gdk::operator|= (Surface::State& lhs, Surface::State rhs)
 
Surface::State& Gdk::operator&= (Surface::State& lhs, Surface::State rhs)
 
Surface::State& Gdk::operator^= (Surface::State& lhs, Surface::State rhs)
 
Surface::Hints Gdk::operator| (Surface::Hints lhs, Surface::Hints rhs)
 
Surface::Hints Gdk::operator& (Surface::Hints lhs, Surface::Hints rhs)
 
Surface::Hints Gdk::operator^ (Surface::Hints lhs, Surface::Hints rhs)
 
Surface::Hints Gdk::operator~ (Surface::Hints flags)
 
Surface::Hints& Gdk::operator|= (Surface::Hints& lhs, Surface::Hints rhs)
 
Surface::Hints& Gdk::operator&= (Surface::Hints& lhs, Surface::Hints rhs)
 
Surface::Hints& Gdk::operator^= (Surface::Hints& lhs, Surface::Hints 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)
 

Detailed Description

Enumeration Type Documentation

enum Gdk::AnchorHints
strong

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 
enum Gdk::AxisFlags
strong

Flags describing the current capabilities of a device/tool.

Bitwise operators:
AxisFlags operator|(AxisFlags, AxisFlags)
AxisFlags operator&(AxisFlags, AxisFlags)
AxisFlags operator^(AxisFlags, AxisFlags)
AxisFlags operator~(AxisFlags)
AxisFlags& operator|=(AxisFlags&, AxisFlags)
AxisFlags& operator&=(AxisFlags&, AxisFlags)
AxisFlags& operator^=(AxisFlags&, AxisFlags)
Enumerator

X axis is present.

The axis is used as the x axis.

Y axis is present.

The axis is used as the y axis.

PRESSURE 

Pressure axis is present.

The axis is used for pressure information.

XTILT 

X tilt axis is present.

The axis is used for x tilt information.

YTILT 

Y tilt axis is present.

The axis is used for y tilt information.

WHEEL 

Wheel axis is present.

The axis is used for wheel information.

DISTANCE 

Distance axis is present.

The axis is used for pen/tablet distance information.

ROTATION 

Z-axis rotation is present.

The axis is used for pen rotation information.

SLIDER 

Slider axis is present.

The axis is used for pen slider information.

enum Gdk::AxisUse
strong

An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that GTK understands.

Note that the X and Y axes are not really needed; pointer devices report their location via the x/y members of events regardless. Whether X and Y are present as axes depends on the GDK backend.

Enumerator
IGNORE 

The axis is ignored.

PRESSURE 
XTILT 
YTILT 
WHEEL 
DISTANCE 
ROTATION 
SLIDER 
LAST 

A constant equal to the numerically highest axis value.

Flags describing the seat capabilities.

Bitwise operators:
Seat::Capabilities operator|(Seat::Capabilities, Seat::Capabilities)
Seat::Capabilities operator&(Seat::Capabilities, Seat::Capabilities)
Seat::Capabilities operator^(Seat::Capabilities, Seat::Capabilities)
Seat::Capabilities operator~(Seat::Capabilities)
Seat::Capabilities& operator|=(Seat::Capabilities&, Seat::Capabilities)
Seat::Capabilities& operator&=(Seat::Capabilities&, Seat::Capabilities)
Seat::Capabilities& operator^=(Seat::Capabilities&, Seat::Capabilities)
Enumerator
NONE 

No input capabilities.

POINTER 

The seat has a pointer (e.g.

mouse).

TOUCH 

The seat has touchscreen(s) attached.

TABLET_STYLUS 

The seat has drawing tablet(s) attached.

KEYBOARD 

The seat has keyboard(s) attached.

TABLET_PAD 

The seat has drawing tablet pad(s) attached.

ALL_POINTING 

The union of all pointing capabilities.

ALL 

The union of all capabilities.

enum Gdk::Colorspace
strong

This enumeration defines the color spaces that are supported by the gdk-pixbuf library.

Currently only RGB is supported.

Enumerator
RGB 

Indicates a red/green/blue additive color space.

enum Gdk::CrossingMode
strong

Specifies the crossing mode for enter and leave events.

Enumerator
NORMAL 

Crossing because of pointer motion.

GRAB 

Crossing because a grab is activated.

UNGRAB 

Crossing because a grab is deactivated.

GTK_GRAB 

Crossing because a GTK+ grab is activated.

GTK_UNGRAB 

Crossing because a GTK+ grab is deactivated.

STATE_CHANGED 

Crossing because a GTK+ widget changed state (e.g.

sensitivity).

TOUCH_BEGIN 

Crossing because a touch sequence has begun, this event is synthetic as the pointer might have not left the surface.

TOUCH_END 

Crossing because a touch sequence has ended, this event is synthetic as the pointer might have not left the surface.

DEVICE_SWITCH 

Crossing because of a device switch (i.e.

a mouse taking control of the pointer after a touch device), this event is synthetic as the pointer didn’t leave the surface.

enum Gdk::DragAction
strong

Used in Gdk::Drag to indicate what the destination should do with the dropped data.

Bitwise operators:
DragAction operator|(DragAction, DragAction)
DragAction operator&(DragAction, DragAction)
DragAction operator^(DragAction, DragAction)
DragAction operator~(DragAction)
DragAction& operator|=(DragAction&, DragAction)
DragAction& operator&=(DragAction&, DragAction)
DragAction& operator^=(DragAction&, DragAction)
Enumerator
COPY 

Copy the data.

MOVE 

Move the data, i.e.

The surface should be movable.

first copy it, then delete it from the source using the DELETE target of the X selection protocol.

LINK 

Add a link to the data.

Note that this is only useful if source and destination agree on what it means.

ASK 

Ask the user what to do with the data.

enum Gdk::DragCancelReason
strong

Used in Gdk::Drag to the reason of a cancelled DND operation.

Enumerator
NO_TARGET 

There is no suitable drop target.

USER_CANCELLED 

Drag cancelled by the user.

ERROR 

Unspecified error.

enum Gdk::EventMask
strong

A set of bit-flags to indicate which events a surface is to receive.

Most of these masks map onto one or more of the Gdk::Event::Type event types above.

See the [input handling overview][chap-input-handling] for details of [event masks][event-masks] and [event propagation][event-propagation].

If Gdk::EventMask::TOUCH_MASK is enabled, the surface will receive touch events from touch-enabled devices. Those will come as sequences of Gdk::EventTouch with type Gdk::Event::Type::TOUCH_UPDATE, enclosed by two events with type Gdk::Event::Type::TOUCH_BEGIN and Gdk::Event::Type::TOUCH_END (or Gdk::Event::Type::TOUCH_CANCEL). Gdk::Event::get_event_sequence() returns the event sequence for these events, so different sequences may be distinguished.

Bitwise operators:
EventMask operator|(EventMask, EventMask)
EventMask operator&(EventMask, EventMask)
EventMask operator^(EventMask, EventMask)
EventMask operator~(EventMask)
EventMask& operator|=(EventMask&, EventMask)
EventMask& operator&=(EventMask&, EventMask)
EventMask& operator^=(EventMask&, EventMask)
Enumerator
EXPOSURE_MASK 

Receive expose events.

POINTER_MOTION_MASK 

Receive all pointer motion events.

BUTTON_MOTION_MASK 

Receive pointer motion events while any button is pressed.

BUTTON1_MOTION_MASK 

Receive pointer motion events while 1 button is pressed.

BUTTON2_MOTION_MASK 

Receive pointer motion events while 2 button is pressed.

BUTTON3_MOTION_MASK 

Receive pointer motion events while 3 button is pressed.

BUTTON_PRESS_MASK 

Receive button press events.

BUTTON_RELEASE_MASK 

Receive button release events.

KEY_PRESS_MASK 

Receive key press events.

KEY_RELEASE_MASK 

Receive key release events.

ENTER_NOTIFY_MASK 

Receive surface enter events.

LEAVE_NOTIFY_MASK 

Receive surface leave events.

FOCUS_CHANGE_MASK 

Receive focus change events.

STRUCTURE_MASK 

Receive events about surface configuration change.

PROPERTY_CHANGE_MASK 

Receive property change events.

PROXIMITY_IN_MASK 

Receive proximity in events.

PROXIMITY_OUT_MASK 

Receive proximity out events.

SUBSTRUCTURE_MASK 

Receive events about surface configuration changes of child surfaces.

SCROLL_MASK 

Receive scroll events.

TOUCH_MASK 

Receive touch events.

SMOOTH_SCROLL_MASK 

Receive smooth scrolling events GDK_TOUCHPAD_GESTURE_MASK: receive touchpad gesture events.

TOUCHPAD_GESTURE_MASK 
TABLET_PAD_MASK 

Receive tablet pad events.

ALL_EVENTS_MASK 

The combination of all the above event masks.

A pad feature.

Enumerator
BUTTON 

A button.

RING 

A ring-shaped interactive area.

STRIP 

A straight interactive area.

enum Gdk::Paintable::Flags
strong

Flags about this object.

Implementations use these for optimizations such as caching.

Bitwise operators:
Paintable::Flags operator|(Paintable::Flags, Paintable::Flags)
Paintable::Flags operator&(Paintable::Flags, Paintable::Flags)
Paintable::Flags operator^(Paintable::Flags, Paintable::Flags)
Paintable::Flags operator~(Paintable::Flags)
Paintable::Flags& operator|=(Paintable::Flags&, Paintable::Flags)
Paintable::Flags& operator&=(Paintable::Flags&, Paintable::Flags)
Paintable::Flags& operator^=(Paintable::Flags&, Paintable::Flags)
Enumerator
STATIC_SIZE 

The size is immutable.

The GdkPaintable::invalidate-size signal will never be emitted.

STATIC_CONTENTS 

The content is immutable.

The GdkPaintable::invalidate-content signal will never be emitted.

enum Gdk::FullscreenMode
strong

Indicates which monitor (in a multi-head setup) a surface should span over when in fullscreen mode.

Enumerator
ON_CURRENT_MONITOR 

Fullscreen on current monitor only.

ON_ALL_MONITORS 

Span across all monitors when fullscreen.

enum Gdk::GrabStatus
strong

Returned by gdk_device_grab() to indicate success or the reason for the failure of the grab attempt.

Enumerator
SUCCESS 

The resource was successfully grabbed.

ALREADY_GRABBED 

The resource is actively grabbed by another client.

INVALID_TIME 

The resource was grabbed more recently than the specified time.

NOT_VIEWABLE 

The grab surface or the confine_to surface are not viewable.

FROZEN 

The resource is frozen by an active grab of another client.

FAILED 

The grab failed for some other reason.

enum Gdk::Surface::Hints
strong

Used to indicate which fields of a Gdk::Geometry 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 Gdk::Geometry fields. GDK_HINT_USER_POS will be set automatically by Gtk::Window 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.

Bitwise operators:
Surface::Hints operator|(Surface::Hints, Surface::Hints)
Surface::Hints operator&(Surface::Hints, Surface::Hints)
Surface::Hints operator^(Surface::Hints, Surface::Hints)
Surface::Hints operator~(Surface::Hints)
Surface::Hints& operator|=(Surface::Hints&, Surface::Hints)
Surface::Hints& operator&=(Surface::Hints&, Surface::Hints)
Surface::Hints& operator^=(Surface::Hints&, Surface::Hints)
Enumerator
POS 

Indicates that the program has positioned the surface.

MIN_SIZE 

Min size fields are set.

MAX_SIZE 

Max size fields are set.

BASE_SIZE 

Base size fields are set.

ASPECT 

Aspect ratio fields are set.

RESIZE_INC 

Resize increment fields are set.

WIN_GRAVITY 

Surface gravity field is set.

USER_POS 

Indicates that the surface’s position was explicitly set by the user.

USER_SIZE 

Indicates that the surface’s size was explicitly set by the user.

enum Gdk::InputMode
strong

An enumeration that describes the mode of an input device.

Enumerator
DISABLED 

The device is disabled and will not report any events.

SCREEN 

The device is enabled.

The device’s coordinate space maps to the entire screen.

SURFACE 

The device is enabled.

The device’s coordinate space is mapped to a single surface. The manner in which this surface is chosen is undefined, but it will typically be the same way in which the focus surface for key events is determined.

enum Gdk::InputSource
strong

An enumeration describing the type of an input device in general terms.

Enumerator
MOUSE 

The device is a mouse.

(This will be reported for the core pointer, even if it is something else, such as a trackball.).

PEN 

The device is a stylus of a graphics tablet or similar device.

ERASER 

The device is an eraser.

Typically, this would be the other end of a stylus on a graphics tablet.

CURSOR 

The device is a graphics tablet “puck” or similar device.

KEYBOARD 

The device is a keyboard.

TOUCHSCREEN 

The device is a direct-input touch device, such as a touchscreen or tablet.

This device type has been added in 3.4.

TOUCHPAD 

The device is an indirect touch device, such as a touchpad.

This device type has been added in 3.4.

TRACKPOINT 

The device is a trackpoint.

This device type has been added in 3.22.

TABLET_PAD 

The device is a "pad", a collection of buttons, rings and strips found in drawing tablets.

This device type has been added in 3.22.

enum Gdk::InterpType
strong

This enumeration describes the different interpolation modes that can be used with the scaling functions.

GDK_INTERP_NEAREST is the fastest scaling method, but has horrible quality when scaling down. GDK_INTERP_BILINEAR is the best choice if you aren't sure what to choose, it has a good speed/quality balance.

Note: Cubic filtering is missing from the list; hyperbolic interpolation is just as fast and results in higher quality.

Enumerator
NEAREST 

Nearest neighbor sampling; this is the fastest and lowest quality mode.

Quality is normally unacceptable when scaling down, but may be OK when scaling up.

TILES 

This is an accurate simulation of the PostScript image operator without any interpolation enabled.

Each pixel is rendered as a tiny parallelogram of solid color, the edges of which are implemented with antialiasing. It resembles nearest neighbor for enlargement, and bilinear for reduction.

BILINEAR 

Best quality/speed balance; use this mode by default.

Bilinear interpolation. For enlargement, it is equivalent to point-sampling the ideal bilinear-interpolated image. For reduction, it is equivalent to laying down small tiles and integrating over the coverage area.

HYPER 

This is the slowest and highest quality reconstruction function.

It is derived from the hyperbolic filters in Wolberg's "Digital Image Warping", and is formally defined as the hyperbolic-filter sampling the ideal hyperbolic-filter interpolated image (the filter is designed to be idempotent for 1:1 pixel mapping). Deprecated: this interpolation filter is deprecated, as in reality it has a lower quality than the GDK_INTERP_BILINEAR filter (Since: 2.38).

enum Gdk::ModifierIntent
strong

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::ModifierType::CONTROL_MASK and Gdk::ModifierType::MOD2_MASK, respectively).

Enumerator
PRIMARY_ACCELERATOR 

The primary modifier used to invoke menu accelerators.

CONTEXT_MENU 

The modifier used to invoke context menus.

Note that mouse button 3 always triggers context menus. When this modifier is not 0, it additionally triggers context menus when used with mouse button 1.

EXTEND_SELECTION 

The modifier used to extend selections using modifier-click or modifier-cursor-key.

MODIFY_SELECTION 

The modifier used to modify selections, which in most cases means toggling the clicked item into or out of the selection.

NO_TEXT_INPUT 

When any of these modifiers is pressed, the key event cannot produce a symbol directly.

This is meant to be used for input methods, and for use cases like typeahead search.

SHIFT_GROUP 

The modifier that switches between keyboard groups (AltGr on X11/Windows and Option/Alt on OS X).

DEFAULT_MOD_MASK 

The set of modifier masks accepted as modifiers in accelerators.

Needed because Command is mapped to MOD2 on OSX, which is widely used, but on X11 MOD2 is NumLock and using that for a mod key is problematic at best. Ref: https://bugzilla.gnome.org/show_bug.cgi?id=736125.

enum Gdk::ModifierType
strong

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.

Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons.

GDK recognizes which of the Meta, Super or Hyper keys are mapped to Mod2 - Mod5, and indicates this by setting Gdk::ModifierType::SUPER_MASK, Gdk::ModifierType::HYPER_MASK or Gdk::ModifierType::META_MASK in the state field of key events.

Note that GDK may add internal values to events which include reserved values such as Gdk::ModifierType::MODIFIER_RESERVED_13_MASK. Your code should preserve and ignore them. You can use Gdk::ModifierType::MODIFIER_MASK to remove all reserved values.

Also note that the GDK X backend interprets button press events for button 4-7 as scroll events, so Gdk::ModifierType::BUTTON4_MASK and Gdk::ModifierType::BUTTON5_MASK will never be set.

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.

MOD1_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).

MOD2_MASK 

The fifth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).

MOD3_MASK 

The sixth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).

MOD4_MASK 

The seventh modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).

MOD5_MASK 

The eighth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier).

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.

MODIFIER_RESERVED_13_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_14_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_15_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_16_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_17_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_18_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_19_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_20_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_21_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_22_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_23_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_24_MASK 

A reserved bit flag; do not use in your own code.

MODIFIER_RESERVED_25_MASK 

A reserved bit flag; do not use in your own code.

SUPER_MASK 

The Super modifier.

HYPER_MASK 

The Hyper modifier.

META_MASK 

The Meta modifier.

MODIFIER_RESERVED_29_MASK 

A reserved bit flag; do not use in your own code.

RELEASE_MASK 

Not used in GDK itself.

GTK uses it to differentiate between (keyval, modifiers) pairs from key press and release events.

MODIFIER_MASK 

A mask covering all modifier types.

enum Gdk::NotifyType
strong

Specifies the kind of crossing for enter and leave events.

See the X11 protocol specification of LeaveNotify for full details of crossing event generation.

Enumerator
ANCESTOR 

The surface is entered from an ancestor or left towards an ancestor.

VIRTUAL 

The pointer moves between an ancestor and an inferior of the surface.

INFERIOR 

The surface is entered from an inferior or left towards an inferior.

NONLINEAR 

The surface is entered from or left towards a surface which is neither an ancestor nor an inferior.

NONLINEAR_VIRTUAL 

The pointer moves between two surfaces which are not ancestors of each other and the surface is part of the ancestor chain between one of these surfaces and their least common ancestor.

UNKNOWN 

An unknown type of enter/leave event occurred.

The layout is not known.

Gdk::FrameClock::Phase is used to represent the different paint clock phases that can be requested.

The elements of the enumeration correspond to the signals of Gdk::FrameClock.

Bitwise operators:
FrameClock::Phase operator|(FrameClock::Phase, FrameClock::Phase)
FrameClock::Phase operator&(FrameClock::Phase, FrameClock::Phase)
FrameClock::Phase operator^(FrameClock::Phase, FrameClock::Phase)
FrameClock::Phase operator~(FrameClock::Phase)
FrameClock::Phase& operator|=(FrameClock::Phase&, FrameClock::Phase)
FrameClock::Phase& operator&=(FrameClock::Phase&, FrameClock::Phase)
FrameClock::Phase& operator^=(FrameClock::Phase&, FrameClock::Phase)
Enumerator
NONE 

No phase.

FLUSH_EVENTS 

Corresponds to GdkFrameClock::flush-events.

Should not be handled by applications.

BEFORE_PAINT 

Corresponds to GdkFrameClock::before-paint.

Should not be handled by applications.

UPDATE 

Corresponds to GdkFrameClock::update.

LAYOUT 

Corresponds to GdkFrameClock::layout.

PAINT 

Corresponds to GdkFrameClock::paint.

RESUME_EVENTS 

Corresponds to GdkFrameClock::resume-events.

Should not be handled by applications.

AFTER_PAINT 

Corresponds to GdkFrameClock::after-paint.

Should not be handled by applications.

enum Gdk::Pixbuf::Rotation
strong

The possible rotations which can be passed to Gdk::Pixbuf::rotate_simple().

To make them easier to use, their numerical values are the actual degrees.

Enumerator
NONE 

No rotation.

COUNTERCLOCKWISE 

Rotate by 90 degrees.

UPSIDEDOWN 

Rotate by 180 degrees.

CLOCKWISE 

Rotate by 270 degrees.

enum Gdk::ScrollDirection
strong

Specifies the direction for scroll events.

Enumerator
UP 

The surface is scrolled up.

DOWN 

The surface is scrolled down.

LEFT 

The surface is scrolled to the left.

RIGHT 

The surface is scrolled to the right.

SMOOTH 

The scrolling is determined by the delta values in scroll events.

See Gdk::Event::get_scroll_deltas().

enum Gdk::Surface::State
strong

Specifies the state of a toplevel surface.

On platforms that support information about individual edges, the Gdk::Surface::State::TILED state will be set whenever any of the individual tiled states is set. On platforms that lack that support, the tiled state will give an indication of tiledness without any of the per-edge states being set.

Bitwise operators:
Surface::State operator|(Surface::State, Surface::State)
Surface::State operator&(Surface::State, Surface::State)
Surface::State operator^(Surface::State, Surface::State)
Surface::State operator~(Surface::State)
Surface::State& operator|=(Surface::State&, Surface::State)
Surface::State& operator&=(Surface::State&, Surface::State)
Surface::State& operator^=(Surface::State&, Surface::State)
Enumerator
WITHDRAWN 

The surface is not shown.

ICONIFIED 

The surface is minimized.

MAXIMIZED 

The surface is maximized.

STICKY 

The surface is sticky.

FULLSCREEN 

The surface is maximized without decorations.

ABOVE 

The surface is kept above other surfaces.

BELOW 

The surface is kept below other surfaces.

FOCUSED 

The surface is presented as focused (with active decorations).

TILED 

The surface is in a tiled state.

TOP_TILED 

Whether the top edge is tiled.

TOP_RESIZABLE 

Whether the top edge is resizable.

RIGHT_TILED 

Whether the right edge is tiled.

RIGHT_RESIZABLE 

Whether the right edge is resizable.

BOTTOM_TILED 

Whether the bottom edge is tiled.

BOTTOM_RESIZABLE 

Whether the bottom edge is resizable.

LEFT_TILED 

Whether the left edge is tiled.

LEFT_RESIZABLE 

Whether the left edge is resizable.

enum Gdk::SubpixelLayout
strong

This enumeration describes how the red, green and blue components of physical pixels on an output device are laid out.

Enumerator
UNKNOWN 
NONE 

Not organized in this way.

HORIZONTAL_RGB 

The layout is horizontal, the order is RGB.

HORIZONTAL_BGR 

The layout is horizontal, the order is BGR.

VERTICAL_RGB 

The layout is vertical, the order is RGB.

VERTICAL_BGR 

The layout is vertical, the order is BGR.

enum Gdk::SurfaceEdge
strong

Determines a surface edge or corner.

Enumerator
NORTH_WEST 

The top left corner.

The reference point is at the top left corner.

NORTH 

The top edge.

The reference point is in the middle of the top edge.

NORTH_EAST 

The top right corner.

The reference point is at the top right corner.

WEST 

The left edge.

The reference point is at the middle of the left edge.

EAST 

The right edge.

The reference point is at the middle of the right edge.

SOUTH_WEST 

The lower left corner.

The reference point is at the lower left corner.

SOUTH 

The lower edge.

The reference point is at the middle of the lower edge.

SOUTH_EAST 

The lower right corner.

The reference point is at the lower right corner.

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.

enum Gdk::DeviceTool::Type
strong

Indicates the specific type of tool being used being a tablet.

Such as an airbrush, pencil, etc.

Enumerator
UNKNOWN 

Tool is of an unknown type.

PEN 

Tool is a standard tablet stylus.

ERASER 

Tool is standard tablet eraser.

BRUSH 

Tool is a brush stylus.

PENCIL 

Tool is a pencil stylus.

AIRBRUSH 

Tool is an airbrush stylus.

MOUSE 

Tool is a mouse.

LENS 

Tool is a lens cursor.

enum Gdk::Event::Type
strong

Specifies the type of the event.

Do not confuse these events with the signals that GTK+ widgets emit. Although many of these events result in corresponding signals being emitted, the events are often transformed or filtered along the way.

Enumerator
NOTHING 

A special code to indicate a null event.

DELETE 

The window manager has requested that the toplevel surface be hidden or destroyed, usually when the user clicks on a special icon in the title bar.

DESTROY 

The surface has been destroyed.

MOTION_NOTIFY 

The pointer (usually a mouse) has moved.

BUTTON_PRESS 

A mouse button has been pressed.

BUTTON_RELEASE 

A mouse button has been released.

KEY_PRESS 

A key has been pressed.

KEY_RELEASE 

A key has been released.

ENTER_NOTIFY 

The pointer has entered the surface.

LEAVE_NOTIFY 

The pointer has left the surface.

FOCUS_CHANGE 

The keyboard focus has entered or left the surface.

CONFIGURE 

The size, position or stacking order of the surface has changed.

Note that GTK+ discards these events for Gdk::Surface::Type::CHILD surfaces.

PROXIMITY_IN 

An input device has moved into contact with a sensing surface (e.g.

a touchscreen or graphics tablet).

PROXIMITY_OUT 

An input device has moved out of contact with a sensing surface.

DRAG_ENTER 

The mouse has entered the surface while a drag is in progress.

DRAG_LEAVE 

The mouse has left the surface while a drag is in progress.

DRAG_MOTION 

The mouse has moved in the surface while a drag is in progress.

DROP_START 

A drop operation onto the surface has started.

SCROLL 

The scroll wheel was turned.

GRAB_BROKEN 

A pointer or keyboard grab was broken.

This event type was added in 2.8.

TOUCH_BEGIN 

A new touch event sequence has just started.

This event type was added in 3.4.

TOUCH_UPDATE 

A touch event sequence has been updated.

This event type was added in 3.4.

TOUCH_END 

A touch event sequence has finished.

This event type was added in 3.4.

TOUCH_CANCEL 

A touch event sequence has been canceled.

This event type was added in 3.4.

TOUCHPAD_SWIPE 

A touchpad swipe gesture event, the current state is determined by its phase field.

This event type was added in 3.18.

TOUCHPAD_PINCH 

A touchpad pinch gesture event, the current state is determined by its phase field.

This event type was added in 3.18.

PAD_BUTTON_PRESS 

A tablet pad button press event.

This event type was added in 3.22.

PAD_BUTTON_RELEASE 

A tablet pad button release event.

This event type was added in 3.22.

PAD_RING 

A tablet pad axis event from a "ring".

This event type was added in 3.22.

PAD_STRIP 

A tablet pad axis event from a "strip".

This event type was added in 3.22.

PAD_GROUP_MODE 

A tablet pad group mode change.

This event type was added in 3.22.

EVENT_LAST 

Marks the end of the GdkEventType enumeration.

Added in 2.18.

enum Gdk::Device::Type
strong

Indicates the device type.

Enumerator
MASTER 

Device is a master (or virtual) device.

There will be an associated focus indicator on the screen.

SLAVE 

Device is a slave (or physical) device.

FLOATING 

Device is a physical device, currently not attached to any seat.

enum Gdk::Surface::Type
strong

Describes the kind of surface.

Enumerator
TOPLEVEL 

Toplevel window (used to implement Gtk::Window).

CHILD 

Child surface (used to implement e.g.

Gtk::Entry).

TEMP 

Override redirect temporary surface (used to implement Gtk::Menu).

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.

See the Extended Window Manager Hints specification for more details about window types.

Enumerator
NORMAL 

Normal toplevel window.

DIALOG 

Dialog window.

MENU 

Window used to implement a menu; GTK uses this hint only for torn-off menus, see Gtk::TearoffMenuItem.

TOOLBAR 

Window used to implement toolbars.

SPLASHSCREEN 

Window used to display a splash screen during application startup.

UTILITY 

Utility windows which are not detached toolbars or dialogs.

DOCK 

Used for creating dock or panel windows.

DESKTOP 

Used for creating the desktop background window.

DROPDOWN_MENU 

A menu that belongs to a menubar.

POPUP_MENU 

A menu that does not belong to a menubar, e.g.

a context menu.

TOOLTIP 

A tooltip.

NOTIFICATION 

A notification - typically a “bubble” that belongs to a status icon.

COMBO 

A popup from a combo box.

DND 

A window that is used to implement a DND cursor.

enum Gdk::WMDecoration
strong

These are hints originally defined by the Motif toolkit.

The window manager can use them when determining how to decorate the surface. The hint must be set before mapping the surface.

Bitwise operators:
WMDecoration operator|(WMDecoration, WMDecoration)
WMDecoration operator&(WMDecoration, WMDecoration)
WMDecoration operator^(WMDecoration, WMDecoration)
WMDecoration operator~(WMDecoration)
WMDecoration& operator|=(WMDecoration&, WMDecoration)
WMDecoration& operator&=(WMDecoration&, WMDecoration)
WMDecoration& operator^=(WMDecoration&, WMDecoration)
Enumerator
ALL 

All decorations should be applied.

All functions should be offered.

BORDER 

A frame should be drawn around the surface.

RESIZEH 

The frame should have resize handles.

TITLE 

A titlebar should be placed above the surface.

MENU 

A button for opening a menu should be included.

MINIMIZE 

A minimize button should be included.

The surface should be minimizable.

MAXIMIZE 

A maximize button should be included.

The surface should be maximizable.

enum Gdk::WMFunction
strong

These are hints originally defined by the Motif toolkit.

The window manager can use them when determining the functions to offer for the surface. The hint must be set before mapping the surface.

Bitwise operators:
WMFunction operator|(WMFunction, WMFunction)
WMFunction operator&(WMFunction, WMFunction)
WMFunction operator^(WMFunction, WMFunction)
WMFunction operator~(WMFunction)
WMFunction& operator|=(WMFunction&, WMFunction)
WMFunction& operator&=(WMFunction&, WMFunction)
WMFunction& operator^=(WMFunction&, WMFunction)
Enumerator
ALL 
RESIZE 

The surface should be resizable.

Allow resizing surface on both axes.

MOVE 
MINIMIZE 
MAXIMIZE 
CLOSE 

The surface should be closable.

Function Documentation

AxisFlags Gdk::operator& ( AxisFlags  lhs,
AxisFlags  rhs 
)
inline
WMDecoration Gdk::operator& ( WMDecoration  lhs,
WMDecoration  rhs 
)
inline
EventMask Gdk::operator& ( EventMask  lhs,
EventMask  rhs 
)
inline
WMFunction Gdk::operator& ( WMFunction  lhs,
WMFunction  rhs 
)
inline
ModifierType Gdk::operator& ( ModifierType  lhs,
ModifierType  rhs 
)
inline
DragAction Gdk::operator& ( DragAction  lhs,
DragAction  rhs 
)
inline
FrameClock::Phase Gdk::operator& ( FrameClock::Phase  lhs,
FrameClock::Phase  rhs 
)
inline
Paintable::Flags Gdk::operator& ( Paintable::Flags  lhs,
Paintable::Flags  rhs 
)
inline
Seat::Capabilities Gdk::operator& ( Seat::Capabilities  lhs,
Seat::Capabilities  rhs 
)
inline
AnchorHints Gdk::operator& ( AnchorHints  lhs,
AnchorHints  rhs 
)
inline
Surface::State Gdk::operator& ( Surface::State  lhs,
Surface::State  rhs 
)
inline
Surface::Hints Gdk::operator& ( Surface::Hints  lhs,
Surface::Hints  rhs 
)
inline
AxisFlags& Gdk::operator&= ( AxisFlags lhs,
AxisFlags  rhs 
)
inline
WMDecoration& Gdk::operator&= ( WMDecoration lhs,
WMDecoration  rhs 
)
inline
EventMask& Gdk::operator&= ( EventMask lhs,
EventMask  rhs 
)
inline
WMFunction& Gdk::operator&= ( WMFunction lhs,
WMFunction  rhs 
)
inline
ModifierType& Gdk::operator&= ( ModifierType lhs,
ModifierType  rhs 
)
inline
DragAction& Gdk::operator&= ( DragAction lhs,
DragAction  rhs 
)
inline
FrameClock::Phase& Gdk::operator&= ( FrameClock::Phase lhs,
FrameClock::Phase  rhs 
)
inline
Paintable::Flags& Gdk::operator&= ( Paintable::Flags lhs,
Paintable::Flags  rhs 
)
inline
Seat::Capabilities& Gdk::operator&= ( Seat::Capabilities lhs,
Seat::Capabilities  rhs 
)
inline
AnchorHints& Gdk::operator&= ( AnchorHints lhs,
AnchorHints  rhs 
)
inline
Surface::State& Gdk::operator&= ( Surface::State lhs,
Surface::State  rhs 
)
inline
Surface::Hints& Gdk::operator&= ( Surface::Hints lhs,
Surface::Hints  rhs 
)
inline
AxisFlags Gdk::operator^ ( AxisFlags  lhs,
AxisFlags  rhs 
)
inline
WMDecoration Gdk::operator^ ( WMDecoration  lhs,
WMDecoration  rhs 
)
inline
EventMask Gdk::operator^ ( EventMask  lhs,
EventMask  rhs 
)
inline
WMFunction Gdk::operator^ ( WMFunction  lhs,
WMFunction  rhs 
)
inline
ModifierType Gdk::operator^ ( ModifierType  lhs,
ModifierType  rhs 
)
inline
DragAction Gdk::operator^ ( DragAction  lhs,
DragAction  rhs 
)
inline
FrameClock::Phase Gdk::operator^ ( FrameClock::Phase  lhs,
FrameClock::Phase  rhs 
)
inline
Paintable::Flags Gdk::operator^ ( Paintable::Flags  lhs,
Paintable::Flags  rhs 
)
inline
Seat::Capabilities Gdk::operator^ ( Seat::Capabilities  lhs,
Seat::Capabilities  rhs 
)
inline
AnchorHints Gdk::operator^ ( AnchorHints  lhs,
AnchorHints  rhs 
)
inline
Surface::State Gdk::operator^ ( Surface::State  lhs,
Surface::State  rhs 
)
inline
Surface::Hints Gdk::operator^ ( Surface::Hints  lhs,
Surface::Hints  rhs 
)
inline
AxisFlags& Gdk::operator^= ( AxisFlags lhs,
AxisFlags  rhs 
)
inline
WMDecoration& Gdk::operator^= ( WMDecoration lhs,
WMDecoration  rhs 
)
inline
EventMask& Gdk::operator^= ( EventMask lhs,
EventMask  rhs 
)
inline
WMFunction& Gdk::operator^= ( WMFunction lhs,
WMFunction  rhs 
)
inline
ModifierType& Gdk::operator^= ( ModifierType lhs,
ModifierType  rhs 
)
inline
DragAction& Gdk::operator^= ( DragAction lhs,
DragAction  rhs 
)
inline
FrameClock::Phase& Gdk::operator^= ( FrameClock::Phase lhs,
FrameClock::Phase  rhs 
)
inline
Paintable::Flags& Gdk::operator^= ( Paintable::Flags lhs,
Paintable::Flags  rhs 
)
inline
Seat::Capabilities& Gdk::operator^= ( Seat::Capabilities lhs,
Seat::Capabilities  rhs 
)
inline
AnchorHints& Gdk::operator^= ( AnchorHints lhs,
AnchorHints  rhs 
)
inline
Surface::State& Gdk::operator^= ( Surface::State lhs,
Surface::State  rhs 
)
inline
Surface::Hints& Gdk::operator^= ( Surface::Hints lhs,
Surface::Hints  rhs 
)
inline
AxisFlags Gdk::operator| ( AxisFlags  lhs,
AxisFlags  rhs 
)
inline
WMDecoration Gdk::operator| ( WMDecoration  lhs,
WMDecoration  rhs 
)
inline
EventMask Gdk::operator| ( EventMask  lhs,
EventMask  rhs 
)
inline
WMFunction Gdk::operator| ( WMFunction  lhs,
WMFunction  rhs 
)
inline
ModifierType Gdk::operator| ( ModifierType  lhs,
ModifierType  rhs 
)
inline
DragAction Gdk::operator| ( DragAction  lhs,
DragAction  rhs 
)
inline
FrameClock::Phase Gdk::operator| ( FrameClock::Phase  lhs,
FrameClock::Phase  rhs 
)
inline
Paintable::Flags Gdk::operator| ( Paintable::Flags  lhs,
Paintable::Flags  rhs 
)
inline
Seat::Capabilities Gdk::operator| ( Seat::Capabilities  lhs,
Seat::Capabilities  rhs 
)
inline
AnchorHints Gdk::operator| ( AnchorHints  lhs,
AnchorHints  rhs 
)
inline
Surface::State Gdk::operator| ( Surface::State  lhs,
Surface::State  rhs 
)
inline
Surface::Hints Gdk::operator| ( Surface::Hints  lhs,
Surface::Hints  rhs 
)
inline
AxisFlags& Gdk::operator|= ( AxisFlags lhs,
AxisFlags  rhs 
)
inline
WMDecoration& Gdk::operator|= ( WMDecoration lhs,
WMDecoration  rhs 
)
inline
EventMask& Gdk::operator|= ( EventMask lhs,
EventMask  rhs 
)
inline
WMFunction& Gdk::operator|= ( WMFunction lhs,
WMFunction  rhs 
)
inline
ModifierType& Gdk::operator|= ( ModifierType lhs,
ModifierType  rhs 
)
inline
DragAction& Gdk::operator|= ( DragAction lhs,
DragAction  rhs 
)
inline
FrameClock::Phase& Gdk::operator|= ( FrameClock::Phase lhs,
FrameClock::Phase  rhs 
)
inline
Paintable::Flags& Gdk::operator|= ( Paintable::Flags lhs,
Paintable::Flags  rhs 
)
inline
Seat::Capabilities& Gdk::operator|= ( Seat::Capabilities lhs,
Seat::Capabilities  rhs 
)
inline
AnchorHints& Gdk::operator|= ( AnchorHints lhs,
AnchorHints  rhs 
)
inline
Surface::State& Gdk::operator|= ( Surface::State lhs,
Surface::State  rhs 
)
inline
Surface::Hints& Gdk::operator|= ( Surface::Hints lhs,
Surface::Hints  rhs 
)
inline
AxisFlags Gdk::operator~ ( AxisFlags  flags)
inline
WMDecoration Gdk::operator~ ( WMDecoration  flags)
inline
EventMask Gdk::operator~ ( EventMask  flags)
inline
WMFunction Gdk::operator~ ( WMFunction  flags)
inline
ModifierType Gdk::operator~ ( ModifierType  flags)
inline
DragAction Gdk::operator~ ( DragAction  flags)
inline
FrameClock::Phase Gdk::operator~ ( FrameClock::Phase  flags)
inline
Paintable::Flags Gdk::operator~ ( Paintable::Flags  flags)
inline
Seat::Capabilities Gdk::operator~ ( Seat::Capabilities  flags)
inline
AnchorHints Gdk::operator~ ( AnchorHints  flags)
inline
Surface::State Gdk::operator~ ( Surface::State  flags)
inline
Surface::Hints Gdk::operator~ ( Surface::Hints  flags)
inline