Package gtkc.gdktypes


Classes

struct  GdkDisplay
 Main Gtk struct. More...
struct  GdkDisplayPointerHooks
 A table of pointers to functions for getting quantities related to the current pointer position. More...
struct  GdkDisplayManager
 Main Gtk struct. More...
struct  GdkScreen
 Main Gtk struct. More...
struct  GdkPoint
 Defines the x and y coordinates of a point. More...
struct  GdkRectangle
 Main Gtk struct. More...
struct  GdkRegion
 A GdkRegion represents a set of pixels on the screen. More...
struct  GdkSpan
 A GdkSpan represents a horizontal line of pixels starting at the pixel with coordinates x, y and ending before x + width, y. More...
struct  GdkGC
 Main Gtk struct. More...
struct  GdkGCValues
 The GdkGCValues structure holds a set of values used to create or modify a graphics context. More...
struct  GdkDrawable
 Main Gtk struct. More...
struct  GdkSegment
 Specifies the start and end point of a line for use by the gdk_draw_segments() function. More...
struct  GdkTrapezoid
 Specifies a trapezpoid for use by the gdk_draw_trapezoids(). More...
struct  GdkPixmap
 Main Gtk struct. More...
struct  GdkBitmap
 An opaque structure representing an offscreen drawable of depth 1. More...
struct  GdkRgbCmap
 A private data structure which maps color indices to actual RGB colors. More...
struct  GdkImage
 Main Gtk struct. More...
struct  GdkPixbuf
 Main Gtk struct. More...
struct  GdkColor
 The GdkColor structure is used to describe an allocated or unallocated color. More...
struct  GdkColormap
 Main Gtk struct. More...
struct  GdkVisual
 Main Gtk struct. More...
struct  GdkFont
 Main Gtk struct. More...
struct  GdkCursor
 Main Gtk struct. More...
struct  GdkWindow
 Main Gtk struct. More...
struct  GdkGeometry
 The GdkGeometry struct gives the window manager information about a window's geometry constraints. More...
struct  GdkWindowAttr
 Attributes to use for a newly-created window. More...
struct  GdkPointerHooks
 A table of pointers to functions for getting quantities related to the current pointer position. More...
struct  GdkEventAny
 Contains the fields which are common to all event structs. More...
struct  GdkEventKey
 Describes a key press or key release event. More...
struct  GdkEventButton
 Used for button press and button release events. More...
struct  GdkEventScroll
 Generated from button presses for the buttons 4 to 7. More...
struct  GdkEventMotion
 Generated when the pointer moves. More...
struct  GdkEventExpose
 Generated when all or part of a window becomes visible and needs to be redrawn. More...
struct  GdkEventVisibility
 Generated when the window visibility status has changed. More...
struct  GdkEventCrossing
 Generated when the pointer enters or leaves a window. More...
struct  GdkEventFocus
 Describes a change of keyboard focus. More...
struct  GdkEventConfigure
 Generated when a window size or position has changed. More...
struct  GdkEventProperty
 Describes a property change on a window. More...
struct  GdkEventSelection
 Generated when a selection is requested or ownership of a selection is taken over by another client application. More...
struct  GdkEventDND
 Generated during DND operations. More...
struct  GdkEventProximity
 Proximity events are generated when using GDK's wrapper for the XInput extension. More...
struct  GdkEventClient
 An event sent by another client application. More...
struct  GdkEventNoExpose
 Generated when the area of a GdkDrawable being copied, with gdk_draw_drawable() or gdk_window_copy_area(), was completely available. More...
struct  GdkEventWindowState
 Generated when the state of a toplevel window changes. More...
struct  GdkEventSetting
 Generated when a setting is modified. More...
struct  GdkEventOwnerChange
 Generated when the owner of a selection changes. More...
struct  GdkEventGrabBroken
 Generated when a pointer or keyboard grab is broken. More...
struct  GdkKeymap
 Main Gtk struct. More...
struct  GdkKeymapKey
 A GdkKeymapKey is a hardware key that can be mapped to a keyval. More...
struct  GdkDragContext
 Main Gtk struct. More...
struct  GdkDevice
 Main Gtk struct. More...
struct  GdkDeviceKey
 The GdkDeviceKey structure contains information about the mapping of one device macro button onto a normal X key event. More...
struct  GdkDeviceAxis
 The GdkDeviceAxis structure contains information about the range and mapping of a device axis. More...
struct  GdkTimeCoord
 The GdkTimeCoord structure stores a single event in a motion history. More...
struct  GdkEvent
 The GdkEvent struct contains a union of all of the event structs, and allows access to the data fields in a number of ways. More...

Typedefs

typedef void * GdkSpanFunc
typedef void * GdkPixbufDestroyNotify
typedef GError void * GdkPixbufSaveFunc
typedef GdkEvent void * GdkFilterFunc
typedef void * GdkEventFunc
typedef GdkInputCondition GdkInputFunction

Enumerations

enum  GdkGrabStatus {
  SUCCESS = 0,
  ALREADY_GRABBED = 1,
  INVALID_TIME = 2,
  NOT_VIEWABLE = 3,
  FROZEN = 4
}
 Returned by gdk_pointer_grab() and gdk_keyboard_grab() to indicate success or the reason for the failure of the grab attempt. More...
enum  GdkFillRule {
  EVEN_ODD_RULE,
  WINDING_RULE
}
 The method for determining which pixels are included in a region, when creating a GdkRegion from a polygon. More...
enum  GdkOverlapType {
  RECTANGLE_IN,
  RECTANGLE_OUT,
  RECTANGLE_PART
}
 Specifies the possible values returned by gdk_region_rect_in(). More...
enum  GdkGCValuesMask {
  FOREGROUND = 1 << 0,
  BACKGROUND = 1 << 1,
  FONT = 1 << 2,
  FONT,
  FUNCTION = 1 << 3,
  FILL = 1 << 4,
  TILE = 1 << 5,
  STIPPLE = 1 << 6,
  CLIP_MASK = 1 << 7,
  SUBWINDOW = 1 << 8,
  TS_X_ORIGIN = 1 << 9,
  TS_Y_ORIGIN = 1 << 10,
  CLIP_X_ORIGIN = 1 << 11,
  CLIP_Y_ORIGIN = 1 << 12,
  EXPOSURES = 1 << 13,
  LINE_WIDTH = 1 << 14,
  LINE_STYLE = 1 << 15,
  CAP_STYLE = 1 << 16,
  JOIN_STYLE = 1 << 17
}
 A set of bit flags used to indicate which fields GdkGCValues structure are set. More...
enum  GdkFunction {
  COPY,
  INVERT,
  XOR,
  CLEAR,
  AND,
  AND_REVERSE,
  AND_INVERT,
  NOOP,
  OR,
  EQUIV,
  OR_REVERSE,
  COPY_INVERT,
  OR_INVERT,
  NAND,
  NOR,
  SET
}
 Determines how the bit values for the source pixels are combined with the bit values for destination pixels to produce the final result. More...
enum  GdkFill {
  SOLID,
  SOLID,
  TILED,
  STIPPLED,
  OPAQUE_STIPPLED
}
 Determines how primitives are drawn. More...
enum  GdkSubwindowMode {
  CLIP_BY_CHILDREN = 0,
  INCLUDE_INFERIORS = 1
}
 Determines how drawing onto a window will affect child windows of that window. More...
enum  GdkLineStyle {
  SOLID,
  SOLID,
  ON_OFF_DASH,
  DOUBLE_DASH
}
 Determines how lines are drawn. More...
