gi-gdk4-4.0.10: Gdk bindings

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

GI.Gdk.Flags

Contents

- Flags
  - AnchorHints
  - AxisFlags
  - DragAction
  - FrameClockPhase
  - GLAPI
  - ModifierType
  - PaintableFlags
  - SeatCapabilities
  - ToplevelCapabilities
  - ToplevelState

Description

Synopsis

- data AnchorHints
  - = AnchorHintsFlipX
  - | AnchorHintsFlipY
  - | AnchorHintsSlideX
  - | AnchorHintsSlideY
  - | AnchorHintsResizeX
  - | AnchorHintsResizeY
  - | AnchorHintsFlip
  - | AnchorHintsSlide
  - | AnchorHintsResize
  - | AnotherAnchorHints Int
- data AxisFlags
  - = AxisFlagsX
  - | AxisFlagsY
  - | AxisFlagsDeltaX
  - | AxisFlagsDeltaY
  - | AxisFlagsPressure
  - | AxisFlagsXtilt
  - | AxisFlagsYtilt
  - | AxisFlagsWheel
  - | AxisFlagsDistance
  - | AxisFlagsRotation
  - | AxisFlagsSlider
  - | AnotherAxisFlags Int
- data DragAction
  - = DragActionNone
  - | DragActionCopy
  - | DragActionMove
  - | DragActionLink
  - | DragActionAsk
  - | AnotherDragAction Int
- data FrameClockPhase
  - = FrameClockPhaseNone
  - | FrameClockPhaseFlushEvents
  - | FrameClockPhaseBeforePaint
  - | FrameClockPhaseUpdate
  - | FrameClockPhaseLayout
  - | FrameClockPhasePaint
  - | FrameClockPhaseResumeEvents
  - | FrameClockPhaseAfterPaint
  - | AnotherFrameClockPhase Int
- data GLAPI
  - = GLAPIGl
  - | GLAPIGles
  - | AnotherGLAPI Int
- data ModifierType
  - = ModifierTypeNoModifierMask
  - | ModifierTypeShiftMask
  - | ModifierTypeLockMask
  - | ModifierTypeControlMask
  - | ModifierTypeAltMask
  - | ModifierTypeButton1Mask
  - | ModifierTypeButton2Mask
  - | ModifierTypeButton3Mask
  - | ModifierTypeButton4Mask
  - | ModifierTypeButton5Mask
  - | ModifierTypeSuperMask
  - | ModifierTypeHyperMask
  - | ModifierTypeMetaMask
  - | AnotherModifierType Int
- data PaintableFlags
  - = PaintableFlagsStaticSize
  - | PaintableFlagsStaticContents
  - | AnotherPaintableFlags Int
- data SeatCapabilities
  - = SeatCapabilitiesNone
  - | SeatCapabilitiesPointer
  - | SeatCapabilitiesTouch
  - | SeatCapabilitiesTabletStylus
  - | SeatCapabilitiesKeyboard
  - | SeatCapabilitiesTabletPad
  - | SeatCapabilitiesAllPointing
  - | SeatCapabilitiesAll
  - | AnotherSeatCapabilities Int
- data ToplevelCapabilities
  - = ToplevelCapabilitiesEdgeConstraints
  - | ToplevelCapabilitiesInhibitShortcuts
  - | ToplevelCapabilitiesTitlebarGestures
  - | ToplevelCapabilitiesWindowMenu
  - | ToplevelCapabilitiesMaximize
  - | ToplevelCapabilitiesFullscreen
  - | ToplevelCapabilitiesMinimize
  - | ToplevelCapabilitiesLower
  - | AnotherToplevelCapabilities Int
- data ToplevelState
  - = ToplevelStateMinimized
  - | ToplevelStateMaximized
  - | ToplevelStateSticky
  - | ToplevelStateFullscreen
  - | ToplevelStateAbove
  - | ToplevelStateBelow
  - | ToplevelStateFocused
  - | ToplevelStateTiled
  - | ToplevelStateTopTiled
  - | ToplevelStateTopResizable
  - | ToplevelStateRightTiled
  - | ToplevelStateRightResizable
  - | ToplevelStateBottomTiled
  - | ToplevelStateBottomResizable
  - | ToplevelStateLeftTiled
  - | ToplevelStateLeftResizable
  - | ToplevelStateSuspended
  - | AnotherToplevelState Int

# Flags

## AnchorHints

data AnchorHints Source #

Positioning hints for aligning a surface relative to a rectangle.

These hints determine how the surface should be positioned in the case that the surface would fall off-screen if placed in its ideal position.

