gtkmm 3.24.8
Namespaces | Classes | Typedefs | Enumerations | Functions
Gdk Namespace Reference

Namespaces

namespace  Cairo
 

Classes

class  AppLaunchContext
 This is an implementation of Gio::AppLaunchContext that handles launching an application in a graphical context. More...
 
class  Color
 Gdk::Color is used to describe an allocated or unallocated color. More...
 
class  Cursor
 This represents a cursor. More...
 
class  Device
 A Gdk::Device instance contains a detailed description of an extended input device. More...
 
class  DeviceManager
 Functions for handling input devices. More...
 
class  Display
 Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and mouse pointer To manage and provide information about the Gdk::Screen(s) available for this Gdk::Display. More...
 
class  DisplayManager
 The purpose of the GdkDisplayManager singleton object is to offer notification when displays appear or disappear or the default display changes. More...
 
class  DragContext
 A Gdk::DragContext holds information about a drag in progress. More...
 
class  DrawingContext
 Drawing context for GDK windows. More...
 
class  Event
 
class  FrameClock
 Frame clock syncs painting to a window or display. More...
 
class  FrameTimings
 Object holding timing information for a single frame. More...
 
class  GLContext
 A Gdk::GLContext is an OpenGL context abstraction. More...
 
class  GLError
 
class  Monitor
 Object representing an output. More...
 
class  Pixbuf
 
class  PixbufAnimation
 The gdk-pixbuf library provides a simple mechanism to load and represent animations. More...
 
class  PixbufAnimationIter
 An iterator which points to a certain position in a PixbufAnimation. More...
 
class  PixbufError
 Exception class for Gdk::Pixbuf errors. More...
 
class  PixbufFormat
 
class  PixbufLoader
 
class  Point
 This is a simple structure containing an x and y coordinate of a point. More...
 
class  Rectangle
 Gdk::Rectangle is a structure holding the position and size of a rectangle. More...
 
class  RGBA
 An RGBA Color. More...
 
class  Screen
 Object representing a physical screen Gdk::Screen objects are the GDK representation of a physical screen. More...
 
class  Seat
 A Gdk::Seat object represents a collection of input devices that belong to a user. More...
 
class  TimeCoord
 A Gdk::TimeCoord instance contains a single event of motion history. More...
 
class  Visual
 A Gdk::Visual describes a particular video hardware display format. More...
 
class  Window
 A Gdk::Window is a rectangular region on the screen. More...
 

Typedefs

typedef GdkGeometry Geometry
 

Enumerations

enum  CursorType {
  X_CURSOR = 0 ,
  ARROW = 2 ,
  BASED_ARROW_DOWN = 4 ,
  BASED_ARROW_UP = 6 ,
  BOAT = 8 ,
  BOGOSITY = 10 ,
  BOTTOM_LEFT_CORNER = 12 ,
  BOTTOM_RIGHT_CORNER = 14 ,
  BOTTOM_SIDE = 16 ,
  BOTTOM_TEE = 18 ,
  BOX_SPIRAL = 20 ,
  CENTER_PTR = 22 ,
  CIRCLE = 24 ,
  CLOCK = 26 ,
  COFFEE_MUG = 28 ,
  CROSS = 30 ,
  CROSS_REVERSE = 32 ,
  CROSSHAIR = 34 ,
  DIAMOND_CROSS = 36 ,
  DOT = 38 ,
  DOTBOX = 40 ,
  DOUBLE_ARROW = 42 ,
  DRAFT_LARGE = 44 ,
  DRAFT_SMALL = 46 ,
  DRAPED_BOX = 48 ,
  EXCHANGE = 50 ,
  FLEUR = 52 ,
  GOBBLER = 54 ,
  GUMBY = 56 ,
  HAND1 = 58 ,
  HAND2 = 60 ,
  HEART = 62 ,
  ICON = 64 ,
  IRON_CROSS = 66 ,
  LEFT_PTR = 68 ,
  LEFT_SIDE = 70 ,
  LEFT_TEE = 72 ,
  LEFTBUTTON = 74 ,
  LL_ANGLE = 76 ,
  LR_ANGLE = 78 ,
  MAN = 80 ,
  MIDDLEBUTTON = 82 ,
  MOUSE = 84 ,
  PENCIL = 86 ,
  PIRATE = 88 ,
  PLUS = 90 ,
  QUESTION_ARROW = 92 ,
  RIGHT_PTR = 94 ,
  RIGHT_SIDE = 96 ,
  RIGHT_TEE = 98 ,
  RIGHTBUTTON = 100 ,
  RTL_LOGO = 102 ,
  SAILBOAT = 104 ,
  SB_DOWN_ARROW = 106 ,
  SB_H_DOUBLE_ARROW = 108 ,
  SB_LEFT_ARROW = 110 ,
  SB_RIGHT_ARROW = 112 ,
  SB_UP_ARROW = 114 ,
  SB_V_DOUBLE_ARROW = 116 ,
  SHUTTLE = 118 ,
  SIZING = 120 ,
  SPIDER = 122 ,
  SPRAYCAN = 124 ,
  STAR = 126 ,
  TARGET = 128 ,
  TCROSS = 130 ,
  TOP_LEFT_ARROW = 132 ,
  TOP_LEFT_CORNER = 134 ,
  TOP_RIGHT_CORNER = 136 ,
  TOP_SIDE = 138 ,
  TOP_TEE = 140 ,
  TREK = 142 ,
  UL_ANGLE = 144 ,
  UMBRELLA = 146 ,
  UR_ANGLE = 148 ,
  WATCH = 150 ,
  XTERM = 152 ,
  LAST_CURSOR = 153 ,
  BLANK_CURSOR = -2 ,
  CURSOR_IS_PIXMAP = -1
}
 
enum  EventMask {
  EXPOSURE_MASK = 1 << 1 ,
  POINTER_MOTION_MASK = 1 << 2 ,
  POINTER_MOTION_HINT_MASK = 1 << 3 ,
  BUTTON_MOTION_MASK = 1 << 4 ,
  BUTTON1_MOTION_MASK = 1 << 5 ,
  BUTTON2_MOTION_MASK = 1 << 6 ,
  BUTTON3_MOTION_MASK = 1 << 7 ,
  BUTTON_PRESS_MASK = 1 << 8 ,
  BUTTON_RELEASE_MASK = 1 << 9 ,
  KEY_PRESS_MASK = 1 << 10 ,
  KEY_RELEASE_MASK = 1 << 11 ,
  ENTER_NOTIFY_MASK = 1 << 12 ,
  LEAVE_NOTIFY_MASK = 1 << 13 ,
  FOCUS_CHANGE_MASK = 1 << 14 ,
  STRUCTURE_MASK = 1 << 15 ,
  PROPERTY_CHANGE_MASK = 1 << 16 ,
  VISIBILITY_NOTIFY_MASK = 1 << 17 ,
  PROXIMITY_IN_MASK = 1 << 18 ,
  PROXIMITY_OUT_MASK = 1 << 19 ,
  SUBSTRUCTURE_MASK = 1 << 20 ,
  SCROLL_MASK = 1 << 21 ,
  TOUCH_MASK = 1 << 22 ,
  SMOOTH_SCROLL_MASK = 1 << 23 ,
  TOUCHPAD_GESTURE_MASK = 1 << 24 ,
  TABLET_PAD_MASK = 1 << 25 ,
  ALL_EVENTS_MASK = 0x3FFFFFE
}
 
