gi-gdk-4.0.10: Gdk bindings (compatibility layer)
Safe HaskellNone
LanguageHaskell2010

GI.Gdk.Objects.DrawContext

Description

This is a backwards-compatibility module re-exporting the contents of the GI.Gdk.Objects.DrawContext module in the gi-gdk4 package.

The link below will take you to the relevant entry in the gi-gdk4 documentation.

Documentation

newtype DrawContext #

Instances

Instances details
Eq DrawContext 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

(==) :: DrawContext -> DrawContext -> Bool

(/=) :: DrawContext -> DrawContext -> Bool

GObject DrawContext 
Instance details

Defined in GI.Gdk.Objects.DrawContext

ManagedPtrNewtype DrawContext 
Instance details

Defined in GI.Gdk.Objects.DrawContext

TypedObject DrawContext 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

glibType :: IO GType #

HasParentTypes DrawContext 
Instance details

Defined in GI.Gdk.Objects.DrawContext

HasAttributeList DrawContext 
Instance details

Defined in GI.Gdk.Objects.DrawContext

(info ~ ResolveDrawContextMethod t DrawContext, OverloadedMethod info DrawContext p, HasField t DrawContext p) => HasField (t :: Symbol) DrawContext p 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

getField :: DrawContext -> p

(info ~ ResolveDrawContextMethod t DrawContext, OverloadedMethodInfo info DrawContext) => IsLabel t (MethodProxy info DrawContext) 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

fromLabel :: MethodProxy info DrawContext

(info ~ ResolveDrawContextMethod t DrawContext, OverloadedMethod info DrawContext p) => IsLabel t (DrawContext -> p) 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

fromLabel :: DrawContext -> p

IsGValue (Maybe DrawContext) 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

gvalueGType_ :: IO GType #

gvalueSet_ :: Ptr GValue -> Maybe DrawContext -> IO () #

gvalueGet_ :: Ptr GValue -> IO (Maybe DrawContext) #

type AttributeList DrawContext 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttributeList DrawContext = DrawContextAttributeList
type ParentTypes DrawContext 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type ParentTypes DrawContext = '[Object]
type SignalList DrawContext 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type SignalList DrawContext = DrawContextSignalList

data DrawContextBeginFrameMethodInfo #

Instances

Instances details
(signature ~ (Region -> m ()), MonadIO m, IsDrawContext a) => OverloadedMethod DrawContextBeginFrameMethodInfo a signature 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo DrawContextBeginFrameMethodInfo (a :: Type) 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

data DrawContextDisplayPropertyInfo #

Instances

Instances details
AttrInfo DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Associated Types

type AttrAllowedOps DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrAllowedOps DrawContextDisplayPropertyInfo = '['AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrBaseTypeConstraint DrawContextDisplayPropertyInfo = IsDrawContext
type AttrGetType DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrGetType DrawContextDisplayPropertyInfo = Maybe Display
type AttrSetTypeConstraint DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrSetTypeConstraint DrawContextDisplayPropertyInfo = IsDisplay
type AttrTransferTypeConstraint DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrTransferTypeConstraint DrawContextDisplayPropertyInfo = IsDisplay
type AttrTransferType DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrTransferType DrawContextDisplayPropertyInfo = Display
type AttrLabel DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrLabel DrawContextDisplayPropertyInfo = "display"
type AttrOrigin DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

attrGet :: AttrBaseTypeConstraint DrawContextDisplayPropertyInfo o => o -> IO (AttrGetType DrawContextDisplayPropertyInfo)

attrSet :: (AttrBaseTypeConstraint DrawContextDisplayPropertyInfo o, AttrSetTypeConstraint DrawContextDisplayPropertyInfo b) => o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint DrawContextDisplayPropertyInfo o => o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint DrawContextDisplayPropertyInfo o, AttrSetTypeConstraint DrawContextDisplayPropertyInfo b) => b -> IO (GValueConstruct o)

attrTransfer :: (AttrBaseTypeConstraint DrawContextDisplayPropertyInfo o, AttrTransferTypeConstraint DrawContextDisplayPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType DrawContextDisplayPropertyInfo)

