Gtk.SeparatorToolItem
const Gtk = imports.gi.Gtk;
let separator_tool_item = new Gtk.SeparatorToolItem({
draw: value,
});
A Gtk.SeparatorToolItem is a Gtk.ToolItem that separates groups of other #GtkToolItems. Depending on the theme, a Gtk.SeparatorToolItem will often look like a vertical line on horizontally docked toolbars.
If the Gtk.Toolbar child property "expand" is true and the property Gtk.draw is false, a Gtk.SeparatorToolItem will act as a "spring" that forces other items to the ends of the toolbar.
Use Gtk.new to create a new Gtk.SeparatorToolItem.
Hierarchy
-
GObject.Object
-
GObject.InitiallyUnowned
-
Gtk.Widget
-
Gtk.Container
-
Gtk.Bin
-
Gtk.ToolItem
- Gtk.SeparatorToolItem
-
-
-
-
-