gtkmm  4.0.0
Enumerations | Functions
gdkmm Enums and Flags

Enumerations

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
}
 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::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
}
 A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types. 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
}
 The possible return values from gdk_key_event_matches() describe 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
}
 Gdk::FrameClock::Phase is used to represent the different paint clock phases that can be requested. 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::N_FORMATS
}
 Gdk::MemoryFormat describes a format that bytes 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 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::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 (in a multi-head setup) 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...
 

Functions

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)
 
AxisFlagsGdk::operator|= (AxisFlags& lhs, AxisFlags rhs)
 
AxisFlagsGdk::operator&= (AxisFlags& lhs, AxisFlags rhs)
 
AxisFlagsGdk::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)
 
DragActionGdk::operator|= (DragAction& lhs, DragAction rhs)
 
DragActionGdk::operator&= (DragAction& lhs, DragAction rhs)
 
DragActionGdk::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)
 
ModifierTypeGdk::operator|= (ModifierType& lhs, ModifierType rhs)
 
ModifierTypeGdk::operator&= (ModifierType& lhs, ModifierType rhs)
 
ModifierTypeGdk::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::PhaseGdk::operator|= (FrameClock::Phase& lhs, FrameClock::Phase rhs)
 
FrameClock::PhaseGdk::operator&= (FrameClock::Phase& lhs, FrameClock::Phase rhs)
 
FrameClock::PhaseGdk::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)
 
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)
 
AnchorHintsGdk::operator|= (AnchorHints& lhs, AnchorHints rhs)
 
AnchorHintsGdk::operator&= (AnchorHints& lhs, AnchorHints rhs)
 
AnchorHintsGdk::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::CapabilitiesGdk::operator|= (Seat::Capabilities& lhs, Seat::Capabilities rhs)
 
Seat::CapabilitiesGdk::operator&= (Seat::Capabilities& lhs, Seat::Capabilities rhs)
 
Seat::CapabilitiesGdk::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::StateGdk::operator|= (Toplevel::State& lhs, Toplevel::State rhs)
 
Toplevel::StateGdk::operator&= (Toplevel::State& lhs, Toplevel::State rhs)
 
Toplevel::StateGdk::operator^= (Toplevel::State& lhs, Toplevel::State rhs)
 

Detailed Description

Enumeration Type Documentation

◆ AnchorHints

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 resizing surface on both axes.

FLIP_Y 
SLIDE_X 
SLIDE_Y 
RESIZE_X 
RESIZE_Y 
FLIP 
SLIDE 
RESIZE 

◆ AxisFlags

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

Slider axis is present.

The axis is used for pen slider information.

DELTA_X 
DELTA_Y 
PRESSURE 
XTILT 
YTILT 
WHEEL 
DISTANCE 
ROTATION 
SLIDER 

◆ AxisUse

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 

A constant equal to the numerically highest axis value.

DELTA_X 
DELTA_Y 
PRESSURE 
XTILT 
YTILT 
WHEEL 
DISTANCE 
ROTATION 
SLIDER 
LAST 

◆ Capabilities

◆ Colorspace

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.

◆ CrossingMode

enum Gdk::CrossingMode
strong

Specifies the crossing mode for enter and leave events.

Enumerator
NORMAL 

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.

GRAB 
UNGRAB 
GTK_GRAB 
GTK_UNGRAB 
STATE_CHANGED 
TOUCH_BEGIN 
TOUCH_END 
DEVICE_SWITCH 

◆ DragAction

enum Gdk::DragAction
strong

Used in Gdk::Drop and Gdk::Drag to indicate the actions that the destination can and 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 

Ask the user what to do with the data.

MOVE 
LINK 
ASK 

◆ DragCancelReason

enum Gdk::DragCancelReason
strong

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

Enumerator
NO_TARGET 

Unspecified error.

USER_CANCELLED 
ERROR 

◆ Feature

A pad feature.

Enumerator
BUTTON 

A straight interactive area.

RING 
STRIP 

◆ Flags

enum Gdk::Paintable::Flags
strong

◆ Format

Gdk::MemoryFormat describes a format that bytes can have in memory.

It describes formats by listing the contents of the memory passed to it. So GDK_MEMORY_A8R8G8B8 will be 1 byte (8 bits) of alpha, followed by a byte each of red, green and blue. It is not endian-dependent, so CAIRO_FORMAT_ARGB32 is represented by different Gdk::MemoryFormats on architectures with different endiannesses.

Its naming is modelled after VkFormat (see https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.htmlVk::Format for details).

Enumerator
B8G8R8A8_PREMULTIPLIED 

The number of formats.

This value will change as more formats get added, so do not rely on its concrete integer.

