-- | Copyright  : Will Thompson, Iñaki García Etxebarria and Jonas Platte
-- License    : LGPL-2.1
-- Maintainer : Iñaki García Etxebarria

#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif

module GI.Gdk.Flags
    ( 

 -- * Flags
-- ** AnchorHints #flag:AnchorHints#

    AnchorHints(..)                         ,


-- ** AxisFlags #flag:AxisFlags#

    AxisFlags(..)                           ,


-- ** DragAction #flag:DragAction#

    DragAction(..)                          ,


-- ** EventMask #flag:EventMask#

    EventMask(..)                           ,


-- ** FrameClockPhase #flag:FrameClockPhase#

    FrameClockPhase(..)                     ,


-- ** ModifierType #flag:ModifierType#

    ModifierType(..)                        ,


-- ** PaintableFlags #flag:PaintableFlags#

    PaintableFlags(..)                      ,


-- ** SeatCapabilities #flag:SeatCapabilities#

    SeatCapabilities(..)                    ,


-- ** SurfaceState #flag:SurfaceState#

    SurfaceState(..)                        ,




    ) where

import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P

import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL


-- Flags SurfaceState
-- | Specifies the state of a toplevel surface.
-- 
-- On platforms that support information about individual edges, the 'GI.Gdk.Flags.SurfaceStateTiled'
-- 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.
data SurfaceState = 
      SurfaceStateWithdrawn
    -- ^ the surface is not shown
    | SurfaceStateMinimized
    -- ^ the surface is minimized
    | SurfaceStateMaximized
    -- ^ the surface is maximized
    | SurfaceStateSticky
    -- ^ the surface is sticky
    | SurfaceStateFullscreen
    -- ^ the surface is maximized without decorations
    | SurfaceStateAbove
    -- ^ the surface is kept above other surfaces
    | SurfaceStateBelow
    -- ^ the surface is kept below other surfaces
    | SurfaceStateFocused
    -- ^ the surface is presented as focused (with active decorations)
    | SurfaceStateTiled
    -- ^ the surface is in a tiled state
    | SurfaceStateTopTiled
    -- ^ whether the top edge is tiled
    | SurfaceStateTopResizable
    -- ^ whether the top edge is resizable
    | SurfaceStateRightTiled
    -- ^ whether the right edge is tiled
    | SurfaceStateRightResizable
    -- ^ whether the right edge is resizable
    | SurfaceStateBottomTiled
    -- ^ whether the bottom edge is tiled
    | SurfaceStateBottomResizable
    -- ^ whether the bottom edge is resizable
    | SurfaceStateLeftTiled
    -- ^ whether the left edge is tiled
    | SurfaceStateLeftResizable
    -- ^ whether the left edge is resizable
    | AnotherSurfaceState Int
    -- ^ Catch-all for unknown values
    deriving (Int -> SurfaceState -> ShowS
[SurfaceState] -> ShowS
SurfaceState -> String
(Int -> SurfaceState -> ShowS)
-> (SurfaceState -> String)
-> ([SurfaceState] -> ShowS)
-> Show SurfaceState
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SurfaceState] -> ShowS
$cshowList :: [SurfaceState] -> ShowS
show :: SurfaceState -> String
$cshow :: SurfaceState -> String
showsPrec :: Int -> SurfaceState -> ShowS
$cshowsPrec :: Int -> SurfaceState -> ShowS
Show, SurfaceState -> SurfaceState -> Bool
(SurfaceState -> SurfaceState -> Bool)
-> (SurfaceState -> SurfaceState -> Bool) -> Eq SurfaceState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SurfaceState -> SurfaceState -> Bool
$c/= :: SurfaceState -> SurfaceState -> Bool
== :: SurfaceState -> SurfaceState -> Bool
$c== :: SurfaceState -> SurfaceState -> Bool
Eq)

instance P.Enum SurfaceState where
    fromEnum :: SurfaceState -> Int
fromEnum SurfaceState
SurfaceStateWithdrawn = Int
1
    fromEnum SurfaceState
SurfaceStateMinimized = Int
2
    fromEnum SurfaceState
SurfaceStateMaximized = Int
4
    fromEnum SurfaceState
SurfaceStateSticky = Int
8
    fromEnum SurfaceState
SurfaceStateFullscreen = Int
16
    fromEnum SurfaceState
SurfaceStateAbove = Int
32
    fromEnum SurfaceState
SurfaceStateBelow = Int
64
    fromEnum SurfaceState
SurfaceStateFocused = Int
128
    fromEnum SurfaceState
SurfaceStateTiled = Int
256
    fromEnum SurfaceState
SurfaceStateTopTiled = Int
512
    fromEnum SurfaceState
SurfaceStateTopResizable = Int
1024
    fromEnum SurfaceState
SurfaceStateRightTiled = Int
2048
    fromEnum SurfaceState
SurfaceStateRightResizable = Int
4096
    fromEnum SurfaceState
SurfaceStateBottomTiled = Int
8192
    fromEnum SurfaceState
SurfaceStateBottomResizable = Int
16384
    fromEnum SurfaceState
SurfaceStateLeftTiled = Int
32768
    fromEnum SurfaceState
SurfaceStateLeftResizable = Int
65536
    fromEnum (AnotherSurfaceState Int
k) = Int
k

    toEnum :: Int -> SurfaceState
