gi-gtk-4.0.10: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
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.

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

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

type ParentTypes BinLayout Source # 
Instance details

Defined in GI.Gtk.Objects.BinLayout

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.