A8R8G8B8_PREMULTIPLIED 
R8G8B8A8_PREMULTIPLIED 
B8G8R8A8 
A8R8G8B8 
R8G8B8A8 
A8B8G8R8 
R8G8B8 
B8G8R8 
N_FORMATS 

◆ FullscreenMode

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 

Span across all monitors when fullscreen.

ON_ALL_MONITORS 

◆ Gravity

enum Gdk::Gravity
strong

Defines the reference point of a surface and is used in Gdk::PopupLayout.

Enumerator
NORTH_WEST 

The reference point is at the top left corner of the surface itself, ignoring window manager decorations.

NORTH 
NORTH_EAST 
WEST 
CENTER 
EAST 
SOUTH_WEST 
SOUTH 
SOUTH_EAST 
STATIC 

◆ InputSource

enum Gdk::InputSource
strong

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

Enumerator
MOUSE 

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

PEN 
KEYBOARD 
TOUCHSCREEN 
TOUCHPAD 
TRACKPOINT 
TABLET_PAD 

◆ InterpType

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 

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

TILES 
BILINEAR 
HYPER 

◆ KeyMatch

enum Gdk::KeyMatch
strong

The possible return values from gdk_key_event_matches() describe how well an event matches a given keyval and modifiers.

Enumerator
NONE 

The key event matches.

PARTIAL 
EXACT 

◆ ModifierType

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.

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 Meta modifier.

LOCK_MASK 
CONTROL_MASK 
ALT_MASK 
BUTTON1_MASK 
BUTTON2_MASK 
BUTTON3_MASK 
BUTTON4_MASK 
BUTTON5_MASK 
SUPER_MASK 
HYPER_MASK 
META_MASK 

◆ NotifyType

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 

An unknown type of enter/leave event occurred.

The layout is not known.

VIRTUAL 
INFERIOR 
NONLINEAR 
NONLINEAR_VIRTUAL 
UNKNOWN 

◆ Phase

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 

Corresponds to GdkFrameClock::after-paint.

Should not be handled by applications.

FLUSH_EVENTS 
BEFORE_PAINT 
UPDATE 
LAYOUT 
PAINT 
RESUME_EVENTS 
AFTER_PAINT 

◆ Rotation

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 

Rotate by 270 degrees.

COUNTERCLOCKWISE 
UPSIDEDOWN 
CLOCKWISE 

◆ ScrollDirection

enum Gdk::ScrollDirection
strong

Specifies the direction for scroll events.

Enumerator
UP 

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

See gdk_scroll_event_get_deltas().

DOWN 
LEFT 
RIGHT 
SMOOTH 

◆ State

enum Gdk::Toplevel::State
strong

Specifies the state of a toplevel surface.

On platforms that support information about individual edges, the Gdk::Toplevel::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:
Toplevel::State operator|(Toplevel::State, Toplevel::State)
Toplevel::State operator&(Toplevel::State, Toplevel::State)
Toplevel::State operator^(Toplevel::State, Toplevel::State)
Toplevel::State operator~(Toplevel::State)
Toplevel::State& operator|=(Toplevel::State&, Toplevel::State)
Toplevel::State& operator&=(Toplevel::State&, Toplevel::State)
Toplevel::State& operator^=(Toplevel::State&, Toplevel::State)
Enumerator
MINIMIZED 

Whether the left edge is resizable.

MAXIMIZED 
STICKY 
FULLSCREEN 
ABOVE 
BELOW 
FOCUSED 
TILED 
TOP_TILED 
TOP_RESIZABLE 
RIGHT_TILED 
RIGHT_RESIZABLE 
BOTTOM_TILED 
BOTTOM_RESIZABLE 
LEFT_TILED 
LEFT_RESIZABLE 

◆ SubpixelLayout

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 

The layout is vertical, the order is BGR.

NONE 
HORIZONTAL_RGB 
HORIZONTAL_BGR 
VERTICAL_RGB 
VERTICAL_BGR 

◆ SurfaceEdge

enum Gdk::SurfaceEdge
strong

Determines a surface edge or corner.

Enumerator
NORTH_WEST 

The reference point is at the lower right corner.

The lower right corner.

NORTH 
NORTH_EAST 
WEST 
EAST 
SOUTH_WEST 
SOUTH 
SOUTH_EAST 

◆ TouchpadGesturePhase

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 was cancelled, all changes should be undone.

UPDATE 
END 
CANCEL 

◆ Type [1/2]

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 a lens cursor.

PEN 
ERASER 
BRUSH 
PENCIL 
AIRBRUSH 
MOUSE 
LENS 

◆ Type [2/2]

enum Gdk::Event::Type
strong