toEnum Int
1 = SurfaceState
SurfaceStateWithdrawn
    toEnum Int
2 = SurfaceState
SurfaceStateMinimized
    toEnum Int
4 = SurfaceState
SurfaceStateMaximized
    toEnum Int
8 = SurfaceState
SurfaceStateSticky
    toEnum Int
16 = SurfaceState
SurfaceStateFullscreen
    toEnum Int
32 = SurfaceState
SurfaceStateAbove
    toEnum Int
64 = SurfaceState
SurfaceStateBelow
    toEnum Int
128 = SurfaceState
SurfaceStateFocused
    toEnum Int
256 = SurfaceState
SurfaceStateTiled
    toEnum Int
512 = SurfaceState
SurfaceStateTopTiled
    toEnum Int
1024 = SurfaceState
SurfaceStateTopResizable
    toEnum Int
2048 = SurfaceState
SurfaceStateRightTiled
    toEnum Int
4096 = SurfaceState
SurfaceStateRightResizable
    toEnum Int
8192 = SurfaceState
SurfaceStateBottomTiled
    toEnum Int
16384 = SurfaceState
SurfaceStateBottomResizable
    toEnum Int
32768 = SurfaceState
SurfaceStateLeftTiled
    toEnum Int
65536 = SurfaceState
SurfaceStateLeftResizable
    toEnum Int
k = Int -> SurfaceState
AnotherSurfaceState Int
k

instance P.Ord SurfaceState where
    compare :: SurfaceState -> SurfaceState -> Ordering
compare SurfaceState
a SurfaceState
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (SurfaceState -> Int
forall a. Enum a => a -> Int
P.fromEnum SurfaceState
a) (SurfaceState -> Int
forall a. Enum a => a -> Int
P.fromEnum SurfaceState
b)

type instance O.ParentTypes SurfaceState = '[]
instance O.HasParentTypes SurfaceState

foreign import ccall "gdk_surface_state_get_type" c_gdk_surface_state_get_type :: 
    IO GType

instance B.Types.TypedObject SurfaceState where
    glibType :: IO GType
glibType = IO GType
c_gdk_surface_state_get_type

instance B.Types.BoxedFlags SurfaceState

instance IsGFlag SurfaceState

-- Flags SeatCapabilities
-- | Flags describing the seat capabilities.
data SeatCapabilities = 
      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
    deriving (Int -> SeatCapabilities -> ShowS
[SeatCapabilities] -> ShowS
SeatCapabilities -> String
(Int -> SeatCapabilities -> ShowS)
-> (SeatCapabilities -> String)
-> ([SeatCapabilities] -> ShowS)
-> Show SeatCapabilities
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SeatCapabilities] -> ShowS
$cshowList :: [SeatCapabilities] -> ShowS
show :: SeatCapabilities -> String
$cshow :: SeatCapabilities -> String
showsPrec :: Int -> SeatCapabilities -> ShowS
$cshowsPrec :: Int -> SeatCapabilities -> ShowS
Show, SeatCapabilities -> SeatCapabilities -> Bool
(SeatCapabilities -> SeatCapabilities -> Bool)
-> (SeatCapabilities -> SeatCapabilities -> Bool)
-> Eq SeatCapabilities
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SeatCapabilities -> SeatCapabilities -> Bool
$c/= :: SeatCapabilities -> SeatCapabilities -> Bool
== :: SeatCapabilities -> SeatCapabilities -> Bool
$c== :: SeatCapabilities -> SeatCapabilities -> Bool
Eq)

instance P.Enum SeatCapabilities where
    fromEnum :: SeatCapabilities -> Int
fromEnum SeatCapabilities
SeatCapabilitiesNone = Int
0
    fromEnum SeatCapabilities
SeatCapabilitiesPointer = Int
1
    fromEnum SeatCapabilities
SeatCapabilitiesTouch = Int
2
    fromEnum SeatCapabilities
SeatCapabilitiesTabletStylus = Int
4
    fromEnum SeatCapabilities
SeatCapabilitiesKeyboard = Int
8
    fromEnum SeatCapabilities
SeatCapabilitiesTabletPad = Int
16
    fromEnum SeatCapabilities
SeatCapabilitiesAllPointing = Int
7
    fromEnum SeatCapabilities
SeatCapabilitiesAll = Int
15
    fromEnum (AnotherSeatCapabilities Int
k) = Int
k

    toEnum :: Int -> SeatCapabilities
toEnum Int
0 = SeatCapabilities
SeatCapabilitiesNone
    toEnum Int
1 = SeatCapabilities
SeatCapabilitiesPointer
    toEnum Int
2 = SeatCapabilities
SeatCapabilitiesTouch
    toEnum Int
4 = SeatCapabilities
SeatCapabilitiesTabletStylus
    toEnum Int
8 = SeatCapabilities
SeatCapabilitiesKeyboard
    toEnum Int
16 = SeatCapabilities
SeatCapabilitiesTabletPad
    toEnum Int
7 = SeatCapabilities
SeatCapabilitiesAllPointing
    toEnum Int
15 = SeatCapabilities
SeatCapabilitiesAll
    toEnum Int
k = Int -> SeatCapabilities
AnotherSeatCapabilities Int
k

instance P.Ord SeatCapabilities where
    compare :: SeatCapabilities -> SeatCapabilities -> Ordering
