gi-gtk-3.0.36: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.Separator

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

Exported types

newtype Separator Source #

Memory-managed wrapper 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

Instances details
(GObject o, IsDescendantOf Separator o) => IsSeparator o Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

toSeparator :: (MonadIO m, IsSeparator o) => o -> m Separator Source #

Cast to Separator, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods

new

separatorNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Orientation

orientation: the separator’s orientation.

-> m Separator

Returns: a new Separator.

Creates a new Separator with the given orientation.

Since: 3.0