gtkmm 4.12.0
Namespaces | Classes | Enumerations | Functions
Gdk Namespace Reference

Namespaces

namespace  Cairo
 
namespace  Graphene
 Types for graphic libraries.
 

Classes

class  AppLaunchContext
 This is an implementation of Gio::AppLaunchContext that handles launching an application in a graphical context. More...
 
class  CairoContext
 Cairo draw context. More...
 
class  Clipboard
 Share data between applications for Copy-and-Paste. More...
 
class  ContentFormats
 Advertising and negotiating of content exchange formats. More...
 
class  ContentFormatsBuilder
 Helper class for building Gdk::ContentFormats. More...
 
class  ContentProvider
 Provides content for data transfer between applications. 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  DevicePad
 Pad device interface. More...
 
class  DeviceTool
 A physical tool associated to a Gdk::Device. More...
 
class  DeviceWithPad
 A Gdk::DeviceWithPad is a Gdk::Device that implements the Gdk::DevicePad interface. 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::Monitor(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  Drag
 A Gdk::Drag object represents the source of an ongoing DND operation. More...
 
class  DragSurface
 Interface for drag surface surfaces. More...
 
class  DragSurfaceImpl
 Gdk::DragSurfaceImpl is a Gdk::Surface that implements the Gdk::DragSurface interface. More...
 
class  DragSurfaceSize
 Information for computing drag surface size. More...
 
class  DrawContext
 Drawing context base class. More...
 
class  Drop
 A Gdk::Drop object represents the target of an ongoing DND operation. More...
 
class  Event
 Functions for handling events from the window system. More...
 
class  FrameClock
 Synchronizes painting to a surface. 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  GLTexture
 A Gdk::Texture representing a GL texture object. More...
 
class  GLTextureBuilder
 Gdk::GLTextureBuilder is a buider used to construct Gdk::Texture objects from GL textures. More...
 
class  MemoryTexture
 A Gdk::Texture representing image data in memory. More...
 
class  Monitor
 Object representing an output. More...
 
class  Paintable
 An interface for a paintable region. 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  Popup
 Interface for popup surfaces. More...
 
class  PopupLayout
 Information for presenting popups. More...
 
class  PopupSurfaceImpl
 Gdk::PopupSurfaceImpl is a Gdk::Surface that implements the Gdk::Popup interface. More...
 
class  Rectangle
 Gdk::Rectangle is a structure holding the position and size of a rectangle. More...
 
class  RGBA
 An RGBA color. More...
 
class  Seat
 A Gdk::Seat object represents a collection of input devices that belong to a user. More...
 
class  Snapshot
 Base type for snapshot operations. More...
 
class  Surface
 Onscreen display areas in the target window system. More...
 
class  Texture
 Pixel data. More...
 
class  TextureDownloader
 The Gdk::TextureDownloader is used to download the contents of a Gdk::Texture. More...
 
class  TextureError
 
class  TimeCoord
 A Gdk::TimeCoord instance contains a single event of motion history. More...
 
class  Toplevel
 Interface for toplevel surfaces. More...
 
class  ToplevelLayout
 Information for presenting toplevels. More...
 
class  ToplevelSize
 Information for computing toplevel size. More...
 
class  ToplevelSurfaceImpl
 Gdk::ToplevelSurfaceImpl is a Gdk::Surface that implements the Gdk::Toplevel interface. More...
 

Enumerations

enum class  InputSource {
  MOUSE ,
  PEN ,
  KEYBOARD ,
  TOUCHSCREEN ,
  TOUCHPAD ,
  TRACKPOINT ,
  TABLET_PAD
}
 
enum class  DragCancelReason {
  NO_TARGET ,
  USER_CANCELLED ,
  ERROR
}
 
enum class  AxisFlags {
  X = 0x2 ,
  Y = 0x4 ,
  DELTA_X = 0x8 ,
  DELTA_Y = 0x10 ,
  PRESSURE = 0x20 ,
  XTILT = 0x40 ,
  YTILT = 0x80 ,
  WHEEL = 0x100 ,
  DISTANCE = 0x200 ,
  ROTATION = 0x400 ,
  SLIDER = 0x800
}
 
enum class  AxisUse {
  IGNORE ,
  X ,
  Y ,
  DELTA_X ,
  DELTA_Y ,
  PRESSURE ,
  XTILT ,
  YTILT ,
  WHEEL ,
  DISTANCE ,
  ROTATION ,
  SLIDER ,
  LAST
}
 
enum class  CrossingMode {
  NORMAL ,
  GRAB ,
  UNGRAB ,
  GTK_GRAB ,
  GTK_UNGRAB ,
  STATE_CHANGED ,
  TOUCH_BEGIN ,
  TOUCH_END ,
  DEVICE_SWITCH
}
 
enum class  DragAction {
  COPY = 1 << 0 ,
  MOVE = 1 << 1 ,
  LINK = 1 << 2 ,
  ASK = 1 << 3
}
 
enum class  Gravity {
  NORTH_WEST = 1 ,
  NORTH ,
  NORTH_EAST ,
  WEST ,
  CENTER ,
  EAST ,
  SOUTH_WEST ,
  SOUTH ,
  SOUTH_EAST ,
  STATIC
}
 
enum class  MemoryFormat {
  B8G8R8A8_PREMULTIPLIED ,
  A8R8G8B8_PREMULTIPLIED ,
  R8G8B8A8_PREMULTIPLIED ,
  B8G8R8A8 ,
  A8R8G8B8 ,
  R8G8B8A8 ,
  A8B8G8R8 ,
  R8G8B8 ,
  B8G8R8 ,
  R16G16B16 ,
  R16G16B16A16_PREMULTIPLIED ,
  R16G16B16A16 ,
  R16G16B16_FLOAT ,
  R16G16B16A16_FLOAT_PREMULTIPLIED ,
  R16G16B16A16_FLOAT ,
  R32G32B32_FLOAT ,
  R32G32B32A32_FLOAT_PREMULTIPLIED ,
  R32G32B32A32_FLOAT ,
  G8A8_PREMULTIPLIED ,
  G8A8 ,
  G8 ,
  G16A16_PREMULTIPLIED ,
  G16A16 ,
  G16 ,
  A8 ,
  A16 ,
  A16_FLOAT ,
  A32_FLOAT ,
  N_FORMATS
}
 
enum class  ModifierType {
  SHIFT_MASK = 1 << 0 ,
  LOCK_MASK = 1 << 1 ,
  CONTROL_MASK = 1 << 2 ,
  ALT_MASK = 1 << 3 ,
  BUTTON1_MASK = 1 << 8 ,
  BUTTON2_MASK = 1 << 9 ,
  BUTTON3_MASK = 1 << 10 ,
  BUTTON4_MASK = 1 << 11 ,
  BUTTON5_MASK = 1 << 12 ,
  SUPER_MASK = 1 << 26 ,
  HYPER_MASK = 1 << 27 ,
  META_MASK = 1 << 28
}
 
enum class  NotifyType {
  ANCESTOR ,
  VIRTUAL ,
  INFERIOR ,
  NONLINEAR ,
  NONLINEAR_VIRTUAL ,
  UNKNOWN
}
 
enum class  ScrollDirection {
  UP ,
  DOWN ,
  LEFT ,
  RIGHT ,
  SMOOTH
}
 
enum class  TouchpadGesturePhase {
  BEGIN ,
  UPDATE ,
  END ,
  CANCEL
}
 
enum class  ScrollUnit {
  WHEEL ,
  SURFACE
}
 
enum class  KeyMatch {
  NONE ,
  PARTIAL ,
  EXACT
}
 
enum class  GLApi {
  GL = 1 << 0 ,
  GLES = 1 << 1
}
 
enum class  GLAPI {
  GL = 1 << 0 ,
  GLES = 1 << 1
}
 
enum class  SubpixelLayout {
  UNKNOWN ,
  NONE ,
  HORIZONTAL_RGB ,
  HORIZONTAL_BGR ,
  VERTICAL_RGB ,
  VERTICAL_BGR
}
 
enum class  Colorspace { RGB }
 
enum class  InterpType {
  NEAREST ,
  TILES ,
  BILINEAR ,
  HYPER
}
 
enum class  AnchorHints {
  FLIP_X = 1 << 0 ,
  FLIP_Y = 1 << 1 ,
  SLIDE_X = 1 << 2 ,
  SLIDE_Y = 1 << 3 ,
  RESIZE_X = 1 << 4 ,
  RESIZE_Y = 1 << 5 ,
  FLIP = 0x3 ,
  SLIDE = 0xC ,
  RESIZE = 0x30
}
 
enum class  SurfaceEdge {
  NORTH_WEST ,
  NORTH ,
  NORTH_EAST ,
  WEST ,
  EAST ,
  SOUTH_WEST ,
  SOUTH ,
  SOUTH_EAST
}
 
enum class  FullscreenMode {
  ON_CURRENT_MONITOR ,
  ON_ALL_MONITORS
}
 

Functions

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)
 
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)
 
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)
 