compare SeatCapabilities
a SeatCapabilities
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (SeatCapabilities -> Int
forall a. Enum a => a -> Int
P.fromEnum SeatCapabilities
a) (SeatCapabilities -> Int
forall a. Enum a => a -> Int
P.fromEnum SeatCapabilities
b)

type instance O.ParentTypes SeatCapabilities = '[]
instance O.HasParentTypes SeatCapabilities

foreign import ccall "gdk_seat_capabilities_get_type" c_gdk_seat_capabilities_get_type :: 
    IO GType

instance B.Types.TypedObject SeatCapabilities where
    glibType :: IO GType
glibType = IO GType
c_gdk_seat_capabilities_get_type

instance B.Types.BoxedFlags SeatCapabilities

instance IsGFlag SeatCapabilities

-- Flags PaintableFlags
-- | Flags about this object. Implementations use these for optimizations
-- such as caching.
data PaintableFlags = 
      PaintableFlagsSize
    -- ^ The size is immutable.
    --     The [invalidateSize]("GI.Gdk.Interfaces.Paintable#g:signal:invalidateSize") signal will never be
    --     emitted.
    | PaintableFlagsContents
    -- ^ The content is immutable.
    --     The [invalidateContents]("GI.Gdk.Interfaces.Paintable#g:signal:invalidateContents") signal will never be
    --     emitted.
    | AnotherPaintableFlags Int
    -- ^ Catch-all for unknown values
    deriving (Int -> PaintableFlags -> ShowS
[PaintableFlags] -> ShowS
PaintableFlags -> String
(Int -> PaintableFlags -> ShowS)
-> (PaintableFlags -> String)
-> ([PaintableFlags] -> ShowS)
-> Show PaintableFlags
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PaintableFlags] -> ShowS
$cshowList :: [PaintableFlags] -> ShowS
show :: PaintableFlags -> String
$cshow :: PaintableFlags -> String
showsPrec :: Int -> PaintableFlags -> ShowS
$cshowsPrec :: Int -> PaintableFlags -> ShowS
Show, PaintableFlags -> PaintableFlags -> Bool
(PaintableFlags -> PaintableFlags -> Bool)
-> (PaintableFlags -> PaintableFlags -> Bool) -> Eq PaintableFlags
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PaintableFlags -> PaintableFlags -> Bool
$c/= :: PaintableFlags -> PaintableFlags -> Bool
== :: PaintableFlags -> PaintableFlags -> Bool
$c== :: PaintableFlags -> PaintableFlags -> Bool
Eq)

instance P.Enum PaintableFlags where
    fromEnum :: PaintableFlags -> Int
fromEnum PaintableFlags
PaintableFlagsSize = Int
1
    fromEnum PaintableFlags
PaintableFlagsContents = Int
2
    fromEnum (AnotherPaintableFlags Int
k) = Int
k

    toEnum :: Int -> PaintableFlags
toEnum Int
1 = PaintableFlags
PaintableFlagsSize
    toEnum Int
2 = PaintableFlags
PaintableFlagsContents
    toEnum Int
k = Int -> PaintableFlags
AnotherPaintableFlags Int
k

instance P.Ord PaintableFlags where
    compare :: PaintableFlags -> PaintableFlags -> Ordering
compare PaintableFlags
a PaintableFlags
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PaintableFlags -> Int
forall a. Enum a => a -> Int
P.fromEnum PaintableFlags
a) (PaintableFlags -> Int
forall a. Enum a => a -> Int
P.fromEnum PaintableFlags
b)

type instance O.ParentTypes PaintableFlags = '[]
instance O.HasParentTypes PaintableFlags

foreign import ccall "gdk_paintable_flags_get_type" c_gdk_paintable_flags_get_type :: 
    IO GType

instance B.Types.TypedObject PaintableFlags where
    glibType :: IO GType
glibType = IO GType
c_gdk_paintable_flags_get_type

instance B.Types.BoxedFlags PaintableFlags

instance IsGFlag PaintableFlags

-- Flags ModifierType
-- | A set of bit-flags to indicate the state of modifier keys and mouse buttons
-- in various event types. Typical modifier keys are Shift, Control, Meta,
-- Super, Hyper, Alt, Compose, Apple, CapsLock or ShiftLock.
-- 
-- 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
-- 'GI.Gdk.Constants.MODIFIER_MASK' to remove all private values.
data ModifierType = 
      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
    deriving (Int -> ModifierType -> ShowS
[ModifierType] -> ShowS
ModifierType -> String
(Int -> ModifierType -> ShowS)
-> (ModifierType -> String)
-> ([ModifierType] -> ShowS)
-> Show ModifierType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModifierType] -> ShowS
$cshowList :: [ModifierType] -> ShowS
show :: ModifierType -> String
$cshow :: ModifierType -> String
showsPrec :: Int -> ModifierType -> ShowS
$cshowsPrec :: Int -> ModifierType -> ShowS
Show, ModifierType -> ModifierType -> Bool
(ModifierType -> ModifierType -> Bool)
-> (ModifierType -> ModifierType -> Bool) -> Eq ModifierType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModifierType -> ModifierType -> Bool
$c/= :: ModifierType -> ModifierType -> Bool
== :: ModifierType -> ModifierType -> Bool
$c== :: ModifierType -> ModifierType -> Bool
Eq)

instance P.Enum ModifierType where
    fromEnum :: ModifierType -> Int
