gi-clutter-1.0.5: clutter GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Clutter.Objects.LayoutMeta

Description

Sub-class of ChildMeta specific for layout managers

A LayoutManager sub-class should create a LayoutMeta instance by overriding the LayoutManager::create_child_meta() virtual function

Since: 1.2

Synopsis

Exported types

newtype LayoutMeta Source #

Memory-managed wrapper type.

Constructors

LayoutMeta (ManagedPtr LayoutMeta) 

Instances

Instances details
Eq LayoutMeta Source # 
Instance details

Defined in GI.Clutter.Objects.LayoutMeta

GObject LayoutMeta Source # 
Instance details

Defined in GI.Clutter.Objects.LayoutMeta

ManagedPtrNewtype LayoutMeta Source # 
Instance details

Defined in GI.Clutter.Objects.LayoutMeta

Methods

toManagedPtr :: LayoutMeta -> ManagedPtr LayoutMeta

TypedObject LayoutMeta Source # 
Instance details

Defined in GI.Clutter.Objects.LayoutMeta

Methods

glibType :: IO GType

HasParentTypes LayoutMeta Source # 
Instance details

Defined in GI.Clutter.Objects.LayoutMeta

IsGValue (Maybe LayoutMeta) Source #

Convert LayoutMeta to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Clutter.Objects.LayoutMeta

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe LayoutMeta -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe LayoutMeta)

type ParentTypes LayoutMeta Source # 
Instance details

Defined in GI.Clutter.Objects.LayoutMeta

type ParentTypes LayoutMeta = '[ChildMeta, Object]

class (GObject o, IsDescendantOf LayoutMeta o) => IsLayoutMeta o Source #

Type class for types which can be safely cast to LayoutMeta, for instance with toLayoutMeta.

Instances

Instances details
(GObject o, IsDescendantOf LayoutMeta o) => IsLayoutMeta o Source # 
Instance details

Defined in GI.Clutter.Objects.LayoutMeta

toLayoutMeta :: (MonadIO m, IsLayoutMeta o) => o -> m LayoutMeta Source #

Cast to LayoutMeta, for types for which this is known to be safe. For general casts, use castTo.

Methods

getManager

layoutMetaGetManager Source #

Arguments

:: (HasCallStack, MonadIO m, IsLayoutMeta a) 
=> a

data: a LayoutMeta

-> m LayoutManager

Returns: a LayoutManager

Retrieves the actor wrapped by data

Since: 1.2

Properties

manager

The LayoutManager that created this LayoutMeta.

Since: 1.2

constructLayoutMetaManager :: (IsLayoutMeta o, MonadIO m, IsLayoutManager a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “manager” property. This is rarely needed directly, but it is used by new.

getLayoutMetaManager :: (MonadIO m, IsLayoutMeta o) => o -> m LayoutManager Source #

Get the value of the “manager” property. When overloading is enabled, this is equivalent to

get layoutMeta #manager