gi-gdk-3.0.23: Gdk bindings

Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte
License | LGPL-2.1
Maintainer | Iñaki García Etxebarria
Safe Haskell | None
Language | Haskell2010

GI.Gdk.Enums

Contents

- Enumerations
  - AxisUse
  - ByteOrder
  - CrossingMode
  - CursorType
  - DevicePadFeature
  - DeviceToolType
  - DeviceType
  - DragCancelReason
  - DragProtocol
  - EventType
  - FilterReturn
  - FullscreenMode
  - GLError
  - GrabOwnership
  - GrabStatus
  - Gravity
  - InputMode
  - InputSource
  - ModifierIntent
  - NotifyType
  - OwnerChange
  - PropMode
  - PropertyState
  - ScrollDirection
  - SettingAction
  - Status
  - SubpixelLayout
  - TouchpadGesturePhase
  - VisibilityState
  - VisualType
  - WindowEdge
  - WindowType
  - WindowTypeHint
  - WindowWindowClass

Description

Synopsis

- data AxisUse
  - = AxisUseIgnore
  - | AxisUseX
  - | AxisUseY
  - | AxisUsePressure
  - | AxisUseXtilt
  - | AxisUseYtilt
  - | AxisUseWheel
  - | AxisUseDistance
  - | AxisUseRotation
  - | AxisUseSlider
  - | AxisUseLast
  - | AnotherAxisUse Int
- data ByteOrder
  - = ByteOrderLsbFirst
  - | ByteOrderMsbFirst
  - | AnotherByteOrder Int
- data CrossingMode
  - = CrossingModeNormal
  - | CrossingModeGrab
  - | CrossingModeUngrab
  - | CrossingModeGtkGrab
  - | CrossingModeGtkUngrab
  - | CrossingModeStateChanged
  - | CrossingModeTouchBegin
  - | CrossingModeTouchEnd
  - | CrossingModeDeviceSwitch
  - | AnotherCrossingMode Int
- data CursorType
  - = 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
  - | CursorTypeRtlLogo
  - | 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
  - | CursorTypeBlankCursor
  - | CursorTypeCursorIsPixmap
  - | AnotherCursorType Int
- data DevicePadFeature
  - = DevicePadFeatureButton
  - | DevicePadFeatureRing
  - | DevicePadFeatureStrip
  - | AnotherDevicePadFeature Int
- data DeviceToolType
  - = DeviceToolTypeUnknown
  - | DeviceToolTypePen
  - | DeviceToolTypeEraser
  - | DeviceToolTypeBrush
  - | DeviceToolTypePencil
  - | DeviceToolTypeAirbrush
  - | DeviceToolTypeMouse
  - | DeviceToolTypeLens
  - | AnotherDeviceToolType Int
- data DeviceType
  - = DeviceTypeMaster
  - | DeviceTypeSlave
  - | DeviceTypeFloating
  - | AnotherDeviceType Int
- data DragCancelReason
  - = DragCancelReasonNoTarget
  - | DragCancelReasonUserCancelled
  - | DragCancelReasonError
  - | AnotherDragCancelReason Int
- data DragProtocol
  - = DragProtocolNone
  - | DragProtocolMotif
  - | DragProtocolXdnd
  - | DragProtocolRootwin
  - | DragProtocolWin32Dropfiles
  - | DragProtocolOle2
  - | DragProtocolLocal
  - | DragProtocolWayland
  - | AnotherDragProtocol Int
- data EventType
  - = EventTypeNothing
  - | EventTypeDelete
  - | EventTypeDestroy
  - | EventTypeExpose
  - | EventTypeMotionNotify
  - | EventTypeButtonPress
  - | EventType2buttonPress
  - | EventTypeDoubleButtonPress
  - | EventType3buttonPress
  - | EventTypeTripleButtonPress
  - | EventTypeButtonRelease
  - | EventTypeKeyPress
  - | EventTypeKeyRelease
  - | EventTypeEnterNotify
  - | EventTypeLeaveNotify
  - | EventTypeFocusChange
  - | EventTypeConfigure
  - | EventTypeMap
  - | EventTypeUnmap
  - | EventTypePropertyNotify
  - | EventTypeSelectionClear
  - | EventTypeSelectionRequest
  - | EventTypeSelectionNotify
  - | EventTypeProximityIn
  - | EventTypeProximityOut
  - | EventTypeDragEnter
  - | EventTypeDragLeave
  - | EventTypeDragMotion
  - | EventTypeDragStatus
  - | EventTypeDropStart
  - | EventTypeDropFinished
  - | EventTypeClientEvent
  - | EventTypeVisibilityNotify
  - | EventTypeScroll
  - | EventTypeWindowState
  - | EventTypeSetting
  - | EventTypeOwnerChange
  - | EventTypeGrabBroken
  - | EventTypeDamage
  - | EventTypeTouchBegin
  - | EventTypeTouchUpdate
  - | EventTypeTouchEnd
  - | EventTypeTouchCancel
  - | EventTypeTouchpadSwipe
  - | EventTypeTouchpadPinch
  - | EventTypePadButtonPress
  - | EventTypePadButtonRelease
  - | EventTypePadRing
  - | EventTypePadStrip
  - | EventTypePadGroupMode
  - | EventTypeEventLast
  - | AnotherEventType Int
- data FilterReturn
  - = FilterReturnContinue
  - | FilterReturnTranslate
  - | FilterReturnRemove
  - | AnotherFilterReturn Int
- data FullscreenMode
  - = FullscreenModeCurrentMonitor
  - | FullscreenModeAllMonitors
  - | AnotherFullscreenMode Int
- data GLError
  - = GLErrorNotAvailable
  - | GLErrorUnsupportedFormat
  - | GLErrorUnsupportedProfile
  - | AnotherGLError Int
- catchGLError :: IO a -> (GLError -> GErrorMessage -> IO a) -> IO a
- handleGLError :: (GLError -> GErrorMessage -> IO a) -> IO a -> IO a
- data GrabOwnership
  - = GrabOwnershipNone
  - | GrabOwnershipWindow
  - | GrabOwnershipApplication
  - | AnotherGrabOwnership Int
- data GrabStatus
  - = GrabStatusSuccess
  - | GrabStatusAlreadyGrabbed
  - | GrabStatusInvalidTime
  - | GrabStatusNotViewable
  - | GrabStatusFrozen
  - | GrabStatusFailed
  - | AnotherGrabStatus Int
- data Gravity
  - = GravityNorthWest
  - | GravityNorth
  - | GravityNorthEast
  - | GravityWest
  - | GravityCenter
  - | GravityEast
  - | GravitySouthWest
  - | GravitySouth
  - | GravitySouthEast
  - | GravityStatic
  - | AnotherGravity Int
- data InputMode
  - = InputModeDisabled
  - | InputModeScreen
  - | InputModeWindow
  - | AnotherInputMode Int
