gtkmm: gdkmm Enums and Flags

Enumerations

enum  Gdk::Status {

  Gdk::OK = 0,

  Gdk::ERROR = -1,

  Gdk::ERROR_PARAM = -2,

  Gdk::ERROR_FILE = -3,

  Gdk::ERROR_MEM = -4

}
 
enum  Gdk::CursorType {

  Gdk::X_CURSOR = 0,

  Gdk::ARROW = 2,

  Gdk::BASED_ARROW_DOWN = 4,

  Gdk::BASED_ARROW_UP = 6,

  Gdk::BOAT = 8,

  Gdk::BOGOSITY = 10,

  Gdk::BOTTOM_LEFT_CORNER = 12,

  Gdk::BOTTOM_RIGHT_CORNER = 14,

  Gdk::BOTTOM_SIDE = 16,

  Gdk::BOTTOM_TEE = 18,

  Gdk::BOX_SPIRAL = 20,

  Gdk::CENTER_PTR = 22,

  Gdk::CIRCLE = 24,

  Gdk::CLOCK = 26,

  Gdk::COFFEE_MUG = 28,

  Gdk::CROSS = 30,

  Gdk::CROSS_REVERSE = 32,

  Gdk::CROSSHAIR = 34,

  Gdk::DIAMOND_CROSS = 36,

  Gdk::DOT = 38,

  Gdk::DOTBOX = 40,

  Gdk::DOUBLE_ARROW = 42,

  Gdk::DRAFT_LARGE = 44,

  Gdk::DRAFT_SMALL = 46,

  Gdk::DRAPED_BOX = 48,

  Gdk::EXCHANGE = 50,

  Gdk::FLEUR = 52,

  Gdk::GOBBLER = 54,

  Gdk::GUMBY = 56,

  Gdk::HAND1 = 58,

  Gdk::HAND2 = 60,

  Gdk::HEART = 62,

  Gdk::ICON = 64,

  Gdk::IRON_CROSS = 66,

  Gdk::LEFT_PTR = 68,

  Gdk::LEFT_SIDE = 70,

  Gdk::LEFT_TEE = 72,

  Gdk::LEFTBUTTON = 74,

  Gdk::LL_ANGLE = 76,

  Gdk::LR_ANGLE = 78,

  Gdk::MAN = 80,

  Gdk::MIDDLEBUTTON = 82,

  Gdk::MOUSE = 84,

  Gdk::PENCIL = 86,

  Gdk::PIRATE = 88,

  Gdk::PLUS = 90,

  Gdk::QUESTION_ARROW = 92,

  Gdk::RIGHT_PTR = 94,

  Gdk::RIGHT_SIDE = 96,

  Gdk::RIGHT_TEE = 98,

  Gdk::RIGHTBUTTON = 100,

  Gdk::RTL_LOGO = 102,

  Gdk::SAILBOAT = 104,

  Gdk::SB_DOWN_ARROW = 106,

  Gdk::SB_H_DOUBLE_ARROW = 108,

  Gdk::SB_LEFT_ARROW = 110,

  Gdk::SB_RIGHT_ARROW = 112,

  Gdk::SB_UP_ARROW = 114,

  Gdk::SB_V_DOUBLE_ARROW = 116,

  Gdk::SHUTTLE = 118,

  Gdk::SIZING = 120,

  Gdk::SPIDER = 122,

  Gdk::SPRAYCAN = 124,

  Gdk::STAR = 126,

  Gdk::TARGET = 128,

  Gdk::TCROSS = 130,

  Gdk::TOP_LEFT_ARROW = 132,

  Gdk::TOP_LEFT_CORNER = 134,

  Gdk::TOP_RIGHT_CORNER = 136,

  Gdk::TOP_SIDE = 138,

  Gdk::TOP_TEE = 140,

  Gdk::TREK = 142,

  Gdk::UL_ANGLE = 144,

  Gdk::UMBRELLA = 146,

  Gdk::UR_ANGLE = 148,

  Gdk::WATCH = 150,

  Gdk::XTERM = 152,

  Gdk::LAST_CURSOR = 153,

  Gdk::BLANK_CURSOR = -2,

  Gdk::CURSOR_IS_PIXMAP = -1

}
 The standard cursors available. More...

 
enum  Gdk::EventMask {

  Gdk::EXPOSURE_MASK = 1 << 1,

  Gdk::POINTER_MOTION_MASK = 1 << 2,

  Gdk::POINTER_MOTION_HINT_MASK = 1 << 3,

  Gdk::BUTTON_MOTION_MASK = 1 << 4,

  Gdk::BUTTON1_MOTION_MASK = 1 << 5,

  Gdk::BUTTON2_MOTION_MASK = 1 << 6,

  Gdk::BUTTON3_MOTION_MASK = 1 << 7,

  Gdk::BUTTON_PRESS_MASK = 1 << 8,

  Gdk::BUTTON_RELEASE_MASK = 1 << 9,

  Gdk::KEY_PRESS_MASK = 1 << 10,

  Gdk::KEY_RELEASE_MASK = 1 << 11,

  Gdk::ENTER_NOTIFY_MASK = 1 << 12,

  Gdk::LEAVE_NOTIFY_MASK = 1 << 13,

  Gdk::FOCUS_CHANGE_MASK = 1 << 14,

  Gdk::STRUCTURE_MASK = 1 << 15,

  Gdk::PROPERTY_CHANGE_MASK = 1 << 16,

  Gdk::VISIBILITY_NOTIFY_MASK = 1 << 17,

  Gdk::PROXIMITY_IN_MASK = 1 << 18,

  Gdk::PROXIMITY_OUT_MASK = 1 << 19,

  Gdk::SUBSTRUCTURE_MASK = 1 << 20,

  Gdk::SCROLL_MASK = 1 << 21,

  Gdk::TOUCH_MASK = 1 << 22,

  Gdk::SMOOTH_SCROLL_MASK = 1 << 23,

  Gdk::ALL_EVENTS_MASK = 0xFFFFFE

}
 A set of bit-flags to indicate which events a window is to receive. More...

 
enum  Gdk::InputMode {

  Gdk::MODE_DISABLED,

  Gdk::MODE_SCREEN,

  Gdk::MODE_WINDOW

}
 An enumeration that describes the mode of an input device. More...

 
enum  Gdk::InputSource {

  Gdk::SOURCE_MOUSE,

  Gdk::SOURCE_PEN,

  Gdk::SOURCE_ERASER,

  Gdk::SOURCE_CURSOR,

  Gdk::SOURCE_KEYBOARD,

  Gdk::SOURCE_TOUCHSCREEN,

  Gdk::SOURCE_TOUCHPAD

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

 
enum  Gdk::DeviceType {

  Gdk::DEVICE_TYPE_MASTER,