enum  GdkCapStyle {
  NOT_LAST,
  BUTT,
  ROUND,
  ROUND,
  PROJECTING
}
 Determines how the end of lines are drawn. More...
enum  GdkJoinStyle {
  MITER,
  ROUND,
  ROUND,
  BEVEL
}
 Determines how the joins between segments of a polygon are drawn. More...
enum  GdkRgbDither {
  NONE,
  NONE,
  NORMAL,
  NORMAL,
  NORMAL,
  NORMAL,
  MAX
}
 Selects whether or not GdkRGB applies dithering to the image on display. More...
enum  GdkImageType {
  NORMAL,
  NORMAL,
  NORMAL,
  NORMAL,
  SHARED,
  FASTEST
}
 Specifies the type of a GdkImage. More...
enum  GdkPixbufError {
  GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
  GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
  GDK_PIXBUF_ERROR_BAD_OPTION,
  GDK_PIXBUF_ERROR_UNKNOWN_TYPE,
  load,
  GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION,
  GDK_PIXBUF_ERROR_FAILED
}
 An error code in the GDK_PIXBUF_ERROR domain. More...
enum  GdkColorspace { RGB }
enum  GdkPixbufAlphaMode {
  BILEVEL,
  FULL
}
enum  GdkInterpType {
  NEAREST,
  TILES,
  BILINEAR,
  HYPER
}
enum  GdkPixbufRotation {
  ROTATE_NONE = 0,
  ROTATE_COUNTERCLOCKWISE = 90,
  ROTATE_UPSIDEDOWN = 180,
  ROTATE_CLOCKWISE = 270
}
 The possible rotations which can be passed to gdk_pixbuf_rotate_simple(). More...