enum  InputMode {
  MODE_DISABLED ,
  MODE_SCREEN ,
  MODE_WINDOW
}
 
enum  InputSource {
  SOURCE_MOUSE ,
  SOURCE_PEN ,
  SOURCE_ERASER ,
  SOURCE_CURSOR ,
  SOURCE_KEYBOARD ,
  SOURCE_TOUCHSCREEN ,
  SOURCE_TOUCHPAD ,
  SOURCE_TRACKPOINT ,
  SOURCE_TABLET_PAD
}
 
enum  DeviceType {
  DEVICE_TYPE_MASTER ,
  DEVICE_TYPE_SLAVE ,
  DEVICE_TYPE_FLOATING
}
 
enum  GrabOwnership {
  OWNERSHIP_NONE ,
  OWNERSHIP_WINDOW ,
  OWNERSHIP_APPLICATION
}
 
enum  GrabStatus {
  GRAB_SUCCESS ,
  GRAB_ALREADY_GRABBED ,
  GRAB_INVALID_TIME ,
  GRAB_NOT_VIEWABLE ,
  GRAB_FROZEN ,
  GRAB_FAILED
}
 
enum  DragAction {
  ACTION_DEFAULT = 1 << 0 ,
  ACTION_COPY = 1 << 1 ,
  ACTION_MOVE = 1 << 2 ,
  ACTION_LINK = 1 << 3 ,
  ACTION_PRIVATE = 1 << 4 ,
  ACTION_ASK = 1 << 5
}
 
enum  DragProtocol {
  DRAG_PROTO_NONE ,
  DRAG_PROTO_MOTIF ,
  DRAG_PROTO_XDND ,
  DRAG_PROTO_ROOTWIN ,
  DRAG_PROTO_WIN32_DROPFILES ,
  DRAG_PROTO_OLE2 ,
  DRAG_PROTO_LOCAL ,
  DRAG_PROTO_WAYLAND
}
 
enum  EventType {
  NOTHING = -1 ,
  DELETE = 0 ,
  DESTROY = 1 ,
  EXPOSE = 2 ,
  MOTION_NOTIFY = 3 ,
  BUTTON_PRESS = 4 ,
  DOUBLE_BUTTON_PRESS = 5 ,
  TRIPLE_BUTTON_PRESS = 6 ,
  BUTTON_RELEASE = 7 ,
  KEY_PRESS = 8 ,
  KEY_RELEASE = 9 ,
  ENTER_NOTIFY = 10 ,
  LEAVE_NOTIFY = 11 ,
  FOCUS_CHANGE = 12 ,
  CONFIGURE = 13 ,
  MAP = 14 ,
  UNMAP = 15 ,
  PROPERTY_NOTIFY = 16 ,
  SELECTION_CLEAR = 17 ,
  SELECTION_REQUEST = 18 ,
  SELECTION_NOTIFY = 19 ,
  PROXIMITY_IN = 20 ,
  PROXIMITY_OUT = 21 ,
  DRAG_ENTER = 22 ,
  DRAG_LEAVE = 23 ,
  DRAG_MOTION = 24 ,
  DRAG_STATUS = 25 ,
  DROP_START = 26 ,
  DROP_FINISHED = 27 ,
  CLIENT_EVENT = 28 ,
  VISIBILITY_NOTIFY = 29 ,
  SCROLL = 31 ,
  WINDOW_STATE = 32 ,
  SETTING = 33 ,
  OWNER_CHANGE = 34 ,
  GRAB_BROKEN = 35 ,
  DAMAGE = 36 ,
  TOUCH_BEGIN = 37 ,
  TOUCH_UPDATE = 38 ,
  TOUCH_END = 39 ,
  TOUCH_CANCEL = 40 ,
  TOUCHPAD_SWIPE = 41 ,
  TOUCHPAD_PINCH = 42 ,
  PAD_BUTTON_PRESS = 43 ,
  PAD_BUTTON_RELEASE = 44 ,
  PAD_RING = 45 ,
  PAD_STRIP = 46 ,
  PAD_GROUP_MODE = 47 ,
  EVENT_LAST = 48
}
 
enum  AxisUse {
  AXIS_IGNORE ,
  AXIS_X ,
  AXIS_Y ,
  AXIS_PRESSURE ,
  AXIS_XTILT ,
  AXIS_YTILT ,
  AXIS_WHEEL ,
  AXIS_DISTANCE ,
  AXIS_ROTATION ,
  AXIS_SLIDER ,
  AXIS_LAST
}
 
enum  AxisFlags {
  AXIS_FLAG_X = 0x2 ,
  AXIS_FLAG_Y = 0x4 ,
  AXIS_FLAG_PRESSURE = 0x8 ,
  AXIS_FLAG_XTILT = 0x10 ,
  AXIS_FLAG_YTILT = 0x20 ,
  AXIS_FLAG_WHEEL = 0x40 ,
  AXIS_FLAG_DISTANCE = 0x80 ,
  AXIS_FLAG_ROTATION = 0x100 ,
  AXIS_FLAG_SLIDER = 0x200
}
 
enum  FrameClockPhase {
  FRAME_CLOCK_PHASE_NONE = 0x0 ,
  FRAME_CLOCK_PHASE_FLUSH_EVENTS = 1 << 0 ,
  FRAME_CLOCK_PHASE_BEFORE_PAINT = 1 << 1 ,
  FRAME_CLOCK_PHASE_UPDATE = 1 << 2 ,
  FRAME_CLOCK_PHASE_LAYOUT = 1 << 3 ,
  FRAME_CLOCK_PHASE_PAINT = 1 << 4 ,
  FRAME_CLOCK_PHASE_RESUME_EVENTS = 1 << 5 ,
  FRAME_CLOCK_PHASE_AFTER_PAINT = 1 << 6
}
 
enum  SubpixelLayout {
  SUBPIXEL_LAYOUT_UNKNOWN ,
  SUBPIXEL_LAYOUT_NONE ,
  SUBPIXEL_LAYOUT_HORIZONTAL_RGB ,
  SUBPIXEL_LAYOUT_HORIZONTAL_BGR ,
  SUBPIXEL_LAYOUT_VERTICAL_RGB ,
  SUBPIXEL_LAYOUT_VERTICAL_BGR
}
 