FrameClock::Phase operator| (FrameClock::Phase lhs, FrameClock::Phase rhs)
 
FrameClock::Phase operator& (FrameClock::Phase lhs, FrameClock::Phase rhs)
 
FrameClock::Phase operator^ (FrameClock::Phase lhs, FrameClock::Phase rhs)
 
FrameClock::Phase operator~ (FrameClock::Phase flags)
 
FrameClock::Phaseoperator|= (FrameClock::Phase & lhs, FrameClock::Phase rhs)
 
FrameClock::Phaseoperator&= (FrameClock::Phase & lhs, FrameClock::Phase rhs)
 
FrameClock::Phaseoperator^= (FrameClock::Phase & lhs, FrameClock::Phase rhs)
 
GLApi operator| (GLApi lhs, GLApi rhs)
 
GLApi operator& (GLApi lhs, GLApi rhs)
 
GLApi operator^ (GLApi lhs, GLApi rhs)
 
GLApi operator~ (GLApi flags)
 
GLApioperator|= (GLApi & lhs, GLApi rhs)
 
GLApioperator&= (GLApi & lhs, GLApi rhs)
 
GLApioperator^= (GLApi & lhs, GLApi rhs)
 
GLAPI operator| (GLAPI lhs, GLAPI rhs)
 