attrPut :: AttrBaseTypeConstraint DrawContextDisplayPropertyInfo o => o -> AttrGetType DrawContextDisplayPropertyInfo -> IO ()

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrAllowedOps DrawContextDisplayPropertyInfo = '['AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrBaseTypeConstraint DrawContextDisplayPropertyInfo = IsDrawContext
type AttrGetType DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrGetType DrawContextDisplayPropertyInfo = Maybe Display
type AttrLabel DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrLabel DrawContextDisplayPropertyInfo = "display"
type AttrOrigin DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrSetTypeConstraint DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrSetTypeConstraint DrawContextDisplayPropertyInfo = IsDisplay
type AttrTransferType DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrTransferType DrawContextDisplayPropertyInfo = Display
type AttrTransferTypeConstraint DrawContextDisplayPropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrTransferTypeConstraint DrawContextDisplayPropertyInfo = IsDisplay

data DrawContextEndFrameMethodInfo #

Instances

Instances details
(signature ~ m (), MonadIO m, IsDrawContext a) => OverloadedMethod DrawContextEndFrameMethodInfo a signature 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo DrawContextEndFrameMethodInfo (a :: Type) 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

data DrawContextGetDisplayMethodInfo #

Instances

Instances details
(signature ~ m (Maybe Display), MonadIO m, IsDrawContext a) => OverloadedMethod DrawContextGetDisplayMethodInfo a signature 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo DrawContextGetDisplayMethodInfo (a :: Type) 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

data DrawContextGetFrameRegionMethodInfo #

Instances

Instances details
(signature ~ m (Maybe Region), MonadIO m, IsDrawContext a) => OverloadedMethod DrawContextGetFrameRegionMethodInfo a signature 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo DrawContextGetFrameRegionMethodInfo (a :: Type) 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

data DrawContextGetSurfaceMethodInfo #

Instances

Instances details
(signature ~ m (Maybe Surface), MonadIO m, IsDrawContext a) => OverloadedMethod DrawContextGetSurfaceMethodInfo a signature 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo DrawContextGetSurfaceMethodInfo (a :: Type) 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

data DrawContextIsInFrameMethodInfo #

Instances

Instances details
(signature ~ m Bool, MonadIO m, IsDrawContext a) => OverloadedMethod DrawContextIsInFrameMethodInfo a signature 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethod :: a -> signature

OverloadedMethodInfo DrawContextIsInFrameMethodInfo (a :: Type) 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

overloadedMethodInfo :: Maybe ResolvedSymbolInfo

data DrawContextSurfacePropertyInfo #

Instances

Instances details
AttrInfo DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Associated Types

type AttrAllowedOps DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrAllowedOps DrawContextSurfacePropertyInfo = '['AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrBaseTypeConstraint DrawContextSurfacePropertyInfo = IsDrawContext
type AttrGetType DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrGetType DrawContextSurfacePropertyInfo = Maybe Surface
type AttrSetTypeConstraint DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrSetTypeConstraint DrawContextSurfacePropertyInfo = IsSurface
type AttrTransferTypeConstraint DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrTransferTypeConstraint DrawContextSurfacePropertyInfo = IsSurface
type AttrTransferType DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrTransferType DrawContextSurfacePropertyInfo = Surface
type AttrLabel DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrLabel DrawContextSurfacePropertyInfo = "surface"
type AttrOrigin DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

Methods

attrGet :: AttrBaseTypeConstraint DrawContextSurfacePropertyInfo o => o -> IO (AttrGetType DrawContextSurfacePropertyInfo)

attrSet :: (AttrBaseTypeConstraint DrawContextSurfacePropertyInfo o, AttrSetTypeConstraint DrawContextSurfacePropertyInfo b) => o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint DrawContextSurfacePropertyInfo o => o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint DrawContextSurfacePropertyInfo o, AttrSetTypeConstraint DrawContextSurfacePropertyInfo b) => b -> IO (GValueConstruct o)

attrTransfer :: (AttrBaseTypeConstraint DrawContextSurfacePropertyInfo o, AttrTransferTypeConstraint DrawContextSurfacePropertyInfo b) => Proxy o -> b -> IO (AttrTransferType DrawContextSurfacePropertyInfo)

attrPut :: AttrBaseTypeConstraint DrawContextSurfacePropertyInfo o => o -> AttrGetType DrawContextSurfacePropertyInfo -> IO ()

