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 |
GI.Gtk.Objects.Separator
Description
GtkSeparator is a horizontal or vertical separator widget, depending on the
value of the tOrientable
: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
Eq Separator Source # | |
GObject Separator Source # | |
Defined in GI.Gtk.Objects.Separator Methods gobjectType :: IO GType | |
IsGValue Separator Source # | Convert |
Defined in GI.Gtk.Objects.Separator | |
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 #
noSeparator :: Maybe Separator Source #
A convenience alias for Nothing
:: Maybe
Separator
.
Methods
Overloaded methods
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> Orientation |
|
-> m Separator | Returns: a new t |
Creates a new tSeparator
with the given orientation.
Since: 3.0