gi-gdk-3.0.6: Gdk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gdk.Objects.GLContext

Contents

Description

 

Synopsis

Exported types

newtype GLContext Source #

Instances

GObject GLContext Source # 
IsGLContext GLContext Source # 
IsObject GLContext Source # 
((~) * info (ResolveGLContextMethod t GLContext), MethodInfo * info GLContext p) => IsLabel t (GLContext -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> GLContext -> p #

((~) * info (ResolveGLContextMethod t GLContext), MethodInfo * info GLContext p) => IsLabelProxy t (GLContext -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> GLContext -> p

HasAttributeList * GLContext Source # 
type SignalList GLContext Source # 
type SignalList GLContext
type AttributeList GLContext Source # 
type AttributeList GLContext

class GObject o => IsGLContext o Source #

Instances

(GObject a, UnknownAncestorError Constraint GLContext a) => IsGLContext a Source # 
IsGLContext GLContext Source # 

Methods

gLContextClearCurrent

gLContextGetCurrent

gLContextGetDebugEnabled

data GLContextGetDebugEnabledMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetDebugEnabledMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextGetDebugEnabledMethodInfo a -> signature -> s

gLContextGetDisplay

data GLContextGetDisplayMethodInfo Source #

Instances

((~) * signature (m Display), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetDisplayMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextGetDisplayMethodInfo a -> signature -> s

gLContextGetForwardCompatible

data GLContextGetForwardCompatibleMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetForwardCompatibleMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextGetForwardCompatibleMethodInfo a -> signature -> s

gLContextGetRequiredVersion

data GLContextGetRequiredVersionMethodInfo Source #

Instances

((~) * signature (m (Int32, Int32)), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetRequiredVersionMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextGetRequiredVersionMethodInfo a -> signature -> s

gLContextGetSharedContext

data GLContextGetSharedContextMethodInfo Source #

Instances

((~) * signature (m GLContext), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetSharedContextMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextGetSharedContextMethodInfo a -> signature -> s

gLContextGetVersion

data GLContextGetVersionMethodInfo Source #

Instances

((~) * signature (m (Int32, Int32)), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetVersionMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextGetVersionMethodInfo a -> signature -> s

gLContextGetWindow

data GLContextGetWindowMethodInfo Source #

Instances

((~) * signature (m Window), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetWindowMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextGetWindowMethodInfo a -> signature -> s

gLContextIsLegacy

data GLContextIsLegacyMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsGLContext a) => MethodInfo * GLContextIsLegacyMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextIsLegacyMethodInfo a -> signature -> s

gLContextMakeCurrent

data GLContextMakeCurrentMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsGLContext a) => MethodInfo * GLContextMakeCurrentMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextMakeCurrentMethodInfo a -> signature -> s

gLContextRealize

data GLContextRealizeMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsGLContext a) => MethodInfo * GLContextRealizeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextRealizeMethodInfo a -> signature -> s

gLContextSetDebugEnabled

data GLContextSetDebugEnabledMethodInfo Source #

Instances

((~) * signature (Bool -> m ()), MonadIO m, IsGLContext a) => MethodInfo * GLContextSetDebugEnabledMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextSetDebugEnabledMethodInfo a -> signature -> s

gLContextSetForwardCompatible

data GLContextSetForwardCompatibleMethodInfo Source #

Instances

((~) * signature (Bool -> m ()), MonadIO m, IsGLContext a) => MethodInfo * GLContextSetForwardCompatibleMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextSetForwardCompatibleMethodInfo a -> signature -> s

gLContextSetRequiredVersion

data GLContextSetRequiredVersionMethodInfo Source #

Instances

((~) * signature (Int32 -> Int32 -> m ()), MonadIO m, IsGLContext a) => MethodInfo * GLContextSetRequiredVersionMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy GLContextSetRequiredVersionMethodInfo a -> signature -> s

Properties

Display

data GLContextDisplayPropertyInfo Source #

Instances

AttrInfo GLContextDisplayPropertyInfo Source # 

Associated Types

type AttrAllowedOps GLContextDisplayPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint GLContextDisplayPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint GLContextDisplayPropertyInfo :: * -> Constraint

type AttrGetType GLContextDisplayPropertyInfo :: *

type AttrLabel GLContextDisplayPropertyInfo :: Symbol

Methods

attrGet :: AttrBaseTypeConstraint GLContextDisplayPropertyInfo o => Proxy * GLContextDisplayPropertyInfo -> o -> IO (AttrGetType GLContextDisplayPropertyInfo)

attrSet :: (AttrBaseTypeConstraint GLContextDisplayPropertyInfo o, AttrSetTypeConstraint GLContextDisplayPropertyInfo b) => Proxy * GLContextDisplayPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint GLContextDisplayPropertyInfo o => Proxy * GLContextDisplayPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint GLContextDisplayPropertyInfo o, AttrSetTypeConstraint GLContextDisplayPropertyInfo b) => Proxy * GLContextDisplayPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint GLContextDisplayPropertyInfo Source # 
type AttrSetTypeConstraint GLContextDisplayPropertyInfo = IsDisplay
type AttrLabel GLContextDisplayPropertyInfo Source # 
type AttrLabel GLContextDisplayPropertyInfo = "display"
type AttrGetType GLContextDisplayPropertyInfo Source # 
type AttrBaseTypeConstraint GLContextDisplayPropertyInfo Source # 
type AttrBaseTypeConstraint GLContextDisplayPropertyInfo = IsGLContext
type AttrAllowedOps GLContextDisplayPropertyInfo Source # 
type AttrAllowedOps GLContextDisplayPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructGLContextDisplay :: (IsGLContext o, IsDisplay a) => a -> IO (GValueConstruct o) Source #

gLContextDisplay :: AttrLabelProxy "display" Source #

SharedContext

data GLContextSharedContextPropertyInfo Source #

Instances

AttrInfo GLContextSharedContextPropertyInfo Source # 

Associated Types

type AttrAllowedOps GLContextSharedContextPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint GLContextSharedContextPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint GLContextSharedContextPropertyInfo :: * -> Constraint

type AttrGetType GLContextSharedContextPropertyInfo :: *

type AttrLabel GLContextSharedContextPropertyInfo :: Symbol

type AttrSetTypeConstraint GLContextSharedContextPropertyInfo Source # 
type AttrSetTypeConstraint GLContextSharedContextPropertyInfo = IsGLContext
type AttrLabel GLContextSharedContextPropertyInfo Source # 
type AttrLabel GLContextSharedContextPropertyInfo = "shared-context"
type AttrGetType GLContextSharedContextPropertyInfo Source # 
type AttrBaseTypeConstraint GLContextSharedContextPropertyInfo Source # 
type AttrBaseTypeConstraint GLContextSharedContextPropertyInfo = IsGLContext
type AttrAllowedOps GLContextSharedContextPropertyInfo Source # 
type AttrAllowedOps GLContextSharedContextPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructGLContextSharedContext :: (IsGLContext o, IsGLContext a) => a -> IO (GValueConstruct o) Source #

gLContextSharedContext :: AttrLabelProxy "sharedContext" Source #

Window

data GLContextWindowPropertyInfo Source #

Instances

AttrInfo GLContextWindowPropertyInfo Source # 

Associated Types

type AttrAllowedOps GLContextWindowPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint GLContextWindowPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint GLContextWindowPropertyInfo :: * -> Constraint

type AttrGetType GLContextWindowPropertyInfo :: *

type AttrLabel GLContextWindowPropertyInfo :: Symbol

Methods

attrGet :: AttrBaseTypeConstraint GLContextWindowPropertyInfo o => Proxy * GLContextWindowPropertyInfo -> o -> IO (AttrGetType GLContextWindowPropertyInfo)

attrSet :: (AttrBaseTypeConstraint GLContextWindowPropertyInfo o, AttrSetTypeConstraint GLContextWindowPropertyInfo b) => Proxy * GLContextWindowPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint GLContextWindowPropertyInfo o => Proxy * GLContextWindowPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint GLContextWindowPropertyInfo o, AttrSetTypeConstraint GLContextWindowPropertyInfo b) => Proxy * GLContextWindowPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint GLContextWindowPropertyInfo Source # 
type AttrSetTypeConstraint GLContextWindowPropertyInfo = IsWindow
type AttrLabel GLContextWindowPropertyInfo Source # 
type AttrLabel GLContextWindowPropertyInfo = "window"
type AttrGetType GLContextWindowPropertyInfo Source # 
type AttrBaseTypeConstraint GLContextWindowPropertyInfo Source # 
type AttrBaseTypeConstraint GLContextWindowPropertyInfo = IsGLContext
type AttrAllowedOps GLContextWindowPropertyInfo Source # 
type AttrAllowedOps GLContextWindowPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructGLContextWindow :: (IsGLContext o, IsWindow a) => a -> IO (GValueConstruct o) Source #

gLContextWindow :: AttrLabelProxy "window" Source #