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

Contents

Description

A SeparatorToolItem is a ToolItem that separates groups of other GtkToolItems. Depending on the theme, a SeparatorToolItem will often look like a vertical line on horizontally docked toolbars.

If the Toolbar child property “expand” is True and the property SeparatorToolItem:draw is False, a SeparatorToolItem will act as a “spring” that forces other items to the ends of the toolbar.

Use separatorToolItemNew to create a new SeparatorToolItem.

CSS nodes

GtkSeparatorToolItem has a single CSS node with name separator.

Synopsis

Exported types

Methods

getDraw

separatorToolItemGetDraw Source #

Arguments

:: (HasCallStack, MonadIO m, IsSeparatorToolItem a) 
=> a

item: a SeparatorToolItem

-> m Bool

Returns: True if item is drawn as a line, or just blank.

Returns whether item is drawn as a line, or just blank. See separatorToolItemSetDraw.

Since: 2.4

new

separatorToolItemNew Source #

Arguments

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

Returns: the new SeparatorToolItem

Create a new SeparatorToolItem

Since: 2.4

setDraw

separatorToolItemSetDraw Source #

Arguments

:: (HasCallStack, MonadIO m, IsSeparatorToolItem a) 
=> a

item: a SeparatorToolItem

-> Bool

draw: whether item is drawn as a vertical line

-> m () 

Whether item is drawn as a vertical line, or just blank. Setting this to False along with toolItemSetExpand is useful to create an item that forces following items to the end of the toolbar.

Since: 2.4

Properties

draw

data SeparatorToolItemDrawPropertyInfo Source #

Instances

AttrInfo SeparatorToolItemDrawPropertyInfo Source # 
type AttrOrigin SeparatorToolItemDrawPropertyInfo Source # 
type AttrLabel SeparatorToolItemDrawPropertyInfo Source # 
type AttrGetType SeparatorToolItemDrawPropertyInfo Source # 
type AttrBaseTypeConstraint SeparatorToolItemDrawPropertyInfo Source # 
type AttrSetTypeConstraint SeparatorToolItemDrawPropertyInfo Source # 
type AttrAllowedOps SeparatorToolItemDrawPropertyInfo Source #