  Gdk::DEVICE_TYPE_SLAVE,

  Gdk::DEVICE_TYPE_FLOATING

}
 Indicates the device type. More...

 
enum  Gdk::GrabOwnership {

  Gdk::OWNERSHIP_NONE,

  Gdk::OWNERSHIP_WINDOW,

  Gdk::OWNERSHIP_APPLICATION

}
 Defines how device grabs interact with other devices. More...

 
enum  Gdk::GrabStatus {

  Gdk::GRAB_SUCCESS,

  Gdk::GRAB_ALREADY_GRABBED,

  Gdk::GRAB_INVALID_TIME,

  Gdk::GRAB_NOT_VIEWABLE,

  Gdk::GRAB_FROZEN

}
 Returned by Gdk::Device::grab(), gdk_pointer_grab() and gdk_keyboard_grab() to indicate success or the reason for the failure of the grab attempt. More...

 
enum  Gdk::DragAction {

  Gdk::ACTION_DEFAULT = 1 << 0,

  Gdk::ACTION_COPY = 1 << 1,

  Gdk::ACTION_MOVE = 1 << 2,

  Gdk::ACTION_LINK = 1 << 3,

  Gdk::ACTION_PRIVATE = 1 << 4,

  Gdk::ACTION_ASK = 1 << 5

}
 Used in Gdk::DragContext to indicate what the destination should do with the dropped data. More...

 
enum  Gdk::DragProtocol {

  Gdk::DRAG_PROTO_NONE,

  Gdk::DRAG_PROTO_MOTIF,

  Gdk::DRAG_PROTO_XDND,

  Gdk::DRAG_PROTO_ROOTWIN,

  Gdk::DRAG_PROTO_WIN32_DROPFILES,

  Gdk::DRAG_PROTO_OLE2,

  Gdk::DRAG_PROTO_LOCAL

}
 Used in Gdk::DragContext to indicate the protocol according to which DND is done. More...

 
enum  Gdk::EventType {

  Gdk::NOTHING = -1,

  Gdk::DELETE = 0,

  Gdk::DESTROY = 1,

  Gdk::EXPOSE = 2,

  Gdk::MOTION_NOTIFY = 3,

  Gdk::BUTTON_PRESS = 4,

  Gdk::DOUBLE_BUTTON_PRESS = 5,

  Gdk::TRIPLE_BUTTON_PRESS = 6,

  Gdk::BUTTON_RELEASE = 7,

  Gdk::KEY_PRESS = 8,

  Gdk::KEY_RELEASE = 9,

  Gdk::ENTER_NOTIFY = 10,

  Gdk::LEAVE_NOTIFY = 11,

  Gdk::FOCUS_CHANGE = 12,

  Gdk::CONFIGURE = 13,

  Gdk::MAP = 14,

  Gdk::UNMAP = 15,

  Gdk::PROPERTY_NOTIFY = 16,

  Gdk::SELECTION_CLEAR = 17,

  Gdk::SELECTION_REQUEST = 18,

  Gdk::SELECTION_NOTIFY = 19,

  Gdk::PROXIMITY_IN = 20,

  Gdk::PROXIMITY_OUT = 21,

  Gdk::DRAG_ENTER = 22,

  Gdk::DRAG_LEAVE = 23,

  Gdk::DRAG_MOTION = 24,

  Gdk::DRAG_STATUS = 25,

  Gdk::DROP_START = 26,

  Gdk::DROP_FINISHED = 27,

  Gdk::CLIENT_EVENT = 28,

  Gdk::VISIBILITY_NOTIFY = 29,

  Gdk::SCROLL = 31,

  Gdk::WINDOW_STATE = 32,

  Gdk::SETTING = 33,

  Gdk::OWNER_CHANGE = 34,

  Gdk::GRAB_BROKEN = 35,

  Gdk::DAMAGE = 36,

  Gdk::TOUCH_BEGIN = 37,

  Gdk::TOUCH_UPDATE = 38,

  Gdk::TOUCH_END = 39,

  Gdk::TOUCH_CANCEL = 40,

  Gdk::EVENT_LAST = 41

}
 Specifies the type of the event. More...

 
enum  Gdk::AxisUse {

  Gdk::AXIS_IGNORE,

  Gdk::AXIS_X,

  Gdk::AXIS_Y,

  Gdk::AXIS_PRESSURE,

  Gdk::AXIS_XTILT,

  Gdk::AXIS_YTILT,

  Gdk::AXIS_WHEEL,

  Gdk::AXIS_LAST

}
 An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that GTK+ understands. 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::INTERP_NEAREST,

  Gdk::INTERP_TILES,

  Gdk::INTERP_BILINEAR,

  Gdk::INTERP_HYPER

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

 
enum  Gdk::PixbufAlphaMode {

  Gdk::PIXBUF_ALPHA_BILEVEL,

  Gdk::PIXBUF_ALPHA_FULL

}
 These values can be passed to gdk_pixbuf_render_to_drawable_alpha() to control how the alpha channel of an image should be handled. More...

 
enum  Gdk::PixbufRotation {

  Gdk::PIXBUF_ROTATE_NONE = 0,

  Gdk::PIXBUF_ROTATE_COUNTERCLOCKWISE = 90,

  Gdk::PIXBUF_ROTATE_UPSIDEDOWN = 180,

  Gdk::PIXBUF_ROTATE_CLOCKWISE = 270

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

 
enum  Gdk::ByteOrder {

  Gdk::LSB_FIRST,

  Gdk::MSB_FIRST

}
 A set of values describing the possible byte-orders for storing pixel values in memory. More...

 
enum  Gdk::ModifierType {

  Gdk::SHIFT_MASK = 1 << 0,

  Gdk::LOCK_MASK = 1 << 1,

  Gdk::CONTROL_MASK = 1 << 2,

  Gdk::MOD1_MASK = 1 << 3,

  Gdk::MOD2_MASK = 1 << 4,

  Gdk::MOD3_MASK = 1 << 5,

  Gdk::MOD4_MASK = 1 << 6,

  Gdk::MOD5_MASK = 1 << 7,

  Gdk::BUTTON1_MASK = 1 << 8,

  Gdk::BUTTON2_MASK = 1 << 9,

  Gdk::BUTTON3_MASK = 1 << 10,

  Gdk::BUTTON4_MASK = 1 << 11,

  Gdk::BUTTON5_MASK = 1 << 12,

  Gdk::MODIFIER_RESERVED_13_MASK = 1 << 13,

  Gdk::MODIFIER_RESERVED_14_MASK = 1 << 14,

  Gdk::MODIFIER_RESERVED_15_MASK = 1 << 15,

  Gdk::MODIFIER_RESERVED_16_MASK = 1 << 16,

  Gdk::MODIFIER_RESERVED_17_MASK = 1 << 17,

