gi-gdk-3.0.24: Gdk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gdk.Enums

Description

 
Synopsis

Enumerations

AxisUse

data AxisUse Source #

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

Note that the X and Y axes are not really needed; pointer devices report their location via the x/y members of events regardless. Whether X and Y are present as axes depends on the GDK backend.

Constructors

AxisUseIgnore

the axis is ignored.

AxisUseX

the axis is used as the x axis.

AxisUseY

the axis is used as the y axis.

AxisUsePressure

the axis is used for pressure information.

AxisUseXtilt

the axis is used for x tilt information.

AxisUseYtilt

the axis is used for y tilt information.

AxisUseWheel

the axis is used for wheel information.

AxisUseDistance

the axis is used for pen/tablet distance information. (Since: 3.22)

AxisUseRotation

the axis is used for pen rotation information. (Since: 3.22)

AxisUseSlider

the axis is used for pen slider information. (Since: 3.22)

AxisUseLast

a constant equal to the numerically highest axis value.

AnotherAxisUse Int

Catch-all for unknown values

Instances

Instances details
Enum AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

Show AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

Eq AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

(==) :: AxisUse -> AxisUse -> Bool #

(/=) :: AxisUse -> AxisUse -> Bool #

Ord AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes AxisUse Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes AxisUse = '[] :: [Type]

ByteOrder

data ByteOrder Source #

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

Constructors

ByteOrderLsbFirst

The values are stored with the least-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0xcc, 0xee, 0xff, 0x00.

ByteOrderMsbFirst

The values are stored with the most-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0x00, 0xff, 0xee, 0xcc.

AnotherByteOrder Int

Catch-all for unknown values

Instances

Instances details
Enum ByteOrder Source # 
Instance details

Defined in GI.Gdk.Enums

Show ByteOrder Source # 
Instance details

Defined in GI.Gdk.Enums

Eq ByteOrder Source # 
Instance details

Defined in GI.Gdk.Enums

Ord ByteOrder Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum ByteOrder Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject ByteOrder Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes ByteOrder Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes ByteOrder Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes ByteOrder = '[] :: [Type]

CrossingMode

data CrossingMode Source #

Specifies the crossing mode for EventCrossing.

Constructors

CrossingModeNormal

crossing because of pointer motion.

CrossingModeGrab

crossing because a grab is activated.

CrossingModeUngrab

crossing because a grab is deactivated.

CrossingModeGtkGrab

crossing because a GTK+ grab is activated.

CrossingModeGtkUngrab

crossing because a GTK+ grab is deactivated.

CrossingModeStateChanged

crossing because a GTK+ widget changed state (e.g. sensitivity).

CrossingModeTouchBegin

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

CrossingModeTouchEnd

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

CrossingModeDeviceSwitch

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

AnotherCrossingMode Int

Catch-all for unknown values

Instances

Instances details
Enum CrossingMode Source # 
Instance details

Defined in GI.Gdk.Enums

Show CrossingMode Source # 
Instance details

Defined in GI.Gdk.Enums

Eq CrossingMode Source # 
Instance details

Defined in GI.Gdk.Enums

Ord CrossingMode Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum CrossingMode Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject CrossingMode Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes CrossingMode Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes CrossingMode Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes CrossingMode = '[] :: [Type]

CursorType

data CursorType Source #

Predefined cursors.

Note that these IDs are directly taken from the X cursor font, and many of these cursors are either not useful, or are not available on other platforms.

The recommended way to create cursors is to use cursorNewFromName.

Constructors

CursorTypeXCursor

CursorTypeArrow

CursorTypeBasedArrowDown

CursorTypeBasedArrowUp

CursorTypeBoat

CursorTypeBogosity

CursorTypeBottomLeftCorner

CursorTypeBottomRightCorner

CursorTypeBottomSide

CursorTypeBottomTee

CursorTypeBoxSpiral

CursorTypeCenterPtr

CursorTypeCircle

CursorTypeClock

CursorTypeCoffeeMug

CursorTypeCross

CursorTypeCrossReverse

CursorTypeCrosshair

CursorTypeDiamondCross

CursorTypeDot

CursorTypeDotbox

CursorTypeDoubleArrow

CursorTypeDraftLarge

CursorTypeDraftSmall

CursorTypeDrapedBox

CursorTypeExchange

CursorTypeFleur

CursorTypeGobbler

CursorTypeGumby

CursorTypeHand1

CursorTypeHand2

CursorTypeHeart

CursorTypeIcon

CursorTypeIronCross

CursorTypeLeftPtr

CursorTypeLeftSide

CursorTypeLeftTee

CursorTypeLeftbutton

CursorTypeLlAngle

CursorTypeLrAngle

