Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
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
- 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 toManagedPtr :: BinLayout -> ManagedPtr 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 gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe BinLayout -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe 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 BinLayout
instance.