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.Layout

Contents

Description

 

Synopsis

Exported types

newtype Layout Source #

Constructors

Layout (ManagedPtr Layout) 

Instances

GObject Layout Source # 
IsObject Layout Source # 
IsWidget Layout Source # 
IsContainer Layout Source # 
IsScrollable Layout Source # 
IsBuildable Layout Source # 
IsImplementorIface Layout Source # 
IsLayout Layout Source # 
((~) * info (ResolveLayoutMethod t Layout), MethodInfo * info Layout p) => IsLabel t (Layout -> p) Source # 

Methods

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

((~) * info (ResolveLayoutMethod t Layout), MethodInfo * info Layout p) => IsLabelProxy t (Layout -> p) Source # 

Methods

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

HasAttributeList * Layout Source # 
type SignalList Layout Source # 
type SignalList Layout
type AttributeList Layout Source # 
type AttributeList Layout

class GObject o => IsLayout o Source #

Instances

(GObject a, UnknownAncestorError Constraint Layout a) => IsLayout a Source # 
IsLayout Layout Source # 

Methods

getBinWindow

data LayoutGetBinWindowMethodInfo Source #

Instances

((~) * signature (m Window), MonadIO m, IsLayout a) => MethodInfo * LayoutGetBinWindowMethodInfo a signature Source # 

Methods

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

layoutGetBinWindow :: (MonadIO m, IsLayout a) => a -> m Window Source #

getHadjustment

data LayoutGetHadjustmentMethodInfo Source #

Instances

((~) * signature (m Adjustment), MonadIO m, IsLayout a) => MethodInfo * LayoutGetHadjustmentMethodInfo a signature Source # 

Methods

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

layoutGetHadjustment :: (MonadIO m, IsLayout a) => a -> m Adjustment Source #

Deprecated: (Since version 3.0)Use gtk_scrollable_get_hadjustment()

getSize

data LayoutGetSizeMethodInfo Source #

Instances

((~) * signature (m (Word32, Word32)), MonadIO m, IsLayout a) => MethodInfo * LayoutGetSizeMethodInfo a signature Source # 

Methods

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

getVadjustment

data LayoutGetVadjustmentMethodInfo Source #

Instances

((~) * signature (m Adjustment), MonadIO m, IsLayout a) => MethodInfo * LayoutGetVadjustmentMethodInfo a signature Source # 

Methods

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

layoutGetVadjustment :: (MonadIO m, IsLayout a) => a -> m Adjustment Source #

Deprecated: (Since version 3.0)Use gtk_scrollable_get_vadjustment()

move

data LayoutMoveMethodInfo Source #

Instances

((~) * signature (b -> Int32 -> Int32 -> m ()), MonadIO m, IsLayout a, IsWidget b) => MethodInfo * LayoutMoveMethodInfo a signature Source # 

Methods

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

layoutMove :: (MonadIO m, IsLayout a, IsWidget b) => a -> b -> Int32 -> Int32 -> m () Source #

new

put

data LayoutPutMethodInfo Source #

Instances

((~) * signature (b -> Int32 -> Int32 -> m ()), MonadIO m, IsLayout a, IsWidget b) => MethodInfo * LayoutPutMethodInfo a signature Source # 

Methods

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

layoutPut :: (MonadIO m, IsLayout a, IsWidget b) => a -> b -> Int32 -> Int32 -> m () Source #

setHadjustment

data LayoutSetHadjustmentMethodInfo Source #

Instances

((~) * signature (Maybe b -> m ()), MonadIO m, IsLayout a, IsAdjustment b) => MethodInfo * LayoutSetHadjustmentMethodInfo a signature Source # 

Methods

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

layoutSetHadjustment :: (MonadIO m, IsLayout a, IsAdjustment b) => a -> Maybe b -> m () Source #

Deprecated: (Since version 3.0)Use gtk_scrollable_set_hadjustment()

setSize

data LayoutSetSizeMethodInfo Source #

Instances