CursorTypeMan

CursorTypeMiddlebutton

CursorTypeMouse

CursorTypePencil

CursorTypePirate

CursorTypePlus

CursorTypeQuestionArrow

CursorTypeRightPtr

CursorTypeRightSide

CursorTypeRightTee

CursorTypeRightbutton

CursorTypeSailboat

CursorTypeSbDownArrow

CursorTypeSbHDoubleArrow

CursorTypeSbLeftArrow

CursorTypeSbRightArrow

CursorTypeSbUpArrow

CursorTypeSbVDoubleArrow

CursorTypeShuttle

CursorTypeSizing

CursorTypeSpider

CursorTypeSpraycan

CursorTypeStar

CursorTypeTarget

CursorTypeTcross

CursorTypeTopLeftArrow

CursorTypeTopLeftCorner

CursorTypeTopRightCorner

CursorTypeTopSide

CursorTypeTopTee

CursorTypeTrek

CursorTypeUlAngle

CursorTypeUmbrella

CursorTypeUrAngle

CursorTypeWatch

CursorTypeXterm

CursorTypeLastCursor

last cursor type

CursorTypeBlankCursor

Blank cursor. Since 2.16

CursorTypeCursorIsPixmap

type of cursors constructed with cursorNewFromPixbuf

AnotherCursorType Int

Catch-all for unknown values

Instances

Instances details
Enum CursorType Source # 
Instance details

Defined in GI.Gdk.Enums

Show CursorType Source # 
Instance details

Defined in GI.Gdk.Enums

Eq CursorType Source # 
Instance details

Defined in GI.Gdk.Enums

Ord CursorType Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum CursorType Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject CursorType Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes CursorType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes CursorType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes CursorType = '[] :: [Type]

DevicePadFeature

data DevicePadFeature Source #

A pad feature.

Constructors

DevicePadFeatureButton

a button

DevicePadFeatureRing

a ring-shaped interactive area

DevicePadFeatureStrip

a straight interactive area

AnotherDevicePadFeature Int

Catch-all for unknown values

Instances

Instances details
Enum DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

Show DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

Eq DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

Ord DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes DevicePadFeature Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes DevicePadFeature = '[] :: [Type]

DeviceToolType

data DeviceToolType Source #

Indicates the specific type of tool being used being a tablet. Such as an airbrush, pencil, etc.

Since: 3.22

Constructors

DeviceToolTypeUnknown

Tool is of an unknown type.

DeviceToolTypePen

Tool is a standard tablet stylus.

DeviceToolTypeEraser

Tool is standard tablet eraser.

DeviceToolTypeBrush

Tool is a brush stylus.

DeviceToolTypePencil

Tool is a pencil stylus.

DeviceToolTypeAirbrush

Tool is an airbrush stylus.

DeviceToolTypeMouse

Tool is a mouse.

DeviceToolTypeLens

Tool is a lens cursor.

AnotherDeviceToolType Int

Catch-all for unknown values

Instances

Instances details
Enum DeviceToolType Source # 
Instance details

Defined in GI.Gdk.Enums

Show DeviceToolType Source # 
Instance details

Defined in GI.Gdk.Enums

Eq DeviceToolType Source # 
Instance details

Defined in GI.Gdk.Enums

Ord DeviceToolType Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum DeviceToolType Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject DeviceToolType Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes DeviceToolType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes DeviceToolType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes DeviceToolType = '[] :: [Type]

DeviceType

data DeviceType Source #

Indicates the device type. See [above][GdkDeviceManager.description] for more information about the meaning of these device types.

Constructors

DeviceTypeMaster

Device is a master (or virtual) device. There will be an associated focus indicator on the screen.

DeviceTypeSlave

Device is a slave (or physical) device.

DeviceTypeFloating

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

AnotherDeviceType Int

Catch-all for unknown values

Instances

Instances details
Enum DeviceType Source # 
Instance details

Defined in GI.Gdk.Enums

Show DeviceType Source # 
Instance details

Defined in GI.Gdk.Enums

Eq DeviceType Source # 
Instance details

Defined in GI.Gdk.Enums

Ord DeviceType Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum DeviceType Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject DeviceType Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes DeviceType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes DeviceType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes DeviceType = '[] :: [Type]

DragCancelReason

data DragCancelReason Source #

Used in DragContext to the reason of a cancelled DND operation.

Since: 3.20

Constructors

DragCancelReasonNoTarget

There is no suitable drop target.

DragCancelReasonUserCancelled

Drag cancelled by the user

DragCancelReasonError

Unspecified error.

AnotherDragCancelReason Int

Catch-all for unknown values

Instances

Instances details
Enum DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

Show DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

Eq DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

