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 |
The HSeparator
widget is a horizontal separator, used to group the
widgets within a window. It displays a horizontal line with a shadow to
make it appear sunken into the interface.
The 'GI.Gtk.Objects.HSeparator.HSeparator' widget is not used as a separator within menus. To create a separator in a menu create an empty 'GI.Gtk.Objects.SeparatorMenuItem.SeparatorMenuItem' widget using 'GI.Gtk.Objects.SeparatorMenuItem.separatorMenuItemNew' and add it to the menu with 'GI.Gtk.Objects.MenuShell.menuShellAppend'.
GtkHSeparator has been deprecated, use Separator
instead.
Synopsis
- newtype HSeparator = HSeparator (ManagedPtr HSeparator)
- class GObject o => IsHSeparator o
- toHSeparator :: (MonadIO m, IsHSeparator o) => o -> m HSeparator
- noHSeparator :: Maybe HSeparator
- hSeparatorNew :: (HasCallStack, MonadIO m) => m HSeparator
Exported types
newtype HSeparator Source #
Memory-managed wrapper type.
Instances
GObject HSeparator Source # | |
Defined in GI.Gtk.Objects.HSeparator gobjectType :: HSeparator -> IO GType # | |
IsImplementorIface HSeparator Source # | |
Defined in GI.Gtk.Objects.HSeparator | |
IsObject HSeparator Source # | |
Defined in GI.Gtk.Objects.HSeparator | |
IsBuildable HSeparator Source # | |
Defined in GI.Gtk.Objects.HSeparator | |
IsOrientable HSeparator Source # | |
Defined in GI.Gtk.Objects.HSeparator | |
IsSeparator HSeparator Source # | |
Defined in GI.Gtk.Objects.HSeparator | |
IsWidget HSeparator Source # | |
Defined in GI.Gtk.Objects.HSeparator | |
IsHSeparator HSeparator Source # | |
Defined in GI.Gtk.Objects.HSeparator |
class GObject o => IsHSeparator o Source #
Type class for types which can be safely cast to HSeparator
, for instance with toHSeparator
.
Instances
(GObject a, (UnknownAncestorError HSeparator a :: Constraint)) => IsHSeparator a Source # | |
Defined in GI.Gtk.Objects.HSeparator | |
IsHSeparator HSeparator Source # | |
Defined in GI.Gtk.Objects.HSeparator |
toHSeparator :: (MonadIO m, IsHSeparator o) => o -> m HSeparator Source #
Cast to HSeparator
, for types for which this is known to be safe. For general casts, use castTo
.
noHSeparator :: Maybe HSeparator Source #
A convenience alias for Nothing
:: Maybe
HSeparator
.
Methods
new
:: (HasCallStack, MonadIO m) | |
=> m HSeparator | Returns: a new |
Deprecated: (Since version 3.2)Use separatorNew
with OrientationHorizontal
instead
Creates a new HSeparator
.