GLAPI operator& (GLAPI lhs, GLAPI rhs)
 
GLAPI operator^ (GLAPI lhs, GLAPI rhs)
 
GLAPI operator~ (GLAPI flags)
 
GLAPIoperator|= (GLAPI & lhs, GLAPI rhs)
 
GLAPIoperator&= (GLAPI & lhs, GLAPI rhs)
 
GLAPIoperator^= (GLAPI & lhs, GLAPI rhs)
 
Paintable::Flags operator| (Paintable::Flags lhs, Paintable::Flags rhs)
 
Paintable::Flags operator& (Paintable::Flags lhs, Paintable::Flags rhs)
 
Paintable::Flags operator^ (Paintable::Flags lhs, Paintable::Flags rhs)
 
Paintable::Flags operator~ (Paintable::Flags flags)
 
Paintable::Flagsoperator|= (Paintable::Flags & lhs, Paintable::Flags rhs)
 
Paintable::Flagsoperator&= (Paintable::Flags & lhs, Paintable::Flags rhs)
 
Paintable::Flagsoperator^= (Paintable::Flags & lhs, Paintable::Flags 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)
 
Seat::Capabilities operator| (Seat::Capabilities lhs, Seat::Capabilities rhs)
 
Seat::Capabilities operator& (Seat::Capabilities lhs, Seat::Capabilities rhs)
 
Seat::Capabilities operator^ (Seat::Capabilities lhs, Seat::Capabilities rhs)
 
Seat::Capabilities operator~ (Seat::Capabilities flags)
 
Seat::Capabilitiesoperator|= (Seat::Capabilities & lhs, Seat::Capabilities rhs)
 