Ord DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes DragCancelReason Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes DragCancelReason = '[] :: [Type]

DragProtocol

data DragProtocol Source #

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

Constructors

DragProtocolNone

no protocol.

DragProtocolMotif

The Motif DND protocol. No longer supported

DragProtocolXdnd

The Xdnd protocol.

DragProtocolRootwin

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

DragProtocolWin32Dropfiles

The simple WM_DROPFILES protocol.

DragProtocolOle2

The complex OLE2 DND protocol (not implemented).

DragProtocolLocal

Intra-application DND.

DragProtocolWayland

Wayland DND protocol.

AnotherDragProtocol Int

Catch-all for unknown values

Instances

Instances details
Enum DragProtocol Source # 
Instance details

Defined in GI.Gdk.Enums

Show DragProtocol Source # 
Instance details

Defined in GI.Gdk.Enums

Eq DragProtocol Source # 
Instance details

Defined in GI.Gdk.Enums

Ord DragProtocol Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum DragProtocol Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject DragProtocol Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes DragProtocol Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes DragProtocol Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes DragProtocol = '[] :: [Type]

EventType

data EventType Source #

Specifies the type of the event.

Do not confuse these events with the signals that GTK+ widgets emit. Although many of these events result in corresponding signals being emitted, the events are often transformed or filtered along the way.

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

Constructors

EventTypeNothing

a special code to indicate a null event.

EventTypeDelete

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.

EventTypeDestroy

the window has been destroyed.

EventTypeExpose

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

EventTypeMotionNotify

the pointer (usually a mouse) has moved.

EventTypeButtonPress

a mouse button has been pressed.

EventType2buttonPress

a mouse button has been double-clicked (clicked twice within a short period of time). Note that each click also generates a EventTypeButtonPress event.

EventTypeDoubleButtonPress

alias for EventType2buttonPress, added in 3.6.

EventType3buttonPress

a mouse button has been clicked 3 times in a short period of time. Note that each click also generates a EventTypeButtonPress event.

EventTypeTripleButtonPress

alias for EventType3buttonPress, added in 3.6.

EventTypeButtonRelease

a mouse button has been released.

EventTypeKeyPress

a key has been pressed.

EventTypeKeyRelease

a key has been released.

EventTypeEnterNotify

the pointer has entered the window.

EventTypeLeaveNotify

the pointer has left the window.

EventTypeFocusChange

the keyboard focus has entered or left the window.

EventTypeConfigure

the size, position or stacking order of the window has changed. Note that GTK+ discards these events for WindowTypeChild windows.

EventTypeMap

the window has been mapped.

EventTypeUnmap

the window has been unmapped.

EventTypePropertyNotify

a property on the window has been changed or deleted.

EventTypeSelectionClear

the application has lost ownership of a selection.

EventTypeSelectionRequest

another application has requested a selection.

EventTypeSelectionNotify

a selection has been received.

EventTypeProximityIn

an input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet).

EventTypeProximityOut

an input device has moved out of contact with a sensing surface.

EventTypeDragEnter

the mouse has entered the window while a drag is in progress.

EventTypeDragLeave

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

EventTypeDragMotion

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

EventTypeDragStatus

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

EventTypeDropStart

a drop operation onto the window has started.

EventTypeDropFinished

the drop operation initiated by the window has completed.

EventTypeClientEvent

a message has been received from another application.

EventTypeVisibilityNotify

the window visibility status has changed.

EventTypeScroll

the scroll wheel was turned

EventTypeWindowState

the state of a window has changed. See WindowState for the possible window states

EventTypeSetting

a setting has been modified.

EventTypeOwnerChange

the owner of a selection has changed. This event type was added in 2.6

EventTypeGrabBroken

a pointer or keyboard grab was broken. This event type was added in 2.8.

EventTypeDamage

the content of the window has been changed. This event type was added in 2.14.

EventTypeTouchBegin

A new touch event sequence has just started. This event type was added in 3.4.

EventTypeTouchUpdate

A touch event sequence has been updated. This event type was added in 3.4.

EventTypeTouchEnd

A touch event sequence has finished. This event type was added in 3.4.

EventTypeTouchCancel

A touch event sequence has been canceled. This event type was added in 3.4.

EventTypeTouchpadSwipe

A touchpad swipe gesture event, the current state is determined by its phase field. This event type was added in 3.18.

EventTypeTouchpadPinch

A touchpad pinch gesture event, the current state is determined by its phase field. This event type was added in 3.18.

EventTypePadButtonPress

A tablet pad button press event. This event type was added in 3.22.

EventTypePadButtonRelease

A tablet pad button release event. This event type was added in 3.22.

EventTypePadRing