enum  Colorspace { COLORSPACE_RGB }
 
enum  InterpType {
  INTERP_NEAREST ,
  INTERP_TILES ,
  INTERP_BILINEAR ,
  INTERP_HYPER
}
 
enum  PixbufAlphaMode {
  PIXBUF_ALPHA_BILEVEL ,
  PIXBUF_ALPHA_FULL
}
 
enum  PixbufRotation {
  PIXBUF_ROTATE_NONE = 0 ,
  PIXBUF_ROTATE_COUNTERCLOCKWISE = 90 ,
  PIXBUF_ROTATE_UPSIDEDOWN = 180 ,
  PIXBUF_ROTATE_CLOCKWISE = 270
}
 
enum  SeatCapabilities {
  SEAT_CAPABILITY_NONE = 0x0 ,
  SEAT_CAPABILITY_POINTER = 1 << 0 ,
  SEAT_CAPABILITY_TOUCH = 1 << 1 ,
  SEAT_CAPABILITY_TABLET_STYLUS = 1 << 2 ,
  SEAT_CAPABILITY_KEYBOARD = 1 << 3 ,
  SEAT_CAPABILITY_ALL_POINTING = 0x7 ,
  SEAT_CAPABILITY_ALL = 0xF
}
 
enum  ByteOrder {
  LSB_FIRST ,
  MSB_FIRST
}
 
enum  ModifierType {
  SHIFT_MASK = 1 << 0 ,
  LOCK_MASK = 1 << 1 ,
  CONTROL_MASK = 1 << 2 ,
  MOD1_MASK = 1 << 3 ,
  MOD2_MASK = 1 << 4 ,
  MOD3_MASK = 1 << 5 ,
  MOD4_MASK = 1 << 6 ,
  MOD5_MASK = 1 << 7 ,
  BUTTON1_MASK = 1 << 8 ,
  BUTTON2_MASK = 1 << 9 ,
  BUTTON3_MASK = 1 << 10 ,
  BUTTON4_MASK = 1 << 11 ,
  BUTTON5_MASK = 1 << 12 ,
  MODIFIER_RESERVED_13_MASK = 1 << 13 ,
  MODIFIER_RESERVED_14_MASK = 1 << 14 ,
  MODIFIER_RESERVED_15_MASK = 1 << 15 ,
  MODIFIER_RESERVED_16_MASK = 1 << 16 ,
  MODIFIER_RESERVED_17_MASK = 1 << 17 ,
  MODIFIER_RESERVED_18_MASK = 1 << 18 ,
  MODIFIER_RESERVED_19_MASK = 1 << 19 ,
  MODIFIER_RESERVED_20_MASK = 1 << 20 ,
  MODIFIER_RESERVED_21_MASK = 1 << 21 ,
  MODIFIER_RESERVED_22_MASK = 1 << 22 ,
  MODIFIER_RESERVED_23_MASK = 1 << 23 ,
  MODIFIER_RESERVED_24_MASK = 1 << 24 ,
  MODIFIER_RESERVED_25_MASK = 1 << 25 ,
  SUPER_MASK = 1 << 26 ,
  HYPER_MASK = 1 << 27 ,
  META_MASK = 1 << 28 ,
  MODIFIER_RESERVED_29_MASK = 1 << 29 ,
  RELEASE_MASK = 1 << 30 ,
  MODIFIER_MASK = 0x5c001fff
}
 
enum  ModifierIntent {
  MODIFIER_INTENT_PRIMARY_ACCELERATOR ,
  MODIFIER_INTENT_CONTEXT_MENU ,
  MODIFIER_INTENT_EXTEND_SELECTION ,
  MODIFIER_INTENT_MODIFY_SELECTION ,
  MODIFIER_INTENT_NO_TEXT_INPUT ,
  MODIFIER_INTENT_SHIFT_GROUP ,
  MODIFIER_INTENT_DEFAULT_MOD_MASK
}
 
enum  Status {
  OK = 0 ,
  ERROR = -1 ,
  ERROR_PARAM = -2 ,
  ERROR_FILE = -3 ,
  ERROR_MEM = -4
}
 
enum  VisualType {
  VISUAL_STATIC_GRAY ,
  VISUAL_GRAYSCALE ,
  VISUAL_STATIC_COLOR ,
  VISUAL_PSEUDO_COLOR ,
  VISUAL_TRUE_COLOR ,
  VISUAL_DIRECT_COLOR
}
 
enum  WindowState {
  WINDOW_STATE_WITHDRAWN = 1 << 0 ,
  WINDOW_STATE_ICONIFIED = 1 << 1 ,
  WINDOW_STATE_MAXIMIZED = 1 << 2 ,
  WINDOW_STATE_STICKY = 1 << 3 ,
  WINDOW_STATE_FULLSCREEN = 1 << 4 ,
  WINDOW_STATE_ABOVE = 1 << 5 ,
  WINDOW_STATE_BELOW = 1 << 6 ,
  WINDOW_STATE_FOCUSED = 1 << 7 ,
  WINDOW_STATE_TILED = 1 << 8 ,
  WINDOW_STATE_TOP_TILED = 1 << 9 ,
  WINDOW_STATE_TOP_RESIZABLE = 1 << 10 ,
  WINDOW_STATE_RIGHT_TILED = 1 << 11 ,
  WINDOW_STATE_RIGHT_RESIZABLE = 1 << 12 ,
  WINDOW_STATE_BOTTOM_TILED = 1 << 13 ,
  WINDOW_STATE_BOTTOM_RESIZABLE = 1 << 14 ,
  WINDOW_STATE_LEFT_TILED = 1 << 15 ,
  WINDOW_STATE_LEFT_RESIZABLE = 1 << 16
}
 
enum  WindowType {
  WINDOW_ROOT ,
  WINDOW_TOPLEVEL ,
  WINDOW_CHILD ,
  WINDOW_TEMP ,
  WINDOW_FOREIGN ,
  WINDOW_OFFSCREEN ,
  WINDOW_SUBSURFACE
}
 
enum  WindowAttributesType {
  WA_TITLE = 1 << 1 ,
  WA_X = 1 << 2 ,
  WA_Y = 1 << 3 ,
  WA_CURSOR = 1 << 4 ,
  WA_VISUAL = 1 << 5 ,
  WA_WMCLASS = 1 << 6 ,
  WA_NOREDIR = 1 << 7 ,
  WA_TYPE_HINT = 1 << 8
}
 
enum  WindowHints {
  HINT_POS = 1 << 0 ,
  HINT_MIN_SIZE = 1 << 1 ,
  HINT_MAX_SIZE = 1 << 2 ,
  HINT_BASE_SIZE = 1 << 3 ,
  HINT_ASPECT = 1 << 4 ,
  HINT_RESIZE_INC = 1 << 5 ,
  HINT_WIN_GRAVITY = 1 << 6 ,
  HINT_USER_POS = 1 << 7 ,
  HINT_USER_SIZE = 1 << 8
}
 