Seat::Capabilitiesoperator&= (Seat::Capabilities & lhs, Seat::Capabilities rhs)
 
Seat::Capabilitiesoperator^= (Seat::Capabilities & lhs, Seat::Capabilities rhs)
 
Toplevel::State operator| (Toplevel::State lhs, Toplevel::State rhs)
 
Toplevel::State operator& (Toplevel::State lhs, Toplevel::State rhs)
 
Toplevel::State operator^ (Toplevel::State lhs, Toplevel::State rhs)
 
Toplevel::State operator~ (Toplevel::State flags)
 
Toplevel::Stateoperator|= (Toplevel::State & lhs, Toplevel::State rhs)
 
Toplevel::Stateoperator&= (Toplevel::State & lhs, Toplevel::State rhs)
 
Toplevel::Stateoperator^= (Toplevel::State & lhs, Toplevel::State rhs)
 

Enumeration Type Documentation

◆ AnchorHints

enum class Gdk::AnchorHints
strong
Enumerator
FLIP_X 

Allow flipping anchors horizontally.

FLIP_Y 

Allow flipping anchors vertically.

SLIDE_X 

Allow sliding surface horizontally.

SLIDE_Y 

Allow sliding surface vertically.

RESIZE_X 

Allow resizing surface horizontally.

RESIZE_Y 

Allow resizing surface vertically.

FLIP 

Allow flipping anchors on both axes.

SLIDE 

Allow sliding surface on both axes.

RESIZE 

Allow resizing surface on both axes.

◆ AxisFlags

enum class Gdk::AxisFlags
strong
Enumerator

X axis is present.

The axis is used as the x axis.

Y axis is present.

The axis is used as the y axis.

DELTA_X 

Scroll X delta axis is present.

The axis is used as the scroll x delta.

DELTA_Y 

Scroll Y delta axis is present.

The axis is used as the scroll y delta.

PRESSURE 

Pressure axis is present.

The axis is used for pressure information.

XTILT 

X tilt axis is present.

The axis is used for x tilt information.

YTILT 

Y tilt axis is present.

The axis is used for y tilt information.

WHEEL 

Wheel axis is present.

The delta is in number of wheel clicks.

The axis is used for wheel information.

DISTANCE 

Distance axis is present.

The axis is used for pen/tablet distance information.

ROTATION 

Z-axis rotation is present.

The axis is used for pen rotation information.

SLIDER 

Slider axis is present.

The axis is used for pen slider information.

◆ AxisUse

enum class Gdk::AxisUse
strong
Enumerator
IGNORE 

The axis is ignored.

DELTA_X 
DELTA_Y 
PRESSURE 
XTILT 
YTILT 
WHEEL 
DISTANCE 
ROTATION 
SLIDER 
LAST 

A constant equal to the numerically highest axis value.

◆ Colorspace

enum class Gdk::Colorspace
strong
Enumerator
RGB 

Indicates a red/green/blue additive color space.

◆ CrossingMode

enum class Gdk::CrossingMode
strong
Enumerator
NORMAL 

Crossing because of pointer motion.

GRAB 

Crossing because a grab is activated.

UNGRAB 

Crossing because a grab is deactivated.

GTK_GRAB 

Crossing because a GTK grab is activated.

GTK_UNGRAB 

Crossing because a GTK grab is deactivated.

STATE_CHANGED 

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

sensitivity).

TOUCH_BEGIN 

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

TOUCH_END 

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

DEVICE_SWITCH 

