gi-gtk-3.0.31: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
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

Methods

gobjectType :: IO GType #

HasParentTypes Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

type ParentTypes Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

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
(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.

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