enum  WindowTypeHint {
  WINDOW_TYPE_HINT_NORMAL ,
  WINDOW_TYPE_HINT_DIALOG ,
  WINDOW_TYPE_HINT_MENU ,
  WINDOW_TYPE_HINT_TOOLBAR ,
  WINDOW_TYPE_HINT_SPLASHSCREEN ,
  WINDOW_TYPE_HINT_UTILITY ,
  WINDOW_TYPE_HINT_DOCK ,
  WINDOW_TYPE_HINT_DESKTOP ,
  WINDOW_TYPE_HINT_DROPDOWN_MENU ,
  WINDOW_TYPE_HINT_POPUP_MENU ,
  WINDOW_TYPE_HINT_TOOLTIP ,
  WINDOW_TYPE_HINT_NOTIFICATION ,
  WINDOW_TYPE_HINT_COMBO ,
  WINDOW_TYPE_HINT_DND
}
 
enum  WMDecoration {
  DECOR_ALL = 1 << 0 ,
  DECOR_BORDER = 1 << 1 ,
  DECOR_RESIZEH = 1 << 2 ,
  DECOR_TITLE = 1 << 3 ,
  DECOR_MENU = 1 << 4 ,
  DECOR_MINIMIZE = 1 << 5 ,
  DECOR_MAXIMIZE = 1 << 6
}
 
enum  WMFunction {
  FUNC_ALL = 1 << 0 ,
  FUNC_RESIZE = 1 << 1 ,
  FUNC_MOVE = 1 << 2 ,
  FUNC_MINIMIZE = 1 << 3 ,
  FUNC_MAXIMIZE = 1 << 4 ,
  FUNC_CLOSE = 1 << 5
}
 
enum  WindowEdge {
  WINDOW_EDGE_NORTH_WEST ,
  WINDOW_EDGE_NORTH ,
  WINDOW_EDGE_NORTH_EAST ,
  WINDOW_EDGE_WEST ,
  WINDOW_EDGE_EAST ,
  WINDOW_EDGE_SOUTH_WEST ,
  WINDOW_EDGE_SOUTH ,
  WINDOW_EDGE_SOUTH_EAST
}
 
enum  Gravity {
  GRAVITY_NORTH_WEST = 1 ,
  GRAVITY_NORTH ,
  GRAVITY_NORTH_EAST ,
  GRAVITY_WEST ,
  GRAVITY_CENTER ,
  GRAVITY_EAST ,
  GRAVITY_SOUTH_WEST ,
  GRAVITY_SOUTH ,
  GRAVITY_SOUTH_EAST ,
  GRAVITY_STATIC
}
 
enum  AnchorHints {
  ANCHOR_FLIP_X = 1 << 0 ,
  ANCHOR_FLIP_Y = 1 << 1 ,
  ANCHOR_SLIDE_X = 1 << 2 ,
  ANCHOR_SLIDE_Y = 1 << 3 ,
  ANCHOR_RESIZE_X = 1 << 4 ,
  ANCHOR_RESIZE_Y = 1 << 5 ,
  ANCHOR_FLIP = 0x3 ,
  ANCHOR_SLIDE = 0xC ,
  ANCHOR_RESIZE = 0x30
}
 
enum  FullscreenMode {
  FULLSCREEN_ON_CURRENT_MONITOR ,
  FULLSCREEN_ON_ALL_MONITORS
}
 

Functions

int screen_width ()
 
int screen_height ()
 
int screen_width_mm ()
 
int screen_height_mm ()
 
void flush ()
 
EventMask operator| (EventMask lhs, EventMask rhs)
 
EventMask operator& (EventMask lhs, EventMask rhs)
 
EventMask operator^ (EventMask lhs, EventMask rhs)
 
EventMask operator~ (EventMask flags)
 
EventMaskoperator|= (EventMask & lhs, EventMask rhs)
 
EventMaskoperator&= (EventMask & lhs, EventMask rhs)
 
EventMaskoperator^= (EventMask & lhs, EventMask rhs)
 
DragAction operator| (DragAction lhs, DragAction rhs)
 
DragAction operator& (DragAction lhs, DragAction rhs)
 
DragAction operator^ (DragAction lhs, DragAction rhs)
 
DragAction operator~ (DragAction flags)
 
DragActionoperator|= (DragAction & lhs, DragAction rhs)
 
DragActionoperator&= (DragAction & lhs, DragAction rhs)
 
DragActionoperator^= (DragAction & lhs, DragAction rhs)
 
AxisFlags operator| (AxisFlags lhs, AxisFlags rhs)
 
AxisFlags operator& (AxisFlags lhs, AxisFlags rhs)
 
AxisFlags operator^ (AxisFlags lhs, AxisFlags rhs)
 
AxisFlags operator~ (AxisFlags flags)
 
AxisFlagsoperator|= (AxisFlags & lhs, AxisFlags rhs)
 
AxisFlagsoperator&= (AxisFlags & lhs, AxisFlags rhs)
 
AxisFlagsoperator^= (AxisFlags & lhs, AxisFlags rhs)
 
FrameClockPhase operator| (FrameClockPhase lhs, FrameClockPhase rhs)
 
FrameClockPhase operator& (FrameClockPhase lhs, FrameClockPhase rhs)
 
FrameClockPhase operator^ (FrameClockPhase lhs, FrameClockPhase rhs)
 
FrameClockPhase operator~ (FrameClockPhase flags)
 
FrameClockPhaseoperator|= (FrameClockPhase & lhs, FrameClockPhase rhs)
 
FrameClockPhaseoperator&= (FrameClockPhase & lhs, FrameClockPhase rhs)
 
FrameClockPhaseoperator^= (FrameClockPhase & lhs, FrameClockPhase rhs)
 
SeatCapabilities operator| (SeatCapabilities lhs, SeatCapabilities rhs)
 
SeatCapabilities operator& (SeatCapabilities lhs, SeatCapabilities rhs)
 
SeatCapabilities operator^ (SeatCapabilities lhs, SeatCapabilities rhs)
 
SeatCapabilities operator~ (SeatCapabilities flags)
 
SeatCapabilitiesoperator|= (SeatCapabilities & lhs, SeatCapabilities rhs)
 
SeatCapabilitiesoperator&= (SeatCapabilities & lhs, SeatCapabilities rhs)
 
SeatCapabilitiesoperator^= (SeatCapabilities & lhs, SeatCapabilities rhs)
 
ModifierType operator| (ModifierType lhs, ModifierType rhs)
 
ModifierType operator& (ModifierType lhs, ModifierType rhs)
 
ModifierType operator^ (ModifierType lhs, ModifierType rhs)
 
ModifierType operator~ (ModifierType flags)
 
ModifierTypeoperator|= (ModifierType & lhs, ModifierType rhs)
 