- data InputSource
  - = InputSourceMouse
  - | InputSourcePen
  - | InputSourceEraser
  - | InputSourceCursor
  - | InputSourceKeyboard
  - | InputSourceTouchscreen
  - | InputSourceTouchpad
  - | InputSourceTrackpoint
  - | InputSourceTabletPad
  - | AnotherInputSource Int
- data ModifierIntent
  - = ModifierIntentPrimaryAccelerator
  - | ModifierIntentContextMenu
  - | ModifierIntentExtendSelection
  - | ModifierIntentModifySelection
  - | ModifierIntentNoTextInput
  - | ModifierIntentShiftGroup
  - | ModifierIntentDefaultModMask
  - | AnotherModifierIntent Int
- data NotifyType
  - = NotifyTypeAncestor
  - | NotifyTypeVirtual
  - | NotifyTypeInferior
  - | NotifyTypeNonlinear
  - | NotifyTypeNonlinearVirtual
  - | NotifyTypeUnknown
  - | AnotherNotifyType Int
- data OwnerChange
  - = OwnerChangeNewOwner
  - | OwnerChangeDestroy
  - | OwnerChangeClose
  - | AnotherOwnerChange Int
- data PropMode
  - = PropModeReplace
  - | PropModePrepend
  - | PropModeAppend
  - | AnotherPropMode Int
- data PropertyState
  - = PropertyStateNewValue
  - | PropertyStateDelete
  - | AnotherPropertyState Int
- data ScrollDirection
  - = ScrollDirectionUp
  - | ScrollDirectionDown
  - | ScrollDirectionLeft
  - | ScrollDirectionRight
  - | ScrollDirectionSmooth
  - | AnotherScrollDirection Int
- data SettingAction
  - = SettingActionNew
  - | SettingActionChanged
  - | SettingActionDeleted
  - | AnotherSettingAction Int
- data Status
  - = StatusOk
  - | StatusError
  - | StatusErrorParam
  - | StatusErrorFile
  - | StatusErrorMem
  - | AnotherStatus Int
- data SubpixelLayout
  - = SubpixelLayoutUnknown
  - | SubpixelLayoutNone
  - | SubpixelLayoutHorizontalRgb
  - | SubpixelLayoutHorizontalBgr
  - | SubpixelLayoutVerticalRgb
  - | SubpixelLayoutVerticalBgr
  - | AnotherSubpixelLayout Int
- data TouchpadGesturePhase
  - = TouchpadGesturePhaseBegin
  - | TouchpadGesturePhaseUpdate
  - | TouchpadGesturePhaseEnd
  - | TouchpadGesturePhaseCancel
  - | AnotherTouchpadGesturePhase Int
- data VisibilityState
  - = VisibilityStateUnobscured
  - | VisibilityStatePartial
  - | VisibilityStateFullyObscured
  - | AnotherVisibilityState Int
- data VisualType
  - = VisualTypeStaticGray
  - | VisualTypeGrayscale
  - | VisualTypeStaticColor
  - | VisualTypePseudoColor
  - | VisualTypeTrueColor
  - | VisualTypeDirectColor
  - | AnotherVisualType Int
- data WindowEdge
  - = WindowEdgeNorthWest
  - | WindowEdgeNorth
  - | WindowEdgeNorthEast
  - | WindowEdgeWest
  - | WindowEdgeEast
  - | WindowEdgeSouthWest
  - | WindowEdgeSouth
  - | WindowEdgeSouthEast
  - | AnotherWindowEdge Int
- data WindowType
  - = WindowTypeRoot
  - | WindowTypeToplevel
  - | WindowTypeChild
  - | WindowTypeTemp
  - | WindowTypeForeign
  - | WindowTypeOffscreen
  - | WindowTypeSubsurface
  - | AnotherWindowType Int
- data WindowTypeHint
  - = WindowTypeHintNormal
  - | WindowTypeHintDialog
  - | WindowTypeHintMenu
  - | WindowTypeHintToolbar
  - | WindowTypeHintSplashscreen
  - | WindowTypeHintUtility
  - | WindowTypeHintDock
  - | WindowTypeHintDesktop
  - | WindowTypeHintDropdownMenu
  - | WindowTypeHintPopupMenu
  - | WindowTypeHintTooltip
  - | WindowTypeHintNotification
  - | WindowTypeHintCombo
  - | WindowTypeHintDnd
  - | AnotherWindowTypeHint Int
- data WindowWindowClass
  - = WindowWindowClassInputOutput
  - | WindowWindowClassInputOnly
  - | AnotherWindowWindowClass Int

# 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 Methods succ :: AxisUse -> AxisUse pred :: AxisUse -> AxisUse toEnum :: Int -> AxisUse # fromEnum :: AxisUse -> Int # enumFrom :: AxisUse -> [AxisUse] enumFromThen :: AxisUse -> AxisUse -> [AxisUse] enumFromTo :: AxisUse -> AxisUse -> [AxisUse] enumFromThenTo :: AxisUse -> AxisUse -> AxisUse -> [AxisUse]
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 Methods compare :: AxisUse -> AxisUse -> Ordering (<) :: AxisUse -> AxisUse -> Bool (<=) :: AxisUse -> AxisUse -> Bool (>) :: AxisUse -> AxisUse -> Bool (>=) :: AxisUse -> AxisUse -> Bool max :: AxisUse -> AxisUse -> AxisUse min :: AxisUse -> AxisUse -> AxisUse
Show AxisUse Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> AxisUse -> ShowS # show :: AxisUse -> String # showList :: [AxisUse] -> ShowS #
BoxedEnum AxisUse Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject AxisUse Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: ByteOrder -> ByteOrder pred :: ByteOrder -> ByteOrder toEnum :: Int -> ByteOrder # fromEnum :: ByteOrder -> Int # enumFrom :: ByteOrder -> [ByteOrder] enumFromThen :: ByteOrder -> ByteOrder -> [ByteOrder] enumFromTo :: ByteOrder -> ByteOrder -> [ByteOrder] enumFromThenTo :: ByteOrder -> ByteOrder -> ByteOrder -> [ByteOrder]
Eq ByteOrder Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: ByteOrder -> ByteOrder -> Bool # (/=) :: ByteOrder -> ByteOrder -> Bool #
Ord ByteOrder Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: ByteOrder -> ByteOrder -> Ordering (<) :: ByteOrder -> ByteOrder -> Bool (<=) :: ByteOrder -> ByteOrder -> Bool (>) :: ByteOrder -> ByteOrder -> Bool (>=) :: ByteOrder -> ByteOrder -> Bool max :: ByteOrder -> ByteOrder -> ByteOrder min :: ByteOrder -> ByteOrder -> ByteOrder
Show ByteOrder Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> ByteOrder -> ShowS # show :: ByteOrder -> String # showList :: [ByteOrder] -> ShowS #
BoxedEnum ByteOrder Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject ByteOrder Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: CrossingMode -> CrossingMode