A tablet pad axis event from a "ring". This event type was added in 3.22.

EventTypePadStrip

A tablet pad axis event from a "strip". This event type was added in 3.22.

EventTypePadGroupMode

A tablet pad group mode change. This event type was added in 3.22.

EventTypeEventLast

marks the end of the GdkEventType enumeration. Added in 2.18

AnotherEventType Int

Catch-all for unknown values

Instances

Instances details
Enum EventType Source # 
Instance details

Defined in GI.Gdk.Enums

Show EventType Source # 
Instance details

Defined in GI.Gdk.Enums

Eq EventType Source # 
Instance details

Defined in GI.Gdk.Enums

Ord EventType Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum EventType Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject EventType Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes EventType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes EventType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes EventType = '[] :: [Type]

FilterReturn

data FilterReturn Source #

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

Constructors

FilterReturnContinue

event not handled, continue processing.

FilterReturnTranslate

native event translated into a GDK event and stored in the event structure that was passed in.

FilterReturnRemove

event handled, terminate processing.

AnotherFilterReturn Int

Catch-all for unknown values

Instances

Instances details
Enum FilterReturn Source # 
Instance details

Defined in GI.Gdk.Enums

Show FilterReturn Source # 
Instance details

Defined in GI.Gdk.Enums

Eq FilterReturn Source # 
Instance details

Defined in GI.Gdk.Enums

Ord FilterReturn Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum FilterReturn Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject FilterReturn Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes FilterReturn Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes FilterReturn Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes FilterReturn = '[] :: [Type]

FullscreenMode

data FullscreenMode Source #

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

Since: 3.8

Constructors

FullscreenModeCurrentMonitor

Fullscreen on current monitor only.

FullscreenModeAllMonitors

Span across all monitors when fullscreen.

AnotherFullscreenMode Int

Catch-all for unknown values

Instances

Instances details
Enum FullscreenMode Source # 
Instance details

Defined in GI.Gdk.Enums

Show FullscreenMode Source # 
Instance details

Defined in GI.Gdk.Enums

Eq FullscreenMode Source # 
Instance details

Defined in GI.Gdk.Enums

Ord FullscreenMode Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum FullscreenMode Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject FullscreenMode Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes FullscreenMode Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes FullscreenMode Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes FullscreenMode = '[] :: [Type]

GLError

data GLError Source #

Error enumeration for GLContext.

Since: 3.16

Constructors

GLErrorNotAvailable

OpenGL support is not available

GLErrorUnsupportedFormat

The requested visual format is not supported

GLErrorUnsupportedProfile

The requested profile is not supported

AnotherGLError Int

Catch-all for unknown values

Instances

Instances details
Enum GLError Source # 
Instance details

Defined in GI.Gdk.Enums

Show GLError Source # 
Instance details

Defined in GI.Gdk.Enums

Eq GLError Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

(==) :: GLError -> GLError -> Bool #

(/=) :: GLError -> GLError -> Bool #

Ord GLError Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum GLError Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject GLError Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

GErrorClass GLError Source # 
Instance details

Defined in GI.Gdk.Enums

HasParentTypes GLError Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes GLError Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes GLError = '[] :: [Type]