ModifierTypeoperator&= (ModifierType & lhs, ModifierType rhs)
 
ModifierTypeoperator^= (ModifierType & lhs, ModifierType rhs)
 
WindowState operator| (WindowState lhs, WindowState rhs)
 
WindowState operator& (WindowState lhs, WindowState rhs)
 
WindowState operator^ (WindowState lhs, WindowState rhs)
 
WindowState operator~ (WindowState flags)
 
WindowStateoperator|= (WindowState & lhs, WindowState rhs)
 
WindowStateoperator&= (WindowState & lhs, WindowState rhs)
 
WindowStateoperator^= (WindowState & lhs, WindowState rhs)
 
WindowAttributesType operator| (WindowAttributesType lhs, WindowAttributesType rhs)
 
WindowAttributesType operator& (WindowAttributesType lhs, WindowAttributesType rhs)
 
WindowAttributesType operator^ (WindowAttributesType lhs, WindowAttributesType rhs)
 
WindowAttributesType operator~ (WindowAttributesType flags)
 
WindowAttributesTypeoperator|= (WindowAttributesType & lhs, WindowAttributesType rhs)
 
WindowAttributesTypeoperator&= (WindowAttributesType & lhs, WindowAttributesType rhs)
 
WindowAttributesTypeoperator^= (WindowAttributesType & lhs, WindowAttributesType rhs)
 
WindowHints operator| (WindowHints lhs, WindowHints rhs)
 
WindowHints operator& (WindowHints lhs, WindowHints rhs)
 
WindowHints operator^ (WindowHints lhs, WindowHints rhs)
 
WindowHints operator~ (WindowHints flags)
 
WindowHintsoperator|= (WindowHints & lhs, WindowHints rhs)
 
WindowHintsoperator&= (WindowHints & lhs, WindowHints rhs)
 
WindowHintsoperator^= (WindowHints & lhs, WindowHints rhs)
 
WMDecoration operator| (WMDecoration lhs, WMDecoration rhs)
 
WMDecoration operator& (WMDecoration lhs, WMDecoration rhs)
 
WMDecoration operator^ (WMDecoration lhs, WMDecoration rhs)
 
WMDecoration operator~ (WMDecoration flags)
 
WMDecorationoperator|= (WMDecoration & lhs, WMDecoration rhs)
 
WMDecorationoperator&= (WMDecoration & lhs, WMDecoration rhs)
 
WMDecorationoperator^= (WMDecoration & lhs, WMDecoration rhs)
 
WMFunction operator| (WMFunction lhs, WMFunction rhs)
 
WMFunction operator& (WMFunction lhs, WMFunction rhs)
 
WMFunction operator^ (WMFunction lhs, WMFunction rhs)
 
WMFunction operator~ (WMFunction flags)
 
WMFunctionoperator|= (WMFunction & lhs, WMFunction rhs)
 
WMFunctionoperator&= (WMFunction & lhs, WMFunction rhs)
 
WMFunctionoperator^= (WMFunction & lhs, WMFunction rhs)
 
AnchorHints operator| (AnchorHints lhs, AnchorHints rhs)
 
AnchorHints operator& (AnchorHints lhs, AnchorHints rhs)
 
AnchorHints operator^ (AnchorHints lhs, AnchorHints rhs)
 
AnchorHints operator~ (AnchorHints flags)
 
AnchorHintsoperator|= (AnchorHints & lhs, AnchorHints rhs)
 
AnchorHintsoperator&= (AnchorHints & lhs, AnchorHints rhs)
 
AnchorHintsoperator^= (AnchorHints & lhs, AnchorHints rhs)
 

Typedef Documentation

◆ Geometry

typedef GdkGeometry Gdk::Geometry

Enumeration Type Documentation

◆ AnchorHints

Enumerator
ANCHOR_FLIP_X 

Allow flipping anchors horizontally.

ANCHOR_FLIP_Y 

Allow flipping anchors vertically.

ANCHOR_SLIDE_X 

Allow sliding window horizontally.

ANCHOR_SLIDE_Y 

Allow sliding window vertically.

ANCHOR_RESIZE_X 

Allow resizing window horizontally.

ANCHOR_RESIZE_Y 

Allow resizing window vertically.

ANCHOR_FLIP 

Allow flipping anchors on both axes.

ANCHOR_SLIDE 

Allow sliding window on both axes.

ANCHOR_RESIZE 

Allow resizing window on both axes.

◆ AxisFlags

Enumerator
AXIS_FLAG_X 

X axis is present.

AXIS_FLAG_Y 

Y axis is present.

AXIS_FLAG_PRESSURE 

Pressure axis is present.

AXIS_FLAG_XTILT 

X tilt axis is present.

AXIS_FLAG_YTILT 

Y tilt axis is present.

AXIS_FLAG_WHEEL 

Wheel axis is present.

AXIS_FLAG_DISTANCE 

Distance axis is present.

AXIS_FLAG_ROTATION 

Z-axis rotation is present.

AXIS_FLAG_SLIDER 

Slider axis is present.

◆ AxisUse

Enumerator
AXIS_IGNORE 

The axis is ignored.

AXIS_X 

The axis is used as the x axis.

AXIS_Y 

The axis is used as the y axis.

AXIS_PRESSURE 

The axis is used for pressure information.

AXIS_XTILT 

The axis is used for x tilt information.

AXIS_YTILT 

The axis is used for y tilt information.

AXIS_WHEEL 

The axis is used for wheel information.

AXIS_DISTANCE 

The axis is used for pen/tablet distance information.

(Since: 3.22).

AXIS_ROTATION 

The axis is used for pen rotation information.

(Since: 3.22).

AXIS_SLIDER 

The axis is used for pen slider information.

(Since: 3.22).

AXIS_LAST 

A constant equal to the numerically highest axis value.

◆ ByteOrder

Enumerator
LSB_FIRST 

The values are stored with the least-significant byte first.

For instance, the 32-bit value 0xffeecc would be stored in memory as 0xcc, 0xee, 0xff, 0x00.

MSB_FIRST 

The values are stored with the most-significant byte first.

For instance, the 32-bit value 0xffeecc would be stored in memory as 0x00, 0xff, 0xee, 0xcc.

◆ Colorspace

Enumerator
COLORSPACE_RGB 

Indicates a red/green/blue additive color space.

◆ CursorType

Enumerator
X_CURSOR 

.

ARROW 

.

BASED_ARROW_DOWN 

.

BASED_ARROW_UP 

.

BOAT 

.

BOGOSITY 

.

BOTTOM_LEFT_CORNER 

.

BOTTOM_RIGHT_CORNER 

.

BOTTOM_SIDE 

.

BOTTOM_TEE 

.

BOX_SPIRAL 

.

CENTER_PTR 

.

CIRCLE 

.

CLOCK 

.

COFFEE_MUG 

.

CROSS 

.

CROSS_REVERSE 