pred :: CrossingMode -> CrossingMode

toEnum :: Int -> CrossingMode #

fromEnum :: CrossingMode -> Int #

enumFrom :: CrossingMode -> [CrossingMode]

enumFromThen :: CrossingMode -> CrossingMode -> [CrossingMode]

enumFromTo :: CrossingMode -> CrossingMode -> [CrossingMode]

enumFromThenTo :: CrossingMode -> CrossingMode -> CrossingMode -> [CrossingMode]

Eq CrossingMode Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: CrossingMode -> CrossingMode -> Bool # (/=) :: CrossingMode -> CrossingMode -> Bool #
Ord CrossingMode Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: CrossingMode -> CrossingMode -> Ordering (<) :: CrossingMode -> CrossingMode -> Bool (<=) :: CrossingMode -> CrossingMode -> Bool (>) :: CrossingMode -> CrossingMode -> Bool (>=) :: CrossingMode -> CrossingMode -> Bool max :: CrossingMode -> CrossingMode -> CrossingMode min :: CrossingMode -> CrossingMode -> CrossingMode
Show CrossingMode Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> CrossingMode -> ShowS # show :: CrossingMode -> String # showList :: [CrossingMode] -> ShowS #
BoxedEnum CrossingMode Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject CrossingMode Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 |
CursorTypeRtlLogo |
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 Methods succ :: CursorType -> CursorType pred :: CursorType -> CursorType toEnum :: Int -> CursorType # fromEnum :: CursorType -> Int # enumFrom :: CursorType -> [CursorType] enumFromThen :: CursorType -> CursorType -> [CursorType] enumFromTo :: CursorType -> CursorType -> [CursorType] enumFromThenTo :: CursorType -> CursorType -> CursorType -> [CursorType]
Eq CursorType Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: CursorType -> CursorType -> Bool # (/=) :: CursorType -> CursorType -> Bool #
Ord CursorType Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: CursorType -> CursorType -> Ordering (<) :: CursorType -> CursorType -> Bool (<=) :: CursorType -> CursorType -> Bool (>) :: CursorType -> CursorType -> Bool (>=) :: CursorType -> CursorType -> Bool max :: CursorType -> CursorType -> CursorType min :: CursorType -> CursorType -> CursorType
Show CursorType Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> CursorType -> ShowS # show :: CursorType -> String # showList :: [CursorType] -> ShowS #
BoxedEnum CursorType Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject CursorType Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: DevicePadFeature -> DevicePadFeature

pred :: DevicePadFeature -> DevicePadFeature

toEnum :: Int -> DevicePadFeature #

fromEnum :: DevicePadFeature -> Int #

enumFrom :: DevicePadFeature -> [DevicePadFeature]

enumFromThen :: DevicePadFeature -> DevicePadFeature -> [DevicePadFeature]

enumFromTo :: DevicePadFeature -> DevicePadFeature -> [DevicePadFeature]

enumFromThenTo :: DevicePadFeature -> DevicePadFeature -> DevicePadFeature -> [DevicePadFeature]

Eq DevicePadFeature Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: DevicePadFeature -> DevicePadFeature -> Bool # (/=) :: DevicePadFeature -> DevicePadFeature -> Bool #
Ord DevicePadFeature Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: DevicePadFeature -> DevicePadFeature -> Ordering

(<) :: DevicePadFeature -> DevicePadFeature -> Bool

(<=) :: DevicePadFeature -> DevicePadFeature -> Bool

(>) :: DevicePadFeature -> DevicePadFeature -> Bool

(>=) :: DevicePadFeature -> DevicePadFeature -> Bool

max :: DevicePadFeature -> DevicePadFeature -> DevicePadFeature

min :: DevicePadFeature -> DevicePadFeature -> DevicePadFeature

Show DevicePadFeature Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> DevicePadFeature -> ShowS # show :: DevicePadFeature -> String # showList :: [DevicePadFeature] -> ShowS #
BoxedEnum DevicePadFeature Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject DevicePadFeature Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: DeviceToolType -> DeviceToolType

pred :: DeviceToolType -> DeviceToolType

toEnum :: Int -> DeviceToolType #

fromEnum :: DeviceToolType -> Int #

enumFrom :: DeviceToolType -> [DeviceToolType]

enumFromThen :: DeviceToolType -> DeviceToolType -> [DeviceToolType]

enumFromTo :: DeviceToolType -> DeviceToolType -> [DeviceToolType]

enumFromThenTo :: DeviceToolType -> DeviceToolType -> DeviceToolType -> [DeviceToolType]

Eq DeviceToolType Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: DeviceToolType -> DeviceToolType -> Bool # (/=) :: DeviceToolType -> DeviceToolType -> Bool #
Ord DeviceToolType Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: DeviceToolType -> DeviceToolType -> Ordering

(<) :: DeviceToolType -> DeviceToolType -> Bool

(<=) :: DeviceToolType -> DeviceToolType -> Bool

(>) :: DeviceToolType -> DeviceToolType -> Bool

(>=) :: DeviceToolType -> DeviceToolType -> Bool

max :: DeviceToolType -> DeviceToolType -> DeviceToolType

min :: DeviceToolType -> DeviceToolType -> DeviceToolType

Show DeviceToolType Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> DeviceToolType -> ShowS # show :: DeviceToolType -> String # showList :: [DeviceToolType] -> ShowS #
BoxedEnum DeviceToolType Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject DeviceToolType Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: DeviceType -> DeviceType pred :: DeviceType -> DeviceType toEnum :: Int -> DeviceType # fromEnum :: DeviceType -> Int # enumFrom :: DeviceType -> [DeviceType] enumFromThen :: DeviceType -> DeviceType -> [DeviceType] enumFromTo :: DeviceType -> DeviceType -> [DeviceType] enumFromThenTo :: DeviceType -> DeviceType -> DeviceType -> [DeviceType]
Eq DeviceType Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: DeviceType -> DeviceType -> Bool # (/=) :: DeviceType -> DeviceType -> Bool #
Ord DeviceType Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: DeviceType -> DeviceType -> Ordering (<) :: DeviceType -> DeviceType -> Bool (<=) :: DeviceType -> DeviceType -> Bool (>) :: DeviceType -> DeviceType -> Bool (>=) :: DeviceType -> DeviceType -> Bool max :: DeviceType -> DeviceType -> DeviceType min :: DeviceType -> DeviceType -> DeviceType
Show DeviceType Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> DeviceType -> ShowS # show :: DeviceType -> String # showList :: [DeviceType] -> ShowS #
BoxedEnum DeviceType Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject DeviceType Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: DragCancelReason -> DragCancelReason

pred :: DragCancelReason -> DragCancelReason

toEnum :: Int -> DragCancelReason #

fromEnum :: DragCancelReason -> Int #