Specifies the type of the event.

Enumerator
DELETE 

Marks the end of the GdkEventType enumeration.

MOTION_NOTIFY 
BUTTON_PRESS 
BUTTON_RELEASE 
KEY_PRESS 
KEY_RELEASE 
ENTER_NOTIFY 
LEAVE_NOTIFY 
FOCUS_CHANGE 
PROXIMITY_IN 
PROXIMITY_OUT 
DRAG_ENTER 
DRAG_LEAVE 
DRAG_MOTION 
DROP_START 
SCROLL 
GRAB_BROKEN 
TOUCH_BEGIN 
TOUCH_UPDATE 
TOUCH_END 
TOUCH_CANCEL 
TOUCHPAD_SWIPE 
TOUCHPAD_PINCH 
PAD_BUTTON_PRESS 
PAD_BUTTON_RELEASE 
PAD_RING 
PAD_STRIP 
PAD_GROUP_MODE 
EVENT_LAST 

Function Documentation

◆ operator&() [1/8]

AnchorHints Gdk::operator& ( AnchorHints  lhs,
AnchorHints  rhs 
)
inline

◆ operator&() [2/8]

AxisFlags Gdk::operator& ( AxisFlags  lhs,
AxisFlags  rhs 
)
inline

◆ operator&() [3/8]

DragAction Gdk::operator& ( DragAction  lhs,
DragAction  rhs 
)
inline

◆ operator&() [4/8]

FrameClock::Phase Gdk::operator& ( FrameClock::Phase  lhs,
FrameClock::Phase  rhs 
)
inline

◆ operator&() [5/8]

ModifierType Gdk::operator& ( ModifierType  lhs,
ModifierType  rhs 
)
inline

◆ operator&() [6/8]

Paintable::Flags Gdk::operator& ( Paintable::Flags  lhs,
Paintable::Flags  rhs 
)
inline

◆ operator&() [7/8]

Seat::Capabilities Gdk::operator& ( Seat::Capabilities  lhs,
Seat::Capabilities  rhs 
)
inline

◆ operator&() [8/8]

Toplevel::State Gdk::operator& ( Toplevel::State  lhs,
Toplevel::State  rhs 
)
inline

◆ operator&=() [1/8]

AnchorHints& Gdk::operator&= ( AnchorHints lhs,
AnchorHints  rhs 
)
inline

◆ operator&=() [2/8]

AxisFlags& Gdk::operator&= ( AxisFlags lhs,
AxisFlags  rhs 
)
inline

◆ operator&=() [3/8]

DragAction& Gdk::operator&= ( DragAction lhs,
DragAction  rhs 
)
inline

◆ operator&=() [4/8]

FrameClock::Phase& Gdk::operator&= ( FrameClock::Phase lhs,
FrameClock::Phase  rhs 
)
inline

◆ operator&=() [5/8]

ModifierType& Gdk::operator&= ( ModifierType lhs,
ModifierType  rhs 
)
inline

◆ operator&=() [6/8]

Paintable::Flags& Gdk::operator&= ( Paintable::Flags lhs,
Paintable::Flags  rhs 
)
inline

◆ operator&=() [7/8]

Seat::Capabilities& Gdk::operator&= ( Seat::Capabilities lhs,
Seat::Capabilities  rhs 
)
inline

◆ operator&=() [8/8]

Toplevel::State& Gdk::operator&= ( Toplevel::State lhs,
Toplevel::State  rhs 
)
inline

◆ operator^() [1/8]

AnchorHints Gdk::operator^ ( AnchorHints  lhs,
AnchorHints  rhs 
)
inline

◆ operator^() [2/8]

AxisFlags Gdk::operator^ ( AxisFlags  lhs,
AxisFlags  rhs 
)
inline

◆ operator^() [3/8]

DragAction Gdk::operator^ ( DragAction  lhs,
DragAction  rhs 
)
inline

◆ operator^() [4/8]

FrameClock::Phase Gdk::operator^ ( FrameClock::Phase  lhs,
FrameClock::Phase  rhs 
)
inline

◆ operator^() [5/8]

ModifierType Gdk::operator^ ( ModifierType  lhs,
ModifierType  rhs 
)
inline

◆ operator^() [6/8]

Paintable::Flags Gdk::operator^ ( Paintable::Flags  lhs,
Paintable::Flags  rhs 
)
inline

◆ operator^() [7/8]

Seat::Capabilities Gdk::operator^ ( Seat::Capabilities  lhs,
Seat::Capabilities  rhs 
)
inline

◆ operator^() [8/8]

Toplevel::State Gdk::operator^ ( Toplevel::State  lhs,
Toplevel::State  rhs 
)
inline