For example, `AnchorHintsFlipX` will replace `GravityNorthWest` with `GravityNorthEast` and vice versa if the surface extends beyond the left or right edges of the monitor.

If `AnchorHintsSlideX` is set, the surface can be shifted horizontally to fit on-screen. If `AnchorHintsResizeX` is set, the surface can be shrunken horizontally to fit.

In general, when multiple flags are set, flipping should take precedence over sliding, which should take precedence over resizing.

Constructors

AnchorHintsFlipX | allow flipping anchors horizontally
AnchorHintsFlipY | allow flipping anchors vertically
AnchorHintsSlideX | allow sliding surface horizontally
AnchorHintsSlideY | allow sliding surface vertically
AnchorHintsResizeX | allow resizing surface horizontally
AnchorHintsResizeY | allow resizing surface vertically
AnchorHintsFlip | allow flipping anchors on both axes
AnchorHintsSlide | allow sliding surface on both axes
AnchorHintsResize | allow resizing surface on both axes
AnotherAnchorHints Int | Catch-all for unknown values

#### Instances

Instances details

Enum AnchorHints Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

succ :: AnchorHints -> AnchorHints Source #

pred :: AnchorHints -> AnchorHints Source #

toEnum :: Int -> AnchorHints Source #

fromEnum :: AnchorHints -> Int Source #

enumFrom :: AnchorHints -> [AnchorHints] Source #

enumFromThen :: AnchorHints -> AnchorHints -> [AnchorHints] Source #

enumFromTo :: AnchorHints -> AnchorHints -> [AnchorHints] Source #

enumFromThenTo :: AnchorHints -> AnchorHints -> AnchorHints -> [AnchorHints] Source #

Show AnchorHints Source # |
Instance details Defined in GI.Gdk.Flags Methods showsPrec :: Int -> AnchorHints -> ShowS Source # show :: AnchorHints -> String Source # showList :: [AnchorHints] -> ShowS Source #
Eq AnchorHints Source # |
Instance details Defined in GI.Gdk.Flags Methods (==) :: AnchorHints -> AnchorHints -> Bool Source # (/=) :: AnchorHints -> AnchorHints -> Bool Source #
Ord AnchorHints Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

compare :: AnchorHints -> AnchorHints -> Ordering Source #

(<) :: AnchorHints -> AnchorHints -> Bool Source #

(<=) :: AnchorHints -> AnchorHints -> Bool Source #

(>) :: AnchorHints -> AnchorHints -> Bool Source #

(>=) :: AnchorHints -> AnchorHints -> Bool Source #

max :: AnchorHints -> AnchorHints -> AnchorHints Source #

min :: AnchorHints -> AnchorHints -> AnchorHints Source #

BoxedFlags AnchorHints Source # |
Instance details Defined in GI.Gdk.Flags
IsGFlag AnchorHints Source # |
Instance details Defined in GI.Gdk.Flags
TypedObject AnchorHints Source # |
Instance details Defined in GI.Gdk.Flags Methods glibType :: IO GType Source #
HasParentTypes AnchorHints Source # |
Instance details Defined in GI.Gdk.Flags
type ParentTypes AnchorHints Source # |
Instance details Defined in GI.Gdk.Flags type ParentTypes AnchorHints = '[] :: [Type]

## AxisFlags

data AxisFlags Source #

Flags describing the current capabilities of a device/tool.

Constructors

AxisFlagsX | X axis is present
AxisFlagsY | Y axis is present
AxisFlagsDeltaX | Scroll X delta axis is present
AxisFlagsDeltaY | Scroll Y delta axis is present
AxisFlagsPressure | Pressure axis is present
AxisFlagsXtilt | X tilt axis is present
AxisFlagsYtilt | Y tilt axis is present
AxisFlagsWheel | Wheel axis is present
AxisFlagsDistance | Distance axis is present
AxisFlagsRotation | Z-axis rotation is present
AxisFlagsSlider | Slider axis is present
AnotherAxisFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum AxisFlags Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

succ :: AxisFlags -> AxisFlags Source #

pred :: AxisFlags -> AxisFlags Source #

toEnum :: Int -> AxisFlags Source #

fromEnum :: AxisFlags -> Int Source #

enumFrom :: AxisFlags -> [AxisFlags] Source #

enumFromThen :: AxisFlags -> AxisFlags -> [AxisFlags] Source #

enumFromTo :: AxisFlags -> AxisFlags -> [AxisFlags] Source #

enumFromThenTo :: AxisFlags -> AxisFlags -> AxisFlags -> [AxisFlags] Source #

