| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gtk.Objects.Separator
Contents
Description
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 => 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.
Constructors
| Separator (ManagedPtr Separator) |
Instances
| GObject Separator Source # | |
Defined in GI.Gtk.Objects.Separator Methods gobjectType :: Separator -> IO GType # | |
| IsImplementorIface Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
| IsObject Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
| IsBuildable Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
| IsOrientable Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
| IsSeparator Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
| IsWidget Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
class GObject o => IsSeparator o Source #
Type class for types which can be safely cast to Separator, for instance with toSeparator.
Instances
| (GObject a, (UnknownAncestorError Separator a :: Constraint)) => IsSeparator a Source # | |
Defined in GI.Gtk.Objects.Separator | |
| IsSeparator Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
| IsSeparator VSeparator Source # | |
Defined in GI.Gtk.Objects.VSeparator | |
| IsSeparator HSeparator Source # | |
Defined in GI.Gtk.Objects.HSeparator | |
toSeparator :: (MonadIO m, IsSeparator o) => o -> m Separator Source #
Methods
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Orientation |
|
| -> m Separator | Returns: a new |
Creates a new Separator with the given orientation.
Since: 3.0