dbgAttrInfo :: Maybe ResolvedSymbolInfo

type AttrAllowedOps DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrAllowedOps DrawContextSurfacePropertyInfo = '['AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrBaseTypeConstraint DrawContextSurfacePropertyInfo = IsDrawContext
type AttrGetType DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrGetType DrawContextSurfacePropertyInfo = Maybe Surface
type AttrLabel DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrLabel DrawContextSurfacePropertyInfo = "surface"
type AttrOrigin DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrSetTypeConstraint DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrSetTypeConstraint DrawContextSurfacePropertyInfo = IsSurface
type AttrTransferType DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrTransferType DrawContextSurfacePropertyInfo = Surface
type AttrTransferTypeConstraint DrawContextSurfacePropertyInfo 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type AttrTransferTypeConstraint DrawContextSurfacePropertyInfo = IsSurface

class (GObject o, IsDescendantOf DrawContext o) => IsDrawContext o #

Instances

Instances details
(GObject o, IsDescendantOf DrawContext o) => IsDrawContext o 
Instance details

Defined in GI.Gdk.Objects.DrawContext

type family ResolveDrawContextMethod (t :: Symbol) o where ... #

Equations

ResolveDrawContextMethod "beginFrame" o = DrawContextBeginFrameMethodInfo 
ResolveDrawContextMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveDrawContextMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveDrawContextMethod "endFrame" o = DrawContextEndFrameMethodInfo 
ResolveDrawContextMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveDrawContextMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveDrawContextMethod "getv" o = ObjectGetvMethodInfo 
ResolveDrawContextMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveDrawContextMethod "isInFrame" o = DrawContextIsInFrameMethodInfo 
ResolveDrawContextMethod "notify" o = ObjectNotifyMethodInfo 
ResolveDrawContextMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveDrawContextMethod "ref" o = ObjectRefMethodInfo 
ResolveDrawContextMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveDrawContextMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveDrawContextMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveDrawContextMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveDrawContextMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveDrawContextMethod "unref" o = ObjectUnrefMethodInfo 
ResolveDrawContextMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveDrawContextMethod "getData" o = ObjectGetDataMethodInfo 
ResolveDrawContextMethod "getDisplay" o = DrawContextGetDisplayMethodInfo 
ResolveDrawContextMethod "getFrameRegion" o = DrawContextGetFrameRegionMethodInfo 
ResolveDrawContextMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveDrawContextMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveDrawContextMethod "getSurface" o = DrawContextGetSurfaceMethodInfo 
ResolveDrawContextMethod "setData" o = ObjectSetDataMethodInfo 
ResolveDrawContextMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveDrawContextMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveDrawContextMethod l o = MethodResolutionFailed l o :: Type 

constructDrawContextDisplay :: (IsDrawContext o, MonadIO m, IsDisplay a) => a -> m (GValueConstruct o) #

constructDrawContextSurface :: (IsDrawContext o, MonadIO m, IsSurface a) => a -> m (GValueConstruct o) #

drawContextBeginFrame :: (HasCallStack, MonadIO m, IsDrawContext a) => a -> Region -> m () #

drawContextDisplay :: AttrLabelProxy "display" #

drawContextEndFrame :: (HasCallStack, MonadIO m, IsDrawContext a) => a -> m () #

drawContextGetDisplay :: (HasCallStack, MonadIO m, IsDrawContext a) => a -> m (Maybe Display) #

drawContextGetFrameRegion :: (HasCallStack, MonadIO m, IsDrawContext a) => a -> m (Maybe Region) #

drawContextGetSurface :: (HasCallStack, MonadIO m, IsDrawContext a) => a -> m (Maybe Surface) #

drawContextIsInFrame :: (HasCallStack, MonadIO m, IsDrawContext a) => a -> m Bool #

drawContextSurface :: AttrLabelProxy "surface" #

getDrawContextDisplay :: (MonadIO m, IsDrawContext o) => o -> m (Maybe Display) #

getDrawContextSurface :: (MonadIO m, IsDrawContext o) => o -> m (Maybe Surface) #

toDrawContext :: (MonadIO m, IsDrawContext o) => o -> m DrawContext #