enumFrom :: DragCancelReason -> [DragCancelReason]

enumFromThen :: DragCancelReason -> DragCancelReason -> [DragCancelReason]

enumFromTo :: DragCancelReason -> DragCancelReason -> [DragCancelReason]

enumFromThenTo :: DragCancelReason -> DragCancelReason -> DragCancelReason -> [DragCancelReason]

Eq DragCancelReason Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: DragCancelReason -> DragCancelReason -> Bool # (/=) :: DragCancelReason -> DragCancelReason -> Bool #
Ord DragCancelReason Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: DragCancelReason -> DragCancelReason -> Ordering

(<) :: DragCancelReason -> DragCancelReason -> Bool

(<=) :: DragCancelReason -> DragCancelReason -> Bool

(>) :: DragCancelReason -> DragCancelReason -> Bool

(>=) :: DragCancelReason -> DragCancelReason -> Bool

max :: DragCancelReason -> DragCancelReason -> DragCancelReason

min :: DragCancelReason -> DragCancelReason -> DragCancelReason

Show DragCancelReason Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> DragCancelReason -> ShowS # show :: DragCancelReason -> String # showList :: [DragCancelReason] -> ShowS #
BoxedEnum DragCancelReason Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject DragCancelReason Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: DragProtocol -> DragProtocol

pred :: DragProtocol -> DragProtocol

toEnum :: Int -> DragProtocol #

fromEnum :: DragProtocol -> Int #

enumFrom :: DragProtocol -> [DragProtocol]

enumFromThen :: DragProtocol -> DragProtocol -> [DragProtocol]

enumFromTo :: DragProtocol -> DragProtocol -> [DragProtocol]

enumFromThenTo :: DragProtocol -> DragProtocol -> DragProtocol -> [DragProtocol]

Eq DragProtocol Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: DragProtocol -> DragProtocol -> Bool # (/=) :: DragProtocol -> DragProtocol -> Bool #
Ord DragProtocol Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: DragProtocol -> DragProtocol -> Ordering (<) :: DragProtocol -> DragProtocol -> Bool (<=) :: DragProtocol -> DragProtocol -> Bool (>) :: DragProtocol -> DragProtocol -> Bool (>=) :: DragProtocol -> DragProtocol -> Bool max :: DragProtocol -> DragProtocol -> DragProtocol min :: DragProtocol -> DragProtocol -> DragProtocol
Show DragProtocol Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> DragProtocol -> ShowS # show :: DragProtocol -> String # showList :: [DragProtocol] -> ShowS #
BoxedEnum DragProtocol Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject DragProtocol Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: EventType -> EventType pred :: EventType -> EventType toEnum :: Int -> EventType # fromEnum :: EventType -> Int # enumFrom :: EventType -> [EventType] enumFromThen :: EventType -> EventType -> [EventType] enumFromTo :: EventType -> EventType -> [EventType] enumFromThenTo :: EventType -> EventType -> EventType -> [EventType]
Eq EventType Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: EventType -> EventType -> Bool # (/=) :: EventType -> EventType -> Bool #
Ord EventType Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: EventType -> EventType -> Ordering (<) :: EventType -> EventType -> Bool (<=) :: EventType -> EventType -> Bool (>) :: EventType -> EventType -> Bool (>=) :: EventType -> EventType -> Bool max :: EventType -> EventType -> EventType min :: EventType -> EventType -> EventType
Show EventType Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> EventType -> ShowS # show :: EventType -> String # showList :: [EventType] -> ShowS #
BoxedEnum EventType Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject EventType Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: FilterReturn -> FilterReturn

pred :: FilterReturn -> FilterReturn

toEnum :: Int -> FilterReturn #

fromEnum :: FilterReturn -> Int #

enumFrom :: FilterReturn -> [FilterReturn]

enumFromThen :: FilterReturn -> FilterReturn -> [FilterReturn]

enumFromTo :: FilterReturn -> FilterReturn -> [FilterReturn]

enumFromThenTo :: FilterReturn -> FilterReturn -> FilterReturn -> [FilterReturn]

Eq FilterReturn Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: FilterReturn -> FilterReturn -> Bool # (/=) :: FilterReturn -> FilterReturn -> Bool #
Ord FilterReturn Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: FilterReturn -> FilterReturn -> Ordering (<) :: FilterReturn -> FilterReturn -> Bool (<=) :: FilterReturn -> FilterReturn -> Bool (>) :: FilterReturn -> FilterReturn -> Bool (>=) :: FilterReturn -> FilterReturn -> Bool max :: FilterReturn -> FilterReturn -> FilterReturn min :: FilterReturn -> FilterReturn -> FilterReturn
Show FilterReturn Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> FilterReturn -> ShowS # show :: FilterReturn -> String # showList :: [FilterReturn] -> ShowS #
BoxedEnum FilterReturn Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject FilterReturn Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: FullscreenMode -> FullscreenMode

pred :: FullscreenMode -> FullscreenMode

toEnum :: Int -> FullscreenMode #

fromEnum :: FullscreenMode -> Int #

enumFrom :: FullscreenMode -> [FullscreenMode]

enumFromThen :: FullscreenMode -> FullscreenMode -> [FullscreenMode]

enumFromTo :: FullscreenMode -> FullscreenMode -> [FullscreenMode]

enumFromThenTo :: FullscreenMode -> FullscreenMode -> FullscreenMode -> [FullscreenMode]

Eq FullscreenMode Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: FullscreenMode -> FullscreenMode -> Bool # (/=) :: FullscreenMode -> FullscreenMode -> Bool #
Ord FullscreenMode Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: FullscreenMode -> FullscreenMode -> Ordering

(<) :: FullscreenMode -> FullscreenMode -> Bool

(<=) :: FullscreenMode -> FullscreenMode -> Bool

(>) :: FullscreenMode -> FullscreenMode -> Bool

(>=) :: FullscreenMode -> FullscreenMode -> Bool

max :: FullscreenMode -> FullscreenMode -> FullscreenMode

min :: FullscreenMode -> FullscreenMode -> FullscreenMode

Show FullscreenMode Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> FullscreenMode -> ShowS # show :: FullscreenMode -> String # showList :: [FullscreenMode] -> ShowS #
BoxedEnum FullscreenMode Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject FullscreenMode Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: GLError -> GLError pred :: GLError -> GLError toEnum :: Int -> GLError # fromEnum :: GLError -> Int # enumFrom :: GLError -> [GLError] enumFromThen :: GLError -> GLError -> [GLError] enumFromTo :: GLError -> GLError -> [GLError] enumFromThenTo :: GLError -> GLError -> GLError -> [GLError]
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 Methods compare :: GLError -> GLError -> Ordering (<) :: GLError -> GLError -> Bool (<=) :: GLError -> GLError -> Bool (>) :: GLError -> GLError -> Bool (>=) :: GLError -> GLError -> Bool max :: GLError -> GLError -> GLError min :: GLError -> GLError -> GLError
Show GLError Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> GLError -> ShowS # show :: GLError -> String # showList :: [GLError] -> ShowS #
BoxedEnum GLError Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject GLError Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
GErrorClass GLError Source # |
Instance details Defined in GI.Gdk.Enums Methods gerrorClassDomain :: GLError -> Text Source #
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

