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 SeparatorMenuItem
is a separator used to group
items within a menu. It displays a horizontal line with a shadow to
make it appear sunken into the interface.
CSS nodes
GtkSeparatorMenuItem has a single CSS node with name separator.
Synopsis
- newtype SeparatorMenuItem = SeparatorMenuItem (ManagedPtr SeparatorMenuItem)
- class GObject o => IsSeparatorMenuItem o
- toSeparatorMenuItem :: (MonadIO m, IsSeparatorMenuItem o) => o -> m SeparatorMenuItem
- noSeparatorMenuItem :: Maybe SeparatorMenuItem
- separatorMenuItemNew :: (HasCallStack, MonadIO m) => m SeparatorMenuItem
Exported types
newtype SeparatorMenuItem Source #
Memory-managed wrapper type.
Instances
class GObject o => IsSeparatorMenuItem o Source #
Type class for types which can be safely cast to SeparatorMenuItem
, for instance with toSeparatorMenuItem
.
Instances
(GObject a, (UnknownAncestorError SeparatorMenuItem a :: Constraint)) => IsSeparatorMenuItem a Source # | |
Defined in GI.Gtk.Objects.SeparatorMenuItem | |
IsSeparatorMenuItem SeparatorMenuItem Source # | |
Defined in GI.Gtk.Objects.SeparatorMenuItem |
toSeparatorMenuItem :: (MonadIO m, IsSeparatorMenuItem o) => o -> m SeparatorMenuItem Source #
Cast to SeparatorMenuItem
, for types for which this is known to be safe. For general casts, use castTo
.
noSeparatorMenuItem :: Maybe SeparatorMenuItem Source #
A convenience alias for Nothing
:: Maybe
SeparatorMenuItem
.
Methods
new
:: (HasCallStack, MonadIO m) | |
=> m SeparatorMenuItem | Returns: a new |
Creates a new SeparatorMenuItem
.