gtk.separator_tool_item

Module for [SeparatorToolItem] class

Types 3

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

If the #GtkToolbar child property “expand” is true and the property #GtkSeparatorToolItem:draw is false, a #GtkSeparatorToolItem will act as a “spring” that forces other items to the ends of the toolbar.

Use gtk.separator_tool_item.SeparatorToolItem.new_ to create a new #GtkSeparatorToolItem.

CSS nodes

GtkSeparatorToolItem has a single CSS node with name separator.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
SeparatorToolItem self() nothrowReturns `this`, for use in `with` statements.
SeparatorToolItemGidBuilder builder() static nothrowGet builder for [gtk.separator_tool_item.SeparatorToolItem] Returns: New builder object
bool draw() @property nothrow
void draw(bool propval) @property nothrow
bool getDraw() nothrowReturns whether item is drawn as a line, or just blank. See [gtk.separator_tool_item.SeparatorToolItem.setDraw]. Returns: true if item is drawn as a line, or just blank.
void setDraw(bool draw) nothrowWhether item is drawn as a vertical line, or just blank. Setting this to false along with [gtk.tool_item.ToolItem.setExpand] is useful to create an item that forces following items to the end of th...
Constructors
this(void * ptr, Flag!"Take" take)
this()Create a new #GtkSeparatorToolItem Returns: the new #GtkSeparatorToolItem

Fluent builder implementation template for gtk.separator_tool_item.SeparatorToolItem

Methods
T draw(bool propval) nothrow