gi-gtk-3.0.7: Gtk 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.Gtk.Objects.Plug

Contents

Description

 

Synopsis

Exported types

newtype Plug Source #

Constructors

Plug (ManagedPtr Plug) 

Instances

GObject Plug Source # 
IsObject Plug Source # 
IsWindow Plug Source # 
IsWidget Plug Source # 
IsContainer Plug Source # 
IsBin Plug Source # 
IsBuildable Plug Source # 
IsImplementorIface Plug Source # 
IsPlug Plug Source # 
((~) * info (ResolvePlugMethod t Plug), MethodInfo * info Plug p) => IsLabel t (Plug -> p) Source # 

Methods

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

((~) * info (ResolvePlugMethod t Plug), MethodInfo * info Plug p) => IsLabelProxy t (Plug -> p) Source # 

Methods

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

HasAttributeList * Plug Source # 
type SignalList Plug Source # 
type SignalList Plug
type AttributeList Plug Source # 
type AttributeList Plug

class GObject o => IsPlug o Source #

Instances

(GObject a, UnknownAncestorError Constraint Plug a) => IsPlug a Source # 
IsPlug Plug Source # 

toPlug :: IsPlug o => o -> IO Plug Source #

Methods

construct

data PlugConstructMethodInfo Source #

Instances

((~) * signature (CULong -> m ()), MonadIO m, IsPlug a) => MethodInfo * PlugConstructMethodInfo a signature Source # 

Methods

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

plugConstruct :: (MonadIO m, IsPlug a) => a -> CULong -> m () Source #

constructForDisplay

data PlugConstructForDisplayMethodInfo Source #

Instances

((~) * signature (b -> CULong -> m ()), MonadIO m, IsPlug a, IsDisplay b) => MethodInfo * PlugConstructForDisplayMethodInfo a signature Source # 

Methods

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

plugConstructForDisplay :: (MonadIO m, IsPlug a, IsDisplay b) => a -> b -> CULong -> m () Source #

getEmbedded

data PlugGetEmbeddedMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsPlug a) => MethodInfo * PlugGetEmbeddedMethodInfo a signature Source # 

Methods

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

getId

data PlugGetIdMethodInfo Source #

Instances

((~) * signature (m CULong), MonadIO m, IsPlug a) => MethodInfo * PlugGetIdMethodInfo a signature Source # 

Methods

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

plugGetId :: (MonadIO m, IsPlug a) => a -> m CULong Source #

getSocketWindow

data PlugGetSocketWindowMethodInfo Source #

Instances

((~) * signature (m (Maybe Window)), MonadIO m, IsPlug a) => MethodInfo * PlugGetSocketWindowMethodInfo a signature Source # 

Methods

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

plugGetSocketWindow :: (MonadIO m, IsPlug a) => a -> m (Maybe Window) Source #

new

newForDisplay

plugNewForDisplay :: (MonadIO m, IsDisplay a) => a -> CULong -> m Plug Source #

Properties

embedded

data PlugEmbeddedPropertyInfo Source #

Instances

AttrInfo PlugEmbeddedPropertyInfo Source # 

Associated Types

type AttrAllowedOps PlugEmbeddedPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint PlugEmbeddedPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint PlugEmbeddedPropertyInfo :: * -> Constraint

type AttrGetType PlugEmbeddedPropertyInfo :: *

type AttrLabel PlugEmbeddedPropertyInfo :: Symbol

type AttrOrigin PlugEmbeddedPropertyInfo :: *

Methods

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

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

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

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

type AttrSetTypeConstraint PlugEmbeddedPropertyInfo Source # 
type AttrSetTypeConstraint PlugEmbeddedPropertyInfo = * ~ ()
type AttrOrigin PlugEmbeddedPropertyInfo Source # 
type AttrOrigin PlugEmbeddedPropertyInfo = Plug
type AttrLabel PlugEmbeddedPropertyInfo Source # 
type AttrLabel PlugEmbeddedPropertyInfo = "embedded"
type AttrGetType PlugEmbeddedPropertyInfo Source # 
type AttrGetType PlugEmbeddedPropertyInfo = Bool
type AttrBaseTypeConstraint PlugEmbeddedPropertyInfo Source # 
type AttrBaseTypeConstraint PlugEmbeddedPropertyInfo = IsPlug
type AttrAllowedOps PlugEmbeddedPropertyInfo Source # 
type AttrAllowedOps PlugEmbeddedPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag)

plugEmbedded :: AttrLabelProxy "embedded" Source #

socketWindow

data PlugSocketWindowPropertyInfo Source #

Instances

AttrInfo PlugSocketWindowPropertyInfo Source # 

Associated Types

type AttrAllowedOps PlugSocketWindowPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint PlugSocketWindowPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint PlugSocketWindowPropertyInfo :: * -> Constraint

type AttrGetType PlugSocketWindowPropertyInfo :: *

type AttrLabel PlugSocketWindowPropertyInfo :: Symbol

type AttrOrigin PlugSocketWindowPropertyInfo :: *

Methods

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

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

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

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

type AttrSetTypeConstraint PlugSocketWindowPropertyInfo Source # 
type AttrSetTypeConstraint PlugSocketWindowPropertyInfo = * ~ ()
type AttrOrigin PlugSocketWindowPropertyInfo Source # 
type AttrLabel PlugSocketWindowPropertyInfo Source # 
type AttrLabel PlugSocketWindowPropertyInfo = "socket-window"
type AttrGetType PlugSocketWindowPropertyInfo Source # 
type AttrGetType PlugSocketWindowPropertyInfo = Maybe Window
type AttrBaseTypeConstraint PlugSocketWindowPropertyInfo Source # 
type AttrBaseTypeConstraint PlugSocketWindowPropertyInfo = IsPlug
type AttrAllowedOps PlugSocketWindowPropertyInfo Source # 
type AttrAllowedOps PlugSocketWindowPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))

getPlugSocketWindow :: (MonadIO m, IsPlug o) => o -> m (Maybe Window) Source #

plugSocketWindow :: AttrLabelProxy "socketWindow" Source #

Signals

embedded

type C_PlugEmbeddedCallback = Ptr () -> Ptr () -> IO () Source #

data PlugEmbeddedSignalInfo Source #

Instances

SignalInfo PlugEmbeddedSignalInfo Source # 

Associated Types

type HaskellCallbackType PlugEmbeddedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o PlugEmbeddedSignalInfo -> o -> HaskellCallbackType PlugEmbeddedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType PlugEmbeddedSignalInfo Source # 
type HaskellCallbackType PlugEmbeddedSignalInfo = PlugEmbeddedCallback

afterPlugEmbedded :: (GObject a, MonadIO m) => a -> PlugEmbeddedCallback -> m SignalHandlerId Source #

onPlugEmbedded :: (GObject a, MonadIO m) => a -> PlugEmbeddedCallback -> m SignalHandlerId Source #