Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
GtkSeparator is a horizontal or vertical separator widget, depending on the
value of the Orientable
:orientation
property, used to group the widgets
within a window. It displays a line with a shadow to make it appear sunken
into the interface.
CSS nodes
GtkSeparator has a single CSS node with name separator. The node gets one of the .horizontal or .vertical style classes.
Synopsis
- newtype Separator = Separator (ManagedPtr Separator)
- class (GObject o, IsDescendantOf Separator o) => IsSeparator o
- toSeparator :: (MonadIO m, IsSeparator o) => o -> m Separator
- noSeparator :: Maybe Separator
- separatorNew :: (HasCallStack, MonadIO m) => Orientation -> m Separator
Exported types
Memory-managed wrapper type.
Instances
GObject Separator Source # | |
Defined in GI.Gtk.Objects.Separator gobjectType :: IO GType # | |
HasParentTypes Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
type ParentTypes Separator Source # | |
Defined in GI.Gtk.Objects.Separator type ParentTypes Separator = Widget ': (Object ': (ImplementorIface ': (Buildable ': (Orientable ': ([] :: [Type]))))) |
class (GObject o, IsDescendantOf Separator o) => IsSeparator o Source #
Type class for types which can be safely cast to Separator
, for instance with toSeparator
.
Instances
(GObject o, IsDescendantOf Separator o) => IsSeparator o Source # | |
Defined in GI.Gtk.Objects.Separator |
toSeparator :: (MonadIO m, IsSeparator o) => o -> m Separator Source #
Methods
new
:: (HasCallStack, MonadIO m) | |
=> Orientation |
|
-> m Separator | Returns: a new |
Creates a new Separator
with the given orientation.
Since: 3.0