W Wrapl, The Programming Language

Libraries:Gtk:Gtk:SeparatorToolItem

Types

T

Inherits from:

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

If the property "expand" is TRUE and the property "draw" is FALSE, a T will act as a "spring" that forces other items to the ends of the toolbar.

Use gtk_separator_tool_item_new() to create a new T.



Constants

Nil : T

Functions

GetType() : Gtk.GObject.Type.T



New() : Gtk.Gtk.SeparatorToolItem.T

Create a new T

Returns the new T


Methods

:GetDraw(self @ T) : Std.Symbol.T

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

item a T
Returns TRUE if item is drawn as a line, or just blank.


:SetDraw(self @ T, draw @ Std.Symbol.T) : Std.Object.T

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

item a T
draw whether item is drawn as a vertical line