Crossing because of a device switch (i.e.

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

◆ DragAction

enum class Gdk::DragAction
strong
Enumerator
COPY 

Copy the data.

MOVE 

Move the data, i.e.

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

LINK 

Add a link to the data.

Note that this is only useful if source and destination agree on what it means, and is not supported on all platforms.

ASK 

Ask the user what to do with the data.

◆ DragCancelReason

enum class Gdk::DragCancelReason
strong
Enumerator
NO_TARGET 

There is no suitable drop target.

USER_CANCELLED 

Drag cancelled by the user.

ERROR 

Unspecified error.

◆ FullscreenMode

enum class Gdk::FullscreenMode
strong
Enumerator
ON_CURRENT_MONITOR 

Fullscreen on current monitor only.

ON_ALL_MONITORS 

Span across all monitors when fullscreen.

◆ GLApi

enum class Gdk::GLApi
strong
Enumerator
GL 

The OpenGL API.

GLES 

The OpenGL ES API.

◆ GLAPI

enum class Gdk::GLAPI
strong
Note
Name clash! GLAPI is defined as a preprocessor macro in epoxy/gl.h. If you include epoxy/gl.h and want to use API with Gdk::GLAPI, you must undef GLAPI.
#include <gdkmm/glcontext.h> // or <gtkmm.h>
#include <epoxy/gl.h>
#undef GLAPI
or
#include <epoxy/gl.h>
#undef GLAPI
#include <gdkmm/glcontext.h> // or <gtkmm.h>
Enumerator
GL 
GLES 

◆ Gravity

enum class Gdk::Gravity
strong
Enumerator
NORTH_WEST 

The reference point is at the top left corner.

The top left corner.

NORTH 

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

The top edge.

NORTH_EAST 

The reference point is at the top right corner.

The top right corner.

WEST 

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

The left edge.

CENTER 

The reference point is at the center of the surface.

EAST 

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

The right edge.

SOUTH_WEST 

The reference point is at the lower left corner.

The lower left corner.

SOUTH 

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

The lower edge.

SOUTH_EAST 

The reference point is at the lower right corner.

The lower right corner.

STATIC 

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

◆ InputSource

enum class Gdk::InputSource
strong
Enumerator
MOUSE 

The device is a mouse.

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

PEN 

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

KEYBOARD 

The device is a keyboard.

TOUCHSCREEN 

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

TOUCHPAD 

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

TRACKPOINT 

The device is a trackpoint.

TABLET_PAD 

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

◆ InterpType

enum class Gdk::InterpType
strong
Enumerator
NEAREST 

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

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

TILES 

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

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

BILINEAR 

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

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

HYPER 

This is the slowest and highest quality reconstruction function.

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

◆ KeyMatch

enum class Gdk::KeyMatch
strong
Enumerator
NONE 

The key event does not match.

Not organized in this way.

PARTIAL 

The key event matches if keyboard state (specifically, the currently active group) is ignored.

EXACT 

The key event matches.

◆ MemoryFormat

enum class Gdk::MemoryFormat
strong
Enumerator
B8G8R8A8_PREMULTIPLIED 

4 bytes; for blue, green, red, alpha.

The color values are premultiplied with the alpha value.

A8R8G8B8_PREMULTIPLIED 

4 bytes; for alpha, red, green, blue.

The color values are premultiplied with the alpha value.

R8G8B8A8_PREMULTIPLIED 

4 bytes; for red, green, blue, alpha The color values are premultiplied with the alpha value.

B8G8R8A8 

4 bytes; for blue, green, red, alpha.

A8R8G8B8 

4 bytes; for alpha, red, green, blue.

R8G8B8A8 

4 bytes; for red, green, blue, alpha.

A8B8G8R8 

4 bytes; for alpha, blue, green, red.

R8G8B8 

3 bytes; for red, green, blue.

The data is opaque.

B8G8R8 

3 bytes; for blue, green, red.

The data is opaque.

R16G16B16 

3 guint16 values; for red, green, blue.

Since gtkmm 4.6:
R16G16B16A16_PREMULTIPLIED 

4 guint16 values; for red, green, blue, alpha.

The color values are premultiplied with the alpha value.

Since gtkmm 4.6:
R16G16B16A16 

4 guint16 values; for red, green, blue, alpha.

Since gtkmm 4.6:
R16G16B16_FLOAT 

3 half-float values; for red, green, blue.

The data is opaque.

Since gtkmm 4.6:
R16G16B16A16_FLOAT_PREMULTIPLIED 

4 half-float values; for red, green, blue and alpha.

The color values are premultiplied with the alpha value.

Since gtkmm 4.6:
R16G16B16A16_FLOAT 

4 half-float values; for red, green, blue and alpha.

Since gtkmm 4.6:
R32G32B32_FLOAT 
R32G32B32A32_FLOAT_PREMULTIPLIED 

4 float values; for red, green, blue and alpha.

The color values are premultiplied with the alpha value.

Since gtkmm 4.6:
R32G32B32A32_FLOAT 

4 float values; for red, green, blue and alpha.

Since gtkmm 4.6:
G8A8_PREMULTIPLIED 

2 bytes; for grayscale, alpha.

The color values are premultiplied with the alpha value.

Since gtkmm 4.12:
G8A8 

2 bytes; for grayscale, alpha.

Since gtkmm 4.12:
G8 

One byte; for grayscale.

The data is opaque.

Since gtkmm 4.12:
G16A16_PREMULTIPLIED 

2 guint16 values; for grayscale, alpha.

The color values are premultiplied with the alpha value.

Since gtkmm 4.12:
G16A16 

2 guint16 values; for grayscale, alpha.

Since gtkmm 4.12:
G16 

One guint16 value; for grayscale.

The data is opaque.

Since gtkmm 4.12:
A8 

One byte; for alpha.

Since gtkmm 4.12:
A16 

One guint16 value; for alpha.

Since gtkmm 4.12:
A16_FLOAT 
A32_FLOAT 
N_FORMATS 

The number of formats.

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

◆ ModifierType

enum class Gdk::ModifierType
strong
Enumerator
SHIFT_MASK 

The Shift key.

LOCK_MASK 

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

CONTROL_MASK 

The Control key.

ALT_MASK 

The fourth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier, but normally it is the Alt key).