Methods

succ :: GrabOwnership -> GrabOwnership

pred :: GrabOwnership -> GrabOwnership

toEnum :: Int -> GrabOwnership #

fromEnum :: GrabOwnership -> Int #

enumFrom :: GrabOwnership -> [GrabOwnership]

enumFromThen :: GrabOwnership -> GrabOwnership -> [GrabOwnership]

enumFromTo :: GrabOwnership -> GrabOwnership -> [GrabOwnership]

enumFromThenTo :: GrabOwnership -> GrabOwnership -> GrabOwnership -> [GrabOwnership]

Eq GrabOwnership Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: GrabOwnership -> GrabOwnership -> Bool # (/=) :: GrabOwnership -> GrabOwnership -> Bool #
Ord GrabOwnership Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: GrabOwnership -> GrabOwnership -> Ordering (<) :: GrabOwnership -> GrabOwnership -> Bool (<=) :: GrabOwnership -> GrabOwnership -> Bool (>) :: GrabOwnership -> GrabOwnership -> Bool (>=) :: GrabOwnership -> GrabOwnership -> Bool max :: GrabOwnership -> GrabOwnership -> GrabOwnership min :: GrabOwnership -> GrabOwnership -> GrabOwnership
Show GrabOwnership Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> GrabOwnership -> ShowS # show :: GrabOwnership -> String # showList :: [GrabOwnership] -> ShowS #
BoxedEnum GrabOwnership Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject GrabOwnership Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: GrabStatus -> GrabStatus pred :: GrabStatus -> GrabStatus toEnum :: Int -> GrabStatus # fromEnum :: GrabStatus -> Int # enumFrom :: GrabStatus -> [GrabStatus] enumFromThen :: GrabStatus -> GrabStatus -> [GrabStatus] enumFromTo :: GrabStatus -> GrabStatus -> [GrabStatus] enumFromThenTo :: GrabStatus -> GrabStatus -> GrabStatus -> [GrabStatus]
Eq GrabStatus Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: GrabStatus -> GrabStatus -> Bool # (/=) :: GrabStatus -> GrabStatus -> Bool #
Ord GrabStatus Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: GrabStatus -> GrabStatus -> Ordering (<) :: GrabStatus -> GrabStatus -> Bool (<=) :: GrabStatus -> GrabStatus -> Bool (>) :: GrabStatus -> GrabStatus -> Bool (>=) :: GrabStatus -> GrabStatus -> Bool max :: GrabStatus -> GrabStatus -> GrabStatus min :: GrabStatus -> GrabStatus -> GrabStatus
Show GrabStatus Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> GrabStatus -> ShowS # show :: GrabStatus -> String # showList :: [GrabStatus] -> ShowS #
BoxedEnum GrabStatus Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject GrabStatus Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: Gravity -> Gravity pred :: Gravity -> Gravity toEnum :: Int -> Gravity # fromEnum :: Gravity -> Int # enumFrom :: Gravity -> [Gravity] enumFromThen :: Gravity -> Gravity -> [Gravity] enumFromTo :: Gravity -> Gravity -> [Gravity] enumFromThenTo :: Gravity -> Gravity -> Gravity -> [Gravity]
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 Methods compare :: Gravity -> Gravity -> Ordering (<) :: Gravity -> Gravity -> Bool (<=) :: Gravity -> Gravity -> Bool (>) :: Gravity -> Gravity -> Bool (>=) :: Gravity -> Gravity -> Bool max :: Gravity -> Gravity -> Gravity min :: Gravity -> Gravity -> Gravity
Show Gravity Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> Gravity -> ShowS # show :: Gravity -> String # showList :: [Gravity] -> ShowS #
BoxedEnum Gravity Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject Gravity Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: InputMode -> InputMode pred :: InputMode -> InputMode toEnum :: Int -> InputMode # fromEnum :: InputMode -> Int # enumFrom :: InputMode -> [InputMode] enumFromThen :: InputMode -> InputMode -> [InputMode] enumFromTo :: InputMode -> InputMode -> [InputMode] enumFromThenTo :: InputMode -> InputMode -> InputMode -> [InputMode]
Eq InputMode Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: InputMode -> InputMode -> Bool # (/=) :: InputMode -> InputMode -> Bool #
Ord InputMode Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: InputMode -> InputMode -> Ordering (<) :: InputMode -> InputMode -> Bool (<=) :: InputMode -> InputMode -> Bool (>) :: InputMode -> InputMode -> Bool (>=) :: InputMode -> InputMode -> Bool max :: InputMode -> InputMode -> InputMode min :: InputMode -> InputMode -> InputMode
Show InputMode Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> InputMode -> ShowS # show :: InputMode -> String # showList :: [InputMode] -> ShowS #
BoxedEnum InputMode Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject InputMode Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: InputSource -> InputSource

pred :: InputSource -> InputSource

toEnum :: Int -> InputSource #

fromEnum :: InputSource -> Int #

enumFrom :: InputSource -> [InputSource]

enumFromThen :: InputSource -> InputSource -> [InputSource]

enumFromTo :: InputSource -> InputSource -> [InputSource]

enumFromThenTo :: InputSource -> InputSource -> InputSource -> [InputSource]

Eq InputSource Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: InputSource -> InputSource -> Bool # (/=) :: InputSource -> InputSource -> Bool #
Ord InputSource Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: InputSource -> InputSource -> Ordering (<) :: InputSource -> InputSource -> Bool (<=) :: InputSource -> InputSource -> Bool (>) :: InputSource -> InputSource -> Bool (>=) :: InputSource -> InputSource -> Bool max :: InputSource -> InputSource -> InputSource min :: InputSource -> InputSource -> InputSource
Show InputSource Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> InputSource -> ShowS # show :: InputSource -> String # showList :: [InputSource] -> ShowS #
BoxedEnum InputSource Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject InputSource Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: ModifierIntent -> ModifierIntent

pred :: ModifierIntent -> ModifierIntent

toEnum :: Int -> ModifierIntent #

fromEnum :: ModifierIntent -> Int #

enumFrom :: ModifierIntent -> [ModifierIntent]

enumFromThen :: ModifierIntent -> ModifierIntent -> [ModifierIntent]

enumFromTo :: ModifierIntent -> ModifierIntent -> [ModifierIntent]

enumFromThenTo :: ModifierIntent -> ModifierIntent -> ModifierIntent -> [ModifierIntent]

Eq ModifierIntent Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: ModifierIntent -> ModifierIntent -> Bool # (/=) :: ModifierIntent -> ModifierIntent -> Bool #
Ord ModifierIntent Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: ModifierIntent -> ModifierIntent -> Ordering

