Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
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
- newtype BinLayout = BinLayout (ManagedPtr BinLayout)
- class (GObject o, IsDescendantOf BinLayout o) => IsBinLayout o
- toBinLayout :: (MonadIO m, IsBinLayout o) => o -> m BinLayout
- binLayoutNew :: (HasCallStack, MonadIO m) => m BinLayout
Exported types
Memory-managed wrapper type.
Instances
Eq BinLayout Source # | |
GObject BinLayout Source # | |
Defined in GI.Gtk.Objects.BinLayout | |
ManagedPtrNewtype BinLayout Source # | |
Defined in GI.Gtk.Objects.BinLayout | |
TypedObject BinLayout Source # | |
Defined in GI.Gtk.Objects.BinLayout | |
HasParentTypes BinLayout Source # | |
Defined in GI.Gtk.Objects.BinLayout | |
IsGValue (Maybe BinLayout) Source # | Convert |
Defined in GI.Gtk.Objects.BinLayout | |
type ParentTypes BinLayout Source # | |
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
(GObject o, IsDescendantOf BinLayout o) => IsBinLayout o Source # | |
Defined in GI.Gtk.Objects.BinLayout |
toBinLayout :: (MonadIO m, IsBinLayout o) => o -> m BinLayout Source #
Methods
Click to display all available methods, including inherited ones
Methods
allocate, bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, layoutChanged, measure, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getLayoutChild, getProperty, getQdata, getRequestMode, getWidget.
Setters
new
:: (HasCallStack, MonadIO m) | |
=> m BinLayout | Returns: the newly created |
Creates a new GtkBinLayout
instance.