.

CROSSHAIR 

.

DIAMOND_CROSS 

.

DOT 

.

DOTBOX 

.

DOUBLE_ARROW 

.

DRAFT_LARGE 

.

DRAFT_SMALL 

.

DRAPED_BOX 

.

EXCHANGE 

.

FLEUR 

.

GOBBLER 

.

GUMBY 

.

HAND1 

.

HAND2 

.

HEART 

.

ICON 

.

IRON_CROSS 

.

LEFT_PTR 

.

LEFT_SIDE 

.

LEFT_TEE 

.

LEFTBUTTON 

.

LL_ANGLE 

.

LR_ANGLE 

.

MAN 

.

MIDDLEBUTTON 

.

MOUSE 

.

PENCIL 

.

PIRATE 

.

PLUS 

.

QUESTION_ARROW 

.

RIGHT_PTR 

.

RIGHT_SIDE 

.

RIGHT_TEE 

.

RIGHTBUTTON 

.

RTL_LOGO 

.

SAILBOAT 

.

SB_DOWN_ARROW 

.

SB_H_DOUBLE_ARROW 

.

SB_LEFT_ARROW 

.

SB_RIGHT_ARROW 

.

SB_UP_ARROW 

.

SB_V_DOUBLE_ARROW 

.

SHUTTLE 

.

SIZING 

.

SPIDER 

.

SPRAYCAN 

.

STAR 

.

TARGET 

.

TCROSS 

.

TOP_LEFT_ARROW 

.

TOP_LEFT_CORNER 

.

TOP_RIGHT_CORNER 

.

TOP_SIDE 

.

TOP_TEE 

.

TREK 

.

UL_ANGLE 

.

UMBRELLA 

.

UR_ANGLE 

.

WATCH 

.

XTERM 

.

LAST_CURSOR 

Last cursor type.

BLANK_CURSOR 

Blank cursor.

Since gtkmm 2.16:
CURSOR_IS_PIXMAP 

Type of cursors constructed with Gdk::Cursor::new_from_pixbuf().

◆ DeviceType

Enumerator
DEVICE_TYPE_MASTER 

Device is a master (or virtual) device.

There will be an associated focus indicator on the screen.

DEVICE_TYPE_SLAVE 

Device is a slave (or physical) device.

DEVICE_TYPE_FLOATING 

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

◆ DragAction

Enumerator
ACTION_DEFAULT 

Means nothing, and should not be used.

ACTION_COPY 

Copy the data.

ACTION_MOVE 

Move the data, i.e.

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

ACTION_LINK 

Add a link to the data.

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

ACTION_PRIVATE 

Special action which tells the source that the destination will do something that the source doesn’t understand.

ACTION_ASK 

Ask the user what to do with the data.

◆ DragProtocol

Enumerator
DRAG_PROTO_NONE 

No protocol.

DRAG_PROTO_MOTIF 

The Motif DND protocol.

No longer supported.

DRAG_PROTO_XDND 

The Xdnd protocol.

DRAG_PROTO_ROOTWIN 

An extension to the Xdnd protocol for unclaimed root window drops.

DRAG_PROTO_WIN32_DROPFILES 

The simple WM_DROPFILES protocol.

DRAG_PROTO_OLE2 

The complex OLE2 DND protocol (not implemented).

DRAG_PROTO_LOCAL 

Intra-application DND.

DRAG_PROTO_WAYLAND 

Wayland DND protocol.

◆ EventMask

Enumerator
EXPOSURE_MASK 

Receive expose events.

POINTER_MOTION_MASK 

Receive all pointer motion events.

POINTER_MOTION_HINT_MASK 

Deprecated.

see the explanation above.

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 window enter events.

LEAVE_NOTIFY_MASK 

Receive window leave events.

FOCUS_CHANGE_MASK 

Receive focus change events.

STRUCTURE_MASK 

Receive events about window configuration change.

PROPERTY_CHANGE_MASK 

Receive property change events.

VISIBILITY_NOTIFY_MASK 

Receive visibility change events.

PROXIMITY_IN_MASK 

Receive proximity in events.

PROXIMITY_OUT_MASK 

Receive proximity out events.

SUBSTRUCTURE_MASK 

Receive events about window configuration changes of child windows.

SCROLL_MASK 

Receive scroll events.

TOUCH_MASK 

Receive touch events.

Since gtkmm 3.4:
SMOOTH_SCROLL_MASK 

Receive smooth scrolling events.

Since 3.4 GDK_TOUCHPAD_GESTURE_MASK: receive touchpad gesture events.

Since gtkmm 3.18:
TOUCHPAD_GESTURE_MASK 
TABLET_PAD_MASK 

Receive tablet pad events.

Since gtkmm 3.22:
ALL_EVENTS_MASK 

The combination of all the above event masks.

◆ EventType

Enumerator
NOTHING 

A special code to indicate a null event.

DELETE 

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

DESTROY 

The window has been destroyed.

EXPOSE 

All or part of the window has become visible and needs to be redrawn.

MOTION_NOTIFY 

The pointer (usually a mouse) has moved.

BUTTON_PRESS 

A mouse button has been pressed.

DOUBLE_BUTTON_PRESS 

A mouse button has been double-clicked (clicked twice within a short period of time).

Note that each click also generates a Gdk::BUTTON_PRESS event.

TRIPLE_BUTTON_PRESS 

A mouse button has been clicked 3 times in a short period of time.

Note that each click also generates a Gdk::BUTTON_PRESS event.

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

LEAVE_NOTIFY 

The pointer has left the window.

FOCUS_CHANGE 

The keyboard focus has entered or left the window.

CONFIGURE 

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

Note that GTK+ discards these events for Gdk::WINDOW_CHILD windows.

MAP 

The window has been mapped.

UNMAP 

The window has been unmapped.

PROPERTY_NOTIFY 

A property on the window has been changed or deleted.

SELECTION_CLEAR 

The application has lost ownership of a selection.

SELECTION_REQUEST 

Another application has requested a selection.

SELECTION_NOTIFY 

A selection has been received.

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 window while a drag is in progress.

DRAG_LEAVE 

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

DRAG_MOTION 

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

DRAG_STATUS 

The status of the drag operation initiated by the window has changed.

DROP_START 

A drop operation onto the window has started.

DROP_FINISHED 

The drop operation initiated by the window has completed.

CLIENT_EVENT 

A message has been received from another application.

VISIBILITY_NOTIFY 

The window visibility status has changed.

SCROLL 

The scroll wheel was turned.

WINDOW_STATE 

The state of a window has changed.

See Gdk::WindowState for the possible window states.

SETTING 

A setting has been modified.

OWNER_CHANGE 

The owner of a selection has changed.

This event type was added in 2.6.

GRAB_BROKEN 

A pointer or keyboard grab was broken.

This event type was added in 2.8.

DAMAGE 

The content of the window has been changed.

