gi-gtk-3.0.35: 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.

Constructors

Separator (ManagedPtr Separator) 

Instances

Instances details
Eq Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

Methods

(==) :: Separator -> Separator -> Bool

(/=) :: Separator -> Separator -> Bool

GObject Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

ManagedPtrNewtype Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

Methods

toManagedPtr :: Separator -> ManagedPtr Separator

TypedObject Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

Methods

glibType :: IO GType

IsGValue Separator Source #

Convert Separator to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.Separator

Methods

toGValue :: Separator -> IO GValue

fromGValue :: GValue -> IO Separator

HasParentTypes Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

type ParentTypes Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

type ParentTypes Separator = '[Widget, Object, ImplementorIface, Buildable, Orientable]

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