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 |
GtkLayoutChild
subclass for children in a GtkFixedLayout
.
Synopsis
- newtype FixedLayoutChild = FixedLayoutChild (ManagedPtr FixedLayoutChild)
- class (GObject o, IsDescendantOf FixedLayoutChild o) => IsFixedLayoutChild o
- toFixedLayoutChild :: (MonadIO m, IsFixedLayoutChild o) => o -> m FixedLayoutChild
- fixedLayoutChildGetTransform :: (HasCallStack, MonadIO m, IsFixedLayoutChild a) => a -> m (Maybe Transform)
- fixedLayoutChildSetTransform :: (HasCallStack, MonadIO m, IsFixedLayoutChild a) => a -> Transform -> m ()
- constructFixedLayoutChildTransform :: (IsFixedLayoutChild o, MonadIO m) => Transform -> m (GValueConstruct o)
- getFixedLayoutChildTransform :: (MonadIO m, IsFixedLayoutChild o) => o -> m (Maybe Transform)
- setFixedLayoutChildTransform :: (MonadIO m, IsFixedLayoutChild o) => o -> Transform -> m ()
Exported types
newtype FixedLayoutChild Source #
Memory-managed wrapper type.
FixedLayoutChild (ManagedPtr FixedLayoutChild) |
Instances
Eq FixedLayoutChild Source # | |
Defined in GI.Gtk.Objects.FixedLayoutChild (==) :: FixedLayoutChild -> FixedLayoutChild -> Bool # (/=) :: FixedLayoutChild -> FixedLayoutChild -> Bool # | |
GObject FixedLayoutChild Source # | |
Defined in GI.Gtk.Objects.FixedLayoutChild | |
ManagedPtrNewtype FixedLayoutChild Source # | |
Defined in GI.Gtk.Objects.FixedLayoutChild toManagedPtr :: FixedLayoutChild -> ManagedPtr FixedLayoutChild | |
TypedObject FixedLayoutChild Source # | |
Defined in GI.Gtk.Objects.FixedLayoutChild | |
HasParentTypes FixedLayoutChild Source # | |
Defined in GI.Gtk.Objects.FixedLayoutChild | |
IsGValue (Maybe FixedLayoutChild) Source # | Convert |
Defined in GI.Gtk.Objects.FixedLayoutChild gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe FixedLayoutChild -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe FixedLayoutChild) | |
type ParentTypes FixedLayoutChild Source # | |
Defined in GI.Gtk.Objects.FixedLayoutChild |
class (GObject o, IsDescendantOf FixedLayoutChild o) => IsFixedLayoutChild o Source #
Type class for types which can be safely cast to FixedLayoutChild
, for instance with toFixedLayoutChild
.
Instances
(GObject o, IsDescendantOf FixedLayoutChild o) => IsFixedLayoutChild o Source # | |
Defined in GI.Gtk.Objects.FixedLayoutChild |
toFixedLayoutChild :: (MonadIO m, IsFixedLayoutChild o) => o -> m FixedLayoutChild Source #
Cast to FixedLayoutChild
, 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
getChildWidget, getData, getLayoutManager, getProperty, getQdata, getTransform.
Setters
getTransform
fixedLayoutChildGetTransform Source #
:: (HasCallStack, MonadIO m, IsFixedLayoutChild a) | |
=> a |
|
-> m (Maybe Transform) | Returns: a |
Retrieves the transformation of the child.
setTransform
fixedLayoutChildSetTransform Source #
:: (HasCallStack, MonadIO m, IsFixedLayoutChild a) | |
=> a |
|
-> Transform |
|
-> m () |
Sets the transformation of the child of a GtkFixedLayout
.
Properties
transform
The transform of the child.
constructFixedLayoutChildTransform :: (IsFixedLayoutChild o, MonadIO m) => Transform -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “transform
” property. This is rarely needed directly, but it is used by new
.
getFixedLayoutChildTransform :: (MonadIO m, IsFixedLayoutChild o) => o -> m (Maybe Transform) Source #
Get the value of the “transform
” property.
When overloading is enabled, this is equivalent to
get
fixedLayoutChild #transform
setFixedLayoutChildTransform :: (MonadIO m, IsFixedLayoutChild o) => o -> Transform -> m () Source #
Set the value of the “transform
” property.
When overloading is enabled, this is equivalent to
set
fixedLayoutChild [ #transform:=
value ]