(<) :: ModifierIntent -> ModifierIntent -> Bool

(<=) :: ModifierIntent -> ModifierIntent -> Bool

(>) :: ModifierIntent -> ModifierIntent -> Bool

(>=) :: ModifierIntent -> ModifierIntent -> Bool

max :: ModifierIntent -> ModifierIntent -> ModifierIntent

min :: ModifierIntent -> ModifierIntent -> ModifierIntent

Show ModifierIntent Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> ModifierIntent -> ShowS # show :: ModifierIntent -> String # showList :: [ModifierIntent] -> ShowS #
BoxedEnum ModifierIntent Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject ModifierIntent Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: NotifyType -> NotifyType pred :: NotifyType -> NotifyType toEnum :: Int -> NotifyType # fromEnum :: NotifyType -> Int # enumFrom :: NotifyType -> [NotifyType] enumFromThen :: NotifyType -> NotifyType -> [NotifyType] enumFromTo :: NotifyType -> NotifyType -> [NotifyType] enumFromThenTo :: NotifyType -> NotifyType -> NotifyType -> [NotifyType]
Eq NotifyType Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: NotifyType -> NotifyType -> Bool # (/=) :: NotifyType -> NotifyType -> Bool #
Ord NotifyType Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: NotifyType -> NotifyType -> Ordering (<) :: NotifyType -> NotifyType -> Bool (<=) :: NotifyType -> NotifyType -> Bool (>) :: NotifyType -> NotifyType -> Bool (>=) :: NotifyType -> NotifyType -> Bool max :: NotifyType -> NotifyType -> NotifyType min :: NotifyType -> NotifyType -> NotifyType
Show NotifyType Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> NotifyType -> ShowS # show :: NotifyType -> String # showList :: [NotifyType] -> ShowS #
BoxedEnum NotifyType Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject NotifyType Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: OwnerChange -> OwnerChange

pred :: OwnerChange -> OwnerChange

toEnum :: Int -> OwnerChange #

fromEnum :: OwnerChange -> Int #

enumFrom :: OwnerChange -> [OwnerChange]

enumFromThen :: OwnerChange -> OwnerChange -> [OwnerChange]

enumFromTo :: OwnerChange -> OwnerChange -> [OwnerChange]

enumFromThenTo :: OwnerChange -> OwnerChange -> OwnerChange -> [OwnerChange]

Eq OwnerChange Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: OwnerChange -> OwnerChange -> Bool # (/=) :: OwnerChange -> OwnerChange -> Bool #
Ord OwnerChange Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: OwnerChange -> OwnerChange -> Ordering (<) :: OwnerChange -> OwnerChange -> Bool (<=) :: OwnerChange -> OwnerChange -> Bool (>) :: OwnerChange -> OwnerChange -> Bool (>=) :: OwnerChange -> OwnerChange -> Bool max :: OwnerChange -> OwnerChange -> OwnerChange min :: OwnerChange -> OwnerChange -> OwnerChange
Show OwnerChange Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> OwnerChange -> ShowS # show :: OwnerChange -> String # showList :: [OwnerChange] -> ShowS #
BoxedEnum OwnerChange Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject OwnerChange Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: PropMode -> PropMode pred :: PropMode -> PropMode toEnum :: Int -> PropMode # fromEnum :: PropMode -> Int # enumFrom :: PropMode -> [PropMode] enumFromThen :: PropMode -> PropMode -> [PropMode] enumFromTo :: PropMode -> PropMode -> [PropMode] enumFromThenTo :: PropMode -> PropMode -> PropMode -> [PropMode]
Eq PropMode Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: PropMode -> PropMode -> Bool # (/=) :: PropMode -> PropMode -> Bool #
Ord PropMode Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: PropMode -> PropMode -> Ordering (<) :: PropMode -> PropMode -> Bool (<=) :: PropMode -> PropMode -> Bool (>) :: PropMode -> PropMode -> Bool (>=) :: PropMode -> PropMode -> Bool max :: PropMode -> PropMode -> PropMode min :: PropMode -> PropMode -> PropMode
Show PropMode Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> PropMode -> ShowS # show :: PropMode -> String # showList :: [PropMode] -> ShowS #
BoxedEnum PropMode Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject PropMode Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: PropertyState -> PropertyState

pred :: PropertyState -> PropertyState

toEnum :: Int -> PropertyState #

fromEnum :: PropertyState -> Int #

enumFrom :: PropertyState -> [PropertyState]

enumFromThen :: PropertyState -> PropertyState -> [PropertyState]

enumFromTo :: PropertyState -> PropertyState -> [PropertyState]

enumFromThenTo :: PropertyState -> PropertyState -> PropertyState -> [PropertyState]

Eq PropertyState Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: PropertyState -> PropertyState -> Bool # (/=) :: PropertyState -> PropertyState -> Bool #
Ord PropertyState Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: PropertyState -> PropertyState -> Ordering (<) :: PropertyState -> PropertyState -> Bool (<=) :: PropertyState -> PropertyState -> Bool (>) :: PropertyState -> PropertyState -> Bool (>=) :: PropertyState -> PropertyState -> Bool max :: PropertyState -> PropertyState -> PropertyState min :: PropertyState -> PropertyState -> PropertyState
Show PropertyState Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> PropertyState -> ShowS # show :: PropertyState -> String # showList :: [PropertyState] -> ShowS #
BoxedEnum PropertyState Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject PropertyState Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: ScrollDirection -> ScrollDirection

pred :: ScrollDirection -> ScrollDirection

toEnum :: Int -> ScrollDirection #

fromEnum :: ScrollDirection -> Int #

enumFrom :: ScrollDirection -> [ScrollDirection]

enumFromThen :: ScrollDirection -> ScrollDirection -> [ScrollDirection]

enumFromTo :: ScrollDirection -> ScrollDirection -> [ScrollDirection]

enumFromThenTo :: ScrollDirection -> ScrollDirection -> ScrollDirection -> [ScrollDirection]

Eq ScrollDirection Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: ScrollDirection -> ScrollDirection -> Bool # (/=) :: ScrollDirection -> ScrollDirection -> Bool #
Ord ScrollDirection Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: ScrollDirection -> ScrollDirection -> Ordering

(<) :: ScrollDirection -> ScrollDirection -> Bool

(<=) :: ScrollDirection -> ScrollDirection -> Bool

(>) :: ScrollDirection -> ScrollDirection -> Bool

(>=) :: ScrollDirection -> ScrollDirection -> Bool

max :: ScrollDirection -> ScrollDirection -> ScrollDirection

min :: ScrollDirection -> ScrollDirection -> ScrollDirection

Show ScrollDirection Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> ScrollDirection -> ShowS # show :: ScrollDirection -> String # showList :: [ScrollDirection] -> ShowS #
BoxedEnum ScrollDirection Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject ScrollDirection Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: SettingAction -> SettingAction

