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.BinLayout

Description

GtkBinLayout is a GtkLayoutManager subclass useful for create "bins" of widgets.

GtkBinLayout will stack each child of a widget on top of each other, using the Widget:hexpand, Widget:vexpand, Widget:halign, and Widget:valign properties of each child to determine where they should be positioned.

Synopsis

Exported types

newtype BinLayout Source #

Memory-managed wrapper type.

Constructors

BinLayout (ManagedPtr BinLayout) 

Instances

Instances details
Eq BinLayout Source # 
Instance details

Defined in GI.Gtk.Objects.BinLayout

GObject BinLayout Source # 
Instance details

Defined in GI.Gtk.Objects.BinLayout

ManagedPtrNewtype BinLayout Source # 
Instance details

Defined in GI.Gtk.Objects.BinLayout

Methods

toManagedPtr :: BinLayout -> ManagedPtr BinLayout

TypedObject BinLayout Source # 
Instance details

Defined in GI.Gtk.Objects.BinLayout

Methods

glibType :: IO GType

HasParentTypes BinLayout Source # 
Instance details

Defined in GI.Gtk.Objects.BinLayout

IsGValue (Maybe BinLayout) Source #

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

Instance details

Defined in GI.Gtk.Objects.BinLayout

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes BinLayout Source # 
Instance details

Defined in GI.Gtk.Objects.BinLayout

type ParentTypes BinLayout = '[LayoutManager, Object]

class (GObject o, IsDescendantOf BinLayout o) => IsBinLayout o Source #

Type class for types which can be safely cast to BinLayout, for instance with toBinLayout.

Instances

Instances details
(GObject o, IsDescendantOf BinLayout o) => IsBinLayout o Source # 
Instance details

Defined in GI.Gtk.Objects.BinLayout

toBinLayout :: (MonadIO m, IsBinLayout o) => o -> m BinLayout Source #

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

Methods

new

binLayoutNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m BinLayout

Returns: the newly created GtkBinLayout

Creates a new GtkBinLayout instance.