catchGLError :: IO a -> (GLError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type GLError. This is a specialized version of catchGErrorJustDomain.

handleGLError :: (GLError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type GLError. This is a specialized version of handleGErrorJustDomain.

GrabOwnership

data GrabOwnership Source #

Defines how device grabs interact with other devices.

Constructors

GrabOwnershipNone

All other devices’ events are allowed.

GrabOwnershipWindow

Other devices’ events are blocked for the grab window.

GrabOwnershipApplication

Other devices’ events are blocked for the whole application.

AnotherGrabOwnership Int

Catch-all for unknown values

Instances

Instances details
Enum GrabOwnership Source # 
Instance details

Defined in GI.Gdk.Enums

Show GrabOwnership Source # 
Instance details

Defined in GI.Gdk.Enums

Eq GrabOwnership Source # 
Instance details

Defined in GI.Gdk.Enums

Ord GrabOwnership Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum GrabOwnership Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject GrabOwnership Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes GrabOwnership Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes GrabOwnership Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes GrabOwnership = '[] :: [Type]

GrabStatus

data GrabStatus Source #

Returned by deviceGrab, pointerGrab and keyboardGrab to indicate success or the reason for the failure of the grab attempt.

Constructors

GrabStatusSuccess

the resource was successfully grabbed.

GrabStatusAlreadyGrabbed

the resource is actively grabbed by another client.

GrabStatusInvalidTime

the resource was grabbed more recently than the specified time.

GrabStatusNotViewable

the grab window or the confineTo window are not viewable.

GrabStatusFrozen

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

GrabStatusFailed

the grab failed for some other reason. Since 3.16

AnotherGrabStatus Int

Catch-all for unknown values

Instances

Instances details
Enum GrabStatus Source # 
Instance details

Defined in GI.Gdk.Enums

Show GrabStatus Source # 
Instance details

Defined in GI.Gdk.Enums

Eq GrabStatus Source # 
Instance details

Defined in GI.Gdk.Enums

Ord GrabStatus Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum GrabStatus Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject GrabStatus Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes GrabStatus Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes GrabStatus Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes GrabStatus = '[] :: [Type]

Gravity

data Gravity Source #

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.

Constructors

GravityNorthWest

the reference point is at the top left corner.

GravityNorth

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

GravityNorthEast

the reference point is at the top right corner.

GravityWest

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

GravityCenter

the reference point is at the center of the window.

GravityEast

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

GravitySouthWest

the reference point is at the lower left corner.

GravitySouth

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

GravitySouthEast

the reference point is at the lower right corner.

GravityStatic

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

AnotherGravity Int

Catch-all for unknown values

Instances

Instances details
Enum Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

Show Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

Eq Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

(==) :: Gravity -> Gravity -> Bool #

(/=) :: Gravity -> Gravity -> Bool #

Ord Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes Gravity Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes Gravity = '[] :: [Type]

InputMode

data InputMode Source #

An enumeration that describes the mode of an input device.

Constructors

InputModeDisabled

the device is disabled and will not report any events.

InputModeScreen

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

InputModeWindow

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

AnotherInputMode Int

Catch-all for unknown values

Instances

Instances details
Enum InputMode Source # 
Instance details

Defined in GI.Gdk.Enums

Show InputMode Source # 
Instance details

Defined in GI.Gdk.Enums

Eq InputMode Source # 
Instance details

Defined in GI.Gdk.Enums

Ord InputMode Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum InputMode Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject InputMode Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes InputMode Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes InputMode Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes InputMode = '[] :: [Type]

InputSource

data InputSource Source #

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

Constructors

InputSourceMouse

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

InputSourcePen

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

InputSourceEraser

the device is an eraser. Typically, this would be the other end of a stylus on a graphics tablet.

InputSourceCursor

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

InputSourceKeyboard

the device is a keyboard.

InputSourceTouchscreen

the device is a direct-input touch device, such as a touchscreen or tablet. This device type has been added in 3.4.

InputSourceTouchpad

the device is an indirect touch device, such as a touchpad. This device type has been added in 3.4.

InputSourceTrackpoint

the device is a trackpoint. This device type has been added in 3.22

InputSourceTabletPad

the device is a "pad", a collection of buttons, rings and strips found in drawing tablets. This device type has been added in 3.22.

AnotherInputSource Int

Catch-all for unknown values

Instances

Instances details
Enum InputSource Source # 
Instance details

Defined in GI.Gdk.Enums

Show InputSource Source # 
Instance details

Defined in GI.Gdk.Enums

Eq InputSource Source # 
Instance details

Defined in GI.Gdk.Enums

Ord InputSource Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum InputSource Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject InputSource Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes InputSource Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes InputSource Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes InputSource = '[] :: [Type]

ModifierIntent

data ModifierIntent Source #

This enum is used with keymapGetModifierMask 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 ModifierTypeControlMask and ModifierTypeMod2Mask, respectively).

Since: 3.4

Constructors

ModifierIntentPrimaryAccelerator

the primary modifier used to invoke menu accelerators.

ModifierIntentContextMenu

the modifier used to invoke context menus. Note that mouse button 3 always triggers context menus. When this modifier is not 0, it additionally triggers context menus when used with mouse button 1.

ModifierIntentExtendSelection

the modifier used to extend selections using modifier-click or modifier-cursor-key

ModifierIntentModifySelection

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

ModifierIntentNoTextInput

when any of these modifiers is pressed, the key event cannot produce a symbol directly. This is meant to be used for input methods, and for use cases like typeahead search.

ModifierIntentShiftGroup

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

ModifierIntentDefaultModMask

The set of modifier masks accepted as modifiers in accelerators. Needed because Command is mapped to MOD2 on OSX, which is widely used, but on X11 MOD2 is NumLock and using that for a mod key is problematic at best. Ref: https://bugzilla.gnome.org/show_bug.cgi?id=736125.

AnotherModifierIntent Int

Catch-all for unknown values

Instances

Instances details
Enum ModifierIntent Source # 
Instance details

Defined in GI.Gdk.Enums

Show ModifierIntent Source # 
Instance details

Defined in GI.Gdk.Enums

Eq ModifierIntent Source # 
Instance details

Defined in GI.Gdk.Enums

Ord ModifierIntent Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum ModifierIntent Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject ModifierIntent Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes ModifierIntent Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes ModifierIntent Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes ModifierIntent = '[] :: [Type]

NotifyType

data NotifyType Source #

Specifies the kind of crossing for EventCrossing.

See the X11 protocol specification of LeaveNotify for full details of crossing event generation.

Constructors

NotifyTypeAncestor

the window is entered from an ancestor or left towards an ancestor.

NotifyTypeVirtual

the pointer moves between an ancestor and an inferior of the window.

NotifyTypeInferior

the window is entered from an inferior or left towards an inferior.

NotifyTypeNonlinear

the window is entered from or left towards a window which is neither an ancestor nor an inferior.

NotifyTypeNonlinearVirtual

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

NotifyTypeUnknown

an unknown type of enter/leave event occurred.

AnotherNotifyType Int

Catch-all for unknown values

Instances

Instances details
Enum NotifyType Source # 
Instance details

Defined in GI.Gdk.Enums

Show NotifyType Source # 
Instance details

Defined in GI.Gdk.Enums

Eq NotifyType Source # 
Instance details

Defined in GI.Gdk.Enums

Ord NotifyType Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum NotifyType Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject NotifyType Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes NotifyType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes NotifyType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes NotifyType = '[] :: [Type]

OwnerChange

data OwnerChange Source #

Specifies why a selection ownership was changed.

Constructors

OwnerChangeNewOwner

some other app claimed the ownership

OwnerChangeDestroy

the window was destroyed

OwnerChangeClose

the client was closed

AnotherOwnerChange Int

Catch-all for unknown values

Instances

Instances details
Enum OwnerChange Source # 
Instance details

Defined in GI.Gdk.Enums

Show OwnerChange Source # 
Instance details

Defined in GI.Gdk.Enums

Eq OwnerChange Source # 
Instance details

Defined in GI.Gdk.Enums

Ord OwnerChange Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum OwnerChange Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject OwnerChange Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes OwnerChange Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes OwnerChange Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes OwnerChange = '[] :: [Type]

PropMode

data PropMode Source #

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

Constructors

PropModeReplace

the new data replaces the existing data.

PropModePrepend

the new data is prepended to the existing data.

PropModeAppend

the new data is appended to the existing data.

AnotherPropMode Int

Catch-all for unknown values

Instances

Instances details
Enum PropMode Source # 
Instance details

Defined in GI.Gdk.Enums

Show PropMode Source # 
Instance details

Defined in GI.Gdk.Enums

Eq PropMode Source # 
Instance details

Defined in GI.Gdk.Enums

Ord PropMode Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum PropMode Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject PropMode Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes PropMode Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes PropMode Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes PropMode = '[] :: [Type]

PropertyState

data PropertyState Source #

Specifies the type of a property change for a EventProperty.

Constructors

PropertyStateNewValue

the property value was changed.

PropertyStateDelete

the property was deleted.

AnotherPropertyState Int

Catch-all for unknown values

Instances

Instances details
Enum PropertyState Source # 
Instance details

Defined in GI.Gdk.Enums

Show PropertyState Source # 
Instance details

Defined in GI.Gdk.Enums

Eq PropertyState Source # 
Instance details

Defined in GI.Gdk.Enums

Ord PropertyState Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum PropertyState Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject PropertyState Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes PropertyState Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes PropertyState Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes PropertyState = '[] :: [Type]

ScrollDirection

data ScrollDirection Source #

Specifies the direction for EventScroll.

Constructors

ScrollDirectionUp

the window is scrolled up.

ScrollDirectionDown

the window is scrolled down.

ScrollDirectionLeft

the window is scrolled to the left.

ScrollDirectionRight

the window is scrolled to the right.

ScrollDirectionSmooth

the scrolling is determined by the delta values in EventScroll. See eventGetScrollDeltas. Since: 3.4

AnotherScrollDirection Int

Catch-all for unknown values

Instances

Instances details
Enum ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

Show ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

Eq ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

Ord ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes ScrollDirection Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes ScrollDirection = '[] :: [Type]

SettingAction

data SettingAction Source #

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

Constructors

SettingActionNew

a setting was added.

SettingActionChanged

a setting was changed.

SettingActionDeleted

a setting was deleted.

AnotherSettingAction Int

Catch-all for unknown values

Instances

Instances details
Enum SettingAction Source # 
Instance details

Defined in GI.Gdk.Enums

Show SettingAction Source # 
Instance details

Defined in GI.Gdk.Enums

Eq SettingAction Source # 
Instance details

Defined in GI.Gdk.Enums

Ord SettingAction Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum SettingAction Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject SettingAction Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes SettingAction Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes SettingAction Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes SettingAction = '[] :: [Type]

Status

data Status Source #

No description available in the introspection data.

Constructors

StatusOk

No description available in the introspection data.

StatusError

No description available in the introspection data.

StatusErrorParam

No description available in the introspection data.

StatusErrorFile

No description available in the introspection data.

StatusErrorMem

No description available in the introspection data.

AnotherStatus Int

Catch-all for unknown values

Instances

Instances details
Enum Status Source # 
Instance details

Defined in GI.Gdk.Enums

Show Status Source # 
Instance details

Defined in GI.Gdk.Enums

Eq Status Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Ord Status Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum Status Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject Status Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes Status Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes Status Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes Status = '[] :: [Type]

SubpixelLayout

data SubpixelLayout Source #

This enumeration describes how the red, green and blue components of physical pixels on an output device are laid out.

Since: 3.22

Constructors

SubpixelLayoutUnknown

The layout is not known

SubpixelLayoutNone

Not organized in this way

SubpixelLayoutHorizontalRgb

The layout is horizontal, the order is RGB

SubpixelLayoutHorizontalBgr

The layout is horizontal, the order is BGR

SubpixelLayoutVerticalRgb

The layout is vertical, the order is RGB

SubpixelLayoutVerticalBgr

The layout is vertical, the order is BGR

AnotherSubpixelLayout Int

Catch-all for unknown values

Instances

Instances details
Enum SubpixelLayout Source # 
Instance details

Defined in GI.Gdk.Enums

Show SubpixelLayout Source # 
Instance details

Defined in GI.Gdk.Enums

Eq SubpixelLayout Source # 
Instance details

Defined in GI.Gdk.Enums

Ord SubpixelLayout Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum SubpixelLayout Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject SubpixelLayout Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes SubpixelLayout Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes SubpixelLayout Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes SubpixelLayout = '[] :: [Type]

TouchpadGesturePhase

data TouchpadGesturePhase Source #

Specifies the current state of a touchpad gesture. All gestures are guaranteed to begin with an event with phase TouchpadGesturePhaseBegin, followed by 0 or several events with phase TouchpadGesturePhaseUpdate.

A finished gesture may have 2 possible outcomes, an event with phase TouchpadGesturePhaseEnd will be emitted when the gesture is considered successful, this should be used as the hint to perform any permanent changes.

Cancelled gestures may be so for a variety of reasons, due to hardware or the compositor, or due to the gesture recognition layers hinting the gesture did not finish resolutely (eg. a 3rd finger being added during a pinch gesture). In these cases, the last event will report the phase TouchpadGesturePhaseCancel, this should be used as a hint to undo any visible/permanent changes that were done throughout the progress of the gesture.

See also EventTouchpadSwipe and EventTouchpadPinch.

Constructors

TouchpadGesturePhaseBegin

The gesture has begun.

TouchpadGesturePhaseUpdate

The gesture has been updated.

TouchpadGesturePhaseEnd

The gesture was finished, changes should be permanently applied.

TouchpadGesturePhaseCancel

The gesture was cancelled, all changes should be undone.

AnotherTouchpadGesturePhase Int

Catch-all for unknown values

Instances

Instances details
Enum TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

Show TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

Eq TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

Ord TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes TouchpadGesturePhase Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes TouchpadGesturePhase = '[] :: [Type]

VisibilityState

data VisibilityState Source #

Specifies the visiblity status of a window for a EventVisibility.

Constructors

VisibilityStateUnobscured

the window is completely visible.

VisibilityStatePartial

the window is partially visible.

VisibilityStateFullyObscured

the window is not visible at all.

AnotherVisibilityState Int

Catch-all for unknown values

Instances

Instances details
Enum VisibilityState Source # 
Instance details

Defined in GI.Gdk.Enums

Show VisibilityState Source # 
Instance details

Defined in GI.Gdk.Enums

Eq VisibilityState Source # 
Instance details

Defined in GI.Gdk.Enums

Ord VisibilityState Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum VisibilityState Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject VisibilityState Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes VisibilityState Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes VisibilityState Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes VisibilityState = '[] :: [Type]

VisualType

data VisualType Source #

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

Constructors

VisualTypeStaticGray

Each pixel value indexes a grayscale value directly.

VisualTypeGrayscale

Each pixel is an index into a color map that maps pixel values into grayscale values. The color map can be changed by an application.

VisualTypeStaticColor

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

VisualTypePseudoColor

Each pixel is an index into a color map that maps pixel values into rgb values. The color map can be changed by an application.

VisualTypeTrueColor

Each pixel value directly contains red, green, and blue components. Use visualGetRedPixelDetails, etc, to obtain information about how the components are assembled into a pixel value.

VisualTypeDirectColor

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

AnotherVisualType Int

Catch-all for unknown values

Instances

Instances details
Enum VisualType Source # 
Instance details

Defined in GI.Gdk.Enums

Show VisualType Source # 
Instance details

Defined in GI.Gdk.Enums

Eq VisualType Source # 
Instance details

Defined in GI.Gdk.Enums

Ord VisualType Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum VisualType Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject VisualType Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes VisualType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes VisualType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes VisualType = '[] :: [Type]

WindowEdge

data WindowEdge Source #

Determines a window edge or corner.

Constructors

WindowEdgeNorthWest

the top left corner.

WindowEdgeNorth

the top edge.

WindowEdgeNorthEast

the top right corner.

WindowEdgeWest

the left edge.

WindowEdgeEast

the right edge.

WindowEdgeSouthWest

the lower left corner.

WindowEdgeSouth

the lower edge.

WindowEdgeSouthEast

the lower right corner.

AnotherWindowEdge Int

Catch-all for unknown values

Instances

Instances details
Enum WindowEdge Source # 
Instance details

Defined in GI.Gdk.Enums

Show WindowEdge Source # 
Instance details

Defined in GI.Gdk.Enums

Eq WindowEdge Source # 
Instance details

Defined in GI.Gdk.Enums

Ord WindowEdge Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum WindowEdge Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject WindowEdge Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes WindowEdge Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes WindowEdge Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes WindowEdge = '[] :: [Type]

WindowType

data WindowType Source #

Describes the kind of window.

Constructors

WindowTypeRoot

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

WindowTypeToplevel

toplevel window (used to implement GtkWindow)

WindowTypeChild

child window (used to implement e.g. GtkEntry)

WindowTypeTemp

override redirect temporary window (used to implement GtkMenu)

WindowTypeForeign

foreign window (see gdk_window_foreign_new())

WindowTypeOffscreen

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

WindowTypeSubsurface

subsurface-based window; This window is visually tied to a toplevel, and is moved/stacked with it. Currently this window type is only implemented in Wayland. Since 3.14

AnotherWindowType Int

Catch-all for unknown values

Instances

Instances details
Enum WindowType Source # 
Instance details

Defined in GI.Gdk.Enums

Show WindowType Source # 
Instance details

Defined in GI.Gdk.Enums

Eq WindowType Source # 
Instance details

Defined in GI.Gdk.Enums

Ord WindowType Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum WindowType Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject WindowType Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes WindowType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes WindowType Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes WindowType = '[] :: [Type]

WindowTypeHint

data WindowTypeHint Source #

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.

Constructors

WindowTypeHintNormal

Normal toplevel window.

WindowTypeHintDialog

Dialog window.

WindowTypeHintMenu

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

WindowTypeHintToolbar

Window used to implement toolbars.

WindowTypeHintSplashscreen

Window used to display a splash screen during application startup.

WindowTypeHintUtility

Utility windows which are not detached toolbars or dialogs.

WindowTypeHintDock

Used for creating dock or panel windows.

WindowTypeHintDesktop

Used for creating the desktop background window.

WindowTypeHintDropdownMenu

A menu that belongs to a menubar.

WindowTypeHintPopupMenu

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

WindowTypeHintTooltip

A tooltip.

WindowTypeHintNotification

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

WindowTypeHintCombo

A popup from a combo box.

WindowTypeHintDnd

A window that is used to implement a DND cursor.

AnotherWindowTypeHint Int

Catch-all for unknown values

Instances

Instances details
Enum WindowTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

Show WindowTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

Eq WindowTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

Ord WindowTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum WindowTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject WindowTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes WindowTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes WindowTypeHint Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes WindowTypeHint = '[] :: [Type]

WindowWindowClass

data WindowWindowClass Source #

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

Constructors

WindowWindowClassInputOutput

window for graphics and events

WindowWindowClassInputOnly

window for events only

AnotherWindowWindowClass Int

Catch-all for unknown values

Instances

Instances details
Enum WindowWindowClass Source # 
Instance details

Defined in GI.Gdk.Enums

Show WindowWindowClass Source # 
Instance details

Defined in GI.Gdk.Enums

Eq WindowWindowClass Source # 
Instance details

Defined in GI.Gdk.Enums

Ord WindowWindowClass Source # 
Instance details

Defined in GI.Gdk.Enums

BoxedEnum WindowWindowClass Source # 
Instance details

Defined in GI.Gdk.Enums

TypedObject WindowWindowClass Source # 
Instance details

Defined in GI.Gdk.Enums

Methods

glibType :: IO GType

HasParentTypes WindowWindowClass Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes WindowWindowClass Source # 
Instance details

Defined in GI.Gdk.Enums

type ParentTypes WindowWindowClass = '[] :: [Type]