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

GI.Gtk.Objects.OverlayLayoutChild

Description

No description available in the introspection data.

Synopsis

Exported types

newtype OverlayLayoutChild Source #

Memory-managed wrapper type.

Constructors

OverlayLayoutChild (ManagedPtr OverlayLayoutChild) 

Instances

Instances details
Eq OverlayLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.OverlayLayoutChild

GObject OverlayLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.OverlayLayoutChild

ManagedPtrNewtype OverlayLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.OverlayLayoutChild

TypedObject OverlayLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.OverlayLayoutChild

Methods

glibType :: IO GType

HasParentTypes OverlayLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.OverlayLayoutChild

IsGValue (Maybe OverlayLayoutChild) Source #

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

Instance details

Defined in GI.Gtk.Objects.OverlayLayoutChild

type ParentTypes OverlayLayoutChild Source # 
Instance details

Defined in GI.Gtk.Objects.OverlayLayoutChild

type ParentTypes OverlayLayoutChild = '[LayoutChild, Object]

class (GObject o, IsDescendantOf OverlayLayoutChild o) => IsOverlayLayoutChild o Source #

Type class for types which can be safely cast to OverlayLayoutChild, for instance with toOverlayLayoutChild.

Instances

Instances details
(GObject o, IsDescendantOf OverlayLayoutChild o) => IsOverlayLayoutChild o Source # 
Instance details

Defined in GI.Gtk.Objects.OverlayLayoutChild

toOverlayLayoutChild :: (MonadIO m, IsOverlayLayoutChild o) => o -> m OverlayLayoutChild Source #

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

Methods

getClipOverlay

overlayLayoutChildGetClipOverlay Source #

Arguments

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

child: a OverlayLayoutChild

-> m Bool

Returns: whether the child is clipped

Retrieves whether the child is clipped.

getMeasure

overlayLayoutChildGetMeasure Source #

Arguments

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

child: a OverlayLayoutChild

-> m Bool

Returns: whether the child is measured

Retrieves whether the child is measured.

setClipOverlay

overlayLayoutChildSetClipOverlay Source #

Arguments

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

child: a OverlayLayoutChild

-> Bool

clipOverlay: whether to clip this child

-> m () 

Sets whether to clip this child.

setMeasure

overlayLayoutChildSetMeasure Source #

Arguments

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

child: a OverlayLayoutChild

-> Bool

measure: whether to measure this child

-> m () 

Sets whether to measure this child.

Properties

clipOverlay

Whether the child should be clipped to fit the parent's size.

constructOverlayLayoutChildClipOverlay :: (IsOverlayLayoutChild o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getOverlayLayoutChildClipOverlay :: (MonadIO m, IsOverlayLayoutChild o) => o -> m Bool Source #

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

get overlayLayoutChild #clipOverlay

setOverlayLayoutChildClipOverlay :: (MonadIO m, IsOverlayLayoutChild o) => o -> Bool -> m () Source #

Set the value of the “clip-overlay” property. When overloading is enabled, this is equivalent to

set overlayLayoutChild [ #clipOverlay := value ]

measure

Whether the child size should contribute to the OverlayLayout's measurement.

constructOverlayLayoutChildMeasure :: (IsOverlayLayoutChild o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getOverlayLayoutChildMeasure :: (MonadIO m, IsOverlayLayoutChild o) => o -> m Bool Source #

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

get overlayLayoutChild #measure

setOverlayLayoutChildMeasure :: (MonadIO m, IsOverlayLayoutChild o) => o -> Bool -> m () Source #

Set the value of the “measure” property. When overloading is enabled, this is equivalent to

set overlayLayoutChild [ #measure := value ]