fromEnum ModifierType
ModifierTypeShiftMask = Int
1
    fromEnum ModifierType
ModifierTypeLockMask = Int
2
    fromEnum ModifierType
ModifierTypeControlMask = Int
4
    fromEnum ModifierType
ModifierTypeAltMask = Int
8
    fromEnum ModifierType
ModifierTypeButton1Mask = Int
256
    fromEnum ModifierType
ModifierTypeButton2Mask = Int
512
    fromEnum ModifierType
ModifierTypeButton3Mask = Int
1024
    fromEnum ModifierType
ModifierTypeButton4Mask = Int
2048
    fromEnum ModifierType
ModifierTypeButton5Mask = Int
4096
    fromEnum ModifierType
ModifierTypeSuperMask = Int
67108864
    fromEnum ModifierType
ModifierTypeHyperMask = Int
134217728
    fromEnum ModifierType
ModifierTypeMetaMask = Int
268435456
    fromEnum (AnotherModifierType Int
k) = Int
k

    toEnum :: Int -> ModifierType
toEnum Int
1 = ModifierType
ModifierTypeShiftMask
    toEnum Int
2 = ModifierType
ModifierTypeLockMask
    toEnum Int
4 = ModifierType
ModifierTypeControlMask
    toEnum Int
8 = ModifierType
ModifierTypeAltMask
    toEnum Int
256 = ModifierType
ModifierTypeButton1Mask
    toEnum Int
512 = ModifierType
ModifierTypeButton2Mask
    toEnum Int
1024 = ModifierType
ModifierTypeButton3Mask
    toEnum Int
2048 = ModifierType
ModifierTypeButton4Mask
    toEnum Int
4096 = ModifierType
ModifierTypeButton5Mask
    toEnum Int
67108864 = ModifierType
ModifierTypeSuperMask
    toEnum Int
134217728 = ModifierType
ModifierTypeHyperMask
    toEnum Int
268435456 = ModifierType
ModifierTypeMetaMask
    toEnum Int
k = Int -> ModifierType
AnotherModifierType Int
k

instance P.Ord ModifierType where
    compare :: ModifierType -> ModifierType -> Ordering
compare ModifierType
a ModifierType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ModifierType -> Int
forall a. Enum a => a -> Int
P.fromEnum ModifierType
a) (ModifierType -> Int
forall a. Enum a => a -> Int
P.fromEnum ModifierType
b)

type instance O.ParentTypes ModifierType = '[]
instance O.HasParentTypes ModifierType

foreign import ccall "gdk_modifier_type_get_type" c_gdk_modifier_type_get_type :: 
    IO GType

instance B.Types.TypedObject ModifierType where
    glibType :: IO GType
glibType = IO GType
c_gdk_modifier_type_get_type

instance B.Types.BoxedFlags ModifierType

instance IsGFlag ModifierType