◆ operator^=() [1/8]

AnchorHints& Gdk::operator^= ( AnchorHints lhs,
AnchorHints  rhs 
)
inline

◆ operator^=() [2/8]

AxisFlags& Gdk::operator^= ( AxisFlags lhs,
AxisFlags  rhs 
)
inline

◆ operator^=() [3/8]

DragAction& Gdk::operator^= ( DragAction lhs,
DragAction  rhs 
)
inline

◆ operator^=() [4/8]

FrameClock::Phase& Gdk::operator^= ( FrameClock::Phase lhs,
FrameClock::Phase  rhs 
)
inline

◆ operator^=() [5/8]

ModifierType& Gdk::operator^= ( ModifierType lhs,
ModifierType  rhs 
)
inline

◆ operator^=() [6/8]

Paintable::Flags& Gdk::operator^= ( Paintable::Flags lhs,
Paintable::Flags  rhs 
)
inline

◆ operator^=() [7/8]

Seat::Capabilities& Gdk::operator^= ( Seat::Capabilities lhs,
Seat::Capabilities  rhs 
)
inline

◆ operator^=() [8/8]

Toplevel::State& Gdk::operator^= ( Toplevel::State lhs,
Toplevel::State  rhs 
)
inline

◆ operator|() [1/8]

AnchorHints Gdk::operator| ( AnchorHints  lhs,
AnchorHints  rhs 
)
inline

◆ operator|() [2/8]

AxisFlags Gdk::operator| ( AxisFlags  lhs,
AxisFlags  rhs 
)
inline

◆ operator|() [3/8]

DragAction Gdk::operator| ( DragAction  lhs,
DragAction  rhs 
)
inline

◆ operator|() [4/8]

FrameClock::Phase Gdk::operator| ( FrameClock::Phase  lhs,
FrameClock::Phase  rhs 
)
inline

◆ operator|() [5/8]

ModifierType Gdk::operator| ( ModifierType  lhs,
ModifierType  rhs 
)
inline

◆ operator|() [6/8]

Paintable::Flags Gdk::operator| ( Paintable::Flags  lhs,
Paintable::Flags  rhs 
)
inline

◆ operator|() [7/8]

Seat::Capabilities Gdk::operator| ( Seat::Capabilities  lhs,
Seat::Capabilities  rhs 
)
inline

◆ operator|() [8/8]

Toplevel::State Gdk::operator| ( Toplevel::State  lhs,
Toplevel::State  rhs 
)
inline

◆ operator|=() [1/8]

AnchorHints& Gdk::operator|= ( AnchorHints lhs,
AnchorHints  rhs 
)
inline

◆ operator|=() [2/8]

AxisFlags& Gdk::operator|= ( AxisFlags lhs,
AxisFlags  rhs 
)
inline

◆ operator|=() [3/8]

DragAction& Gdk::operator|= ( DragAction lhs,
DragAction  rhs 
)
inline

◆ operator|=() [4/8]

FrameClock::Phase& Gdk::operator|= ( FrameClock::Phase lhs,
FrameClock::Phase  rhs 
)
inline

◆ operator|=() [5/8]

ModifierType& Gdk::operator|= ( ModifierType lhs,
ModifierType  rhs 
)
inline

◆ operator|=() [6/8]

Paintable::Flags& Gdk::operator|= ( Paintable::Flags lhs,
Paintable::Flags  rhs 
)
inline

◆ operator|=() [7/8]

Seat::Capabilities& Gdk::operator|= ( Seat::Capabilities lhs,
Seat::Capabilities  rhs 
)
inline

◆ operator|=() [8/8]

Toplevel::State& Gdk::operator|= ( Toplevel::State lhs,
Toplevel::State  rhs 
)
inline

◆ operator~() [1/8]

AnchorHints Gdk::operator~ ( AnchorHints  flags)
inline

◆ operator~() [2/8]

AxisFlags Gdk::operator~ ( AxisFlags  flags)
inline

◆ operator~() [3/8]

DragAction Gdk::operator~ ( DragAction  flags)
inline

◆ operator~() [4/8]

FrameClock::Phase Gdk::operator~ ( FrameClock::Phase  flags)
inline

◆ operator~() [5/8]

ModifierType Gdk::operator~ ( ModifierType  flags)
inline

◆ operator~() [6/8]

Paintable::Flags Gdk::operator~ ( Paintable::Flags  flags)
inline

◆ operator~() [7/8]

Seat::Capabilities Gdk::operator~ ( Seat::Capabilities  flags)
inline

◆ operator~() [8/8]

Toplevel::State Gdk::operator~ ( Toplevel::State  flags)
inline