  Gdk::MODIFIER_RESERVED_18_MASK = 1 << 18,

  Gdk::MODIFIER_RESERVED_19_MASK = 1 << 19,

  Gdk::MODIFIER_RESERVED_20_MASK = 1 << 20,

  Gdk::MODIFIER_RESERVED_21_MASK = 1 << 21,

  Gdk::MODIFIER_RESERVED_22_MASK = 1 << 22,

  Gdk::MODIFIER_RESERVED_23_MASK = 1 << 23,

  Gdk::MODIFIER_RESERVED_24_MASK = 1 << 24,

  Gdk::MODIFIER_RESERVED_25_MASK = 1 << 25,

  Gdk::SUPER_MASK = 1 << 26,

  Gdk::HYPER_MASK = 1 << 27,

  Gdk::META_MASK = 1 << 28,

  Gdk::MODIFIER_RESERVED_29_MASK = 1 << 29,

  Gdk::RELEASE_MASK = 1 << 30,

  Gdk::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::MODIFIER_INTENT_PRIMARY_ACCELERATOR,

  Gdk::MODIFIER_INTENT_CONTEXT_MENU,

  Gdk::MODIFIER_INTENT_EXTEND_SELECTION,

  Gdk::MODIFIER_INTENT_MODIFY_SELECTION,

  Gdk::MODIFIER_INTENT_NO_TEXT_INPUT,

  Gdk::MODIFIER_INTENT_SHIFT_GROUP

}
 This enum is used with Gdk::Keymap::get_modifier_mask() and gdk_get_modifier_mask() in order to determine what modifiers the currently used windowing system backend uses for particular purposes. More...

 
enum  Gdk::VisualType {

  Gdk::VISUAL_STATIC_GRAY,

  Gdk::VISUAL_GRAYSCALE,

  Gdk::VISUAL_STATIC_COLOR,

  Gdk::VISUAL_PSEUDO_COLOR,

  Gdk::VISUAL_TRUE_COLOR,

  Gdk::VISUAL_DIRECT_COLOR

}
 A set of values that describe the manner in which the pixel values for a visual are converted into RGB values for display. More...

 
enum  Gdk::WindowState {

  Gdk::WINDOW_STATE_WITHDRAWN = 1 << 0,

  Gdk::WINDOW_STATE_ICONIFIED = 1 << 1,

  Gdk::WINDOW_STATE_MAXIMIZED = 1 << 2,

  Gdk::WINDOW_STATE_STICKY = 1 << 3,

  Gdk::WINDOW_STATE_FULLSCREEN = 1 << 4,

  Gdk::WINDOW_STATE_ABOVE = 1 << 5,

  Gdk::WINDOW_STATE_BELOW = 1 << 6,

  Gdk::WINDOW_STATE_FOCUSED = 1 << 7,

  Gdk::WINDOW_STATE_TILED = 1 << 8

}
 Specifies the state of a toplevel window. More...

 
enum  Gdk::WindowType {

  Gdk::WINDOW_ROOT,

  Gdk::WINDOW_TOPLEVEL,

  Gdk::WINDOW_CHILD,

  Gdk::WINDOW_TEMP,

  Gdk::WINDOW_FOREIGN,

  Gdk::WINDOW_OFFSCREEN

}
 Describes the kind of window. More...

 
enum  Gdk::WindowAttributesType {

  Gdk::WA_TITLE = 1 << 1,

  Gdk::WA_X = 1 << 2,

  Gdk::WA_Y = 1 << 3,

  Gdk::WA_CURSOR = 1 << 4,

  Gdk::WA_VISUAL = 1 << 5,

  Gdk::WA_WMCLASS = 1 << 6,

  Gdk::WA_NOREDIR = 1 << 7,

  Gdk::WA_TYPE_HINT = 1 << 8

}
 Used to indicate which fields in the Gdk::WindowAttr struct should be honored. More...

 
enum  Gdk::WindowHints {

  Gdk::HINT_POS = 1 << 0,

  Gdk::HINT_MIN_SIZE = 1 << 1,

  Gdk::HINT_MAX_SIZE = 1 << 2,

  Gdk::HINT_BASE_SIZE = 1 << 3,

  Gdk::HINT_ASPECT = 1 << 4,

  Gdk::HINT_RESIZE_INC = 1 << 5,

  Gdk::HINT_WIN_GRAVITY = 1 << 6,

  Gdk::HINT_USER_POS = 1 << 7,

  Gdk::HINT_USER_SIZE = 1 << 8

}
 Used to indicate which fields of a Gdk::Geometry struct should be paid attention to. More...

 
enum  Gdk::WindowTypeHint {

  Gdk::WINDOW_TYPE_HINT_NORMAL,

  Gdk::WINDOW_TYPE_HINT_DIALOG,

  Gdk::WINDOW_TYPE_HINT_MENU,

  Gdk::WINDOW_TYPE_HINT_TOOLBAR,

  Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN,

  Gdk::WINDOW_TYPE_HINT_UTILITY,

  Gdk::WINDOW_TYPE_HINT_DOCK,

  Gdk::WINDOW_TYPE_HINT_DESKTOP,

  Gdk::WINDOW_TYPE_HINT_DROPDOWN_MENU,

  Gdk::WINDOW_TYPE_HINT_POPUP_MENU,

  Gdk::WINDOW_TYPE_HINT_TOOLTIP,

  Gdk::WINDOW_TYPE_HINT_NOTIFICATION,

  Gdk::WINDOW_TYPE_HINT_COMBO,

  Gdk::WINDOW_TYPE_HINT_DND

}
 These are hints for the window manager that indicate what type of function the window has. More...

 
enum  Gdk::WMDecoration {

  Gdk::DECOR_ALL = 1 << 0,

  Gdk::DECOR_BORDER = 1 << 1,

  Gdk::DECOR_RESIZEH = 1 << 2,

  Gdk::DECOR_TITLE = 1 << 3,

  Gdk::DECOR_MENU = 1 << 4,

  Gdk::DECOR_MINIMIZE = 1 << 5,

  Gdk::DECOR_MAXIMIZE = 1 << 6

}
 These are hints originally defined by the Motif toolkit. More...

 
enum  Gdk::WMFunction {

  Gdk::FUNC_ALL = 1 << 0,

  Gdk::FUNC_RESIZE = 1 << 1,

  Gdk::FUNC_MOVE = 1 << 2,

  Gdk::FUNC_MINIMIZE = 1 << 3,

  Gdk::FUNC_MAXIMIZE = 1 << 4,

  Gdk::FUNC_CLOSE = 1 << 5

}
 These are hints originally defined by the Motif toolkit. More...

 
enum  Gdk::WindowEdge {

  Gdk::WINDOW_EDGE_NORTH_WEST,

  Gdk::WINDOW_EDGE_NORTH,

