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

GI.Gdk.Flags

Description

 
Synopsis

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

Show AnchorHints Source # 
Instance details

Defined in GI.Gdk.Flags

Eq AnchorHints Source # 
Instance details

Defined in GI.Gdk.Flags

Ord AnchorHints Source # 
Instance details

Defined in GI.Gdk.Flags

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

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

Show AxisFlags Source # 
Instance details

Defined in GI.Gdk.Flags

Eq AxisFlags Source # 
Instance details

Defined in GI.Gdk.Flags

Ord AxisFlags Source # 
Instance details

Defined in GI.Gdk.Flags

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

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

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

Show DragAction Source # 
Instance details

Defined in GI.Gdk.Flags

Eq DragAction Source # 
Instance details

Defined in GI.Gdk.Flags

Ord DragAction Source # 
Instance details

Defined in GI.Gdk.Flags

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

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

Show FrameClockPhase Source # 
Instance details

Defined in GI.Gdk.Flags

Eq FrameClockPhase Source # 
Instance details

Defined in GI.Gdk.Flags

Ord FrameClockPhase Source # 
Instance details

Defined in GI.Gdk.Flags

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

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

Show GLAPI Source # 
Instance details

Defined in GI.Gdk.Flags

Methods

showsPrec :: Int -> GLAPI -> ShowS #

show :: GLAPI -> String #

showList :: [GLAPI] -> ShowS #

Eq GLAPI Source # 
Instance details

Defined in GI.Gdk.Flags

Methods

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

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

Ord GLAPI Source # 
Instance details

Defined in GI.Gdk.Flags

Methods

compare :: GLAPI -> GLAPI -> Ordering #

(<) :: GLAPI -> GLAPI -> Bool #

(<=) :: GLAPI -> GLAPI -> Bool #

(>) :: GLAPI -> GLAPI -> Bool #

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

max :: GLAPI -> GLAPI -> GLAPI #

min :: GLAPI -> GLAPI -> GLAPI #

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

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

ModifierTypeShiftMask

the Shift key.

ModifierTypeLockMask

a Lock key (depending on the modifier mapping of the X server this may either be CapsLock or ShiftLock).

ModifierTypeControlMask

the Control key.

ModifierTypeAltMask

the fourth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier, but normally it is the Alt 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

AnotherModifierType Int

Catch-all for unknown values

Instances

Instances details
Enum ModifierType Source # 
Instance details

Defined in GI.Gdk.Flags

Show ModifierType Source # 
Instance details

Defined in GI.Gdk.Flags

Eq ModifierType Source # 
Instance details

Defined in GI.Gdk.Flags

Ord ModifierType Source # 
Instance details

Defined in GI.Gdk.Flags

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

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

PaintableFlagsSize

The size is immutable. The signalgdkPaintable[invalidateSize] signal will never be emitted.

PaintableFlagsContents

The content is immutable. The signalgdkPaintable[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

Show PaintableFlags Source # 
Instance details

Defined in GI.Gdk.Flags

Eq PaintableFlags Source # 
Instance details

Defined in GI.Gdk.Flags

Ord PaintableFlags Source # 
Instance details

Defined in GI.Gdk.Flags

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

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

Show SeatCapabilities Source # 
Instance details

Defined in GI.Gdk.Flags

Eq SeatCapabilities Source # 
Instance details

Defined in GI.Gdk.Flags

Ord SeatCapabilities Source # 
Instance details

Defined in GI.Gdk.Flags

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

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]

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

AnotherToplevelState Int

Catch-all for unknown values

Instances

Instances details
Enum ToplevelState Source # 
Instance details

Defined in GI.Gdk.Flags

Show ToplevelState Source # 
Instance details

Defined in GI.Gdk.Flags

Eq ToplevelState Source # 
Instance details

Defined in GI.Gdk.Flags

Ord ToplevelState Source # 
Instance details

Defined in GI.Gdk.Flags

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

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]