pred :: SettingAction -> SettingAction

toEnum :: Int -> SettingAction #

fromEnum :: SettingAction -> Int #

enumFrom :: SettingAction -> [SettingAction]

enumFromThen :: SettingAction -> SettingAction -> [SettingAction]

enumFromTo :: SettingAction -> SettingAction -> [SettingAction]

enumFromThenTo :: SettingAction -> SettingAction -> SettingAction -> [SettingAction]

Eq SettingAction Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: SettingAction -> SettingAction -> Bool # (/=) :: SettingAction -> SettingAction -> Bool #
Ord SettingAction Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: SettingAction -> SettingAction -> Ordering (<) :: SettingAction -> SettingAction -> Bool (<=) :: SettingAction -> SettingAction -> Bool (>) :: SettingAction -> SettingAction -> Bool (>=) :: SettingAction -> SettingAction -> Bool max :: SettingAction -> SettingAction -> SettingAction min :: SettingAction -> SettingAction -> SettingAction
Show SettingAction Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> SettingAction -> ShowS # show :: SettingAction -> String # showList :: [SettingAction] -> ShowS #
BoxedEnum SettingAction Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject SettingAction Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: Status -> Status pred :: Status -> Status toEnum :: Int -> Status # fromEnum :: Status -> Int # enumFrom :: Status -> [Status] enumFromThen :: Status -> Status -> [Status] enumFromTo :: Status -> Status -> [Status] enumFromThenTo :: Status -> Status -> Status -> [Status]
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 Methods compare :: Status -> Status -> Ordering (<) :: Status -> Status -> Bool (<=) :: Status -> Status -> Bool (>) :: Status -> Status -> Bool (>=) :: Status -> Status -> Bool max :: Status -> Status -> Status min :: Status -> Status -> Status
Show Status Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> Status -> ShowS # show :: Status -> String # showList :: [Status] -> ShowS #
BoxedEnum Status Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject Status Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: SubpixelLayout -> SubpixelLayout

pred :: SubpixelLayout -> SubpixelLayout

toEnum :: Int -> SubpixelLayout #

fromEnum :: SubpixelLayout -> Int #

enumFrom :: SubpixelLayout -> [SubpixelLayout]

enumFromThen :: SubpixelLayout -> SubpixelLayout -> [SubpixelLayout]

enumFromTo :: SubpixelLayout -> SubpixelLayout -> [SubpixelLayout]

enumFromThenTo :: SubpixelLayout -> SubpixelLayout -> SubpixelLayout -> [SubpixelLayout]

Eq SubpixelLayout Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: SubpixelLayout -> SubpixelLayout -> Bool # (/=) :: SubpixelLayout -> SubpixelLayout -> Bool #
Ord SubpixelLayout Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: SubpixelLayout -> SubpixelLayout -> Ordering

(<) :: SubpixelLayout -> SubpixelLayout -> Bool

(<=) :: SubpixelLayout -> SubpixelLayout -> Bool

(>) :: SubpixelLayout -> SubpixelLayout -> Bool

(>=) :: SubpixelLayout -> SubpixelLayout -> Bool

max :: SubpixelLayout -> SubpixelLayout -> SubpixelLayout

min :: SubpixelLayout -> SubpixelLayout -> SubpixelLayout

Show SubpixelLayout Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> SubpixelLayout -> ShowS # show :: SubpixelLayout -> String # showList :: [SubpixelLayout] -> ShowS #
BoxedEnum SubpixelLayout Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject SubpixelLayout Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: TouchpadGesturePhase -> TouchpadGesturePhase

pred :: TouchpadGesturePhase -> TouchpadGesturePhase

toEnum :: Int -> TouchpadGesturePhase #

fromEnum :: TouchpadGesturePhase -> Int #

enumFrom :: TouchpadGesturePhase -> [TouchpadGesturePhase]

enumFromThen :: TouchpadGesturePhase -> TouchpadGesturePhase -> [TouchpadGesturePhase]

enumFromTo :: TouchpadGesturePhase -> TouchpadGesturePhase -> [TouchpadGesturePhase]

enumFromThenTo :: TouchpadGesturePhase -> TouchpadGesturePhase -> TouchpadGesturePhase -> [TouchpadGesturePhase]

Eq TouchpadGesturePhase Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: TouchpadGesturePhase -> TouchpadGesturePhase -> Bool # (/=) :: TouchpadGesturePhase -> TouchpadGesturePhase -> Bool #
Ord TouchpadGesturePhase Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: TouchpadGesturePhase -> TouchpadGesturePhase -> Ordering

(<) :: TouchpadGesturePhase -> TouchpadGesturePhase -> Bool

(<=) :: TouchpadGesturePhase -> TouchpadGesturePhase -> Bool

(>) :: TouchpadGesturePhase -> TouchpadGesturePhase -> Bool

(>=) :: TouchpadGesturePhase -> TouchpadGesturePhase -> Bool

max :: TouchpadGesturePhase -> TouchpadGesturePhase -> TouchpadGesturePhase

min :: TouchpadGesturePhase -> TouchpadGesturePhase -> TouchpadGesturePhase

Show TouchpadGesturePhase Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> TouchpadGesturePhase -> ShowS # show :: TouchpadGesturePhase -> String # showList :: [TouchpadGesturePhase] -> ShowS #
BoxedEnum TouchpadGesturePhase Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject TouchpadGesturePhase Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: VisibilityState -> VisibilityState

pred :: VisibilityState -> VisibilityState

toEnum :: Int -> VisibilityState #

fromEnum :: VisibilityState -> Int #

enumFrom :: VisibilityState -> [VisibilityState]

enumFromThen :: VisibilityState -> VisibilityState -> [VisibilityState]

enumFromTo :: VisibilityState -> VisibilityState -> [VisibilityState]

enumFromThenTo :: VisibilityState -> VisibilityState -> VisibilityState -> [VisibilityState]

Eq VisibilityState Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: VisibilityState -> VisibilityState -> Bool # (/=) :: VisibilityState -> VisibilityState -> Bool #
Ord VisibilityState Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: VisibilityState -> VisibilityState -> Ordering

(<) :: VisibilityState -> VisibilityState -> Bool

(<=) :: VisibilityState -> VisibilityState -> Bool

(>) :: VisibilityState -> VisibilityState -> Bool

(>=) :: VisibilityState -> VisibilityState -> Bool

max :: VisibilityState -> VisibilityState -> VisibilityState

min :: VisibilityState -> VisibilityState -> VisibilityState

