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

GI.Gtk.Objects.BinLayout

Description

GtkBinLayout is a LayoutManager 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

IsGValue BinLayout Source #

Convert BinLayout to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.BinLayout

GObject BinLayout Source # 
Instance details

Defined in GI.Gtk.Objects.BinLayout

Methods

gobjectType :: IO GType #

HasParentTypes BinLayout Source # 
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.

noBinLayout :: Maybe BinLayout Source #

A convenience alias for Nothing :: Maybe BinLayout.

Methods

Overloaded methods

new

binLayoutNew Source #

Arguments

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

Returns: the newly created BinLayout

Creates a new BinLayout instance.