gtkc.gdktypes

Undocumented in source.

Public Imports

gtkc.glibtypes
public import gtkc.glibtypes;
Undocumented in source.
gtkc.gobjecttypes
public import gtkc.gobjecttypes;
Undocumented in source.
gtkc.giotypes
public import gtkc.giotypes;
Undocumented in source.
gtkc.pangotypes
public import gtkc.pangotypes;
Undocumented in source.
gtkc.gdkpixbuftypes
public import gtkc.gdkpixbuftypes;
Undocumented in source.

Members

Aliases

AxisUse
alias AxisUse = GdkAxisUse
Undocumented in source.
ByteOrder
alias ByteOrder = GdkByteOrder
Undocumented in source.
CrossingMode
alias CrossingMode = GdkCrossingMode
Undocumented in source.
CursorType
alias CursorType = GdkCursorType
Undocumented in source.
DeviceType
alias DeviceType = GdkDeviceType
Undocumented in source.
DragAction
alias DragAction = GdkDragAction
Undocumented in source.
DragProtocol
alias DragProtocol = GdkDragProtocol
Undocumented in source.
EventMask
alias EventMask = GdkEventMask
Undocumented in source.
EventType
alias EventType = GdkEventType
Undocumented in source.
FilterReturn
alias FilterReturn = GdkFilterReturn
Undocumented in source.
FrameClockPhase
alias FrameClockPhase = GdkFrameClockPhase
Undocumented in source.
FullscreenMode
alias FullscreenMode = GdkFullscreenMode
Undocumented in source.
GdkAtom
alias GdkAtom = _GdkAtom*

An opaque type representing a string as an index into a table of strings on the X server.

GdkEventFunc
alias GdkEventFunc = void function(GdkEvent* event, void* data)

Specifies the type of function passed to gdk_event_handler_set() to handle all GDK events.

GdkFilterFunc
alias GdkFilterFunc = GdkFilterReturn function(GdkXEvent* xevent, GdkEvent* event, void* data)

Specifies the type of function used to filter native events before they are converted to GDK events.

GdkRectangle
alias GdkRectangle = cairo_rectangle_int_t

Defines the position and size of a rectangle. It is identical to #cairo_rectangle_int_t.

GdkWindowChildFunc
alias GdkWindowChildFunc = int function(GdkWindow* window, void* userData)

A function of this type is passed to gdk_window_invalidate_maybe_recurse(). It gets called for each child of the window to determine whether to recursively invalidate it or now.

GdkWindowInvalidateHandlerFunc
alias GdkWindowInvalidateHandlerFunc = void function(GdkWindow* window, cairo_region_t* region)

Whenever some area of the window is invalidated (directly in the window or in a child window) this gets called with @region in the coordinate space of @window. You can use @region to just keep track of the dirty region, or you can actually change @region in case you are doing display tricks like showing a child in multiple places.

GdkXEvent
alias GdkXEvent = void*

Used to represent native events (XEvents for the X11 backend, MSGs for Win32).

GrabOwnership
alias GrabOwnership = GdkGrabOwnership
Undocumented in source.
GrabStatus
alias GrabStatus = GdkGrabStatus
Undocumented in source.
Gravity
alias Gravity = GdkGravity
Undocumented in source.
InputMode
alias InputMode = GdkInputMode
Undocumented in source.
InputSource
alias InputSource = GdkInputSource
Undocumented in source.
ModifierIntent
alias ModifierIntent = GdkModifierIntent
Undocumented in source.
ModifierType
alias ModifierType = GdkModifierType
Undocumented in source.
NotifyType
alias NotifyType = GdkNotifyType
Undocumented in source.
OwnerChange
alias OwnerChange = GdkOwnerChange
Undocumented in source.
PropMode
alias PropMode = GdkPropMode
Undocumented in source.
PropertyState
alias PropertyState = GdkPropertyState
Undocumented in source.
ScrollDirection
alias ScrollDirection = GdkScrollDirection
Undocumented in source.
SettingAction
alias SettingAction = GdkSettingAction
Undocumented in source.
Status
alias Status = GdkStatus
Undocumented in source.
VisibilityState
alias VisibilityState = GdkVisibilityState
Undocumented in source.
VisualType
alias VisualType = GdkVisualType
Undocumented in source.
WMDecoration
alias WMDecoration = GdkWMDecoration
Undocumented in source.
WMFunction
alias WMFunction = GdkWMFunction
Undocumented in source.
WindowAttributesType
alias WindowAttributesType = GdkWindowAttributesType
Undocumented in source.
WindowEdge
alias WindowEdge = GdkWindowEdge
Undocumented in source.
WindowHints
alias WindowHints = GdkWindowHints
Undocumented in source.
WindowState
alias WindowState = GdkWindowState
Undocumented in source.
WindowType
alias WindowType = GdkWindowType
Undocumented in source.
WindowTypeHint
alias WindowTypeHint = GdkWindowTypeHint
Undocumented in source.
WindowWindowClass
alias WindowWindowClass = GdkWindowWindowClass
Undocumented in source.