This event type was added in 2.14.

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.

◆ FrameClockPhase

Enumerator
FRAME_CLOCK_PHASE_NONE 

No phase.

FRAME_CLOCK_PHASE_FLUSH_EVENTS 

Corresponds to GdkFrameClock::flush-events.

Should not be handled by applications.

FRAME_CLOCK_PHASE_BEFORE_PAINT 

Corresponds to GdkFrameClock::before-paint.

Should not be handled by applications.

FRAME_CLOCK_PHASE_UPDATE 

Corresponds to GdkFrameClock::update.

FRAME_CLOCK_PHASE_LAYOUT 

Corresponds to GdkFrameClock::layout.

FRAME_CLOCK_PHASE_PAINT 

Corresponds to GdkFrameClock::paint.

FRAME_CLOCK_PHASE_RESUME_EVENTS 

Corresponds to GdkFrameClock::resume-events.

Should not be handled by applications.

FRAME_CLOCK_PHASE_AFTER_PAINT 

Corresponds to GdkFrameClock::after-paint.

Should not be handled by applications.

◆ FullscreenMode

Enumerator
FULLSCREEN_ON_CURRENT_MONITOR 

Fullscreen on current monitor only.

FULLSCREEN_ON_ALL_MONITORS 

Span across all monitors when fullscreen.

◆ GrabOwnership

Enumerator
OWNERSHIP_NONE 

All other devices’ events are allowed.

OWNERSHIP_WINDOW 

Other devices’ events are blocked for the grab window.

OWNERSHIP_APPLICATION 

Other devices’ events are blocked for the whole application.

◆ GrabStatus

Enumerator
GRAB_SUCCESS 

The resource was successfully grabbed.

GRAB_ALREADY_GRABBED 

The resource is actively grabbed by another client.

GRAB_INVALID_TIME 

The resource was grabbed more recently than the specified time.

GRAB_NOT_VIEWABLE 

The grab window or the confine_to window are not viewable.

GRAB_FROZEN 

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

GRAB_FAILED 

The grab failed for some other reason.

Since gtkmm 3.16:

◆ Gravity

Enumerator
GRAVITY_NORTH_WEST 

The reference point is at the top left corner.

GRAVITY_NORTH 

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

GRAVITY_NORTH_EAST 

The reference point is at the top right corner.

GRAVITY_WEST 

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

GRAVITY_CENTER 

The reference point is at the center of the window.

GRAVITY_EAST 

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

GRAVITY_SOUTH_WEST 

The reference point is at the lower left corner.

GRAVITY_SOUTH 

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

GRAVITY_SOUTH_EAST 

The reference point is at the lower right corner.

GRAVITY_STATIC 

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

◆ InputMode

Enumerator
MODE_DISABLED 

The device is disabled and will not report any events.

MODE_SCREEN 

The device is enabled.

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

MODE_WINDOW 

The device is enabled.

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

◆ InputSource

Enumerator
SOURCE_MOUSE 

The device is a mouse.

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

SOURCE_PEN 

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

SOURCE_ERASER 

The device is an eraser.

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

SOURCE_CURSOR 

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

SOURCE_KEYBOARD 

The device is a keyboard.

SOURCE_TOUCHSCREEN 

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

This device type has been added in 3.4.

SOURCE_TOUCHPAD 

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

This device type has been added in 3.4.

SOURCE_TRACKPOINT 

The device is a trackpoint.

This device type has been added in 3.22.

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

◆ InterpType

Enumerator
INTERP_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.

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

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

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

◆ ModifierIntent

Enumerator
MODIFIER_INTENT_PRIMARY_ACCELERATOR 

The primary modifier used to invoke menu accelerators.

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

MODIFIER_INTENT_EXTEND_SELECTION 

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

MODIFIER_INTENT_MODIFY_SELECTION 

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

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

MODIFIER_INTENT_SHIFT_GROUP 

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

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

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

Since gtkmm 2.10:
HYPER_MASK 

The Hyper modifier.

Since gtkmm 2.10:
META_MASK 

The Meta modifier.

Since gtkmm 2.10:
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.

◆ PixbufAlphaMode

Enumerator
PIXBUF_ALPHA_BILEVEL 

A bilevel clipping mask (black and white) will be created and used to draw the image.

Pixels below 0.5 opacity will be considered fully transparent, and all others will be considered fully opaque.

PIXBUF_ALPHA_FULL 

For now falls back to Gdk::PIXBUF_ALPHA_BILEVEL.

In the future it will do full alpha compositing.

◆ PixbufRotation

Enumerator
PIXBUF_ROTATE_NONE 

No rotation.

PIXBUF_ROTATE_COUNTERCLOCKWISE 

Rotate by 90 degrees.

PIXBUF_ROTATE_UPSIDEDOWN 

Rotate by 180 degrees.

PIXBUF_ROTATE_CLOCKWISE 

Rotate by 270 degrees.

◆ SeatCapabilities

Enumerator
SEAT_CAPABILITY_NONE 

No input capabilities.

SEAT_CAPABILITY_POINTER 

The seat has a pointer (e.g.

mouse).

SEAT_CAPABILITY_TOUCH 

The seat has touchscreen(s) attached.

SEAT_CAPABILITY_TABLET_STYLUS 

The seat has drawing tablet(s) attached.

SEAT_CAPABILITY_KEYBOARD 

The seat has keyboard(s) attached.

SEAT_CAPABILITY_ALL_POINTING 

The union of all pointing capabilities.

SEAT_CAPABILITY_ALL 

The union of all capabilities.

◆ SubpixelLayout

Enumerator
SUBPIXEL_LAYOUT_UNKNOWN 

The layout is not known.

SUBPIXEL_LAYOUT_NONE 

Not organized in this way.

SUBPIXEL_LAYOUT_HORIZONTAL_RGB 

The layout is horizontal, the order is RGB.

SUBPIXEL_LAYOUT_HORIZONTAL_BGR 

The layout is horizontal, the order is BGR.

SUBPIXEL_LAYOUT_VERTICAL_RGB 

The layout is vertical, the order is RGB.

SUBPIXEL_LAYOUT_VERTICAL_BGR 

The layout is vertical, the order is BGR.

◆ VisualType

Enumerator
VISUAL_STATIC_GRAY 

Each pixel value indexes a grayscale value directly.

VISUAL_GRAYSCALE 

Each pixel is an index into a color map that maps pixel values into grayscale values.

The color map can be changed by an application.

VISUAL_STATIC_COLOR 

Each pixel value is an index into a predefined, unmodifiable color map that maps pixel values into RGB values.

VISUAL_PSEUDO_COLOR 

Each pixel is an index into a color map that maps pixel values into rgb values.

The color map can be changed by an application.

VISUAL_TRUE_COLOR 

Each pixel value directly contains red, green, and blue components.