Show AxisFlags Source # |
Instance details Defined in GI.Gdk.Flags Methods showsPrec :: Int -> AxisFlags -> ShowS Source # show :: AxisFlags -> String Source # showList :: [AxisFlags] -> ShowS Source #
Eq AxisFlags Source # |
Instance details Defined in GI.Gdk.Flags Methods (==) :: AxisFlags -> AxisFlags -> Bool Source # (/=) :: AxisFlags -> AxisFlags -> Bool Source #
Ord AxisFlags Source # |
Instance details Defined in GI.Gdk.Flags Methods compare :: AxisFlags -> AxisFlags -> Ordering Source # (<) :: AxisFlags -> AxisFlags -> Bool Source # (<=) :: AxisFlags -> AxisFlags -> Bool Source # (>) :: AxisFlags -> AxisFlags -> Bool Source # (>=) :: AxisFlags -> AxisFlags -> Bool Source # max :: AxisFlags -> AxisFlags -> AxisFlags Source # min :: AxisFlags -> AxisFlags -> AxisFlags Source #
BoxedFlags AxisFlags Source # |
Instance details Defined in GI.Gdk.Flags
IsGFlag AxisFlags Source # |
Instance details Defined in GI.Gdk.Flags
TypedObject AxisFlags Source # |
Instance details Defined in GI.Gdk.Flags Methods glibType :: IO GType Source #
HasParentTypes AxisFlags Source # |
Instance details Defined in GI.Gdk.Flags
type ParentTypes AxisFlags Source # |
Instance details Defined in GI.Gdk.Flags type ParentTypes AxisFlags = '[] :: [Type]

## DragAction

data DragAction Source #

Used in `GdkDrop` and `GdkDrag` to indicate the actions that the destination can and should do with the dropped data.

Constructors

DragActionNone | No action. Since: 4.20
DragActionCopy | Copy the data.
DragActionMove | Move the data, i.e. first copy it, then delete it from the source using the DELETE target of the X selection protocol.
DragActionLink | Add a link to the data. Note that this is only useful if source and destination agree on what it means, and is not supported on all platforms.
DragActionAsk | Ask the user what to do with the data.
AnotherDragAction Int | Catch-all for unknown values

#### Instances

Instances details

Enum DragAction Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

succ :: DragAction -> DragAction Source #

pred :: DragAction -> DragAction Source #

toEnum :: Int -> DragAction Source #

fromEnum :: DragAction -> Int Source #

enumFrom :: DragAction -> [DragAction] Source #

enumFromThen :: DragAction -> DragAction -> [DragAction] Source #

enumFromTo :: DragAction -> DragAction -> [DragAction] Source #

enumFromThenTo :: DragAction -> DragAction -> DragAction -> [DragAction] Source #

Show DragAction Source # |
Instance details Defined in GI.Gdk.Flags Methods showsPrec :: Int -> DragAction -> ShowS Source # show :: DragAction -> String Source # showList :: [DragAction] -> ShowS Source #
Eq DragAction Source # |
Instance details Defined in GI.Gdk.Flags Methods (==) :: DragAction -> DragAction -> Bool Source # (/=) :: DragAction -> DragAction -> Bool Source #
Ord DragAction Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

compare :: DragAction -> DragAction -> Ordering Source #

(<) :: DragAction -> DragAction -> Bool Source #

(<=) :: DragAction -> DragAction -> Bool Source #

(>) :: DragAction -> DragAction -> Bool Source #

(>=) :: DragAction -> DragAction -> Bool Source #

max :: DragAction -> DragAction -> DragAction Source #

min :: DragAction -> DragAction -> DragAction Source #

BoxedFlags DragAction Source # |
Instance details Defined in GI.Gdk.Flags
IsGFlag DragAction Source # |
Instance details Defined in GI.Gdk.Flags
TypedObject DragAction Source # |
Instance details Defined in GI.Gdk.Flags Methods glibType :: IO GType Source #
HasParentTypes DragAction Source # |
Instance details Defined in GI.Gdk.Flags
type ParentTypes DragAction Source # |
Instance details Defined in GI.Gdk.Flags type ParentTypes DragAction = '[] :: [Type]

## FrameClockPhase

data FrameClockPhase Source #

Used to represent the different paint clock phases that can be requested.

The elements of the enumeration correspond to the signals of `GdkFrameClock`.

Constructors