((~) * signature (Word32 -> Word32 -> m ()), MonadIO m, IsLayout a) => MethodInfo * LayoutSetSizeMethodInfo a signature Source # 

Methods

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

layoutSetSize :: (MonadIO m, IsLayout a) => a -> Word32 -> Word32 -> m () Source #

setVadjustment

data LayoutSetVadjustmentMethodInfo Source #

Instances

((~) * signature (Maybe b -> m ()), MonadIO m, IsLayout a, IsAdjustment b) => MethodInfo * LayoutSetVadjustmentMethodInfo a signature Source # 

Methods

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

layoutSetVadjustment :: (MonadIO m, IsLayout a, IsAdjustment b) => a -> Maybe b -> m () Source #

Deprecated: (Since version 3.0)Use gtk_scrollable_set_vadjustment()

Properties

height

data LayoutHeightPropertyInfo Source #

Instances

AttrInfo LayoutHeightPropertyInfo Source # 

Associated Types

type AttrAllowedOps LayoutHeightPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint LayoutHeightPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint LayoutHeightPropertyInfo :: * -> Constraint

type AttrGetType LayoutHeightPropertyInfo :: *

type AttrLabel LayoutHeightPropertyInfo :: Symbol

type AttrOrigin LayoutHeightPropertyInfo :: *

Methods

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

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

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

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

type AttrSetTypeConstraint LayoutHeightPropertyInfo Source # 
type AttrSetTypeConstraint LayoutHeightPropertyInfo = * ~ Word32
type AttrOrigin LayoutHeightPropertyInfo Source # 
type AttrLabel LayoutHeightPropertyInfo Source # 
type AttrLabel LayoutHeightPropertyInfo = "height"
type AttrGetType LayoutHeightPropertyInfo Source # 
type AttrGetType LayoutHeightPropertyInfo = Word32
type AttrBaseTypeConstraint LayoutHeightPropertyInfo Source # 
type AttrBaseTypeConstraint LayoutHeightPropertyInfo = IsLayout
type AttrAllowedOps LayoutHeightPropertyInfo Source # 
type AttrAllowedOps LayoutHeightPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructLayoutHeight :: IsLayout o => Word32 -> IO (GValueConstruct o) Source #

layoutHeight :: AttrLabelProxy "height" Source #

setLayoutHeight :: (MonadIO m, IsLayout o) => o -> Word32 -> m () Source #

width

data LayoutWidthPropertyInfo Source #

Instances

AttrInfo LayoutWidthPropertyInfo Source # 

Associated Types

type AttrAllowedOps LayoutWidthPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint LayoutWidthPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint LayoutWidthPropertyInfo :: * -> Constraint

type AttrGetType LayoutWidthPropertyInfo :: *

type AttrLabel LayoutWidthPropertyInfo :: Symbol

type AttrOrigin LayoutWidthPropertyInfo :: *

Methods

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

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

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

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

type AttrSetTypeConstraint LayoutWidthPropertyInfo Source # 
type AttrSetTypeConstraint LayoutWidthPropertyInfo = * ~ Word32
type AttrOrigin LayoutWidthPropertyInfo Source # 
type AttrLabel LayoutWidthPropertyInfo Source # 
type AttrLabel LayoutWidthPropertyInfo = "width"
type AttrGetType LayoutWidthPropertyInfo Source # 
type AttrGetType LayoutWidthPropertyInfo = Word32
type AttrBaseTypeConstraint LayoutWidthPropertyInfo Source # 
type AttrBaseTypeConstraint LayoutWidthPropertyInfo = IsLayout
type AttrAllowedOps LayoutWidthPropertyInfo Source # 
type AttrAllowedOps LayoutWidthPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructLayoutWidth :: IsLayout o => Word32 -> IO (GValueConstruct o) Source #

layoutWidth :: AttrLabelProxy "width" Source #

setLayoutWidth :: (MonadIO m, IsLayout o) => o -> Word32 -> m () Source #