Use Gdk::Visual::get_red_pixel_details(), etc, to obtain information about how the components are assembled into a pixel value.

VISUAL_DIRECT_COLOR 

Each pixel value contains red, green, and blue components as for Gdk::VISUAL_TRUE_COLOR, but the components are mapped via a color table into the final output table instead of being converted directly.

◆ WindowAttributesType

Enumerator
WA_TITLE 

Honor the title field.

WA_X 

Honor the X coordinate field.

WA_Y 

Honor the Y coordinate field.

WA_CURSOR 

Honor the cursor field.

WA_VISUAL 

Honor the visual field.

WA_WMCLASS 

Honor the wmclass_class and wmclass_name fields.

WA_NOREDIR 

Honor the override_redirect field.

WA_TYPE_HINT 

Honor the type_hint field.

◆ WindowEdge

Enumerator
WINDOW_EDGE_NORTH_WEST 

The top left corner.

WINDOW_EDGE_NORTH 

The top edge.

WINDOW_EDGE_NORTH_EAST 

The top right corner.

WINDOW_EDGE_WEST 

The left edge.

WINDOW_EDGE_EAST 

The right edge.

WINDOW_EDGE_SOUTH_WEST 

The lower left corner.

WINDOW_EDGE_SOUTH 

The lower edge.

WINDOW_EDGE_SOUTH_EAST 

The lower right corner.

◆ WindowHints

Enumerator
HINT_POS 

Indicates that the program has positioned the window.

HINT_MIN_SIZE 

Min size fields are set.

HINT_MAX_SIZE 

Max size fields are set.

HINT_BASE_SIZE 

Base size fields are set.

HINT_ASPECT 

Aspect ratio fields are set.

HINT_RESIZE_INC 

Resize increment fields are set.

HINT_WIN_GRAVITY 

Window gravity field is set.

HINT_USER_POS 

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

HINT_USER_SIZE 

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

◆ WindowState

Enumerator
WINDOW_STATE_WITHDRAWN 

The window is not shown.

WINDOW_STATE_ICONIFIED 

The window is minimized.

WINDOW_STATE_MAXIMIZED 

The window is maximized.

WINDOW_STATE_STICKY 

The window is sticky.

WINDOW_STATE_FULLSCREEN 

The window is maximized without decorations.

WINDOW_STATE_ABOVE 

The window is kept above other windows.

WINDOW_STATE_BELOW 

The window is kept below other windows.

WINDOW_STATE_FOCUSED 

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

WINDOW_STATE_TILED 

The window is in a tiled state, Since 3.10.

Since 3.22.23, this is deprecated in favor of per-edge information.

WINDOW_STATE_TOP_TILED 

Whether the top edge is tiled,.

Since gtkmm 3.22.23:
WINDOW_STATE_TOP_RESIZABLE 

Whether the top edge is resizable,.

Since gtkmm 3.22.23:
WINDOW_STATE_RIGHT_TILED 

Whether the right edge is tiled,.

Since gtkmm 3.22.23:
WINDOW_STATE_RIGHT_RESIZABLE 

Whether the right edge is resizable,.

Since gtkmm 3.22.23:
WINDOW_STATE_BOTTOM_TILED 

Whether the bottom edge is tiled,.

Since gtkmm 3.22.23:
WINDOW_STATE_BOTTOM_RESIZABLE 

Whether the bottom edge is resizable,.

Since gtkmm 3.22.23:
WINDOW_STATE_LEFT_TILED 

Whether the left edge is tiled,.

Since gtkmm 3.22.23:
WINDOW_STATE_LEFT_RESIZABLE 

Whether the left edge is resizable,.

Since gtkmm 3.22.23:

◆ WindowType

Enumerator
WINDOW_ROOT 

Root window; this window has no parent, covers the entire screen, and is created by the window system.

WINDOW_TOPLEVEL 

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

WINDOW_CHILD 

Child window (used to implement e.g.

Gtk::Entry).

WINDOW_TEMP 

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

WINDOW_FOREIGN 

Foreign window (see gdk_window_foreign_new()).

WINDOW_OFFSCREEN 

Offscreen window (see [Offscreen Windows][OFFSCREEN-WINDOWS]).

Since gtkmm 2.18:
WINDOW_SUBSURFACE 

Subsurface-based window; This window is visually tied to a toplevel, and is moved/stacked with it.

Currently this window type is only implemented in Wayland.

Since gtkmm 3.14:

◆ WindowTypeHint

Enumerator
WINDOW_TYPE_HINT_NORMAL 

Normal toplevel window.

WINDOW_TYPE_HINT_DIALOG 

Dialog window.

WINDOW_TYPE_HINT_MENU 

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

WINDOW_TYPE_HINT_TOOLBAR 

Window used to implement toolbars.

WINDOW_TYPE_HINT_SPLASHSCREEN 

Window used to display a splash screen during application startup.

WINDOW_TYPE_HINT_UTILITY 

Utility windows which are not detached toolbars or dialogs.

WINDOW_TYPE_HINT_DOCK 

Used for creating dock or panel windows.

WINDOW_TYPE_HINT_DESKTOP 

Used for creating the desktop background window.

WINDOW_TYPE_HINT_DROPDOWN_MENU 

A menu that belongs to a menubar.

WINDOW_TYPE_HINT_POPUP_MENU 

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

a context menu.

WINDOW_TYPE_HINT_TOOLTIP 

A tooltip.

WINDOW_TYPE_HINT_NOTIFICATION 

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

WINDOW_TYPE_HINT_COMBO 

A popup from a combo box.

WINDOW_TYPE_HINT_DND 

A window that is used to implement a DND cursor.

◆ WMDecoration

Enumerator
DECOR_ALL 

All decorations should be applied.

DECOR_BORDER 

A frame should be drawn around the window.

DECOR_RESIZEH 

The frame should have resize handles.

DECOR_TITLE 

A titlebar should be placed above the window.

DECOR_MENU 

A button for opening a menu should be included.

DECOR_MINIMIZE 

A minimize button should be included.

DECOR_MAXIMIZE 

A maximize button should be included.

◆ WMFunction

Enumerator
FUNC_ALL 

All functions should be offered.

FUNC_RESIZE 

The window should be resizable.

FUNC_MOVE 

The window should be movable.

FUNC_MINIMIZE 

The window should be minimizable.

FUNC_MAXIMIZE 

The window should be maximizable.

FUNC_CLOSE 

The window should be closable.

Function Documentation

◆ flush()

void Gdk::flush ( )

◆ screen_height()

int Gdk::screen_height ( )
Deprecated:
Use per-monitor information.

◆ screen_height_mm()

int Gdk::screen_height_mm ( )
Deprecated:
Use per-monitor information.

◆ screen_width()

int Gdk::screen_width ( )
Deprecated:
Use per-monitor information.

◆ screen_width_mm()

int Gdk::screen_width_mm ( )
Deprecated:
Use per-monitor information.