FrameClockPhaseNone | no phase
FrameClockPhaseFlushEvents | corresponds to GdkFrameClockflushEvents. Should not be handled by applications.
FrameClockPhaseBeforePaint | corresponds to GdkFrameClockbeforePaint. Should not be handled by applications.
FrameClockPhaseUpdate | corresponds to GdkFrameClockupdate.
FrameClockPhaseLayout | corresponds to GdkFrameClocklayout. Should not be handled by applications.
FrameClockPhasePaint | corresponds to GdkFrameClockpaint.
FrameClockPhaseResumeEvents | corresponds to GdkFrameClockresumeEvents. Should not be handled by applications.
FrameClockPhaseAfterPaint | corresponds to GdkFrameClockafterPaint. Should not be handled by applications.
AnotherFrameClockPhase Int | Catch-all for unknown values

#### Instances

Instances details

Enum FrameClockPhase Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

succ :: FrameClockPhase -> FrameClockPhase Source #

pred :: FrameClockPhase -> FrameClockPhase Source #

toEnum :: Int -> FrameClockPhase Source #

fromEnum :: FrameClockPhase -> Int Source #

enumFrom :: FrameClockPhase -> [FrameClockPhase] Source #

enumFromThen :: FrameClockPhase -> FrameClockPhase -> [FrameClockPhase] Source #

enumFromTo :: FrameClockPhase -> FrameClockPhase -> [FrameClockPhase] Source #

enumFromThenTo :: FrameClockPhase -> FrameClockPhase -> FrameClockPhase -> [FrameClockPhase] Source #

Show FrameClockPhase Source # |
Instance details Defined in GI.Gdk.Flags Methods showsPrec :: Int -> FrameClockPhase -> ShowS Source # show :: FrameClockPhase -> String Source # showList :: [FrameClockPhase] -> ShowS Source #
Eq FrameClockPhase Source # |
Instance details Defined in GI.Gdk.Flags Methods (==) :: FrameClockPhase -> FrameClockPhase -> Bool Source # (/=) :: FrameClockPhase -> FrameClockPhase -> Bool Source #
Ord FrameClockPhase Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

compare :: FrameClockPhase -> FrameClockPhase -> Ordering Source #

(<) :: FrameClockPhase -> FrameClockPhase -> Bool Source #

(<=) :: FrameClockPhase -> FrameClockPhase -> Bool Source #

(>) :: FrameClockPhase -> FrameClockPhase -> Bool Source #

(>=) :: FrameClockPhase -> FrameClockPhase -> Bool Source #

max :: FrameClockPhase -> FrameClockPhase -> FrameClockPhase Source #

min :: FrameClockPhase -> FrameClockPhase -> FrameClockPhase Source #

BoxedFlags FrameClockPhase Source # |
Instance details Defined in GI.Gdk.Flags
IsGFlag FrameClockPhase Source # |
Instance details Defined in GI.Gdk.Flags
TypedObject FrameClockPhase Source # |
Instance details Defined in GI.Gdk.Flags Methods glibType :: IO GType Source #
HasParentTypes FrameClockPhase Source # |
Instance details Defined in GI.Gdk.Flags
type ParentTypes FrameClockPhase Source # |
Instance details Defined in GI.Gdk.Flags type ParentTypes FrameClockPhase = '[] :: [Type]

## GLAPI

data GLAPI Source #

The list of the different APIs that GdkGLContext can potentially support.

Since: 4.6

Constructors

GLAPIGl | The OpenGL API
GLAPIGles | The OpenGL ES API
AnotherGLAPI Int | Catch-all for unknown values

#### Instances

Instances details

