gi-gtk-4.0.8: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Objects.FixedLayoutChild

Description

GtkLayoutChild subclass for children in a GtkFixedLayout.

Synopsis

Exported types

newtype FixedLayoutChild Source #

Memory-managed wrapper type.

Constructors

FixedLayoutChild (ManagedPtr FixedLayoutChild) 

Instances

Instances details
Eq FixedLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.FixedLayoutChild

GObject FixedLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.FixedLayoutChild

ManagedPtrNewtype FixedLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.FixedLayoutChild

TypedObject FixedLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.FixedLayoutChild

Methods

glibType :: IO GType

HasParentTypes FixedLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.FixedLayoutChild

IsGValue (Maybe FixedLayoutChild) Source #

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

Instance details

Defined in GI.Gtk.Objects.FixedLayoutChild

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes FixedLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.FixedLayoutChild

type ParentTypes FixedLayoutChild = '[LayoutChild, Object]

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

Instances details
(GObject o, IsDescendantOf FixedLayoutChild o) => IsFixedLayoutChild o Source # 
Instance details

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

getTransform

fixedLayoutChildGetTransform Source #

Arguments

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

child: a GtkFixedLayoutChild

-> m (Maybe Transform)

Returns: a GskTransform

Retrieves the transformation of the child.

setTransform

fixedLayoutChildSetTransform Source #

Arguments

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

child: a GtkFixedLayoutChild

-> Transform

transform: a GskTransform

-> 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 ]