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
SeparatorToolItem self()Returns `this`, for use in `with` statements.SeparatorToolItemGidBuilder builder()Get builder for [gtk.separatortoolitem.SeparatorToolItem] Returns: New builder objectbool draw() @propertyvoid draw(bool propval) @propertybool getDraw()Returns whether item is drawn as a line, or just blank. See [gtk.separatortoolitem.SeparatorToolItem.setDraw]. Returns: true if item is drawn as a line, or just blank.void setDraw(bool draw)Whether 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...Methods
T draw(bool propval)Fluent builder for [gtk.separator_tool_item.SeparatorToolItem]
Methods