enum  GdkVisualType {
  STATIC_GRAY,
  GRAYSCALE,
  STATIC_COLOR,
  PSEUDO_COLOR,
  TRUE_COLOR,
  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  GdkByteOrder {
  LSB_FIRST,
  MSB_FIRST
}
 A set of values describing the possible byte-orders for storing pixel values in memory. More...
enum  GdkFontType {
  FONT = 1 << 2,
  FONT,
  FONTSET
}
 Warning GdkFontType is deprecated and should not be used in newly-written code. More...
enum  GdkCursorType {
  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,
  CURSOR_IS_PIXMAP = -1
}
 The standard cursors available. More...
enum  GdkWindowType {
  ROOT,
  TOPLEVEL,
  CHILD,
  DIALOG,
  DIALOG,
  TEMP,
  FOREIGN
}
 Describes the kind of window. More...
enum  GdkWindowClass {
  INPUT_OUTPUT,
  INPUT_ONLY
}
 GDK_INPUT_OUTPUT windows are the standard kind of window you might expect. More...
enum  GdkWindowHints {
  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
}
 Used to indicate which fields of a GdkGeometry struct should be paid attention to. More...
enum  GdkGravity {
  NORTH_WEST = 1,
  NORTH_WEST,
  NORTH,
  NORTH,
  NORTH_EAST,
  NORTH_EAST,
  WEST,
  WEST,
  CENTER,
  EAST,
  EAST,
  SOUTH_WEST,
  SOUTH_WEST,
  SOUTH,
  SOUTH,
  SOUTH_EAST,
  SOUTH_EAST,
  STATIC
}
 Defines the reference point of a window and the meaning of coordinates passed to gtk_window_move(). More...
enum  GdkWindowEdge {
  NORTH_WEST = 1,
  NORTH_WEST,
  NORTH,
  NORTH,
  NORTH_EAST,
  NORTH_EAST,
  WEST,
  WEST,
  EAST,
  EAST,
  SOUTH_WEST,
  SOUTH_WEST,
  SOUTH,
  SOUTH,
  SOUTH_EAST,
  SOUTH_EAST
}
 Determines a window edge or corner. More...
enum  GdkWindowTypeHint {
  NORMAL,
  NORMAL,
  NORMAL,
  NORMAL,
  DIALOG,
  DIALOG,
  MENU,
  TOOLBAR,
  SPLASHSCREEN,
  UTILITY,
  DOCK,
  DESKTOP,
  DROPDOWN_MENU,
  POPUP_MENU,
  TOOLTIP,
  NOTIFICATION,
  COMBO,
  DND
}
 These are hints for the window manager that indicate what type of function the window has. More...
enum  GdkWindowAttributesType {
  WA_TITLE = 1 << 1,
  WA_X = 1 << 2,
  WA_Y = 1 << 3,
  WA_CURSOR = 1 << 4,
  WA_COLORMAP = 1 << 5,
  WA_VISUAL = 1 << 6,
  WA_WMCLASS = 1 << 7,
  WA_NOREDIR = 1 << 8
}
 Used to indicate which fields in the GdkWindowAttr struct should be honored. More...
enum  GdkFilterReturn {
  CONTINUE,
  handled,
  TRANSLATE,
  processing,
  event
}
 Specifies the result of applying a GdkFilterFunc to a native event. More...
enum  GdkModifierType {
  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,
  XKB,
  SUPER_MASK = 1 << 26,
  HYPER_MASK = 1 << 27,
  META_MASK = 1 << 28,
  RELEASE_MASK = 1 << 30,
  MODIFIER_MASK = 0x5c001fff
}
 A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types. More...
enum  GdkWMDecoration {
  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
}
 These are hints originally defined by the Motif toolkit. More...
enum  GdkWMFunction {
  FUNC_ALL = 1 << 0,
  FUNC_RESIZE = 1 << 1,
  FUNC_MOVE = 1 << 2,
  FUNC_MINIMIZE = 1 << 3,
  FUNC_MAXIMIZE = 1 << 4,
  FUNC_CLOSE = 1 << 5
}
 These are hints originally defined by the Motif toolkit. More...
enum  GdkEventType {
  NOTHING = -1,
  DELETE = 0,
  DELETE,
  DESTROY = 1,
  DESTROY,
  EXPOSE = 2,
  MOTION_NOTIFY = 3,
  BUTTON_PRESS = 4,
  DOUBLE_BUTTON_PRESS = 5,
  TRIPPLE_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,
  NO_EXPOSE = 30,
  SCROLL = 31,
  WINDOW_STATE = 32,
  SETTING = 33,
  OWNER_CHANGE = 34,
  GRAB_BROKEN = 35
}
 Specifies the type of the event. More...
enum  GdkEventMask {
  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,
  ALL_EVENTS_MASK = 0x3FFFFE
}
 A set of bit-flags to indicate which events a window is to receive. More...
enum  GdkScrollDirection {
  UP,
  DOWN,
  LEFT,
  RIGHT
}
 Specifies the direction for GdkEventScroll. More...
enum  GdkVisibilityState {
  UNOBSCURED,
  PARTIAL,
  FULLY_OBSCURED
}
 Specifies the visiblity status of a window for a GdkEventVisibility. More...
enum  GdkCrossingMode {
  NORMAL,
  NORMAL,
  NORMAL,
  NORMAL,
  GRAB,
  UNGRAB
}
 Specifies the crossing mode for GdkEventCrossing. More...
enum  GdkNotifyType {
  ANCESTOR = 0,
  VIRTUAL = 1,
  INFERIOR = 2,
  NONLINEAR = 3,
  NONLINEAR_VIRTUAL = 4,
  UNKNOWN = 5
}
 Specifies the kind of crossing for GdkEventCrossing. More...
enum  GdkPropertyState {
  NEW_VALUE,
  DELETE = 0,
  DELETE
}
 Specifies the type of a property change for a GdkEventProperty. More...
enum  GdkWindowState {
  WITHDRAWN = 1 << 0,
  ICONIFIED = 1 << 1,
  MAXIMIZED = 1 << 2,
  STICKY = 1 << 3,
  FULLSCREEN = 1 << 4,
  ABOVE = 1 << 5,
  BELOW = 1 << 6
}
 Specifies the state of a toplevel window. More...
enum  GdkSettingAction {
  NEW,
  CHANGED,
  DELETED
}
 Specifies the kind of modification applied to a setting in a GdkEventSetting. More...
enum  GdkOwnerChange {
  NEW_OWNER,
  DESTROY = 1,
  DESTROY,
  CLOSE
}
 Specifies why a selection ownership was changed. More...
enum  GdkDragProtocol {
  MOTIF,
  XDND,
  ROOTWIN,
  NONE,
  NONE,
  WIN32_DROPFILES,
  OLE2,
  app
}
 Used in GdkDragContext to indicate the protocol according to which DND is done. More...
enum  GdkDragAction {
  ACTION_DEFAULT = 1 << 0,
  ACTION_COPY = 1 << 1,
  ACTION_MOVE = 1 << 2,
  ACTION_LINK = 1 << 3,
  ACTION_PRIVATE = 1 << 4,
  ACTION_ASK = 1 << 5
}
 Used in GdkDragContext to indicate what the destination should do with the dropped data. More...
enum  GdkInputCondition {
  READ = 1 << 0,
  WRITE = 1 << 1,
  EXCEPTION = 1 << 2
}
 A set of bit flags used to specify conditions for which an input callback will be triggered. More...
enum  GdkInputSource {
  SOURCE_MOUSE,
  SOURCE_PEN,
  SOURCE_ERASER,
  SOURCE_CURSOR
}
 An enumeration describing the type of an input device in general terms. More...
enum  GdkInputMode {
  MODE_DISABLED,
  MODE_SCREEN,
  MODE_WINDOW
}
 An enumeration that describes the mode of an input device. More...
enum  GdkAxisUse {
  IGNORE,
  X,
  Y,
  PRESSURE,
  XTILT,
  YTILT,
  WHEEL,
  LAST
}
 An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that GTK+ understands. More...
enum  GdkExtensionMode {
  EVENTS_NONE,
  EVENTS_ALL,
  EVENTS_CURSOR
}
 An enumeration used to specify which extension events are desired for a particular widget. More...

Functions

typedef extern (C) void function(GdkSpan *

Variables

alias void * GdkAtom
alias void * GdkNativeWindow
alias uint GdkWChar
 typedef guint32 GdkWChar; Specifies a wide character type, used to represent character codes.
alias void GdkXEvent
 typedef void GdkXEvent; /+* Can be cast to window system specific Used to represent native events (XEvents for the X11 backend, MSGs for Win32).
alias GdkAtom GdkSelection
 typedef GdkAtom GdkSelection; Warning GdkSelection is deprecated and should not be used in newly-written code.
alias GdkAtom GdkSelectionType
 typedef GdkAtom GdkSelectionType; Warning GdkSelectionType is deprecated and should not be used in newly-written code.
alias GdkAtom GdkTarget
 typedef GdkAtom GdkTarget; Warning GdkTarget is deprecated and should not be used in newly-written code.
alias GdkGrabStatus GrabStatus
alias GdkFillRule FillRule
alias GdkOverlapType OverlapType
alias GdkGCValuesMask GCValuesMask
alias GdkFunction Funct
alias GdkFill Fill
alias GdkSubwindowMode SubwindowMode
alias GdkLineStyle LineStyle
alias GdkCapStyle CapStyle
alias GdkJoinStyle JoinStyle
alias GdkRgbDither RgbDither
alias GdkImageType ImageType
alias GdkPixbufError PixbufError
alias GdkColorspace Colorspace
alias GdkPixbufAlphaMode PixbufAlphaMode
alias GdkInterpType InterpType
alias GdkPixbufRotation PixbufRotation
alias GdkVisualType VisualType
alias GdkByteOrder ByteOrder
alias GdkFontType FontType
alias GdkCursorType CursorType
alias GdkWindowType WindowType
alias GdkWindowClass WindowClass
alias GdkWindowHints WindowHints
alias GdkGravity Gravity
alias GdkWindowEdge WindowEdge
alias GdkWindowTypeHint WindowTypeHint
alias GdkWindowAttributesType WindowAttributesType
alias GdkFilterReturn FilterReturn
alias GdkModifierType ModifierType
alias GdkWMDecoration WMDecoration
alias GdkWMFunction WMFunction
alias GdkEventType EventType
alias GdkEventMask EventMask
alias GdkScrollDirection ScrollDirection
alias GdkVisibilityState VisibilityState
alias GdkCrossingMode CrossingMode
alias GdkNotifyType NotifyType
alias GdkPropertyState PropertyState
alias GdkWindowState WindowState
alias GdkSettingAction SettingAction
alias GdkOwnerChange OwnerChange
alias GdkDragProtocol DragProtocol
alias GdkDragAction DragAction
alias GdkInputCondition InputCondition
alias GdkInputSource InputSource
alias GdkInputMode InputMode
alias GdkAxisUse AxisUse
alias GdkExtensionMode ExtensionMode
typedef uint
typedef int


Typedef Documentation

typedef void* gtkc::gdktypes.GdkSpanFunc

typedef void* gtkc::gdktypes.GdkPixbufDestroyNotify

typedef GError void* gtkc::gdktypes.GdkPixbufSaveFunc

typedef GdkEvent void* gtkc::gdktypes.GdkFilterFunc

typedef void* gtkc::gdktypes.GdkEventFunc

typedef GdkInputCondition gtkc::gdktypes.GdkInputFunction


Enumeration Type Documentation

enum gtkc::gdktypes::GdkGrabStatus

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

GDK_GRAB_SUCCESS the resource was successfully grabbed. GDK_GRAB_ALREADY_GRABBED the resource is actively grabbed by another client. GDK_GRAB_INVALID_TIME the resource was grabbed more recently than the

Enumerator:
SUCCESS 
ALREADY_GRABBED 
INVALID_TIME 
NOT_VIEWABLE 
FROZEN 

enum gtkc::gdktypes::GdkFillRule

The method for determining which pixels are included in a region, when creating a GdkRegion from a polygon.

The fill rule is only relevant for polygons which overlap themselves. GDK_EVEN_ODD_RULE areas which are overlapped an odd number of times are included in the region, while areas overlapped an even number of times are not. GDK_WINDING_RULE overlapping areas are always included.

Enumerator:
EVEN_ODD_RULE 
WINDING_RULE 

enum gtkc::gdktypes::GdkOverlapType

Specifies the possible values returned by gdk_region_rect_in().

GDK_OVERLAP_RECTANGLE_IN if the rectangle is inside the GdkRegion. GDK_OVERLAP_RECTANGLE_OUT if the rectangle is outside the GdkRegion. GDK_OVERLAP_RECTANGLE_PART if the rectangle is partly inside the GdkRegion.

Enumerator:
RECTANGLE_IN 
RECTANGLE_OUT 
RECTANGLE_PART 

enum gtkc::gdktypes::GdkGCValuesMask

A set of bit flags used to indicate which fields GdkGCValues structure are set.

GDK_GC_FOREGROUND the foreground is set. GDK_GC_BACKGROUND the background is set. GDK_GC_FONT the font is set. GDK_GC_FUNCTION the function is set. GDK_GC_FILL the fill is set. GDK_GC_TILE the tile is set. GDK_GC_STIPPLE the stipple is set. GDK_GC_CLIP_MASK the clip_mask is set. GDK_GC_SUBWINDOW the subwindow_mode is set. GDK_GC_TS_X_ORIGIN the ts_x_origin is set. GDK_GC_TS_Y_ORIGIN the ts_y_origin is set. GDK_GC_CLIP_X_ORIGIN the clip_x_origin is set. GDK_GC_CLIP_Y_ORIGIN the clip_y_origin is set. GDK_GC_EXPOSURES the graphics_exposures is set. GDK_GC_LINE_WIDTH the line_width is set. GDK_GC_LINE_STYLE the line_style is set. GDK_GC_CAP_STYLE the cap_style is set. GDK_GC_JOIN_STYLE the join_style is set.

Enumerator:
FOREGROUND 
BACKGROUND 
FONT 
FONT 
FUNCTION 
FILL 
TILE 
STIPPLE 
CLIP_MASK 
SUBWINDOW 
TS_X_ORIGIN 
TS_Y_ORIGIN 
CLIP_X_ORIGIN 
CLIP_Y_ORIGIN 
EXPOSURES 
LINE_WIDTH 
LINE_STYLE 
CAP_STYLE 
JOIN_STYLE 

enum gtkc::gdktypes::GdkFunction

Determines how the bit values for the source pixels are combined with the bit values for destination pixels to produce the final result.

The sixteen values here correspond to the 16 different possible 2x2 truth tables. Only a couple of these values are usually useful; for colored images, only GDK_COPY, GDK_XOR and GDK_INVERT are generally useful. For bitmaps, GDK_AND and GDK_OR are also useful.

Enumerator:
COPY 
INVERT 
XOR 
CLEAR 
AND 
AND_REVERSE 
AND_INVERT 
NOOP 
OR 
EQUIV 
OR_REVERSE 
COPY_INVERT 
OR_INVERT 
NAND 
NOR 
SET 

enum gtkc::gdktypes::GdkFill

Determines how primitives are drawn.

GDK_SOLID draw with the foreground color. GDK_TILED draw with a tiled pixmap. GDK_STIPPLED draw using the stipple bitmap. Pixels corresponding

Enumerator:
SOLID 
SOLID 
TILED 
STIPPLED 
OPAQUE_STIPPLED 

enum gtkc::gdktypes::GdkSubwindowMode

Determines how drawing onto a window will affect child windows of that window.

GDK_CLIP_BY_CHILDREN only draw onto the window itself. GDK_INCLUDE_INFERIORS draw onto the window and child windows.

Enumerator:
CLIP_BY_CHILDREN 
INCLUDE_INFERIORS 

enum gtkc::gdktypes::GdkLineStyle

Determines how lines are drawn.

GDK_LINE_SOLID lines are drawn solid. GDK_LINE_ON_OFF_DASH even segments are drawn; odd segments are not drawn. GDK_LINE_DOUBLE_DASH even segments are normally. Odd segments are drawn

Enumerator:
SOLID 
SOLID 
ON_OFF_DASH 
DOUBLE_DASH 

enum gtkc::gdktypes::GdkCapStyle

Determines how the end of lines are drawn.

GDK_CAP_NOT_LAST the same as GDK_CAP_BUTT for lines of non-zero width.

Enumerator:
NOT_LAST 
BUTT 
ROUND 
ROUND 
PROJECTING 

enum gtkc::gdktypes::GdkJoinStyle

Determines how the joins between segments of a polygon are drawn.

GDK_JOIN_MITER the sides of each line are extended to meet at an angle. GDK_JOIN_ROUND the sides of the two lines are joined by a circular arc. GDK_JOIN_BEVEL the sides of the two lines are joined by a straight line which

Enumerator:
MITER 
ROUND 
ROUND 
BEVEL 

enum gtkc::gdktypes::GdkRgbDither

Selects whether or not GdkRGB applies dithering to the image on display.

Since GdkRGB currently only handles images with 8 bits per component, dithering on 24 bit per pixel displays is a moot point. GDK_RGB_DITHER_NONE Never use dithering. GDK_RGB_DITHER_NORMAL Use dithering in 8 bits per pixel (and below) only. GDK_RGB_DITHER_MAX Use dithering in 16 bits per pixel and below.

Enumerator:
NONE 
NONE 
NORMAL 
NORMAL 
NORMAL 
NORMAL 
MAX 

enum gtkc::gdktypes::GdkImageType

Specifies the type of a GdkImage.

GDK_IMAGE_NORMAL The original X image type, which is quite slow since the image has to be transferred from the client to the server to display it. GDK_IMAGE_SHARED A faster image type, which uses shared memory to transfer the image data between client and server. However this will only be available if client and server are on the same machine and the shared memory extension is supported by the server. GDK_IMAGE_FASTEST Specifies that GDK_IMAGE_SHARED should be tried first, and if that fails then GDK_IMAGE_NORMAL will be used.

Enumerator:
NORMAL 
NORMAL 
NORMAL 
NORMAL 
SHARED 
FASTEST 

enum gtkc::gdktypes::GdkPixbufError

An error code in the GDK_PIXBUF_ERROR domain.

Many gdk-pixbuf operations can cause errors in this domain, or in the G_FILE_ERROR domain. GDK_PIXBUF_ERROR_CORRUPT_IMAGE An image file was broken somehow. GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY Not enough memory. GDK_PIXBUF_ERROR_BAD_OPTION A bad option was passed to a pixbuf save module. GDK_PIXBUF_ERROR_UNKNOWN_TYPE Unknown image type. GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION Don't know how to perform the given operation on the type of image at hand. GDK_PIXBUF_ERROR_FAILED Generic failure code, something went wrong.

Enumerator:
GDK_PIXBUF_ERROR_CORRUPT_IMAGE 
GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY 
GDK_PIXBUF_ERROR_BAD_OPTION 
GDK_PIXBUF_ERROR_UNKNOWN_TYPE 
load 
GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION 
GDK_PIXBUF_ERROR_FAILED 

enum gtkc::gdktypes::GdkColorspace

Enumerator:
RGB 

enum gtkc::gdktypes::GdkPixbufAlphaMode

Enumerator:
BILEVEL 
FULL 

enum gtkc::gdktypes::GdkInterpType

Enumerator:
NEAREST 
TILES 
BILINEAR 
HYPER 

enum gtkc::gdktypes::GdkPixbufRotation

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. GDK_PIXBUF_ROTATE_NONE No rotation. GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE Rotate by 90 degrees. GDK_PIXBUF_ROTATE_UPSIDEDOWN Rotate by 180 degrees. GDK_PIXBUF_ROTATE_CLOCKWISE Rotate by 270 degrees.

Enumerator:
ROTATE_NONE 
ROTATE_COUNTERCLOCKWISE 
ROTATE_UPSIDEDOWN 
ROTATE_CLOCKWISE 

enum gtkc::gdktypes::GdkVisualType

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

GDK_VISUAL_STATIC_GRAY Each pixel value indexes a grayscale value directly. GDK_VISUAL_GRAYSCALE Each pixel is an index into a color map that maps pixel

Enumerator:
STATIC_GRAY 
GRAYSCALE 
STATIC_COLOR 
PSEUDO_COLOR 
TRUE_COLOR 
DIRECT_COLOR 

enum gtkc::gdktypes::GdkByteOrder

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

GDK_LSB_FIRST The values are stored with the least-significant byte

Enumerator:
LSB_FIRST 
MSB_FIRST 

enum gtkc::gdktypes::GdkFontType

Warning GdkFontType is deprecated and should not be used in newly-written code.

Indicates the type of a font. The possible values are currently: GDK_FONT_FONT the font is a single font. GDK_FONT_FONTSET the font is a fontset.

Enumerator:
FONT 
FONT 
FONTSET 

enum gtkc::gdktypes::GdkCursorType

The standard cursors available.

GDK_X_CURSOR GDK_ARROW GDK_BASED_ARROW_DOWN GDK_BASED_ARROW_UP GDK_BOAT GDK_BOGOSITY GDK_BOTTOM_LEFT_CORNER GDK_BOTTOM_RIGHT_CORNER GDK_BOTTOM_SIDE GDK_BOTTOM_TEE GDK_BOX_SPIRAL GDK_CENTER_PTR GDK_CIRCLE GDK_CLOCK GDK_COFFEE_MUG GDK_CROSS GDK_CROSS_REVERSE GDK_CROSSHAIR GDK_DIAMOND_CROSS GDK_DOT GDK_DOTBOX GDK_DOUBLE_ARROW GDK_DRAFT_LARGE GDK_DRAFT_SMALL GDK_DRAPED_BOX GDK_EXCHANGE GDK_FLEUR GDK_GOBBLER GDK_GUMBY GDK_HAND1 GDK_HAND2 GDK_HEART GDK_ICON GDK_IRON_CROSS GDK_LEFT_PTR GDK_LEFT_SIDE GDK_LEFT_TEE GDK_LEFTBUTTON GDK_LL_ANGLE GDK_LR_ANGLE GDK_MAN GDK_MIDDLEBUTTON GDK_MOUSE GDK_PENCIL GDK_PIRATE GDK_PLUS GDK_QUESTION_ARROW GDK_RIGHT_PTR GDK_RIGHT_SIDE GDK_RIGHT_TEE GDK_RIGHTBUTTON GDK_RTL_LOGO GDK_SAILBOAT GDK_SB_DOWN_ARROW GDK_SB_H_DOUBLE_ARROW GDK_SB_LEFT_ARROW GDK_SB_RIGHT_ARROW GDK_SB_UP_ARROW GDK_SB_V_DOUBLE_ARROW GDK_SHUTTLE GDK_SIZING GDK_SPIDER GDK_SPRAYCAN GDK_STAR GDK_TARGET GDK_TCROSS GDK_TOP_LEFT_ARROW GDK_TOP_LEFT_CORNER GDK_TOP_RIGHT_CORNER GDK_TOP_SIDE GDK_TOP_TEE GDK_TREK GDK_UL_ANGLE GDK_UMBRELLA GDK_UR_ANGLE GDK_WATCH GDK_XTERM GDK_LAST_CURSOR last cursor type GDK_CURSOR_IS_PIXMAP type of cursors constructed with gdk_cursor_new_from_pixmap() or gdk_cursor_new_from_pixbuf()

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 
CURSOR_IS_PIXMAP 

enum gtkc::gdktypes::GdkWindowType

Describes the kind of window.

GDK_WINDOW_ROOT root window; this window has no parent, covers the entire screen, and is created by the window system GDK_WINDOW_TOPLEVEL toplevel window (used to implement GtkWindow) GDK_WINDOW_CHILD child window (used to implement e.g. GtkButton) GDK_WINDOW_DIALOG useless/deprecated compatibility type GDK_WINDOW_TEMP override redirect temporary window (used to implement GtkMenu) GDK_WINDOW_FOREIGN foreign window (see gdk_window_foreign_new())

Enumerator:
ROOT 
TOPLEVEL 
CHILD 
DIALOG 
DIALOG 
TEMP 
FOREIGN 

enum gtkc::gdktypes::GdkWindowClass

GDK_INPUT_OUTPUT windows are the standard kind of window you might expect.

GDK_INPUT_ONLY windows are invisible; they are used to trap events, but you can't draw on them. GDK_INPUT_OUTPUT window for graphics and events GDK_INPUT_ONLY window for events only

Enumerator:
INPUT_OUTPUT 
INPUT_ONLY 

enum gtkc::gdktypes::GdkWindowHints

Used to indicate which fields of a GdkGeometry 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 GdkGeometry fields. GDK_HINT_USER_POS will be set automatically by GtkWindow 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. GDK_HINT_POS indicates that the program has positioned the window GDK_HINT_MIN_SIZE min size fields are set GDK_HINT_MAX_SIZE max size fields are set GDK_HINT_BASE_SIZE base size fields are set GDK_HINT_ASPECT aspect ratio fields are set GDK_HINT_RESIZE_INC resize increment fields are set GDK_HINT_WIN_GRAVITY window gravity field is set GDK_HINT_USER_POS indicates that the window's position was explicitly set by the user GDK_HINT_USER_SIZE indicates that the window's size was explicitly set by the user

Enumerator:
HINT_POS 
HINT_MIN_SIZE 
HINT_MAX_SIZE 
HINT_BASE_SIZE 
HINT_ASPECT 
HINT_RESIZE_INC 
HINT_WIN_GRAVITY 
HINT_USER_POS 
HINT_USER_SIZE 

enum gtkc::gdktypes::GdkGravity

Defines the reference point of a window and the meaning of coordinates passed to gtk_window_move().

See gtk_window_move() and the "implementation notes" section of the Extended Window Manager Hints specification for more details. GDK_GRAVITY_NORTH_WEST the reference point is at the top left corner. GDK_GRAVITY_NORTH the reference point is in the middle of the top edge. GDK_GRAVITY_NORTH_EAST the reference point is at the top right corner. GDK_GRAVITY_WEST the reference point is at the middle of the left edge. GDK_GRAVITY_CENTER the reference point is at the center of the window. GDK_GRAVITY_EAST the reference point is at the middle of the right edge. GDK_GRAVITY_SOUTH_WEST the reference point is at the lower left corner. GDK_GRAVITY_SOUTH the reference point is at the middle of the lower edge. GDK_GRAVITY_SOUTH_EAST the reference point is at the lower right corner. GDK_GRAVITY_STATIC the reference point is at the top left corner of the

Enumerator:
NORTH_WEST 
NORTH_WEST 
NORTH 
NORTH 
NORTH_EAST 
NORTH_EAST 
WEST 
WEST 
CENTER 
EAST 
EAST 
SOUTH_WEST 
SOUTH_WEST 
SOUTH 
SOUTH 
SOUTH_EAST 
SOUTH_EAST 
STATIC 

enum gtkc::gdktypes::GdkWindowEdge

Determines a window edge or corner.

GDK_WINDOW_EDGE_NORTH_WEST the top left corner. GDK_WINDOW_EDGE_NORTH the top edge. GDK_WINDOW_EDGE_NORTH_EAST the top right corner. GDK_WINDOW_EDGE_WEST the left edge. GDK_WINDOW_EDGE_EAST the right edge. GDK_WINDOW_EDGE_SOUTH_WEST the lower left corner. GDK_WINDOW_EDGE_SOUTH the lower edge. GDK_WINDOW_EDGE_SOUTH_EAST the lower right corner.

Enumerator:
NORTH_WEST 
NORTH_WEST 
NORTH 
NORTH 
NORTH_EAST 
NORTH_EAST 
WEST 
WEST 
EAST 
EAST 
SOUTH_WEST 
SOUTH_WEST 
SOUTH 
SOUTH 
SOUTH_EAST 
SOUTH_EAST 

enum gtkc::gdktypes::GdkWindowTypeHint

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. GDK_WINDOW_TYPE_HINT_NORMAL Normal toplevel window. GDK_WINDOW_TYPE_HINT_DIALOG Dialog window. GDK_WINDOW_TYPE_HINT_MENU Window used to implement a menu. GDK_WINDOW_TYPE_HINT_TOOLBAR Window used to implement toolbars. GDK_WINDOW_TYPE_HINT_SPLASHSCREEN Window used to display a splash

Enumerator:
NORMAL 
NORMAL 
NORMAL 
NORMAL 
DIALOG 
DIALOG 
MENU 
TOOLBAR 
SPLASHSCREEN 
UTILITY 
DOCK 
DESKTOP 
DROPDOWN_MENU 
POPUP_MENU 
TOOLTIP 
NOTIFICATION 
COMBO 
DND 

enum gtkc::gdktypes::GdkWindowAttributesType

Used to indicate which fields in the GdkWindowAttr struct should be honored.

For example, if you filled in the "cursor" and "x" fields of GdkWindowAttr, pass "GDK_WA_X | GDK_WA_CURSOR" to gdk_window_new(). Fields in GdkWindowAttr 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 GdkWindowAttributesType. GDK_WA_TITLE Honor the title field GDK_WA_X Honor the X coordinate field GDK_WA_Y Honor the Y coordinate field GDK_WA_CURSOR Honor the cursor field GDK_WA_COLORMAP Honor the colormap field GDK_WA_VISUAL Honor the visual field GDK_WA_WMCLASS Honor the wmclass_class and wmclass_name fields GDK_WA_NOREDIR Honor the override_redirect field

Enumerator:
WA_TITLE 
WA_X 
WA_Y 
WA_CURSOR 
WA_COLORMAP 
WA_VISUAL 
WA_WMCLASS 
WA_NOREDIR 

enum gtkc::gdktypes::GdkFilterReturn

Specifies the result of applying a GdkFilterFunc to a native event.

GDK_FILTER_CONTINUE event not handled, continue processing. GDK_FILTER_TRANSLATE native event translated into a GDK event and stored

Enumerator:
CONTINUE 
handled 
TRANSLATE 
processing 
event 

enum gtkc::gdktypes::GdkModifierType

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. GDK_SHIFT_MASK the Shift key. GDK_LOCK_MASK a Lock key (depending on the modifier mapping of the

Enumerator:
SHIFT_MASK 
LOCK_MASK 
CONTROL_MASK 
MOD1_MASK 
MOD2_MASK 
MOD3_MASK 
MOD4_MASK 
MOD5_MASK 
BUTTON1_MASK 
BUTTON2_MASK 
BUTTON3_MASK 
BUTTON4_MASK 
BUTTON5_MASK 
XKB 
SUPER_MASK 
HYPER_MASK 
META_MASK 
RELEASE_MASK 
MODIFIER_MASK 

enum gtkc::gdktypes::GdkWMDecoration

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. GDK_DECOR_ALL all decorations should be applied. GDK_DECOR_BORDER a frame should be drawn around the window. GDK_DECOR_RESIZEH the frame should have resize handles. GDK_DECOR_TITLE a titlebar should be placed above the window. GDK_DECOR_MENU a button for opening a menu should be included. GDK_DECOR_MINIMIZE a minimize button should be included. GDK_DECOR_MAXIMIZE a maximize button should be included.

Enumerator:
DECOR_ALL 
DECOR_BORDER 
DECOR_RESIZEH 
DECOR_TITLE 
DECOR_MENU 
DECOR_MINIMIZE 
DECOR_MAXIMIZE 

enum gtkc::gdktypes::GdkWMFunction

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. GDK_FUNC_ALL all functions should be offered. GDK_FUNC_RESIZE the window should be resizable. GDK_FUNC_MOVE the window should be movable. GDK_FUNC_MINIMIZE the window should be minimizable. GDK_FUNC_MAXIMIZE the window should be maximizable. GDK_FUNC_CLOSE the window should be closable.

Enumerator:
FUNC_ALL 
FUNC_RESIZE 
FUNC_MOVE 
FUNC_MINIMIZE 
FUNC_MAXIMIZE 
FUNC_CLOSE 

enum gtkc::gdktypes::GdkEventType

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. GDK_NOTHING a special code to indicate a null event. GDK_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. GDK_DESTROY the window has been destroyed. GDK_EXPOSE all or part of the window has become visible and needs to be redrawn. GDK_MOTION_NOTIFY the pointer (usually a mouse) has moved. GDK_BUTTON_PRESS a mouse button has been pressed. GDK_2BUTTON_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. GDK_3BUTTON_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. GDK_BUTTON_RELEASE a mouse button has been released. GDK_KEY_PRESS a key has been pressed. GDK_KEY_RELEASE a key has been released. GDK_ENTER_NOTIFY the pointer has entered the window. GDK_LEAVE_NOTIFY the pointer has left the window. GDK_FOCUS_CHANGE the keyboard focus has entered or left the window. GDK_CONFIGURE the size, position or stacking order of the window has changed. Note that GTK+ discards these events for GDK_WINDOW_CHILD windows. GDK_MAP the window has been mapped. GDK_UNMAP the window has been unmapped. GDK_PROPERTY_NOTIFY a property on the window has been changed or deleted. GDK_SELECTION_CLEAR the application has lost ownership of a selection. GDK_SELECTION_REQUEST another application has requested a selection. GDK_SELECTION_NOTIFY a selection has been received. GDK_PROXIMITY_IN an input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet). GDK_PROXIMITY_OUT an input device has moved out of contact with a sensing surface. GDK_DRAG_ENTER the mouse has entered the window while a drag is in progress. GDK_DRAG_LEAVE the mouse has left the window while a drag is in progress. GDK_DRAG_MOTION the mouse has moved in the window while a drag is in progress. GDK_DRAG_STATUS the status of the drag operation initiated by the window has changed. GDK_DROP_START a drop operation onto the window has started. GDK_DROP_FINISHED the drop operation initiated by the window has completed. GDK_CLIENT_EVENT a message has been received from another application. GDK_VISIBILITY_NOTIFY the window visibility status has changed. GDK_NO_EXPOSE indicates that the source region was completely available when parts of a drawable were copied. This is not very useful. GDK_SCROLL the scroll wheel was turned GDK_WINDOW_STATE the state of a window has changed. See GdkWindowState for the possible window states GDK_SETTING a setting has been modified. GDK_OWNER_CHANGE the owner of a selection has changed. This event type

Enumerator:
NOTHING 
DELETE 
DELETE 
DESTROY 
DESTROY 
EXPOSE 
MOTION_NOTIFY 
BUTTON_PRESS 
DOUBLE_BUTTON_PRESS 
TRIPPLE_BUTTON_PRESS 
BUTTON_RELEASE 
KEY_PRESS 
KEY_RELEASE 
ENTER_NOTIFY 
LEAVE_NOTIFY 
FOCUS_CHANGE 
CONFIGURE 
MAP 
UNMAP 
PROPERTY_NOTIFY 
SELECTION_CLEAR 
SELECTION_REQUEST 
SELECTION_NOTIFY 
PROXIMITY_IN 
PROXIMITY_OUT 
DRAG_ENTER 
DRAG_LEAVE 
DRAG_MOTION 
DRAG_STATUS 
DROP_START 
DROP_FINISHED 
CLIENT_EVENT 
VISIBILITY_NOTIFY 
NO_EXPOSE 
SCROLL 
WINDOW_STATE 
SETTING 
OWNER_CHANGE 
GRAB_BROKEN 

enum gtkc::gdktypes::GdkEventMask

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 GdkEventType 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 easily lag behind the position of the mouse. When using the GDK_POINTER_MOTION_HINT_MASK the server will only send a single GDK_MOTION_NOTIFY event (which is marked as a hint) until the application asks for more, by calling gdk_window_get_pointer(). GDK_EXPOSURE_MASK receive expose events GDK_POINTER_MOTION_MASK receive all pointer motion events GDK_POINTER_MOTION_HINT_MASK see the explanation above GDK_BUTTON_MOTION_MASK receive pointer motion events while any button is pressed GDK_BUTTON1_MOTION_MASK receive pointer motion events while 1 button is pressed GDK_BUTTON2_MOTION_MASK receive pointer motion events while 2 button is pressed GDK_BUTTON3_MOTION_MASK receive pointer motion events while 3 button is pressed GDK_BUTTON_PRESS_MASK receive button press events GDK_BUTTON_RELEASE_MASK receive button release events GDK_KEY_PRESS_MASK receive key press events GDK_KEY_RELEASE_MASK receive key release events GDK_ENTER_NOTIFY_MASK receive window enter events GDK_LEAVE_NOTIFY_MASK receive window leave events GDK_FOCUS_CHANGE_MASK receive focus change events GDK_STRUCTURE_MASK receive events about window configuration change GDK_PROPERTY_CHANGE_MASK receive property change events GDK_VISIBILITY_NOTIFY_MASK receive visibility change events GDK_PROXIMITY_IN_MASK receive proximity in events GDK_PROXIMITY_OUT_MASK receive proximity out events GDK_SUBSTRUCTURE_MASK receive events about window configuration changes of

Enumerator:
EXPOSURE_MASK 
POINTER_MOTION_MASK 
POINTER_MOTION_HINT_MASK 
BUTTON_MOTION_MASK 
BUTTON1_MOTION_MASK 
BUTTON2_MOTION_MASK 
BUTTON3_MOTION_MASK 
BUTTON_PRESS_MASK 
BUTTON_RELEASE_MASK 
KEY_PRESS_MASK 
KEY_RELEASE_MASK 
ENTER_NOTIFY_MASK 
LEAVE_NOTIFY_MASK 
FOCUS_CHANGE_MASK 
STRUCTURE_MASK 
PROPERTY_CHANGE_MASK 
VISIBILITY_NOTIFY_MASK 
PROXIMITY_IN_MASK 
PROXIMITY_OUT_MASK 
SUBSTRUCTURE_MASK 
SCROLL_MASK 
ALL_EVENTS_MASK 

enum gtkc::gdktypes::GdkScrollDirection

Specifies the direction for GdkEventScroll.

GDK_SCROLL_UP the window is scrolled up. GDK_SCROLL_DOWN the window is scrolled down. GDK_SCROLL_LEFT the window is scrolled to the left. GDK_SCROLL_RIGHT the window is scrolled to the right.

Enumerator:
UP 
DOWN 
LEFT 
RIGHT 

enum gtkc::gdktypes::GdkVisibilityState

Specifies the visiblity status of a window for a GdkEventVisibility.

GDK_VISIBILITY_UNOBSCURED the window is completely visible. GDK_VISIBILITY_PARTIAL the window is partially visible. GDK_VISIBILITY_FULLY_OBSCURED the window is not visible at all.

Enumerator:
UNOBSCURED 
PARTIAL 
FULLY_OBSCURED 

enum gtkc::gdktypes::GdkCrossingMode

Specifies the crossing mode for GdkEventCrossing.

GDK_CROSSING_NORMAL crossing because of pointer motion. GDK_CROSSING_GRAB crossing because a grab is activated. GDK_CROSSING_UNGRAB crossing because a grab is deactivated.

Enumerator:
NORMAL 
NORMAL 
NORMAL 
NORMAL 
GRAB 
UNGRAB 

enum gtkc::gdktypes::GdkNotifyType

Specifies the kind of crossing for GdkEventCrossing.

See the X11 protocol specification of LeaveNotify for full details of crossing event generation. GDK_NOTIFY_ANCESTOR the window is entered from an ancestor or

Enumerator:
ANCESTOR 
VIRTUAL 
INFERIOR 
NONLINEAR 
NONLINEAR_VIRTUAL 
UNKNOWN 

enum gtkc::gdktypes::GdkPropertyState

Specifies the type of a property change for a GdkEventProperty.

GDK_PROPERTY_NEW_VALUE the property value was changed. GDK_PROPERTY_DELETE the property was deleted.

Enumerator:
NEW_VALUE 
DELETE 
DELETE 

enum gtkc::gdktypes::GdkWindowState

Specifies the state of a toplevel window.

GDK_WINDOW_STATE_WITHDRAWN the window is not shown. GDK_WINDOW_STATE_ICONIFIED the window is minimized. GDK_WINDOW_STATE_MAXIMIZED the window is maximized. GDK_WINDOW_STATE_STICKY the window is sticky. GDK_WINDOW_STATE_FULLSCREEN the window is maximized without decorations. GDK_WINDOW_STATE_ABOVE the window is kept above other windows. GDK_WINDOW_STATE_BELOW the window is kept below other windows.

Enumerator:
WITHDRAWN 
ICONIFIED 
MAXIMIZED 
STICKY 
FULLSCREEN 
ABOVE 
BELOW 

enum gtkc::gdktypes::GdkSettingAction

Specifies the kind of modification applied to a setting in a GdkEventSetting.

GDK_SETTING_ACTION_NEW a setting was added. GDK_SETTING_ACTION_CHANGED a setting was changed. GDK_SETTING_ACTION_DELETED a setting was deleted.

Enumerator:
NEW 
CHANGED 
DELETED 

enum gtkc::gdktypes::GdkOwnerChange

Specifies why a selection ownership was changed.

GDK_OWNER_CHANGE_NEW_OWNER some other app claimed the ownership GDK_OWNER_CHANGE_DESTROY the window was destroyed GDK_OWNER_CHANGE_CLOSE the client was closed

Enumerator:
NEW_OWNER 
DESTROY 
DESTROY 
CLOSE 

enum gtkc::gdktypes::GdkDragProtocol

Used in GdkDragContext to indicate the protocol according to which DND is done.

GDK_DRAG_PROTO_MOTIF The Motif DND protocol. GDK_DRAG_PROTO_XDND The Xdnd protocol. GDK_DRAG_PROTO_ROOTWIN An extension to the Xdnd protocol for

Enumerator:
MOTIF 
XDND 
ROOTWIN 
NONE 
NONE 
WIN32_DROPFILES 
OLE2 
app 

enum gtkc::gdktypes::GdkDragAction

Used in GdkDragContext to indicate what the destination should do with the dropped data.

GDK_ACTION_DEFAULT Means nothing, and should not be used. GDK_ACTION_COPY Copy the data. GDK_ACTION_MOVE Move the data, i.e. first copy it, then delete

Enumerator:
ACTION_DEFAULT 
ACTION_COPY 
ACTION_MOVE 
ACTION_LINK 
ACTION_PRIVATE 
ACTION_ASK 

enum gtkc::gdktypes::GdkInputCondition

A set of bit flags used to specify conditions for which an input callback will be triggered.

The three members of this enumeration correspond to the readfds, writefds, and exceptfds arguments to the select system call. GDK_INPUT_READ the file descriptor has become available for reading. (Or, as is standard in Unix, a socket or pipe was closed at the other end; this is the case if a subsequent read on the file descriptor returns a count of zero.) GDK_INPUT_WRITE the file descriptor has become available for writing. GDK_INPUT_EXCEPTION an exception was raised on the file descriptor.

Enumerator:
READ 
WRITE 
EXCEPTION 

enum gtkc::gdktypes::GdkInputSource

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

GDK_SOURCE_MOUSE the device is a mouse. (This will be reported for the core

Enumerator:
SOURCE_MOUSE 
SOURCE_PEN 
SOURCE_ERASER 
SOURCE_CURSOR 

enum gtkc::gdktypes::GdkInputMode

An enumeration that describes the mode of an input device.

GDK_MODE_DISABLED the device is disabled and will not report any events. GDK_MODE_SCREEN the device is enabled. The device's coordinate space

Enumerator:
MODE_DISABLED 
MODE_SCREEN 
MODE_WINDOW 

enum gtkc::gdktypes::GdkAxisUse

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

GDK_AXIS_IGNORE the axis is ignored. GDK_AXIS_X the axis is used as the x axis. GDK_AXIS_Y the axis is used as the y axis. GDK_AXIS_PRESSURE the axis is used for pressure information. GDK_AXIS_XTILT the axis is used for x tilt information. GDK_AXIS_YTILT the axis is used for x tilt information. GDK_AXIS_WHEEL the axis is used for wheel information. GDK_AXIS_LAST a constant equal to the numerically highest axis value.

Enumerator:
IGNORE 
X 
Y 
PRESSURE 
XTILT 
YTILT 
WHEEL 
LAST 

enum gtkc::gdktypes::GdkExtensionMode

An enumeration used to specify which extension events are desired for a particular widget.

GDK_EXTENSION_EVENTS_NONE no extension events are desired. GDK_EXTENSION_EVENTS_ALL all extension events are desired. GDK_EXTENSION_EVENTS_CURSOR extension events are desired only if a cursor

Enumerator:
EVENTS_NONE 
EVENTS_ALL 
EVENTS_CURSOR 


Function Documentation

typedef gtkc::gdktypes::extern (  ) 


Variable Documentation

alias void* gtkc::gdktypes.GdkAtom

alias void* gtkc::gdktypes.GdkNativeWindow

alias uint gtkc::gdktypes.GdkWChar

typedef guint32 GdkWChar; Specifies a wide character type, used to represent character codes.

This is needed since some native languages have character sets which have more than 256 characters (Japanese and Chinese, for example). Wide character values between 0 and 127 are always identical in meaning to the ASCII character codes. The wide character value 0 is often used to terminate strings of wide characters in a similar way to normal strings using the char type. An alternative to wide characters is multi-byte characters, which extend normal char strings to cope with larger character sets. As the name suggests, multi-byte characters use a different number of bytes to store different character codes. For example codes 0-127 (i.e. the ASCII codes) often use just one byte of memory, while other codes may use 2, 3 or even 4 bytes. Multi-byte characters have the advantage that they can often be used in an application with little change, since strings are still represented as arrays of char values. However multi-byte strings are much easier to manipulate since the character are all of the same size. Applications typically use wide characters to represent character codes internally, and multi-byte strings when saving the characters to a file. The gdk_wcstombs() and gdk_mbstowcs() functions can be used to convert from one representation to the other. See the 'Extended Characters' section of the GNU C Library Reference Manual for more detailed information on wide and multi-byte characters.

alias void gtkc::gdktypes.GdkXEvent

typedef void GdkXEvent; /+* Can be cast to window system specific Used to represent native events (XEvents for the X11 backend, MSGs for Win32).

alias GdkAtom gtkc::gdktypes.GdkSelection

typedef GdkAtom GdkSelection; Warning GdkSelection is deprecated and should not be used in newly-written code.

The GdkSelection enumeration contains predefined atom values for several common selections.

alias GdkAtom gtkc::gdktypes.GdkSelectionType

typedef GdkAtom GdkSelectionType; Warning GdkSelectionType is deprecated and should not be used in newly-written code.

The GdkSelectionType enumeration contains predefined atom values used to represent the types of data transferred in response to a request for a target. See the ICCCM for details about what data should be transferred for each of these types. Other atoms can be used, and the recommended practice for GTK+ is to to use mime types for this purpose. However, supporting these types may be useful for compatibility with older programs.

alias GdkAtom gtkc::gdktypes.GdkTarget

typedef GdkAtom GdkTarget; Warning GdkTarget is deprecated and should not be used in newly-written code.

The GdkTarget enumeration contains predefined atom values which are used to describe possible targets for a selection. Other atoms can be used, and the recommended practice for GTK+ is to to use mime types for this purpose. However, supporting these types may be useful for compatibility with older programs.

alias GdkGrabStatus gtkc::gdktypes.GrabStatus

alias GdkFillRule gtkc::gdktypes.FillRule

alias GdkOverlapType gtkc::gdktypes.OverlapType

alias GdkGCValuesMask gtkc::gdktypes.GCValuesMask

alias GdkFunction gtkc::gdktypes.Funct

alias GdkFill gtkc::gdktypes.Fill

alias GdkSubwindowMode gtkc::gdktypes.SubwindowMode

alias GdkLineStyle gtkc::gdktypes.LineStyle

alias GdkCapStyle gtkc::gdktypes.CapStyle

alias GdkJoinStyle gtkc::gdktypes.JoinStyle

alias GdkRgbDither gtkc::gdktypes.RgbDither

alias GdkImageType gtkc::gdktypes.ImageType

alias GdkPixbufError gtkc::gdktypes.PixbufError

alias GdkColorspace gtkc::gdktypes.Colorspace

alias GdkPixbufAlphaMode gtkc::gdktypes.PixbufAlphaMode

alias GdkInterpType gtkc::gdktypes.InterpType

alias GdkPixbufRotation gtkc::gdktypes.PixbufRotation

alias GdkVisualType gtkc::gdktypes.VisualType

alias GdkByteOrder gtkc::gdktypes.ByteOrder

alias GdkFontType gtkc::gdktypes.FontType

alias GdkCursorType gtkc::gdktypes.CursorType

alias GdkWindowType gtkc::gdktypes.WindowType

alias GdkWindowClass gtkc::gdktypes.WindowClass

alias GdkWindowHints gtkc::gdktypes.WindowHints

alias GdkGravity gtkc::gdktypes.Gravity

alias GdkWindowEdge gtkc::gdktypes.WindowEdge

alias GdkWindowTypeHint gtkc::gdktypes.WindowTypeHint

alias GdkWindowAttributesType gtkc::gdktypes.WindowAttributesType

alias GdkFilterReturn gtkc::gdktypes.FilterReturn

alias GdkModifierType gtkc::gdktypes.ModifierType

alias GdkWMDecoration gtkc::gdktypes.WMDecoration

alias GdkWMFunction gtkc::gdktypes.WMFunction

alias GdkEventType gtkc::gdktypes.EventType

alias GdkEventMask gtkc::gdktypes.EventMask

alias GdkScrollDirection gtkc::gdktypes.ScrollDirection

alias GdkVisibilityState gtkc::gdktypes.VisibilityState

alias GdkCrossingMode gtkc::gdktypes.CrossingMode

alias GdkNotifyType gtkc::gdktypes.NotifyType

alias GdkPropertyState gtkc::gdktypes.PropertyState

alias GdkWindowState gtkc::gdktypes.WindowState

alias GdkSettingAction gtkc::gdktypes.SettingAction

alias GdkOwnerChange gtkc::gdktypes.OwnerChange

alias GdkDragProtocol gtkc::gdktypes.DragProtocol

alias GdkDragAction gtkc::gdktypes.DragAction

alias GdkInputCondition gtkc::gdktypes.InputCondition

alias GdkInputSource gtkc::gdktypes.InputSource

alias GdkInputMode gtkc::gdktypes.InputMode

alias GdkAxisUse gtkc::gdktypes.AxisUse

alias GdkExtensionMode gtkc::gdktypes.ExtensionMode

typedef gtkc::gdktypes.uint

typedef gtkc::gdktypes.int


SourceForge.net Logo DSource.org Logo digitalmars.com Logo