Enum GLAPI Source # |
Instance details Defined in GI.Gdk.Flags Methods succ :: GLAPI -> GLAPI Source # pred :: GLAPI -> GLAPI Source # toEnum :: Int -> GLAPI Source # fromEnum :: GLAPI -> Int Source # enumFrom :: GLAPI -> [GLAPI] Source # enumFromThen :: GLAPI -> GLAPI -> [GLAPI] Source # enumFromTo :: GLAPI -> GLAPI -> [GLAPI] Source # enumFromThenTo :: GLAPI -> GLAPI -> GLAPI -> [GLAPI] Source #
Show GLAPI Source # |
Instance details Defined in GI.Gdk.Flags Methods showsPrec :: Int -> GLAPI -> ShowS Source # show :: GLAPI -> String Source # showList :: [GLAPI] -> ShowS Source #
Eq GLAPI Source # |
Instance details Defined in GI.Gdk.Flags Methods (==) :: GLAPI -> GLAPI -> Bool Source # (/=) :: GLAPI -> GLAPI -> Bool Source #
Ord GLAPI Source # |
Instance details Defined in GI.Gdk.Flags Methods compare :: GLAPI -> GLAPI -> Ordering Source # (<) :: GLAPI -> GLAPI -> Bool Source # (<=) :: GLAPI -> GLAPI -> Bool Source # (>) :: GLAPI -> GLAPI -> Bool Source # (>=) :: GLAPI -> GLAPI -> Bool Source # max :: GLAPI -> GLAPI -> GLAPI Source # min :: GLAPI -> GLAPI -> GLAPI Source #
BoxedFlags GLAPI Source # |
Instance details Defined in GI.Gdk.Flags
IsGFlag GLAPI Source # |
Instance details Defined in GI.Gdk.Flags
TypedObject GLAPI Source # |
Instance details Defined in GI.Gdk.Flags Methods glibType :: IO GType Source #
HasParentTypes GLAPI Source # |
Instance details Defined in GI.Gdk.Flags
type ParentTypes GLAPI Source # |
Instance details Defined in GI.Gdk.Flags type ParentTypes GLAPI = '[] :: [Type]

## ModifierType

data ModifierType Source #

Flags to indicate the state of modifier keys and mouse buttons in events.

Typical modifier keys are Shift, Control, Meta, Super, Hyper, Alt, Compose, Apple, CapsLock or ShiftLock.

Note that GDK may add internal values to events which include values outside of this enumeration. Your code should preserve and ignore them. You can use `MODIFIER_MASK` to remove all private values.

Constructors

ModifierTypeNoModifierMask | No modifier. Since: 4.14
ModifierTypeShiftMask | the Shift key.
ModifierTypeLockMask | a Lock key (depending on the Windowing System configuration, this may either be <kbd>CapsLock</kbd> or <kbd>ShiftLock</kbd>).
ModifierTypeControlMask | the Control key.
ModifierTypeAltMask | the fourth modifier key (it depends on the Windowing System configuration which key is interpreted as this modifier, but normally it is the <kbd>Alt</kbd> key).
ModifierTypeButton1Mask | the first mouse button.
ModifierTypeButton2Mask | the second mouse button.
ModifierTypeButton3Mask | the third mouse button.
ModifierTypeButton4Mask | the fourth mouse button.
ModifierTypeButton5Mask | the fifth mouse button.
ModifierTypeSuperMask | the Super modifier.
ModifierTypeHyperMask | the Hyper modifier.
ModifierTypeMetaMask | the Meta modifier. Maps to Command on macOS.
AnotherModifierType Int | Catch-all for unknown values

#### Instances

Instances details

Enum ModifierType Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

succ :: ModifierType -> ModifierType Source #

pred :: ModifierType -> ModifierType Source #

toEnum :: Int -> ModifierType Source #

fromEnum :: ModifierType -> Int Source #

enumFrom :: ModifierType -> [ModifierType] Source #

enumFromThen :: ModifierType -> ModifierType -> [ModifierType] Source #

enumFromTo :: ModifierType -> ModifierType -> [ModifierType] Source #

enumFromThenTo :: ModifierType -> ModifierType -> ModifierType -> [ModifierType] Source #

Show ModifierType Source # |
Instance details Defined in GI.Gdk.Flags Methods showsPrec :: Int -> ModifierType -> ShowS Source # show :: ModifierType -> String Source # showList :: [ModifierType] -> ShowS Source #
Eq ModifierType Source # |
Instance details Defined in GI.Gdk.Flags Methods (==) :: ModifierType -> ModifierType -> Bool Source # (/=) :: ModifierType -> ModifierType -> Bool Source #
Ord ModifierType Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

compare :: ModifierType -> ModifierType -> Ordering Source #

(<) :: ModifierType -> ModifierType -> Bool Source #

(<=) :: ModifierType -> ModifierType -> Bool Source #

(>) :: ModifierType -> ModifierType -> Bool Source #

(>=) :: ModifierType -> ModifierType -> Bool Source #

max :: ModifierType -> ModifierType -> ModifierType Source #

min :: ModifierType -> ModifierType -> ModifierType Source #

BoxedFlags ModifierType Source # |
Instance details Defined in GI.Gdk.Flags
IsGFlag ModifierType Source # |
Instance details Defined in GI.Gdk.Flags
TypedObject ModifierType Source # |
Instance details Defined in GI.Gdk.Flags Methods glibType :: IO GType Source #
HasParentTypes ModifierType Source # |
Instance details Defined in GI.Gdk.Flags
type ParentTypes ModifierType Source # |
Instance details Defined in GI.Gdk.Flags type ParentTypes ModifierType = '[] :: [Type]