  Gdk::WINDOW_EDGE_NORTH_EAST,

  Gdk::WINDOW_EDGE_WEST,

  Gdk::WINDOW_EDGE_EAST,

  Gdk::WINDOW_EDGE_SOUTH_WEST,

  Gdk::WINDOW_EDGE_SOUTH,

  Gdk::WINDOW_EDGE_SOUTH_EAST

}
 Determines a window edge or corner. More...

 
enum  Gdk::FullscreenMode {

  Gdk::FULLSCREEN_ON_CURRENT_MONITOR,

  Gdk::FULLSCREEN_ON_ALL_MONITORS

}
 Indicates which monitor (in a multi-head setup) a window should span over when in fullscreen mode. 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)
 
DragAction Gdk::operator| (DragAction lhs, DragAction rhs)
 
DragAction Gdk::operator& (DragAction lhs, DragAction rhs)
 
DragAction Gdk::operator^ (DragAction lhs, DragAction rhs)
 
DragAction Gdk::operator~ (DragAction flags)
 
DragAction& Gdk::operator|= (DragAction& lhs, DragAction rhs)
 
DragAction& Gdk::operator&= (DragAction& lhs, DragAction rhs)
 
DragAction& Gdk::operator^= (DragAction& lhs, DragAction rhs)
 
ModifierType Gdk::operator| (ModifierType lhs, ModifierType rhs)
 
ModifierType Gdk::operator& (ModifierType lhs, ModifierType rhs)
 
ModifierType Gdk::operator^ (ModifierType lhs, ModifierType rhs)
 
ModifierType Gdk::operator~ (ModifierType flags)
 
ModifierType& Gdk::operator|= (ModifierType& lhs, ModifierType rhs)
 
ModifierType& Gdk::operator&= (ModifierType& lhs, ModifierType rhs)
 
ModifierType& Gdk::operator^= (ModifierType& lhs, ModifierType rhs)
 
WindowState Gdk::operator| (WindowState lhs, WindowState rhs)
 
WindowState Gdk::operator& (WindowState lhs, WindowState rhs)
 
WindowState Gdk::operator^ (WindowState lhs, WindowState rhs)
 
WindowState Gdk::operator~ (WindowState flags)
 
WindowState& Gdk::operator|= (WindowState& lhs, WindowState rhs)
 
WindowState& Gdk::operator&= (WindowState& lhs, WindowState rhs)
 
WindowState& Gdk::operator^= (WindowState& lhs, WindowState rhs)
 
WindowAttributesType Gdk::operator| (WindowAttributesType lhs, WindowAttributesType rhs)
 
WindowAttributesType Gdk::operator& (WindowAttributesType lhs, WindowAttributesType rhs)
 
WindowAttributesType Gdk::operator^ (WindowAttributesType lhs, WindowAttributesType rhs)
 
WindowAttributesType Gdk::operator~ (WindowAttributesType flags)
 
WindowAttributesType& Gdk::operator|= (WindowAttributesType& lhs, WindowAttributesType rhs)
 
WindowAttributesType& Gdk::operator&= (WindowAttributesType& lhs, WindowAttributesType rhs)
 
WindowAttributesType& Gdk::operator^= (WindowAttributesType& lhs, WindowAttributesType rhs)
 
WindowHints Gdk::operator| (WindowHints lhs, WindowHints rhs)
 
WindowHints Gdk::operator& (WindowHints lhs, WindowHints rhs)
 
WindowHints Gdk::operator^ (WindowHints lhs, WindowHints rhs)
 
WindowHints Gdk::operator~ (WindowHints flags)
 
WindowHints& Gdk::operator|= (WindowHints& lhs, WindowHints rhs)
 
WindowHints& Gdk::operator&= (WindowHints& lhs, WindowHints rhs)
 
WindowHints& Gdk::operator^= (WindowHints& lhs, WindowHints 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)
 

Detailed Description

Enumeration Type Documentation

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

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_LAST 

a constant equal to the numerically highest axis value.

A set of values describing the possible byte-orders for storing pixel values in memory.

Enumerator
LSB_FIRST 

The values are stored with the least-significant bytefirst.

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

MSB_FIRST 

The values are stored with the most-significant bytefirst.

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

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

Currently only RGB is supported.

Enumerator
COLORSPACE_RGB 

Indicates a red/green/blue additive color space.

The standard cursors available.

Enumerator
X_CURSOR 

<inlinegraphic format="PNG" fileref="cursor.png"></inlinegraphic>.

ARROW 

<inlinegraphic format="PNG" fileref="arrow.png"></inlinegraphic>.

BASED_ARROW_DOWN 

<inlinegraphic format="PNG" fileref="based_arrow_down.png"></inlinegraphic>.

BASED_ARROW_UP 

<inlinegraphic format="PNG" fileref="based_arrow_up.png"></inlinegraphic>.

BOAT 

<inlinegraphic format="PNG" fileref="boat.png"></inlinegraphic>.

BOGOSITY 

<inlinegraphic format="PNG" fileref="bogosity.png"></inlinegraphic>.

BOTTOM_LEFT_CORNER 

<inlinegraphic format="PNG" fileref="bottom_left_corner.png"></inlinegraphic>.

BOTTOM_RIGHT_CORNER 

<inlinegraphic format="PNG" fileref="bottom_right_corner.png"></inlinegraphic>.

BOTTOM_SIDE 

<inlinegraphic format="PNG" fileref="bottom_side.png"></inlinegraphic>.

BOTTOM_TEE 

<inlinegraphic format="PNG" fileref="bottom_tee.png"></inlinegraphic>.

BOX_SPIRAL 

<inlinegraphic format="PNG" fileref="box_spiral.png"></inlinegraphic>.

CENTER_PTR 

<inlinegraphic format="PNG" fileref="center_ptr.png"></inlinegraphic>.

CIRCLE 

<inlinegraphic format="PNG" fileref="circle.png"></inlinegraphic>.

CLOCK 

<inlinegraphic format="PNG" fileref="clock.png"></inlinegraphic>.

COFFEE_MUG 

<inlinegraphic format="PNG" fileref="coffee_mug.png"></inlinegraphic>.

CROSS 

<inlinegraphic format="PNG" fileref="cross.png"></inlinegraphic>.

CROSS_REVERSE 

<inlinegraphic format="PNG" fileref="cross_reverse.png"></inlinegraphic>.

CROSSHAIR 

<inlinegraphic format="PNG" fileref="crosshair.png"></inlinegraphic>.

DIAMOND_CROSS 

<inlinegraphic format="PNG" fileref="diamond_cross.png"></inlinegraphic>.

DOT 

<inlinegraphic format="PNG" fileref="dot.png"></inlinegraphic>.

DOTBOX 

<inlinegraphic format="PNG" fileref="dotbox.png"></inlinegraphic>.

DOUBLE_ARROW 

<inlinegraphic format="PNG" fileref="double_arrow.png"></inlinegraphic>.

DRAFT_LARGE 

<inlinegraphic format="PNG" fileref="draft_large.png"></inlinegraphic>.

DRAFT_SMALL 

<inlinegraphic format="PNG" fileref="draft_small.png"></inlinegraphic>.

DRAPED_BOX 

<inlinegraphic format="PNG" fileref="draped_box.png"></inlinegraphic>.

EXCHANGE 

<inlinegraphic format="PNG" fileref="exchange.png"></inlinegraphic>.

FLEUR 

<inlinegraphic format="PNG" fileref="fleur.png"></inlinegraphic>.

GOBBLER 

<inlinegraphic format="PNG" fileref="gobbler.png"></inlinegraphic>.

GUMBY 

<inlinegraphic format="PNG" fileref="gumby.png"></inlinegraphic>.

HAND1 

<inlinegraphic format="PNG" fileref="hand1.png"></inlinegraphic>.

HAND2 

<inlinegraphic format="PNG" fileref="hand2.png"></inlinegraphic>.

HEART 

<inlinegraphic format="PNG" fileref="heart.png"></inlinegraphic>.

ICON 

<inlinegraphic format="PNG" fileref="icon.png"></inlinegraphic>.

IRON_CROSS 

<inlinegraphic format="PNG" fileref="iron_cross.png"></inlinegraphic>.

LEFT_PTR 

<inlinegraphic format="PNG" fileref="left_ptr.png"></inlinegraphic>.

LEFT_SIDE 

<inlinegraphic format="PNG" fileref="left_side.png"></inlinegraphic>.

LEFT_TEE 

<inlinegraphic format="PNG" fileref="left_tee.png"></inlinegraphic>.

LEFTBUTTON 

<inlinegraphic format="PNG" fileref="leftbutton.png"></inlinegraphic>.

LL_ANGLE 

<inlinegraphic format="PNG" fileref="ll_angle.png"></inlinegraphic>.

LR_ANGLE 

<inlinegraphic format="PNG" fileref="lr_angle.png"></inlinegraphic>.

MAN 

<inlinegraphic format="PNG" fileref="man.png"></inlinegraphic>.

MIDDLEBUTTON 

<inlinegraphic format="PNG" fileref="middlebutton.png"></inlinegraphic>.

MOUSE 

<inlinegraphic format="PNG" fileref="mouse.png"></inlinegraphic>.

PENCIL 

<inlinegraphic format="PNG" fileref="pencil.png"></inlinegraphic>.

PIRATE 

<inlinegraphic format="PNG" fileref="pirate.png"></inlinegraphic>.

PLUS 

<inlinegraphic format="PNG" fileref="plus.png"></inlinegraphic>.

QUESTION_ARROW 

<inlinegraphic format="PNG" fileref="question_arrow.png"></inlinegraphic>.

RIGHT_PTR 

<inlinegraphic format="PNG" fileref="right_ptr.png"></inlinegraphic>.

RIGHT_SIDE 

<inlinegraphic format="PNG" fileref="right_side.png"></inlinegraphic>.

RIGHT_TEE 

<inlinegraphic format="PNG" fileref="right_tee.png"></inlinegraphic>.

RIGHTBUTTON 

<inlinegraphic format="PNG" fileref="rightbutton.png"></inlinegraphic>.

RTL_LOGO 

<inlinegraphic format="PNG" fileref="rtl_logo.png"></inlinegraphic>.

SAILBOAT 

<inlinegraphic format="PNG" fileref="sailboat.png"></inlinegraphic>.

SB_DOWN_ARROW 

<inlinegraphic format="PNG" fileref="sb_down_arrow.png"></inlinegraphic>.

SB_H_DOUBLE_ARROW 

<inlinegraphic format="PNG" fileref="sb_h_double_arrow.png"></inlinegraphic>.

SB_LEFT_ARROW 

<inlinegraphic format="PNG" fileref="sb_left_arrow.png"></inlinegraphic>.

SB_RIGHT_ARROW 

<inlinegraphic format="PNG" fileref="sb_right_arrow.png"></inlinegraphic>.

SB_UP_ARROW 

<inlinegraphic format="PNG" fileref="sb_up_arrow.png"></inlinegraphic>.

SB_V_DOUBLE_ARROW 

<inlinegraphic format="PNG" fileref="sb_v_double_arrow.png"></inlinegraphic>.

SHUTTLE 

<inlinegraphic format="PNG" fileref="shuttle.png"></inlinegraphic>.

SIZING 

<inlinegraphic format="PNG" fileref="sizing.png"></inlinegraphic>.

SPIDER 

<inlinegraphic format="PNG" fileref="spider.png"></inlinegraphic>.

SPRAYCAN 

<inlinegraphic format="PNG" fileref="spraycan.png"></inlinegraphic>.

STAR 

<inlinegraphic format="PNG" fileref="star.png"></inlinegraphic>.

TARGET 

<inlinegraphic format="PNG" fileref="target.png"></inlinegraphic>.

TCROSS 

<inlinegraphic format="PNG" fileref="tcross.png"></inlinegraphic>.

TOP_LEFT_ARROW 

<inlinegraphic format="PNG" fileref="top_left_arrow.png"></inlinegraphic>.

TOP_LEFT_CORNER 

<inlinegraphic format="PNG" fileref="top_left_corner.png"></inlinegraphic>.

TOP_RIGHT_CORNER 

<inlinegraphic format="PNG" fileref="top_right_corner.png"></inlinegraphic>.

TOP_SIDE 

<inlinegraphic format="PNG" fileref="top_side.png"></inlinegraphic>.

TOP_TEE 

<inlinegraphic format="PNG" fileref="top_tee.png"></inlinegraphic>.

TREK 

<inlinegraphic format="PNG" fileref="trek.png"></inlinegraphic>.

UL_ANGLE 

<inlinegraphic format="PNG" fileref="ul_angle.png"></inlinegraphic>.

UMBRELLA 

<inlinegraphic format="PNG" fileref="umbrella.png"></inlinegraphic>.

UR_ANGLE 

<inlinegraphic format="PNG" fileref="ur_angle.png"></inlinegraphic>.

WATCH 

<inlinegraphic format="PNG" fileref="watch.png"></inlinegraphic>.

XTERM 

<inlinegraphic format="PNG" fileref="xterm.png"></inlinegraphic>.

LAST_CURSOR 

last cursor type.

BLANK_CURSOR 

Blank cursor.

Since 2.16.

CURSOR_IS_PIXMAP 

type of cursors constructed withgdk_cursor_new_from_pixbuf().

Indicates the device type.

See above for more information about the meaning of these device types.

Enumerator
DEVICE_TYPE_MASTER 

Device is a master (or virtual) device.

There willbe 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 toany virtual device.

Used in Gdk::DragContext 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
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 deleteit from the source using the DELETE target of the X selection protocol.

ACTION_LINK 

Add a link to the data.

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

ACTION_PRIVATE 

Special action which tells the source that thedestination will do something that the source doesn't understand.

ACTION_ASK 

Ask the user what to do with the data.

Used in Gdk::DragContext to indicate the protocol according to which DND is done.

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 forunclaimed root window drops.

DRAG_PROTO_WIN32_DROPFILES 

The simple DROPFILES protocol.

DRAG_PROTO_OLE2 

The complex OLE2 DND protocol (not implemented).

DRAG_PROTO_LOCAL 

Intra-application DND.

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

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

Gdk::POINTER_MOTION_HINT_MASK is a special mask which is used to reduce the number of Gdk::MOTION_NOTIFY events received. Normally a Gdk::MOTION_NOTIFY event is received each time the mouse moves. However, if the application spends a lot of time processing the event (updating the display, for example), it can lag behind the position of the mouse. When using Gdk::POINTER_MOTION_HINT_MASK, fewer Gdk::MOTION_NOTIFY events will be sent, some of which are marked as a hint (the is_hint member is true). To receive more motion events after a motion hint event, the application needs to asks for more, by calling Gdk::Event::request_motions().

If Gdk::TOUCH_MASK is enabled, the window will receive touch events from touch-enabled devices. Those will come as sequences of Gdk::EventTouch with type Gdk::TOUCH_UPDATE, enclosed by two events with type Gdk::TOUCH_BEGIN and Gdk::TOUCH_END (or Gdk::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.

POINTER_MOTION_HINT_MASK 

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 ofchild windows.

SCROLL_MASK 

receive scroll events.

TOUCH_MASK 

receive touch events.

Since 3.4.

SMOOTH_SCROLL_MASK 

receive smooth scrolling events.

Since 3.4.

ALL_EVENTS_MASK 

the combination of all the above event masks.

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.

In some language bindings, the values Gdk::2BUTTON_PRESS and Gdk::3BUTTON_PRESS would translate into something syntactically invalid (eg Gdk.EventType.2ButtonPress, where a symbol is not allowed to start with a number). In that case, the aliases Gdk::DOUBLE_BUTTON_PRESS and Gdk::TRIPLE_BUTTON_PRESS can be used instead.

Enumerator
NOTHING 

a special code to indicate a null event.

DELETE 

the window manager has requested that the toplevel window behidden or destroyed, usually when the user clicks on a special icon in thetitle bar.

DESTROY 

the window has been destroyed.

EXPOSE 

all or part of the window has become visible and needs to beredrawn.

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 twicewithin a short period of time).

Note that each click also generates aButton::PRESS event.

TRIPLE_BUTTON_PRESS 

a mouse button has been clicked 3 times in a short periodof time.

Note that each click also generates a 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 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 sensingsurface (e.g.

a touchscreen or graphics tablet).

PROXIMITY_OUT 

an input device has moved out of contact with a sensingsurface.

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

DRAG_STATUS 

the status of the drag operation initiated by the windowhas 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::WindowStatefor the possible window states.

SETTING 

a setting has been modified.

OWNER_CHANGE 

the owner of a selection has changed.

This event typewas added in 2.6.

GRAB_BROKEN 

a pointer or keyboard grab was broken.

This event typewas added in 2.8.

DAMAGE 

the content of the window has been changed.

This event typewas added in 2.14.

TOUCH_BEGIN 

A new touch event sequence has just started.

This eventtype was added in 3.4.

TOUCH_UPDATE 

A touch event sequence has been updated.

This event typewas added in 3.4.

TOUCH_END 

A touch event sequence has finished.

This event typewas added in 3.4.

TOUCH_CANCEL 

A touch event sequence has been canceled.

This event typewas added in 3.4.

EVENT_LAST 

marks the end of the GdkEventType enumeration.

Added in 2.18.

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

Since gtkmm 3.8:
Enumerator
FULLSCREEN_ON_CURRENT_MONITOR 

Fullscreen on current monitor only.

FULLSCREEN_ON_ALL_MONITORS 

Span across all monitors when fullscreen.

Defines how device grabs interact with other devices.

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.

Returned by Gdk::Device::grab(), gdk_pointer_grab() and gdk_keyboard_grab() to indicate success or the reason for the failure of the grab attempt.

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 thespecified time.

GRAB_NOT_VIEWABLE 

the grab window or the confine_to window are notviewable.

GRAB_FROZEN 

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

An enumeration that describes the mode of an input device.

Enumerator
MODE_DISABLED 

the device is disabled and will not report any events.

MODE_SCREEN 

the device is enabled.

The device's coordinate spacemaps to the entire screen.

MODE_WINDOW 

the device is enabled.

The device's coordinate spaceis mapped to a single window. The manner in which this windowis chosen is undefined, but it will typically be the sameway in which the focus window for key events is determined.

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

Enumerator
SOURCE_MOUSE 

the device is a mouse.

(This will be reported for the corepointer, 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 endof 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, suchas a touchscreen or tablet.

This device type has been added in 3.4.

SOURCE_TOUCHPAD 

the device is an indirect touch device, suchas a touchpad.

This device type has been added in 3.4.

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. </note>

Enumerator
INTERP_NEAREST 

Nearest neighbor sampling; this is the fastestand 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 PostScriptimage operator without any interpolation enabled.

Each pixel isrendered as a tiny parallelogram of solid color, the edges of whichare implemented with antialiasing. It resembles nearest neighbor forenlargement, and bilinear for reduction.

INTERP_BILINEAR 

Best quality/speed balance; use this mode bydefault.

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

INTERP_HYPER 

This is the slowest and highest qualityreconstruction function.

It is derived from the hyperbolic filters inWolberg's "Digital Image Warping", and is formally defined as thehyperbolic-filter sampling the ideal hyperbolic-filter interpolatedimage (the filter is designed to be idempotent for 1:1 pixel mapping).

This enum is used with Gdk::Keymap::get_modifier_mask() and gdk_get_modifier_mask() in order to determine what modifiers the currently used windowing system backend uses for particular purposes.

For example, on X11/Windows, the Control key is used for invoking menu shortcuts (accelerators), whereas on Apple computers it's the Command key (which correspond to Gdk::CONTROL_MASK and Gdk::MOD2_MASK, respectively).

Since gtkmm 3.4:
Enumerator
MODIFIER_INTENT_PRIMARY_ACCELERATOR 

the primary modifier used to invokemenu accelerators.

MODIFIER_INTENT_CONTEXT_MENU 

the modifier used to invoke context menus.Note that mouse button 3 always triggers context menus.

When this modifieris not 0, it additionally triggers context menus when usedwith mouse button 1.

MODIFIER_INTENT_EXTEND_SELECTION 

the modifier used to extend selectionsusing <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, thekey event cannot produce a symbol directly.

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

MODIFIER_INTENT_SHIFT_GROUP 

the modifier that switches between keyboardgroups (AltGr on X11/Windows and Option/Alt on OS X).

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.

Since 2.10, GDK recognizes which of the Meta, Super or Hyper keys are mapped to Mod2 - Mod5, and indicates this by setting Gdk::SUPER_MASK, Gdk::HYPER_MASK or Gdk::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::MODIFIER_RESERVED_13_MASK. Your code should preserve and ignore them. You can use Gdk::MODIFIER_MASK to remove all reserved values.

Bitwise operators:
ModifierType operator|(ModifierType, ModifierType)

ModifierType operator&(ModifierType, ModifierType)

ModifierType operator^(ModifierType, ModifierType)

ModifierType operator~(ModifierType)

ModifierType& operator|=(ModifierType&, ModifierType)

ModifierType& operator&=(ModifierType&, ModifierType)

ModifierType& operator^=(ModifierType&, ModifierType)

Enumerator
SHIFT_MASK 

the Shift key.

LOCK_MASK 

a Lock key (depending on the modifier mapping of theX server this may either be CapsLock or ShiftLock).

CONTROL_MASK 

the Control key.

MOD1_MASK 

the fourth modifier key (it depends on the modifiermapping of the X server which key is interpreted as this modifier, butnormally it is the Alt key).

MOD2_MASK 

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

MOD3_MASK 

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

MOD4_MASK 

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

MOD5_MASK 

the eighth modifier key (it depends on the modifiermapping 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 
MODIFIER_RESERVED_15_MASK 
MODIFIER_RESERVED_16_MASK 
MODIFIER_RESERVED_17_MASK 
MODIFIER_RESERVED_18_MASK 
MODIFIER_RESERVED_19_MASK 
MODIFIER_RESERVED_20_MASK 
MODIFIER_RESERVED_21_MASK 
MODIFIER_RESERVED_22_MASK 
MODIFIER_RESERVED_23_MASK 
MODIFIER_RESERVED_24_MASK 
MODIFIER_RESERVED_25_MASK 
SUPER_MASK 

the Super modifier.

Since 2.10.

HYPER_MASK 

the Hyper modifier.

Since 2.10.

META_MASK 

the Meta modifier.

Since 2.10.

MODIFIER_RESERVED_29_MASK 
RELEASE_MASK 

not used in GDK itself.

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

MODIFIER_MASK 

a mask covering all modifier types.

These values can be passed to gdk_pixbuf_render_to_drawable_alpha() to control how the alpha channel of an image should be handled.

This function can create a bilevel clipping mask (black and white) and use it while painting the image. In the future, when the X Window System gets an alpha channel extension, it will be possible to do full alpha compositing onto arbitrary drawables. For now both cases fall back to a bilevel clipping mask.

Enumerator
PIXBUF_ALPHA_BILEVEL 

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

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

PIXBUF_ALPHA_FULL 

For now falls back to Pixbuf::ALPHA_BILEVEL.In the future it will do full alpha compositing.

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

Enumerator
OK 
ERROR 
ERROR_PARAM 
ERROR_FILE 
ERROR_MEM 

A set of values that describe the manner in which the pixel values for a visual are converted into RGB values for display.

Enumerator
VISUAL_STATIC_GRAY 

Each pixel value indexes a grayscale valuedirectly.

VISUAL_GRAYSCALE 

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

The color map can bechanged 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 thatmaps pixel values into rgb values.

The color map can be changed byan 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 intoa pixel value.

VISUAL_DIRECT_COLOR 

Each pixel value contains red, green, and bluecomponents as for Visual::TRUE_COLOR, but the components aremapped via a color table into the final output table instead ofbeing converted directly.

Used to indicate which fields in the Gdk::WindowAttr struct should be honored.

For example, if you filled in the "cursor" and "x" fields of Gdk::WindowAttr, pass " @a GDK_WA_X | @a GDK_WA_CURSOR" to Gdk::Window::new(). Fields in Gdk::WindowAttr not covered by a bit in this enum are required; for example, the width/ height, wclass, and window_type fields are required, they have no corresponding flag in Gdk::WindowAttributesType.

Bitwise operators:
WindowAttributesType operator|(WindowAttributesType, WindowAttributesType)

WindowAttributesType operator&(WindowAttributesType, WindowAttributesType)

WindowAttributesType operator^(WindowAttributesType, WindowAttributesType)

WindowAttributesType operator~(WindowAttributesType)

WindowAttributesType& operator|=(WindowAttributesType&, WindowAttributesType)

WindowAttributesType& operator&=(WindowAttributesType&, WindowAttributesType)

WindowAttributesType& operator^=(WindowAttributesType&, 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.

Determines a window edge or corner.

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.

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:
WindowHints operator|(WindowHints, WindowHints)

WindowHints operator&(WindowHints, WindowHints)

WindowHints operator^(WindowHints, WindowHints)

WindowHints operator~(WindowHints)

WindowHints& operator|=(WindowHints&, WindowHints)

WindowHints& operator&=(WindowHints&, WindowHints)

WindowHints& operator^=(WindowHints&, 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 setby the user.

HINT_USER_SIZE 

indicates that the window's size was explicitly set bythe user.

Specifies the state of a toplevel window.

Bitwise operators:
WindowState operator|(WindowState, WindowState)

WindowState operator&(WindowState, WindowState)

WindowState operator^(WindowState, WindowState)

WindowState operator~(WindowState)

WindowState& operator|=(WindowState&, WindowState)

WindowState& operator&=(WindowState&, WindowState)

WindowState& operator^=(WindowState&, 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 withoutdecorations.

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 

Describes the kind of window.

A Gtk::Window can be one of these types.

Most things you'd consider a "window" should have type Gtk::WINDOW_TOPLEVEL; windows with this type are managed by the window manager and have a frame by default (call Gtk::Window::set_decorated() to toggle the frame). Windows with type Gtk::WINDOW_POPUP are ignored by the window manager; window manager keybindings won't work on them, the window manager won't decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize grips and maximization/minimization). Gtk::WINDOW_POPUP is used to implement widgets such as Gtk::Menu or tooltips that you normally don't think of as windows per se. Nearly all windows should be Gtk::WINDOW_TOPLEVEL. In particular, do not use Gtk::WINDOW_POPUP just to turn off the window borders; use Gtk::Window::set_decorated() for that.

Enumerator
WINDOW_ROOT 

root window; this window has no parent, covers the entirescreen, 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 implementGtk::Menu).

WINDOW_FOREIGN 

foreign window (see gdk_window_foreign_new()).

WINDOW_OFFSCREEN 

offscreen window (see<xref linkend="OFFSCREEN-WINDOWS">).

Since 2.18.

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
WINDOW_TYPE_HINT_NORMAL 

Normal toplevel window.

WINDOW_TYPE_HINT_DIALOG 

Dialog window.

WINDOW_TYPE_HINT_MENU 

Window used to implement a menu; GTK+ usesthis 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 splashscreen during application startup.

WINDOW_TYPE_HINT_UTILITY 

Utility windows which are not detachedtoolbars or dialogs.

WINDOW_TYPE_HINT_DOCK 

Used for creating dock or panel windows.

WINDOW_TYPE_HINT_DESKTOP 

Used for creating the desktop backgroundwindow.

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.

These are hints originally defined by the Motif toolkit.

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

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

These are hints originally defined by the Motif toolkit.

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

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

DragAction Gdk::operator& ( DragAction  lhs,
DragAction  rhs 
)
inline
WindowState Gdk::operator& ( WindowState  lhs,
WindowState  rhs 
)
inline
EventMask Gdk::operator& ( EventMask  lhs,
EventMask  rhs 
)
inline
ModifierType Gdk::operator& ( ModifierType  lhs,
ModifierType  rhs 
)
inline
WindowAttributesType Gdk::operator& ( WindowAttributesType  lhs,
WindowAttributesType  rhs 
)
inline
WindowHints Gdk::operator& ( WindowHints  lhs,
WindowHints  rhs 
)
inline
WMDecoration Gdk::operator& ( WMDecoration  lhs,
WMDecoration  rhs 
)
inline
WMFunction Gdk::operator& ( WMFunction  lhs,
WMFunction  rhs 
)
inline
DragAction& Gdk::operator&= ( DragAction &  lhs,
DragAction  rhs 
)
inline
WindowState& Gdk::operator&= ( WindowState &  lhs,
WindowState  rhs 
)
inline
EventMask& Gdk::operator&= ( EventMask &  lhs,
EventMask  rhs 
)
inline
ModifierType& Gdk::operator&= ( ModifierType &  lhs,
ModifierType  rhs 
)
inline
WindowAttributesType& Gdk::operator&= ( WindowAttributesType &  lhs,
WindowAttributesType  rhs 
)
inline
WindowHints& Gdk::operator&= ( WindowHints &  lhs,
WindowHints  rhs 
)
inline
WMDecoration& Gdk::operator&= ( WMDecoration &  lhs,
WMDecoration  rhs 
)
inline
WMFunction& Gdk::operator&= ( WMFunction &  lhs,
WMFunction  rhs 
)
inline
DragAction Gdk::operator^ ( DragAction  lhs,
DragAction  rhs 
)
inline
WindowState Gdk::operator^ ( WindowState  lhs,
WindowState  rhs 
)
inline
EventMask Gdk::operator^ ( EventMask  lhs,
EventMask  rhs 
)
inline
ModifierType Gdk::operator^ ( ModifierType  lhs,
ModifierType  rhs 
)
inline
WindowAttributesType Gdk::operator^ ( WindowAttributesType  lhs,
WindowAttributesType  rhs 
)
inline
WindowHints Gdk::operator^ ( WindowHints  lhs,
WindowHints  rhs 
)
inline
WMDecoration Gdk::operator^ ( WMDecoration  lhs,
WMDecoration  rhs 
)
inline
WMFunction Gdk::operator^ ( WMFunction  lhs,
WMFunction  rhs 
)
inline
DragAction& Gdk::operator^= ( DragAction &  lhs,
DragAction  rhs 
)
inline
WindowState& Gdk::operator^= ( WindowState &  lhs,
WindowState  rhs 
)
inline
EventMask& Gdk::operator^= ( EventMask &  lhs,
EventMask  rhs 
)
inline
ModifierType& Gdk::operator^= ( ModifierType &  lhs,
ModifierType  rhs 
)
inline
WindowAttributesType& Gdk::operator^= ( WindowAttributesType &  lhs,
WindowAttributesType  rhs 
)
inline
WindowHints& Gdk::operator^= ( WindowHints &  lhs,
WindowHints  rhs 
)
inline
WMDecoration& Gdk::operator^= ( WMDecoration &  lhs,
WMDecoration  rhs 
)
inline
WMFunction& Gdk::operator^= ( WMFunction &  lhs,
WMFunction  rhs 
)
inline
DragAction Gdk::operator| ( DragAction  lhs,
DragAction  rhs 
)
inline
WindowState Gdk::operator| ( WindowState  lhs,
WindowState  rhs 
)
inline
EventMask Gdk::operator| ( EventMask  lhs,
EventMask  rhs 
)
inline
ModifierType Gdk::operator| ( ModifierType  lhs,
ModifierType  rhs 
)
inline
WindowAttributesType Gdk::operator| ( WindowAttributesType  lhs,
WindowAttributesType  rhs 
)
inline
WindowHints Gdk::operator| ( WindowHints  lhs,
WindowHints  rhs 
)
inline
WMDecoration Gdk::operator| ( WMDecoration  lhs,
WMDecoration  rhs 
)
inline
WMFunction Gdk::operator| ( WMFunction  lhs,
WMFunction  rhs 
)
inline
DragAction& Gdk::operator|= ( DragAction &  lhs,
DragAction  rhs 
)
inline
WindowState& Gdk::operator|= ( WindowState &  lhs,
WindowState  rhs 
)
inline
EventMask& Gdk::operator|= ( EventMask &  lhs,
EventMask  rhs 
)
inline
ModifierType& Gdk::operator|= ( ModifierType &  lhs,
ModifierType  rhs 
)
inline
WindowAttributesType& Gdk::operator|= ( WindowAttributesType &  lhs,
WindowAttributesType  rhs 
)
inline
WindowHints& Gdk::operator|= ( WindowHints &  lhs,
WindowHints  rhs 
)
inline
WMDecoration& Gdk::operator|= ( WMDecoration &  lhs,
WMDecoration  rhs 
)
inline
WMFunction& Gdk::operator|= ( WMFunction &  lhs,
WMFunction  rhs 
)
inline
DragAction Gdk::operator~ ( DragAction  flags)
inline
WindowState Gdk::operator~ ( WindowState  flags)
inline
EventMask Gdk::operator~ ( EventMask  flags)
inline
ModifierType Gdk::operator~ ( ModifierType  flags)
inline
WindowAttributesType Gdk::operator~ ( WindowAttributesType  flags)
inline
WindowHints Gdk::operator~ ( WindowHints  flags)
inline
WMDecoration Gdk::operator~ ( WMDecoration  flags)
inline
WMFunction Gdk::operator~ ( WMFunction  flags)
inline