Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- newtype LayoutMeta = LayoutMeta (ManagedPtr LayoutMeta)
- class (GObject o, IsDescendantOf LayoutMeta o) => IsLayoutMeta o
- toLayoutMeta :: (MonadIO m, IsLayoutMeta o) => o -> m LayoutMeta
- layoutMetaGetManager :: (HasCallStack, MonadIO m, IsLayoutMeta a) => a -> m LayoutManager
- constructLayoutMetaManager :: (IsLayoutMeta o, MonadIO m, IsLayoutManager a) => a -> m (GValueConstruct o)
- getLayoutMetaManager :: (MonadIO m, IsLayoutMeta o) => o -> m LayoutManager
Exported types
newtype LayoutMeta Source #
Memory-managed wrapper type.
Constructors
LayoutMeta (ManagedPtr LayoutMeta) |
Instances
Eq LayoutMeta Source # | |
Defined in GI.Clutter.Objects.LayoutMeta | |
GObject LayoutMeta Source # | |
Defined in GI.Clutter.Objects.LayoutMeta | |
ManagedPtrNewtype LayoutMeta Source # | |
Defined in GI.Clutter.Objects.LayoutMeta Methods toManagedPtr :: LayoutMeta -> ManagedPtr LayoutMeta | |
TypedObject LayoutMeta Source # | |
Defined in GI.Clutter.Objects.LayoutMeta | |
HasParentTypes LayoutMeta Source # | |
Defined in GI.Clutter.Objects.LayoutMeta | |
IsGValue (Maybe LayoutMeta) Source # | Convert |
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 # | |
Defined in GI.Clutter.Objects.LayoutMeta |
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
(GObject o, IsDescendantOf LayoutMeta o) => IsLayoutMeta o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActor, getContainer, getData, getManager, getProperty, getQdata.
Setters
getManager
Arguments
:: (HasCallStack, MonadIO m, IsLayoutMeta a) | |
=> a |
|
-> m LayoutManager | Returns: a |
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