gi-gtk-3.0.27: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.Separator

Contents

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.

Instances
GObject Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

IsImplementorIface Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

IsObject Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

IsBuildable Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

IsOrientable Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

IsSeparator Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

IsWidget Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

class GObject o => IsSeparator o Source #

Type class for types which can be safely cast to Separator, for instance with toSeparator.

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.

noSeparator :: Maybe Separator Source #

A convenience alias for Nothing :: Maybe Separator.

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