-- Flags FrameClockPhase
-- | t'GI.Gdk.Flags.FrameClockPhase' is used to represent the different paint clock
-- phases that can be requested. The elements of the enumeration
-- correspond to the signals of t'GI.Gdk.Objects.FrameClock.FrameClock'.
data FrameClockPhase = 
      FrameClockPhaseNone
    -- ^ no phase
    | FrameClockPhaseFlushEvents
    -- ^ corresponds to GdkFrameClock[flushEvents](#g:signal:flushEvents). Should not be handled by applications.
    | FrameClockPhaseBeforePaint
    -- ^ corresponds to GdkFrameClock[beforePaint](#g:signal:beforePaint). Should not be handled by applications.
    | FrameClockPhaseUpdate
    -- ^ corresponds to GdkFrameClock[update](#g:signal:update).
    | FrameClockPhaseLayout
    -- ^ corresponds to GdkFrameClock[layout](#g:signal:layout).
    | FrameClockPhasePaint
    -- ^ corresponds to GdkFrameClock[paint](#g:signal:paint).
    | FrameClockPhaseResumeEvents
    -- ^ corresponds to GdkFrameClock[resumeEvents](#g:signal:resumeEvents). Should not be handled by applications.
    | FrameClockPhaseAfterPaint
    -- ^ corresponds to GdkFrameClock[afterPaint](#g:signal:afterPaint). Should not be handled by applications.
    | AnotherFrameClockPhase Int
    -- ^ Catch-all for unknown values
    deriving (Int -> FrameClockPhase -> ShowS
[FrameClockPhase] -> ShowS
FrameClockPhase -> String
(Int -> FrameClockPhase -> ShowS)
-> (FrameClockPhase -> String)
-> ([FrameClockPhase] -> ShowS)
-> Show FrameClockPhase
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FrameClockPhase] -> ShowS
$cshowList :: [FrameClockPhase] -> ShowS
show :: FrameClockPhase -> String
$cshow :: FrameClockPhase -> String
showsPrec :: Int -> FrameClockPhase -> ShowS
$cshowsPrec :: Int -> FrameClockPhase -> ShowS
Show, FrameClockPhase -> FrameClockPhase -> Bool
(FrameClockPhase -> FrameClockPhase -> Bool)
-> (FrameClockPhase -> FrameClockPhase -> Bool)
-> Eq FrameClockPhase
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FrameClockPhase -> FrameClockPhase -> Bool
$c/= :: FrameClockPhase -> FrameClockPhase -> Bool
== :: FrameClockPhase -> FrameClockPhase -> Bool
$c== :: FrameClockPhase -> FrameClockPhase -> Bool
Eq)

instance P.Enum FrameClockPhase where
    fromEnum :: FrameClockPhase -> Int
fromEnum FrameClockPhase
FrameClockPhaseNone = Int
0
    fromEnum FrameClockPhase
FrameClockPhaseFlushEvents = Int
1
    fromEnum FrameClockPhase
FrameClockPhaseBeforePaint = Int
2
    fromEnum FrameClockPhase
FrameClockPhaseUpdate = Int
4
    fromEnum FrameClockPhase
FrameClockPhaseLayout = Int
8
    fromEnum FrameClockPhase
FrameClockPhasePaint = Int
16
    fromEnum FrameClockPhase
FrameClockPhaseResumeEvents = Int
32
    fromEnum FrameClockPhase
FrameClockPhaseAfterPaint = Int
64
    fromEnum (AnotherFrameClockPhase Int
k) = Int
k

    toEnum :: Int -> FrameClockPhase
toEnum Int
0 = FrameClockPhase
FrameClockPhaseNone
    toEnum Int
1 = FrameClockPhase
FrameClockPhaseFlushEvents
    toEnum Int
2 = FrameClockPhase
FrameClockPhaseBeforePaint
    toEnum Int
4 = FrameClockPhase
FrameClockPhaseUpdate
    toEnum Int
8 = FrameClockPhase
FrameClockPhaseLayout
    toEnum Int
16 = FrameClockPhase
FrameClockPhasePaint
    toEnum Int
32 = FrameClockPhase
FrameClockPhaseResumeEvents
    toEnum Int
64 = FrameClockPhase
FrameClockPhaseAfterPaint
    toEnum Int
k = Int -> FrameClockPhase
AnotherFrameClockPhase Int
k

instance P.Ord FrameClockPhase where
    compare :: FrameClockPhase -> FrameClockPhase -> Ordering
compare FrameClockPhase
a FrameClockPhase
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (FrameClockPhase -> Int
forall a. Enum a => a -> Int
P.fromEnum FrameClockPhase
a) (FrameClockPhase -> Int
forall a. Enum a => a -> Int
P.fromEnum FrameClockPhase
b)

type instance O.ParentTypes FrameClockPhase = '[]
instance O.HasParentTypes FrameClockPhase

foreign import ccall "gdk_frame_clock_phase_get_type" c_gdk_frame_clock_phase_get_type :: 
    IO GType

instance B.Types.TypedObject FrameClockPhase where
    glibType :: IO GType
glibType = IO GType
c_gdk_frame_clock_phase_get_type

instance B.Types.BoxedFlags FrameClockPhase

instance IsGFlag FrameClockPhase

-- Flags EventMask
-- | A set of bit-flags to indicate which events a surface is to receive.
-- Most of these masks map onto one or more of the t'GI.Gdk.Enums.EventType' event types
-- above.
-- 
-- See the [input handling overview][chap-input-handling] for details of
-- [event masks][event-masks] and [event propagation][event-propagation].
-- 
-- If 'GI.Gdk.Flags.EventMaskTouchMask' is enabled, the surface will receive touch events
-- from touch-enabled devices. Those will come as sequences of @/GdkEventTouch/@
-- with type 'GI.Gdk.Enums.EventTypeTouchUpdate', enclosed by two events with
-- type 'GI.Gdk.Enums.EventTypeTouchBegin' and 'GI.Gdk.Enums.EventTypeTouchEnd' (or 'GI.Gdk.Enums.EventTypeTouchCancel').
-- 'GI.Gdk.Objects.Event.eventGetEventSequence' returns the event sequence for these
-- events, so different sequences may be distinguished.
data EventMask = 
      EventMaskExposureMask
    -- ^ receive expose events
    | EventMaskPointerMotionMask
    -- ^ receive all pointer motion events
    | EventMaskButtonMotionMask
    -- ^ receive pointer motion events while any button is pressed
    | EventMaskButton1MotionMask
    -- ^ receive pointer motion events while 1 button is pressed
    | EventMaskButton2MotionMask
    -- ^ receive pointer motion events while 2 button is pressed
    | EventMaskButton3MotionMask
    -- ^ receive pointer motion events while 3 button is pressed
    | EventMaskButtonPressMask
    -- ^ receive button press events
    | EventMaskButtonReleaseMask
    -- ^ receive button release events
    | EventMaskKeyPressMask
    -- ^ receive key press events
    | EventMaskKeyReleaseMask
    -- ^ receive key release events
    | EventMaskEnterNotifyMask
    -- ^ receive surface enter events
    | EventMaskLeaveNotifyMask
    -- ^ receive surface leave events
    | EventMaskFocusChangeMask
    -- ^ receive focus change events
    | EventMaskStructureMask
    -- ^ receive events about surface configuration change
    | EventMaskPropertyChangeMask
    -- ^ receive property change events
    | EventMaskProximityInMask
    -- ^ receive proximity in events
    | EventMaskProximityOutMask
    -- ^ receive proximity out events
    | EventMaskSubstructureMask
    -- ^ receive events about surface configuration changes of child surfaces
    | EventMaskScrollMask
    -- ^ receive scroll events
    | EventMaskTouchMask
    -- ^ receive touch events
    | EventMaskSmoothScrollMask
    -- ^ receive smooth scrolling events
    | EventMaskTouchpadGestureMask
    -- ^ receive touchpad gesture events
    | EventMaskTabletPadMask
    -- ^ receive tablet pad events
    | EventMaskAllEventsMask
    -- ^ the combination of all the above event masks.
    | AnotherEventMask Int
    -- ^ Catch-all for unknown values
    deriving (Int -> EventMask -> ShowS
[EventMask] -> ShowS
EventMask -> String
(Int -> EventMask -> ShowS)
-> (EventMask -> String)
-> ([EventMask] -> ShowS)
-> Show EventMask
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EventMask] -> ShowS
$cshowList :: [EventMask] -> ShowS
show :: EventMask -> String
$cshow :: EventMask -> String
showsPrec :: Int -> EventMask -> ShowS
$cshowsPrec :: Int -> EventMask -> ShowS
Show, EventMask -> EventMask -> Bool
(EventMask -> EventMask -> Bool)
-> (EventMask -> EventMask -> Bool) -> Eq EventMask
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EventMask -> EventMask -> Bool
$c/= :: EventMask -> EventMask -> Bool
== :: EventMask -> EventMask -> Bool
$c== :: EventMask -> EventMask -> Bool
Eq)

instance P.Enum EventMask where
    fromEnum :: EventMask -> Int
fromEnum EventMask
EventMaskExposureMask = Int
2
    fromEnum EventMask
EventMaskPointerMotionMask = Int
4
    fromEnum EventMask
EventMaskButtonMotionMask = Int
16
    fromEnum EventMask
EventMaskButton1MotionMask = Int
32
    fromEnum EventMask
EventMaskButton2MotionMask = Int
64
    fromEnum EventMask
EventMaskButton3MotionMask = Int
128
    fromEnum EventMask
EventMaskButtonPressMask = Int
256
    fromEnum EventMask
EventMaskButtonReleaseMask = Int
512
    fromEnum EventMask
EventMaskKeyPressMask = Int
1024
    fromEnum EventMask
EventMaskKeyReleaseMask = Int
2048
    fromEnum EventMask
EventMaskEnterNotifyMask = Int
4096
    fromEnum EventMask
EventMaskLeaveNotifyMask = Int
8192
    fromEnum EventMask
EventMaskFocusChangeMask = Int
16384
    fromEnum EventMask
EventMaskStructureMask = Int
32768
    fromEnum EventMask
EventMaskPropertyChangeMask = Int
65536
    fromEnum EventMask
EventMaskProximityInMask = Int
262144
    fromEnum EventMask
EventMaskProximityOutMask = Int
524288
    fromEnum EventMask
EventMaskSubstructureMask = Int
1048576
    fromEnum EventMask
EventMaskScrollMask = Int
2097152
    fromEnum EventMask
EventMaskTouchMask = Int
4194304
    fromEnum EventMask
EventMaskSmoothScrollMask = Int
8388608
    fromEnum EventMask
EventMaskTouchpadGestureMask = Int
16777216
    fromEnum EventMask
EventMaskTabletPadMask = Int
33554432
    fromEnum EventMask
EventMaskAllEventsMask = Int
67108862
    fromEnum (AnotherEventMask Int
k) = Int
k

    toEnum :: Int -> EventMask
toEnum Int
2 = EventMask
EventMaskExposureMask
    toEnum Int
4 = EventMask
EventMaskPointerMotionMask
    toEnum Int
16 = EventMask
EventMaskButtonMotionMask
    toEnum Int
32 = EventMask
EventMaskButton1MotionMask
    toEnum Int
64 = EventMask
EventMaskButton2MotionMask
    toEnum Int
128 = EventMask
EventMaskButton3MotionMask
    toEnum Int
256 = EventMask
EventMaskButtonPressMask
    toEnum Int
512 = EventMask
EventMaskButtonReleaseMask
    toEnum Int
1024 = EventMask
EventMaskKeyPressMask
    toEnum Int
2048 = EventMask
EventMaskKeyReleaseMask
    toEnum Int
4096 = EventMask
EventMaskEnterNotifyMask
    toEnum Int
8192 = EventMask
EventMaskLeaveNotifyMask
    toEnum Int
16384 = EventMask
EventMaskFocusChangeMask
    toEnum Int
32768 = EventMask
EventMaskStructureMask
    toEnum Int
65536 = EventMask
EventMaskPropertyChangeMask
    toEnum Int
262144 = EventMask
EventMaskProximityInMask
    toEnum Int
524288 = EventMask
EventMaskProximityOutMask
    toEnum Int
1048576 = EventMask
EventMaskSubstructureMask
    toEnum Int
2097152 = EventMask
EventMaskScrollMask
    toEnum Int
4194304 = EventMask
EventMaskTouchMask
    toEnum Int
8388608 = EventMask
EventMaskSmoothScrollMask
    toEnum Int
16777216 = EventMask
EventMaskTouchpadGestureMask
    toEnum Int
33554432 = EventMask
EventMaskTabletPadMask
    toEnum Int
67108862 = EventMask
EventMaskAllEventsMask
    toEnum Int
k = Int -> EventMask
AnotherEventMask Int
k

instance P.Ord EventMask where
    compare :: EventMask -> EventMask -> Ordering
compare EventMask
a EventMask
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (EventMask -> Int
forall a. Enum a => a -> Int
P.fromEnum EventMask
a) (EventMask -> Int
forall a. Enum a => a -> Int
P.fromEnum EventMask
b)

type instance O.ParentTypes EventMask = '[]
instance O.HasParentTypes EventMask

foreign import ccall "gdk_event_mask_get_type" c_gdk_event_mask_get_type :: 
    IO GType

instance B.Types.TypedObject EventMask where
    glibType :: IO GType
glibType = IO GType
c_gdk_event_mask_get_type

instance B.Types.BoxedFlags EventMask

instance IsGFlag EventMask

-- Flags DragAction
-- | Used in t'GI.Gdk.Objects.Drop.Drop' and t'GI.Gdk.Objects.Drag.Drag' to indicate the actions that the
-- destination can and should do with the dropped data.
data DragAction = 
      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
    deriving (Int -> DragAction -> ShowS
[DragAction] -> ShowS
DragAction -> String
(Int -> DragAction -> ShowS)
-> (DragAction -> String)
-> ([DragAction] -> ShowS)
-> Show DragAction
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DragAction] -> ShowS
$cshowList :: [DragAction] -> ShowS
show :: DragAction -> String
$cshow :: DragAction -> String
showsPrec :: Int -> DragAction -> ShowS
$cshowsPrec :: Int -> DragAction -> ShowS
Show, DragAction -> DragAction -> Bool
(DragAction -> DragAction -> Bool)
-> (DragAction -> DragAction -> Bool) -> Eq DragAction
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DragAction -> DragAction -> Bool
$c/= :: DragAction -> DragAction -> Bool
== :: DragAction -> DragAction -> Bool
$c== :: DragAction -> DragAction -> Bool
Eq)

instance P.Enum DragAction where
    fromEnum :: DragAction -> Int
fromEnum DragAction
DragActionCopy = Int
1
    fromEnum DragAction
DragActionMove = Int
2
    fromEnum DragAction
DragActionLink = Int
4
    fromEnum DragAction
DragActionAsk = Int
8
    fromEnum (AnotherDragAction Int
k) = Int
k

    toEnum :: Int -> DragAction
toEnum Int
1 = DragAction
DragActionCopy
    toEnum Int
2 = DragAction
DragActionMove
    toEnum Int
4 = DragAction
DragActionLink
    toEnum Int
8 = DragAction
DragActionAsk
    toEnum Int
k = Int -> DragAction
AnotherDragAction Int
k

instance P.Ord DragAction where
    compare :: DragAction -> DragAction -> Ordering
compare DragAction
a DragAction
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (DragAction -> Int
forall a. Enum a => a -> Int
P.fromEnum DragAction
a) (DragAction -> Int
forall a. Enum a => a -> Int
P.fromEnum DragAction
b)

type instance O.ParentTypes DragAction = '[]
instance O.HasParentTypes DragAction

foreign import ccall "gdk_drag_action_get_type" c_gdk_drag_action_get_type :: 
    IO GType

instance B.Types.TypedObject DragAction where
    glibType :: IO GType
glibType = IO GType
c_gdk_drag_action_get_type

instance B.Types.BoxedFlags DragAction

instance IsGFlag DragAction

-- Flags AxisFlags
-- | Flags describing the current capabilities of a device\/tool.
data AxisFlags = 
      AxisFlagsX
    -- ^ X axis is present
    | AxisFlagsY
    -- ^ Y 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
    deriving (Int -> AxisFlags -> ShowS
[AxisFlags] -> ShowS
AxisFlags -> String
(Int -> AxisFlags -> ShowS)
-> (AxisFlags -> String)
-> ([AxisFlags] -> ShowS)
-> Show AxisFlags
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AxisFlags] -> ShowS
$cshowList :: [AxisFlags] -> ShowS
show :: AxisFlags -> String
$cshow :: AxisFlags -> String
showsPrec :: Int -> AxisFlags -> ShowS
$cshowsPrec :: Int -> AxisFlags -> ShowS
Show, AxisFlags -> AxisFlags -> Bool
(AxisFlags -> AxisFlags -> Bool)
-> (AxisFlags -> AxisFlags -> Bool) -> Eq AxisFlags
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AxisFlags -> AxisFlags -> Bool
$c/= :: AxisFlags -> AxisFlags -> Bool
== :: AxisFlags -> AxisFlags -> Bool
$c== :: AxisFlags -> AxisFlags -> Bool
Eq)

instance P.Enum AxisFlags where
    fromEnum :: AxisFlags -> Int
fromEnum AxisFlags
AxisFlagsX = Int
2
    fromEnum AxisFlags
AxisFlagsY = Int
4
    fromEnum AxisFlags
AxisFlagsPressure = Int
8
    fromEnum AxisFlags
AxisFlagsXtilt = Int
16
    fromEnum AxisFlags
AxisFlagsYtilt = Int
32
    fromEnum AxisFlags
AxisFlagsWheel = Int
64
    fromEnum AxisFlags
AxisFlagsDistance = Int
128
    fromEnum AxisFlags
AxisFlagsRotation = Int
256
    fromEnum AxisFlags
AxisFlagsSlider = Int
512
    fromEnum (AnotherAxisFlags Int
k) = Int
k

    toEnum :: Int -> AxisFlags
toEnum Int
2 = AxisFlags
AxisFlagsX
    toEnum Int
4 = AxisFlags
AxisFlagsY
    toEnum Int
8 = AxisFlags
AxisFlagsPressure
    toEnum Int
16 = AxisFlags
AxisFlagsXtilt
    toEnum Int
32 = AxisFlags
AxisFlagsYtilt
    toEnum Int
64 = AxisFlags
AxisFlagsWheel
    toEnum Int
128 = AxisFlags
AxisFlagsDistance
    toEnum Int
256 = AxisFlags
AxisFlagsRotation
    toEnum Int
512 = AxisFlags
AxisFlagsSlider
    toEnum Int
k = Int -> AxisFlags
AnotherAxisFlags Int
k

instance P.Ord AxisFlags where
    compare :: AxisFlags -> AxisFlags -> Ordering
compare AxisFlags
a AxisFlags
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (AxisFlags -> Int
forall a. Enum a => a -> Int
P.fromEnum AxisFlags
a) (AxisFlags -> Int
forall a. Enum a => a -> Int
P.fromEnum AxisFlags
b)

type instance O.ParentTypes AxisFlags = '[]
instance O.HasParentTypes AxisFlags

foreign import ccall "gdk_axis_flags_get_type" c_gdk_axis_flags_get_type :: 
    IO GType

instance B.Types.TypedObject AxisFlags where
    glibType :: IO GType
glibType = IO GType
c_gdk_axis_flags_get_type

instance B.Types.BoxedFlags AxisFlags

instance IsGFlag AxisFlags

-- Flags AnchorHints
-- | 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, 'GI.Gdk.Flags.AnchorHintsFlipX' will replace 'GI.Gdk.Enums.GravityNorthWest' with
-- 'GI.Gdk.Enums.GravityNorthEast' and vice versa if the surface extends beyond the left
-- or right edges of the monitor.
-- 
-- If 'GI.Gdk.Flags.AnchorHintsSlideX' is set, the surface can be shifted horizontally to fit
-- on-screen. If 'GI.Gdk.Flags.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.
data AnchorHints = 
      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
    deriving (Int -> AnchorHints -> ShowS
[AnchorHints] -> ShowS
AnchorHints -> String
(Int -> AnchorHints -> ShowS)
-> (AnchorHints -> String)
-> ([AnchorHints] -> ShowS)
-> Show AnchorHints
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AnchorHints] -> ShowS
$cshowList :: [AnchorHints] -> ShowS
show :: AnchorHints -> String
$cshow :: AnchorHints -> String
showsPrec :: Int -> AnchorHints -> ShowS
$cshowsPrec :: Int -> AnchorHints -> ShowS
Show, AnchorHints -> AnchorHints -> Bool
(AnchorHints -> AnchorHints -> Bool)
-> (AnchorHints -> AnchorHints -> Bool) -> Eq AnchorHints
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AnchorHints -> AnchorHints -> Bool
$c/= :: AnchorHints -> AnchorHints -> Bool
== :: AnchorHints -> AnchorHints -> Bool
$c== :: AnchorHints -> AnchorHints -> Bool
Eq)

instance P.Enum AnchorHints where
    fromEnum :: AnchorHints -> Int
fromEnum AnchorHints
AnchorHintsFlipX = Int
1
    fromEnum AnchorHints
AnchorHintsFlipY = Int
2
    fromEnum AnchorHints
AnchorHintsSlideX = Int
4
    fromEnum AnchorHints
AnchorHintsSlideY = Int
8
    fromEnum AnchorHints
AnchorHintsResizeX = Int
16
    fromEnum AnchorHints
AnchorHintsResizeY = Int
32
    fromEnum AnchorHints
AnchorHintsFlip = Int
3
    fromEnum AnchorHints
AnchorHintsSlide = Int
12
    fromEnum AnchorHints
AnchorHintsResize = Int
48
    fromEnum (AnotherAnchorHints Int
k) = Int
k

    toEnum :: Int -> AnchorHints
toEnum Int
1 = AnchorHints
AnchorHintsFlipX
    toEnum Int
2 = AnchorHints
AnchorHintsFlipY
    toEnum Int
4 = AnchorHints
AnchorHintsSlideX
    toEnum Int
8 = AnchorHints
AnchorHintsSlideY
    toEnum Int
16 = AnchorHints
AnchorHintsResizeX
    toEnum Int
32 = AnchorHints
AnchorHintsResizeY
    toEnum Int
3 = AnchorHints
AnchorHintsFlip
    toEnum Int
12 = AnchorHints
AnchorHintsSlide
    toEnum Int
48 = AnchorHints
AnchorHintsResize
    toEnum Int
k = Int -> AnchorHints
AnotherAnchorHints Int
k

instance P.Ord AnchorHints where
    compare :: AnchorHints -> AnchorHints -> Ordering
compare AnchorHints
a AnchorHints
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (AnchorHints -> Int
forall a. Enum a => a -> Int
P.fromEnum AnchorHints
a) (AnchorHints -> Int
forall a. Enum a => a -> Int
P.fromEnum AnchorHints
b)

type instance O.ParentTypes AnchorHints = '[]
instance O.HasParentTypes AnchorHints

foreign import ccall "gdk_anchor_hints_get_type" c_gdk_anchor_hints_get_type :: 
    IO GType

instance B.Types.TypedObject AnchorHints where
    glibType :: IO GType
glibType = IO GType
c_gdk_anchor_hints_get_type

instance B.Types.BoxedFlags AnchorHints

instance IsGFlag AnchorHints