Show VisibilityState Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> VisibilityState -> ShowS # show :: VisibilityState -> String # showList :: [VisibilityState] -> ShowS #
BoxedEnum VisibilityState Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject VisibilityState Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: VisualType -> VisualType pred :: VisualType -> VisualType toEnum :: Int -> VisualType # fromEnum :: VisualType -> Int # enumFrom :: VisualType -> [VisualType] enumFromThen :: VisualType -> VisualType -> [VisualType] enumFromTo :: VisualType -> VisualType -> [VisualType] enumFromThenTo :: VisualType -> VisualType -> VisualType -> [VisualType]
Eq VisualType Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: VisualType -> VisualType -> Bool # (/=) :: VisualType -> VisualType -> Bool #
Ord VisualType Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: VisualType -> VisualType -> Ordering (<) :: VisualType -> VisualType -> Bool (<=) :: VisualType -> VisualType -> Bool (>) :: VisualType -> VisualType -> Bool (>=) :: VisualType -> VisualType -> Bool max :: VisualType -> VisualType -> VisualType min :: VisualType -> VisualType -> VisualType
Show VisualType Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> VisualType -> ShowS # show :: VisualType -> String # showList :: [VisualType] -> ShowS #
BoxedEnum VisualType Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject VisualType Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: WindowEdge -> WindowEdge pred :: WindowEdge -> WindowEdge toEnum :: Int -> WindowEdge # fromEnum :: WindowEdge -> Int # enumFrom :: WindowEdge -> [WindowEdge] enumFromThen :: WindowEdge -> WindowEdge -> [WindowEdge] enumFromTo :: WindowEdge -> WindowEdge -> [WindowEdge] enumFromThenTo :: WindowEdge -> WindowEdge -> WindowEdge -> [WindowEdge]
Eq WindowEdge Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: WindowEdge -> WindowEdge -> Bool # (/=) :: WindowEdge -> WindowEdge -> Bool #
Ord WindowEdge Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: WindowEdge -> WindowEdge -> Ordering (<) :: WindowEdge -> WindowEdge -> Bool (<=) :: WindowEdge -> WindowEdge -> Bool (>) :: WindowEdge -> WindowEdge -> Bool (>=) :: WindowEdge -> WindowEdge -> Bool max :: WindowEdge -> WindowEdge -> WindowEdge min :: WindowEdge -> WindowEdge -> WindowEdge
Show WindowEdge Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> WindowEdge -> ShowS # show :: WindowEdge -> String # showList :: [WindowEdge] -> ShowS #
BoxedEnum WindowEdge Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject WindowEdge Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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 Methods succ :: WindowType -> WindowType pred :: WindowType -> WindowType toEnum :: Int -> WindowType # fromEnum :: WindowType -> Int # enumFrom :: WindowType -> [WindowType] enumFromThen :: WindowType -> WindowType -> [WindowType] enumFromTo :: WindowType -> WindowType -> [WindowType] enumFromThenTo :: WindowType -> WindowType -> WindowType -> [WindowType]
Eq WindowType Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: WindowType -> WindowType -> Bool # (/=) :: WindowType -> WindowType -> Bool #
Ord WindowType Source # |
Instance details Defined in GI.Gdk.Enums Methods compare :: WindowType -> WindowType -> Ordering (<) :: WindowType -> WindowType -> Bool (<=) :: WindowType -> WindowType -> Bool (>) :: WindowType -> WindowType -> Bool (>=) :: WindowType -> WindowType -> Bool max :: WindowType -> WindowType -> WindowType min :: WindowType -> WindowType -> WindowType
Show WindowType Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> WindowType -> ShowS # show :: WindowType -> String # showList :: [WindowType] -> ShowS #
BoxedEnum WindowType Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject WindowType Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: WindowTypeHint -> WindowTypeHint

pred :: WindowTypeHint -> WindowTypeHint

toEnum :: Int -> WindowTypeHint #

fromEnum :: WindowTypeHint -> Int #

enumFrom :: WindowTypeHint -> [WindowTypeHint]

enumFromThen :: WindowTypeHint -> WindowTypeHint -> [WindowTypeHint]

enumFromTo :: WindowTypeHint -> WindowTypeHint -> [WindowTypeHint]

enumFromThenTo :: WindowTypeHint -> WindowTypeHint -> WindowTypeHint -> [WindowTypeHint]

Eq WindowTypeHint Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: WindowTypeHint -> WindowTypeHint -> Bool # (/=) :: WindowTypeHint -> WindowTypeHint -> Bool #
Ord WindowTypeHint Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: WindowTypeHint -> WindowTypeHint -> Ordering

(<) :: WindowTypeHint -> WindowTypeHint -> Bool

(<=) :: WindowTypeHint -> WindowTypeHint -> Bool

(>) :: WindowTypeHint -> WindowTypeHint -> Bool

(>=) :: WindowTypeHint -> WindowTypeHint -> Bool

max :: WindowTypeHint -> WindowTypeHint -> WindowTypeHint

min :: WindowTypeHint -> WindowTypeHint -> WindowTypeHint

Show WindowTypeHint Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> WindowTypeHint -> ShowS # show :: WindowTypeHint -> String # showList :: [WindowTypeHint] -> ShowS #
BoxedEnum WindowTypeHint Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject WindowTypeHint Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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

Methods

succ :: WindowWindowClass -> WindowWindowClass

pred :: WindowWindowClass -> WindowWindowClass

toEnum :: Int -> WindowWindowClass #

fromEnum :: WindowWindowClass -> Int #

enumFrom :: WindowWindowClass -> [WindowWindowClass]

enumFromThen :: WindowWindowClass -> WindowWindowClass -> [WindowWindowClass]

enumFromTo :: WindowWindowClass -> WindowWindowClass -> [WindowWindowClass]

enumFromThenTo :: WindowWindowClass -> WindowWindowClass -> WindowWindowClass -> [WindowWindowClass]

Eq WindowWindowClass Source # |
Instance details Defined in GI.Gdk.Enums Methods (==) :: WindowWindowClass -> WindowWindowClass -> Bool # (/=) :: WindowWindowClass -> WindowWindowClass -> Bool #
Ord WindowWindowClass Source # |

Instance details

Defined in GI.Gdk.Enums

Methods

compare :: WindowWindowClass -> WindowWindowClass -> Ordering

(<) :: WindowWindowClass -> WindowWindowClass -> Bool

(<=) :: WindowWindowClass -> WindowWindowClass -> Bool

(>) :: WindowWindowClass -> WindowWindowClass -> Bool

(>=) :: WindowWindowClass -> WindowWindowClass -> Bool

max :: WindowWindowClass -> WindowWindowClass -> WindowWindowClass

min :: WindowWindowClass -> WindowWindowClass -> WindowWindowClass

Show WindowWindowClass Source # |
Instance details Defined in GI.Gdk.Enums Methods showsPrec :: Int -> WindowWindowClass -> ShowS # show :: WindowWindowClass -> String # showList :: [WindowWindowClass] -> ShowS #
BoxedEnum WindowWindowClass Source # |
Instance details Defined in GI.Gdk.Enums
TypedObject WindowWindowClass Source # |
Instance details Defined in GI.Gdk.Enums Methods glibType :: IO GType Source #
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]