## PaintableFlags

data PaintableFlags Source #

Flags about a paintable object.

Implementations use these for optimizations such as caching.

Constructors

PaintableFlagsStaticSize | The size is immutable. The Paintable::invalidateSize signal will never be emitted.
PaintableFlagsStaticContents | The content is immutable. The Paintable::invalidateContents signal will never be emitted.
AnotherPaintableFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum PaintableFlags Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

succ :: PaintableFlags -> PaintableFlags Source #

pred :: PaintableFlags -> PaintableFlags Source #

toEnum :: Int -> PaintableFlags Source #

fromEnum :: PaintableFlags -> Int Source #

enumFrom :: PaintableFlags -> [PaintableFlags] Source #

enumFromThen :: PaintableFlags -> PaintableFlags -> [PaintableFlags] Source #

enumFromTo :: PaintableFlags -> PaintableFlags -> [PaintableFlags] Source #

enumFromThenTo :: PaintableFlags -> PaintableFlags -> PaintableFlags -> [PaintableFlags] Source #

Show PaintableFlags Source # |
Instance details Defined in GI.Gdk.Flags Methods showsPrec :: Int -> PaintableFlags -> ShowS Source # show :: PaintableFlags -> String Source # showList :: [PaintableFlags] -> ShowS Source #
Eq PaintableFlags Source # |
Instance details Defined in GI.Gdk.Flags Methods (==) :: PaintableFlags -> PaintableFlags -> Bool Source # (/=) :: PaintableFlags -> PaintableFlags -> Bool Source #
Ord PaintableFlags Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

compare :: PaintableFlags -> PaintableFlags -> Ordering Source #

(<) :: PaintableFlags -> PaintableFlags -> Bool Source #

(<=) :: PaintableFlags -> PaintableFlags -> Bool Source #

(>) :: PaintableFlags -> PaintableFlags -> Bool Source #

(>=) :: PaintableFlags -> PaintableFlags -> Bool Source #

max :: PaintableFlags -> PaintableFlags -> PaintableFlags Source #

min :: PaintableFlags -> PaintableFlags -> PaintableFlags Source #

BoxedFlags PaintableFlags Source # |
Instance details Defined in GI.Gdk.Flags
IsGFlag PaintableFlags Source # |
Instance details Defined in GI.Gdk.Flags
TypedObject PaintableFlags Source # |
Instance details Defined in GI.Gdk.Flags Methods glibType :: IO GType Source #
HasParentTypes PaintableFlags Source # |
Instance details Defined in GI.Gdk.Flags
type ParentTypes PaintableFlags Source # |
Instance details Defined in GI.Gdk.Flags type ParentTypes PaintableFlags = '[] :: [Type]

## SeatCapabilities

data SeatCapabilities Source #

Flags describing the seat capabilities.

Constructors

SeatCapabilitiesNone | No input capabilities
SeatCapabilitiesPointer | The seat has a pointer (e.g. mouse)
SeatCapabilitiesTouch | The seat has touchscreen(s) attached
SeatCapabilitiesTabletStylus | The seat has drawing tablet(s) attached
SeatCapabilitiesKeyboard | The seat has keyboard(s) attached
SeatCapabilitiesTabletPad | The seat has drawing tablet pad(s) attached
SeatCapabilitiesAllPointing | The union of all pointing capabilities
SeatCapabilitiesAll | The union of all capabilities
AnotherSeatCapabilities Int | Catch-all for unknown values

#### Instances

Instances details

Enum SeatCapabilities Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

succ :: SeatCapabilities -> SeatCapabilities Source #

pred :: SeatCapabilities -> SeatCapabilities Source #

toEnum :: Int -> SeatCapabilities Source #

fromEnum :: SeatCapabilities -> Int Source #

enumFrom :: SeatCapabilities -> [SeatCapabilities] Source #

enumFromThen :: SeatCapabilities -> SeatCapabilities -> [SeatCapabilities] Source #

enumFromTo :: SeatCapabilities -> SeatCapabilities -> [SeatCapabilities] Source #

enumFromThenTo :: SeatCapabilities -> SeatCapabilities -> SeatCapabilities -> [SeatCapabilities] Source #

Show SeatCapabilities Source # |
Instance details Defined in GI.Gdk.Flags Methods showsPrec :: Int -> SeatCapabilities -> ShowS Source # show :: SeatCapabilities -> String Source # showList :: [SeatCapabilities] -> ShowS Source #
Eq SeatCapabilities Source # |
Instance details Defined in GI.Gdk.Flags Methods (==) :: SeatCapabilities -> SeatCapabilities -> Bool Source # (/=) :: SeatCapabilities -> SeatCapabilities -> Bool Source #
Ord SeatCapabilities Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