Enums

GdkAxisUse
enum GdkAxisUse

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

GdkByteOrder
enum GdkByteOrder

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

GdkCrossingMode
enum GdkCrossingMode

Specifies the crossing mode for #GdkEventCrossing.

GdkCursorType
enum GdkCursorType

The standard cursors available.

GdkDeviceType
enum GdkDeviceType

Indicates the device type. See aboveGdkDeviceManager.description for more information about the meaning of these device types.

GdkDragAction
enum GdkDragAction

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

GdkDragProtocol
enum GdkDragProtocol

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

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

GdkEventType
enum GdkEventType

Specifies the type of the event.

GdkFilterReturn
enum GdkFilterReturn

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

GdkFrameClockPhase
enum GdkFrameClockPhase

#GdkFrameClockPhase is used to represent the different paint clock phases that can be requested. The elements of the enumeration correspond to the signals of #GdkFrameClock.

GdkFullscreenMode
enum GdkFullscreenMode

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

GdkGrabOwnership
enum GdkGrabOwnership

Defines how device grabs interact with other devices.

GdkGrabStatus
enum GdkGrabStatus

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.

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

GdkInputMode
enum GdkInputMode

An enumeration that describes the mode of an input device.

GdkInputSource
enum GdkInputSource

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

GdkModifierIntent
enum GdkModifierIntent

This enum is used with gdk_keymap_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).

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

GdkNotifyType
enum GdkNotifyType

Specifies the kind of crossing for #GdkEventCrossing.

GdkOwnerChange
enum GdkOwnerChange

Specifies why a selection ownership was changed.

GdkPropMode
enum GdkPropMode

Describes how existing data is combined with new data when using gdk_property_change().

GdkPropertyState
enum GdkPropertyState

Specifies the type of a property change for a #GdkEventProperty.

GdkScrollDirection
enum GdkScrollDirection

Specifies the direction for #GdkEventScroll.

GdkSettingAction
enum GdkSettingAction

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

GdkStatus
enum GdkStatus
Undocumented in source.
GdkVisibilityState
enum GdkVisibilityState

Specifies the visiblity status of a window for a #GdkEventVisibility.

GdkVisualType
enum GdkVisualType

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

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

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

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

GdkWindowEdge
enum GdkWindowEdge

Determines a window edge or corner.

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

GdkWindowState
enum GdkWindowState

Specifies the state of a toplevel window.

GdkWindowType
enum GdkWindowType

Describes the kind of window.

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

GdkWindowWindowClass
enum GdkWindowWindowClass

@GDK_INPUT_OUTPUT windows are the standard kind of window you might expect. Such windows receive events and are also displayed on screen. @GDK_INPUT_ONLY windows are invisible; they are usually placed above other windows in order to trap or filter the events. You can’t draw on @GDK_INPUT_ONLY windows.

Structs

GdkAppLaunchContext
struct GdkAppLaunchContext
Undocumented in source.
GdkColor
struct GdkColor
Undocumented in source.
GdkCursor
struct GdkCursor
Undocumented in source.
GdkDevice
struct GdkDevice
Undocumented in source.
GdkDeviceManager
struct GdkDeviceManager
Undocumented in source.
GdkDisplay
struct GdkDisplay
Undocumented in source.
GdkDisplayManager
struct GdkDisplayManager
Undocumented in source.
GdkDragContext
struct GdkDragContext
Undocumented in source.
GdkEvent
struct GdkEvent
Undocumented in source.
GdkEventAny
struct GdkEventAny

