package Implements_Gtk_Activatable is new Glib.Types.Implements (Gtk.Activatable.Gtk_Activatable, Gtk_Tool_Item_Record, Gtk_Tool_Item);
package Implements_Gtk_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Tool_Item_Record, Gtk_Tool_Item);
type Gtk_Tool_Item_Record is new Gtk_Bin_Record with null record;
type Gtk_Tool_Item is access all Gtk_Tool_Item_Record'Class;
type Cb_Gtk_Tool_Item_Boolean is not null access function (Self : access Gtk_Tool_Item_Record'Class) return Boolean;
type Cb_GObject_Boolean is not null access function (Self : access Glib.Object.GObject_Record'Class) return Boolean;
type Cb_Gtk_Tool_Item_Void is not null access procedure (Self : access Gtk_Tool_Item_Record'Class);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
Is_Important_Property : constant Glib.Properties.Property_Boolean;
Visible_Horizontal_Property : constant Glib.Properties.Property_Boolean;
Visible_Vertical_Property : constant Glib.Properties.Property_Boolean;
Signal_Create_Menu_Proxy : constant Glib.Signal_Name := "create-menu-proxy";
Signal_Toolbar_Reconfigured : constant Glib.Signal_Name := "toolbar-reconfigured";
procedure Gtk_New
| ( | Tool_Item | : out Gtk_Tool_Item); |
procedure Initialize
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record'Class); |
function Gtk_Tool_Item_New return Gtk_Tool_Item;
function Get_Type return Glib.GType;
function Get_Ellipsize_Mode
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Pango.Layout.Pango_Ellipsize_Mode; |
function Get_Expand
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Boolean; |
procedure Set_Expand
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record; |
| Expand | : Boolean); |
function Get_Homogeneous
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Boolean; |
procedure Set_Homogeneous
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record; |
| Homogeneous | : Boolean); |
function Get_Icon_Size
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Gtk.Enums.Gtk_Icon_Size; |
function Get_Is_Important
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Boolean; |
procedure Set_Is_Important
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record; |
| Is_Important | : Boolean); |
function Get_Orientation
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Gtk.Enums.Gtk_Orientation; |
function Get_Proxy_Menu_Item
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record; |
| Menu_Item_Id | : UTF8_String) return Gtk.Menu_Item.Gtk_Menu_Item; |
procedure Set_Proxy_Menu_Item
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record; |
| Menu_Item_Id | : UTF8_String; | |
| Menu_Item | : not null access Gtk.Menu_Item.Gtk_Menu_Item_Record'Class); |
function Get_Relief_Style
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Gtk.Enums.Gtk_Relief_Style; |
function Get_Text_Alignment
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Gfloat; |
function Get_Text_Orientation
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Gtk.Enums.Gtk_Orientation; |
function Get_Text_Size_Group
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Gtk.Size_Group.Gtk_Size_Group; |
function Get_Toolbar_Style
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Gtk.Enums.Gtk_Toolbar_Style; |
function Get_Use_Drag_Window
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Boolean; |
procedure Set_Use_Drag_Window
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record; |
| Use_Drag_Window | : Boolean); |
function Get_Visible_Horizontal
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Boolean; |
procedure Set_Visible_Horizontal
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record; |
| Visible_Horizontal | : Boolean); |
function Get_Visible_Vertical
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Boolean; |
procedure Set_Visible_Vertical
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record; |
| Visible_Vertical | : Boolean); |
procedure Rebuild_Menu
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record); |
function Retrieve_Proxy_Menu_Item
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record) return Gtk.Menu_Item.Gtk_Menu_Item; |
procedure Set_Tooltip_Markup
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record; |
| Markup | : UTF8_String); |
procedure Set_Tooltip_Text
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record; |
| Text | : UTF8_String); |
procedure Toolbar_Reconfigured
| ( | Tool_Item | : not null access Gtk_Tool_Item_Record); |
procedure Do_Set_Related_Action
| ( | Self | : not null access Gtk_Tool_Item_Record; |
| Action | : not null access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Related_Action
| ( | Self | : not null access Gtk_Tool_Item_Record) return Gtk.Action.Gtk_Action; |
procedure Set_Related_Action
| ( | Self | : not null access Gtk_Tool_Item_Record; |
| Action | : not null access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Use_Action_Appearance
| ( | Self | : not null access Gtk_Tool_Item_Record) return Boolean; |
procedure Set_Use_Action_Appearance
| ( | Self | : not null access Gtk_Tool_Item_Record; |
| Use_Appearance | : Boolean); |
procedure Sync_Action_Properties
| ( | Self | : not null access Gtk_Tool_Item_Record; |
| Action | : access Gtk.Action.Gtk_Action_Record'Class); |
procedure On_Create_Menu_Proxy
| ( | Self | : not null access Gtk_Tool_Item_Record; |
| Call | : Cb_Gtk_Tool_Item_Boolean; | |
| After | : Boolean := False); |
procedure On_Create_Menu_Proxy
| ( | Self | : not null access Gtk_Tool_Item_Record; |
| Call | : Cb_GObject_Boolean; | |
| Slot | : not null access Glib.Object.GObject_Record'Class; | |
| After | : Boolean := False); |
procedure On_Toolbar_Reconfigured
| ( | Self | : not null access Gtk_Tool_Item_Record; |
| Call | : Cb_Gtk_Tool_Item_Void; | |
| After | : Boolean := False); |
procedure On_Toolbar_Reconfigured
| ( | Self | : not null access Gtk_Tool_Item_Record; |
| Call | : Cb_GObject_Void; | |
| Slot | : not null access Glib.Object.GObject_Record'Class; | |
| After | : Boolean := False); |
function "+"
| ( | Widget | : access Gtk_Tool_Item_Record'Class) return Gtk.Activatable.Gtk_Activatable renames Implements_Gtk_Activatable.To_Interface; |
function "-"
| ( | Interf | : Gtk.Activatable.Gtk_Activatable) return Gtk_Tool_Item renames Implements_Gtk_Activatable.To_Object; |
function "+"
| ( | Widget | : access Gtk_Tool_Item_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
| ( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Tool_Item renames Implements_Gtk_Buildable.To_Object; |
Gtk.Tool_Item.Gtk_Tool_Item<!-- -->s are widgets that can appear on a toolbar. To create a toolbar item that contain something else than a button, use Gtk.Tool_Item.Gtk_New. Use Gtk.Container.Add to add a child widget to the tool item.
For toolbar items that contain buttons, see the Gtk.Tool_Button.Gtk_Tool_Button, Gtk.Toggle_Tool_Button.Gtk_Toggle_Tool_Button and Gtk.Radio_Tool_Button.Gtk_Radio_Tool_Button classes.
See the Gtk.Toolbar.Gtk_Toolbar class for a description of the toolbar widget, and Gtk.Tool_Shell.Gtk_Tool_Shell for a description of the tool shell interface.