BUTTON1_MASK 

The first mouse button.

BUTTON2_MASK 

The second mouse button.

BUTTON3_MASK 

The third mouse button.

BUTTON4_MASK 

The fourth mouse button.

BUTTON5_MASK 

The fifth mouse button.

SUPER_MASK 

The Super modifier.

HYPER_MASK 

The Hyper modifier.

META_MASK 

The Meta modifier.

◆ NotifyType

enum class Gdk::NotifyType
strong
Enumerator
ANCESTOR 

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

VIRTUAL 

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

INFERIOR 

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

NONLINEAR 

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

NONLINEAR_VIRTUAL 

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

UNKNOWN 

An unknown type of enter/leave event occurred.

The layout is not known.

◆ ScrollDirection

enum class Gdk::ScrollDirection
strong
Enumerator
UP 

The surface is scrolled up.

DOWN 

The surface is scrolled down.

LEFT 

The surface is scrolled to the left.

RIGHT 

The surface is scrolled to the right.

SMOOTH 

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

See gdk_scroll_event_get_deltas().

◆ ScrollUnit

enum class Gdk::ScrollUnit
strong
Enumerator
WHEEL 
SURFACE 

The delta is in surface pixels to scroll directly on screen.

◆ SubpixelLayout

enum class Gdk::SubpixelLayout
strong
Enumerator
UNKNOWN 
NONE 
HORIZONTAL_RGB 

The layout is horizontal, the order is RGB.

HORIZONTAL_BGR 

The layout is horizontal, the order is BGR.

VERTICAL_RGB 

The layout is vertical, the order is RGB.

VERTICAL_BGR 

The layout is vertical, the order is BGR.

◆ SurfaceEdge

enum class Gdk::SurfaceEdge
strong
Enumerator
NORTH_WEST 
NORTH 
NORTH_EAST 
WEST 
EAST 
SOUTH_WEST 
SOUTH 
SOUTH_EAST 

◆ TouchpadGesturePhase

enum class Gdk::TouchpadGesturePhase
strong
Enumerator
BEGIN 

The gesture has begun.

UPDATE 

The gesture has been updated.

END 

The gesture was finished, changes should be permanently applied.

CANCEL 

The gesture was cancelled, all changes should be undone.