Contains the fields which are common to all event structs. Any event pointer can safely be cast to a pointer to a #GdkEventAny to access these fields.

GdkEventButton
struct GdkEventButton

Used for button press and button release events. The @type field will be one of %GDK_BUTTON_PRESS, %GDK_2BUTTON_PRESS, %GDK_3BUTTON_PRESS or %GDK_BUTTON_RELEASE,

GdkEventConfigure
struct GdkEventConfigure

Generated when a window size or position has changed.

GdkEventCrossing
struct GdkEventCrossing

Generated when the pointer enters or leaves a window.

GdkEventDND
struct GdkEventDND

Generated during DND operations.

GdkEventExpose
struct GdkEventExpose

Generated when all or part of a window becomes visible and needs to be redrawn.

GdkEventFocus
struct GdkEventFocus

Describes a change of keyboard focus.

GdkEventGrabBroken
struct GdkEventGrabBroken

Generated when a pointer or keyboard grab is broken. On X11, this happens when the grab window becomes unviewable (i.e. it or one of its ancestors is unmapped), or if the same application grabs the pointer or keyboard again. Note that implicit grabs (which are initiated by button presses) can also cause #GdkEventGrabBroken events.

GdkEventKey
struct GdkEventKey

Describes a key press or key release event.

GdkEventMotion
struct GdkEventMotion

Generated when the pointer moves.

GdkEventOwnerChange
struct GdkEventOwnerChange

Generated when the owner of a selection changes. On X11, this information is only available if the X server supports the XFIXES extension.

GdkEventProperty
struct GdkEventProperty

Describes a property change on a window.

GdkEventProximity
struct GdkEventProximity

Proximity events are generated when using GDK’s wrapper for the XInput extension. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the user’s finger has moved in or out of contact with a touch screen.

GdkEventScroll
struct GdkEventScroll

Generated from button presses for the buttons 4 to 7. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned.

GdkEventSelection
struct GdkEventSelection

Generated when a selection is requested or ownership of a selection is taken over by another client application.

GdkEventSequence
struct GdkEventSequence
Undocumented in source.
GdkEventSetting
struct GdkEventSetting

Generated when a setting is modified.

GdkEventTouch
struct GdkEventTouch

Used for touch events. @type field will be one of %GDK_TOUCH_BEGIN, %GDK_TOUCH_UPDATE, %GDK_TOUCH_END or %GDK_TOUCH_CANCEL.

GdkEventVisibility
struct GdkEventVisibility

Generated when the window visibility status has changed.

GdkEventWindowState
struct GdkEventWindowState

Generated when the state of a toplevel window changes.

GdkFrameClock
struct GdkFrameClock
Undocumented in source.
GdkFrameClockClass
struct GdkFrameClockClass
Undocumented in source.
GdkFrameClockPrivate
struct GdkFrameClockPrivate
Undocumented in source.
GdkFrameTimings
struct GdkFrameTimings
Undocumented in source.
GdkGeometry
struct GdkGeometry

The #GdkGeometry struct gives the window manager information about a window’s geometry constraints. Normally you would set these on the GTK+ level using gtk_window_set_geometry_hints(). #GtkWindow then sets the hints on the #GdkWindow it creates.

GdkKeymap
struct GdkKeymap
Undocumented in source.
GdkKeymapKey
struct GdkKeymapKey

A #GdkKeymapKey is a hardware key that can be mapped to a keyval.

GdkPoint
struct GdkPoint

Defines the x and y coordinates of a point.

GdkRGBA
struct GdkRGBA
Undocumented in source.
GdkScreen
struct GdkScreen
Undocumented in source.
GdkTimeCoord
struct GdkTimeCoord

A #GdkTimeCoord stores a single event in a motion history.

GdkVisual
struct GdkVisual
Undocumented in source.
GdkWindow
struct GdkWindow
Undocumented in source.
GdkWindowAttr
struct GdkWindowAttr

Attributes to use for a newly-created window.

GdkWindowClass
struct GdkWindowClass
Undocumented in source.
GdkWindowRedirect
struct GdkWindowRedirect
Undocumented in source.
GdkX11Window
struct GdkX11Window
Undocumented in source.
GdkX11WindowClass
struct GdkX11WindowClass
Undocumented in source.
_GdkAtom
struct _GdkAtom
Undocumented in source.

Meta