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 |
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, IsDescendantOf SeparatorMenuItem 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
Eq SeparatorMenuItem Source # | |
Defined in GI.Gtk.Objects.SeparatorMenuItem (==) :: SeparatorMenuItem -> SeparatorMenuItem -> Bool # (/=) :: SeparatorMenuItem -> SeparatorMenuItem -> Bool # | |
IsGValue SeparatorMenuItem Source # | Convert |
Defined in GI.Gtk.Objects.SeparatorMenuItem toGValue :: SeparatorMenuItem -> IO GValue # fromGValue :: GValue -> IO SeparatorMenuItem # | |
GObject SeparatorMenuItem Source # | |
Defined in GI.Gtk.Objects.SeparatorMenuItem gobjectType :: IO GType # | |
HasParentTypes SeparatorMenuItem Source # | |
Defined in GI.Gtk.Objects.SeparatorMenuItem | |
type ParentTypes SeparatorMenuItem Source # | |
Defined in GI.Gtk.Objects.SeparatorMenuItem type ParentTypes SeparatorMenuItem = '[MenuItem, Bin, Container, Widget, Object, ImplementorIface, Actionable, Activatable, Buildable] |
class (GObject o, IsDescendantOf SeparatorMenuItem o) => IsSeparatorMenuItem o Source #
Type class for types which can be safely cast to SeparatorMenuItem
, for instance with toSeparatorMenuItem
.
Instances
(GObject o, IsDescendantOf SeparatorMenuItem o) => IsSeparatorMenuItem o 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
Overloaded methods
new
:: (HasCallStack, MonadIO m) | |
=> m SeparatorMenuItem | Returns: a new |
Creates a new SeparatorMenuItem
.