compare :: SeatCapabilities -> SeatCapabilities -> Ordering Source #

(<) :: SeatCapabilities -> SeatCapabilities -> Bool Source #

(<=) :: SeatCapabilities -> SeatCapabilities -> Bool Source #

(>) :: SeatCapabilities -> SeatCapabilities -> Bool Source #

(>=) :: SeatCapabilities -> SeatCapabilities -> Bool Source #

max :: SeatCapabilities -> SeatCapabilities -> SeatCapabilities Source #

min :: SeatCapabilities -> SeatCapabilities -> SeatCapabilities Source #

BoxedFlags SeatCapabilities Source # |
Instance details Defined in GI.Gdk.Flags
IsGFlag SeatCapabilities Source # |
Instance details Defined in GI.Gdk.Flags
TypedObject SeatCapabilities Source # |
Instance details Defined in GI.Gdk.Flags Methods glibType :: IO GType Source #
HasParentTypes SeatCapabilities Source # |
Instance details Defined in GI.Gdk.Flags
type ParentTypes SeatCapabilities Source # |
Instance details Defined in GI.Gdk.Flags type ParentTypes SeatCapabilities = '[] :: [Type]

## ToplevelCapabilities

data ToplevelCapabilities Source #

Reflects what features a `GdkToplevel` supports.

Since: 4.20

Constructors

ToplevelCapabilitiesEdgeConstraints | Whether tiled window states are supported. Since: 4.20
ToplevelCapabilitiesInhibitShortcuts | Whether inhibiting system shortcuts is supported. See `toplevelInhibitSystemShortcuts`. Since: 4.20
ToplevelCapabilitiesTitlebarGestures | Whether titlebar gestures are supported. See `toplevelTitlebarGesture`. Since: 4.20
ToplevelCapabilitiesWindowMenu | Whether showing the window menu is supported. See `toplevelShowWindowMenu`. Since: 4.20
ToplevelCapabilitiesMaximize | Whether the toplevel can be maximized. Since: 4.20
ToplevelCapabilitiesFullscreen | Whether the toplevel can be made fullscreen. Since: 4.20
ToplevelCapabilitiesMinimize | Whether the toplevel can be minimized. See `toplevelMinimize`. Since: 4.20
ToplevelCapabilitiesLower | Whether the toplevel can be lowered. See `toplevelLower`. Since: 4.20
AnotherToplevelCapabilities Int | Catch-all for unknown values

#### Instances

Instances details

Enum ToplevelCapabilities Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

succ :: ToplevelCapabilities -> ToplevelCapabilities Source #

pred :: ToplevelCapabilities -> ToplevelCapabilities Source #

toEnum :: Int -> ToplevelCapabilities Source #

fromEnum :: ToplevelCapabilities -> Int Source #

enumFrom :: ToplevelCapabilities -> [ToplevelCapabilities] Source #

enumFromThen :: ToplevelCapabilities -> ToplevelCapabilities -> [ToplevelCapabilities] Source #

enumFromTo :: ToplevelCapabilities -> ToplevelCapabilities -> [ToplevelCapabilities] Source #

enumFromThenTo :: ToplevelCapabilities -> ToplevelCapabilities -> ToplevelCapabilities -> [ToplevelCapabilities] Source #

Show ToplevelCapabilities Source # |
Instance details Defined in GI.Gdk.Flags Methods showsPrec :: Int -> ToplevelCapabilities -> ShowS Source # show :: ToplevelCapabilities -> String Source # showList :: [ToplevelCapabilities] -> ShowS Source #
Eq ToplevelCapabilities Source # |
Instance details Defined in GI.Gdk.Flags Methods (==) :: ToplevelCapabilities -> ToplevelCapabilities -> Bool Source # (/=) :: ToplevelCapabilities -> ToplevelCapabilities -> Bool Source #
Ord ToplevelCapabilities Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

compare :: ToplevelCapabilities -> ToplevelCapabilities -> Ordering Source #

(<) :: ToplevelCapabilities -> ToplevelCapabilities -> Bool Source #

(<=) :: ToplevelCapabilities -> ToplevelCapabilities -> Bool Source #

(>) :: ToplevelCapabilities -> ToplevelCapabilities -> Bool Source #

(>=) :: ToplevelCapabilities -> ToplevelCapabilities -> Bool Source #

