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

Contents

Description

The tHSeparator widget is a horizontal separator, used to group the widgets within a window. It displays a horizontal line with a shadow to make it appear sunken into the interface.

The t'GI.Gtk.Objects.HSeparator.HSeparator' widget is not used as a separator within menus.
To create a separator in a menu create an empty t'GI.Gtk.Objects.SeparatorMenuItem.SeparatorMenuItem'
widget using 'GI.Gtk.Objects.SeparatorMenuItem.separatorMenuItemNew' and add it to the menu with
'GI.Gtk.Objects.MenuShell.menuShellAppend'.

GtkHSeparator has been deprecated, use tSeparator instead.

Synopsis

Exported types

newtype HSeparator Source #

Memory-managed wrapper type.

Constructors

HSeparator (ManagedPtr HSeparator) 
Instances
Eq HSeparator Source # 
Instance details

Defined in GI.Gtk.Objects.HSeparator

Methods

(==) :: HSeparator -> HSeparator -> Bool

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

GObject HSeparator Source # 
Instance details

Defined in GI.Gtk.Objects.HSeparator

Methods

gobjectType :: IO GType

IsGValue HSeparator Source #

Convert HSeparator to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.HSeparator

Methods

toGValue :: HSeparator -> IO GValue

fromGValue :: GValue -> IO HSeparator

HasParentTypes HSeparator Source # 
Instance details

Defined in GI.Gtk.Objects.HSeparator

type ParentTypes HSeparator Source # 
Instance details

Defined in GI.Gtk.Objects.HSeparator

type ParentTypes HSeparator = Separator ': (Widget ': (Object ': (ImplementorIface ': (Buildable ': (Orientable ': ([] :: [Type]))))))

class (GObject o, IsDescendantOf HSeparator o) => IsHSeparator o Source #

Type class for types which can be safely cast to HSeparator, for instance with toHSeparator.

Instances
(GObject o, IsDescendantOf HSeparator o) => IsHSeparator o Source # 
Instance details

Defined in GI.Gtk.Objects.HSeparator

toHSeparator :: (MonadIO m, IsHSeparator o) => o -> m HSeparator Source #

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

noHSeparator :: Maybe HSeparator Source #

A convenience alias for Nothing :: Maybe HSeparator.

Methods

Overloaded methods

new

hSeparatorNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m HSeparator

Returns: a new tHSeparator.

Deprecated: (Since version 3.2)Use separatorNew with OrientationHorizontal instead

Creates a new tHSeparator.