Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
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
- newtype BinLayout = BinLayout (ManagedPtr BinLayout)
- class (GObject o, IsDescendantOf BinLayout o) => IsBinLayout o
- toBinLayout :: (MonadIO m, IsBinLayout o) => o -> m BinLayout
- noBinLayout :: Maybe BinLayout
- binLayoutNew :: (HasCallStack, MonadIO m) => m BinLayout
Exported types
Memory-managed wrapper type.
Instances
Eq BinLayout Source # | |
IsGValue BinLayout Source # | Convert |
GObject BinLayout Source # | |
Defined in GI.Gtk.Objects.BinLayout gobjectType :: IO GType # | |
HasParentTypes BinLayout Source # | |
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
Overloaded methods
new
:: (HasCallStack, MonadIO m) | |
=> m BinLayout | Returns: the newly created |
Creates a new BinLayout
instance.