max :: ToplevelCapabilities -> ToplevelCapabilities -> ToplevelCapabilities Source #

min :: ToplevelCapabilities -> ToplevelCapabilities -> ToplevelCapabilities Source #

BoxedFlags ToplevelCapabilities Source # |
Instance details Defined in GI.Gdk.Flags
IsGFlag ToplevelCapabilities Source # |
Instance details Defined in GI.Gdk.Flags
TypedObject ToplevelCapabilities Source # |
Instance details Defined in GI.Gdk.Flags Methods glibType :: IO GType Source #
HasParentTypes ToplevelCapabilities Source # |
Instance details Defined in GI.Gdk.Flags
type ParentTypes ToplevelCapabilities Source # |
Instance details Defined in GI.Gdk.Flags type ParentTypes ToplevelCapabilities = '[] :: [Type]

## ToplevelState

data ToplevelState Source #

Specifies the state of a toplevel surface.

On platforms that support information about individual edges, the `ToplevelStateTiled` state will be set whenever any of the individual tiled states is set. On platforms that lack that support, the tiled state will give an indication of tiledness without any of the per-edge states being set.

Constructors

ToplevelStateMinimized | the surface is minimized
ToplevelStateMaximized | the surface is maximized
ToplevelStateSticky | the surface is sticky
ToplevelStateFullscreen | the surface is maximized without decorations
ToplevelStateAbove | the surface is kept above other surfaces
ToplevelStateBelow | the surface is kept below other surfaces
ToplevelStateFocused | the surface is presented as focused (with active decorations)
ToplevelStateTiled | the surface is in a tiled state
ToplevelStateTopTiled | whether the top edge is tiled
ToplevelStateTopResizable | whether the top edge is resizable
ToplevelStateRightTiled | whether the right edge is tiled
ToplevelStateRightResizable | whether the right edge is resizable
ToplevelStateBottomTiled | whether the bottom edge is tiled
ToplevelStateBottomResizable | whether the bottom edge is resizable
ToplevelStateLeftTiled | whether the left edge is tiled
ToplevelStateLeftResizable | whether the left edge is resizable
ToplevelStateSuspended | The surface is not visible to the user. Since: 4.12
AnotherToplevelState Int | Catch-all for unknown values

#### Instances

Instances details

Enum ToplevelState Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

succ :: ToplevelState -> ToplevelState Source #

pred :: ToplevelState -> ToplevelState Source #

toEnum :: Int -> ToplevelState Source #

fromEnum :: ToplevelState -> Int Source #

enumFrom :: ToplevelState -> [ToplevelState] Source #

enumFromThen :: ToplevelState -> ToplevelState -> [ToplevelState] Source #

enumFromTo :: ToplevelState -> ToplevelState -> [ToplevelState] Source #

enumFromThenTo :: ToplevelState -> ToplevelState -> ToplevelState -> [ToplevelState] Source #

Show ToplevelState Source # |
Instance details Defined in GI.Gdk.Flags Methods showsPrec :: Int -> ToplevelState -> ShowS Source # show :: ToplevelState -> String Source # showList :: [ToplevelState] -> ShowS Source #
Eq ToplevelState Source # |
Instance details Defined in GI.Gdk.Flags Methods (==) :: ToplevelState -> ToplevelState -> Bool Source # (/=) :: ToplevelState -> ToplevelState -> Bool Source #
Ord ToplevelState Source # |

Instance details

Defined in GI.Gdk.Flags

Methods

compare :: ToplevelState -> ToplevelState -> Ordering Source #

(<) :: ToplevelState -> ToplevelState -> Bool Source #

(<=) :: ToplevelState -> ToplevelState -> Bool Source #

(>) :: ToplevelState -> ToplevelState -> Bool Source #

(>=) :: ToplevelState -> ToplevelState -> Bool Source #

max :: ToplevelState -> ToplevelState -> ToplevelState Source #

min :: ToplevelState -> ToplevelState -> ToplevelState Source #

BoxedFlags ToplevelState Source # |
Instance details Defined in GI.Gdk.Flags
IsGFlag ToplevelState Source # |
Instance details Defined in GI.Gdk.Flags
TypedObject ToplevelState Source # |
Instance details Defined in GI.Gdk.Flags Methods glibType :: IO GType Source #
HasParentTypes ToplevelState Source # |
Instance details Defined in GI.Gdk.Flags
type ParentTypes ToplevelState Source # |
Instance details Defined in GI.Gdk.Flags type ParentTypes ToplevelState = '[] :: [Type]