A Gtk.Separator_Tool_Item.Gtk_Separator_Tool_Item is a Gtk.Tool_Item.Gtk_Tool_Item that separates groups of other Gtk_Tool_Items. Depending on the theme, a Gtk.Separator_Tool_Item.Gtk_Separator_Tool_Item will often look like a vertical line on horizontally docked toolbars.
If the Gtk.Toolbar.Gtk_Toolbar child property "expand" is True and the property Gtk.Separator_Tool_Item.Gtk_Separator_Tool_Item:draw is False, a Gtk.Separator_Tool_Item.Gtk_Separator_Tool_Item will act as a "spring" that forces other items to the ends of the toolbar.
Use Gtk.Separator_Tool_Item.Gtk_New to create a new Gtk.Separator_Tool_Item.Gtk_Separator_Tool_Item.
# CSS nodes
GtkSeparatorToolItem has a single CSS node with name separator.
<group>Menus and Toolbars</group>
function "+"
(Widget : access Gtk_Separator_Tool_Item_Record'Class)
return Gtk.Activatable.Gtk_Activatable
function "+"
(Widget : access Gtk_Separator_Tool_Item_Record'Class)
return Gtk.Buildable.Gtk_Buildable
function "-"
(Interf : Gtk.Activatable.Gtk_Activatable)
return Gtk_Separator_Tool_Item
function "-"
(Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_Separator_Tool_Item
procedure Do_Set_Related_Action
(Self : not null access Gtk_Separator_Tool_Item_Record;
Action : not null access Gtk.Action.Gtk_Action_Record'Class)
Draw_Property : constant Glib.Properties.Property_Boolean;
function Get_Draw
(Item : not null access Gtk_Separator_Tool_Item_Record) return Boolean
Returns whether Item is drawn as a line, or just blank. See Gtk.Separator_Tool_Item.Set_Draw. Since: gtk+ 2.4
True if Item is drawn as a line, or just blank.
function Get_Related_Action
(Self : not null access Gtk_Separator_Tool_Item_Record)
return Gtk.Action.Gtk_Action
function Get_Type return Glib.GType
function Get_Use_Action_Appearance
(Self : not null access Gtk_Separator_Tool_Item_Record) return Boolean
procedure Gtk_New (Item : out Gtk_Separator_Tool_Item)
Create a new Gtk.Separator_Tool_Item.Gtk_Separator_Tool_Item Since: gtk+ 2.4 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
type Gtk_Separator_Tool_Item is access all Gtk_Separator_Tool_Item_Record'Class;
function Gtk_Separator_Tool_Item_New return Gtk_Separator_Tool_Item
Create a new Gtk.Separator_Tool_Item.Gtk_Separator_Tool_Item Since: gtk+ 2.4
type Gtk_Separator_Tool_Item_Record is new Gtk_Tool_Item_Record with null record;
package Implements_Gtk_Activatable is new Glib.Types.Implements
(Gtk.Activatable.Gtk_Activatable, Gtk_Separator_Tool_Item_Record, Gtk_Separator_Tool_Item);
package Implements_Gtk_Buildable is new Glib.Types.Implements
(Gtk.Buildable.Gtk_Buildable, Gtk_Separator_Tool_Item_Record, Gtk_Separator_Tool_Item);
procedure Initialize
(Item : not null access Gtk_Separator_Tool_Item_Record'Class)
Create a new Gtk.Separator_Tool_Item.Gtk_Separator_Tool_Item Since: gtk+ 2.4 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Set_Draw
(Item : not null access Gtk_Separator_Tool_Item_Record;
Draw : Boolean)
Whether Item is drawn as a vertical line, or just blank. Setting this to False along with Gtk.Tool_Item.Set_Expand is useful to create an item that forces following items to the end of the toolbar. Since: gtk+ 2.4
whether Item is drawn as a vertical line
procedure Set_Related_Action
(Self : not null access Gtk_Separator_Tool_Item_Record;
Action : not null access Gtk.Action.Gtk_Action_Record'Class)
procedure Set_Use_Action_Appearance
(Self : not null access Gtk_Separator_Tool_Item_Record;
Use_Appearance : Boolean)
procedure Sync_Action_Properties
(Self : not null access Gtk_Separator_Tool_Item_Record;
Action : access Gtk.Action.Gtk_Action_Record'Class)