Index

Package: Tool_Item

Description

package Gtk.Tool_Item is

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.

Packages

Implements_Gtk_Activatable (new Glib.Types.Implements)

Implements_Gtk_Buildable (new Glib.Types.Implements)

Classes

Gtk_Tool_Item_Record

type Gtk_Tool_Item_Record is new Gtk_Bin_Record with null record;

Ancestors:

Immediate Children:

Primitive operations:

Do_Set_Related_Action
Get_Ellipsize_Mode
Get_Homogeneous
Get_Icon_Size
Get_Is_Important
Get_Orientation
Get_Proxy_Menu_Item
Get_Related_Action
Get_Relief_Style
Get_Text_Alignment
Get_Text_Orientation
Get_Text_Size_Group
Get_Toolbar_Style
Get_Use_Action_Appearance
Get_Use_Drag_Window
Get_Visible_Horizontal
Get_Visible_Vertical
Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
Gtk.Bin.Get_Child (Inherited)
Gtk.Container.Add (Inherited)
Gtk.Container.Check_Resize (Inherited)
Gtk.Container.Child_Get_Property (Inherited)
Gtk.Container.Child_Notify (Inherited)
Gtk.Container.Child_Set_Property (Inherited)
Gtk.Container.Child_Type (Inherited)
Gtk.Container.Forall (Inherited)
Gtk.Container.Foreach (Inherited)
Gtk.Container.Get_Border_Width (Inherited)
Gtk.Container.Get_Children (Inherited)
Gtk.Container.Get_Focus_Child (Inherited)
Gtk.Container.Get_Focus_Hadjustment (Inherited)
Gtk.Container.Get_Focus_Vadjustment (Inherited)
Gtk.Container.Get_Path_For_Child (Inherited)
Gtk.Container.Get_Resize_Mode (Inherited)
Gtk.Container.On_Add (Inherited)
Gtk.Container.On_Add (Inherited)
Gtk.Container.On_Check_Resize (Inherited)
Gtk.Container.On_Check_Resize (Inherited)
Gtk.Container.On_Remove (Inherited)
Gtk.Container.On_Remove (Inherited)
Gtk.Container.On_Set_Focus_Child (Inherited)
Gtk.Container.On_Set_Focus_Child (Inherited)
Gtk.Container.Propagate_Draw (Inherited)
Gtk.Container.Remove (Inherited)
Gtk.Container.Resize_Children (Inherited)
Gtk.Container.Set_Border_Width (Inherited)
Gtk.Container.Set_Focus_Chain (Inherited)
Gtk.Container.Set_Focus_Child (Inherited)
Gtk.Container.Set_Focus_Hadjustment (Inherited)
Gtk.Container.Set_Focus_Vadjustment (Inherited)
Gtk.Container.Set_Reallocate_Redraws (Inherited)
Gtk.Container.Set_Resize_Mode (Inherited)
Gtk.Container.Unset_Focus_Chain (Inherited)
Gtk.Widget.Activate (Inherited)
Gtk.Widget.Add_Accelerator (Inherited)
Gtk.Widget.Add_Device_Events (Inherited)
Gtk.Widget.Add_Events (Inherited)
Gtk.Widget.Add_Mnemonic_Label (Inherited)
Gtk.Widget.Add_Tick_Callback (Inherited)
Gtk.Widget.Can_Activate_Accel (Inherited)
Gtk.Widget.Child_Focus (Inherited)
Gtk.Widget.Child_Notify (Inherited)
Gtk.Widget.Compute_Expand (Inherited)
Gtk.Widget.Create_Pango_Context (Inherited)
Gtk.Widget.Create_Pango_Layout (Inherited)
Gtk.Widget.Destroy (Inherited)
Gtk.Widget.Destroyed (Inherited)
Gtk.Widget.Device_Is_Shadowed (Inherited)
Gtk.Widget.Drag_Check_Threshold (Inherited)
Gtk.Widget.Drag_Dest_Add_Image_Targets (Inherited)
Gtk.Widget.Drag_Dest_Add_Text_Targets (Inherited)
Gtk.Widget.Drag_Dest_Add_Uri_Targets (Inherited)
Gtk.Widget.Drag_Dest_Get_Track_Motion (Inherited)
Gtk.Widget.Drag_Dest_Set_Proxy (Inherited)
Gtk.Widget.Drag_Dest_Set_Track_Motion (Inherited)
Gtk.Widget.Drag_Dest_Unset (Inherited)
Gtk.Widget.Drag_Get_Data (Inherited)
Gtk.Widget.Drag_Highlight (Inherited)
Gtk.Widget.Drag_Source_Add_Image_Targets (Inherited)
Gtk.Widget.Drag_Source_Add_Uri_Targets (Inherited)
Gtk.Widget.Drag_Source_Set_Icon_Pixbuf (Inherited)
Gtk.Widget.Drag_Source_Unset (Inherited)
Gtk.Widget.Drag_Unhighlight (Inherited)
Gtk.Widget.Draw (Inherited)
Gtk.Widget.Ensure_Style (Inherited)
Gtk.Widget.Error_Bell (Inherited)
Gtk.Widget.Event (Inherited)
Gtk.Widget.Freeze_Child_Notify (Inherited)
Gtk.Widget.Get_Allocated_Height (Inherited)
Gtk.Widget.Get_Allocated_Width (Inherited)
Gtk.Widget.Get_Allocation (Inherited)
Gtk.Widget.Get_Ancestor (Inherited)
Gtk.Widget.Get_App_Paintable (Inherited)
Gtk.Widget.Get_Can_Default (Inherited)
Gtk.Widget.Get_Can_Focus (Inherited)
Gtk.Widget.Get_Child_Requisition (Inherited)
Gtk.Widget.Get_Child_Visible (Inherited)
Gtk.Widget.Get_Composite_Name (Inherited)
Gtk.Widget.Get_Device_Enabled (Inherited)
Gtk.Widget.Get_Device_Events (Inherited)
Gtk.Widget.Get_Direction (Inherited)
Gtk.Widget.Get_Display (Inherited)
Gtk.Widget.Get_Double_Buffered (Inherited)
Gtk.Widget.Get_Events (Inherited)
Gtk.Widget.Get_Frame_Clock (Inherited)
Gtk.Widget.Get_Halign (Inherited)
Gtk.Widget.Get_Has_Tooltip (Inherited)
Gtk.Widget.Get_Has_Window (Inherited)
Gtk.Widget.Get_Hexpand (Inherited)
Gtk.Widget.Get_Hexpand_Set (Inherited)
Gtk.Widget.Get_Mapped (Inherited)
Gtk.Widget.Get_Margin_Bottom (Inherited)
Gtk.Widget.Get_Margin_Left (Inherited)
Gtk.Widget.Get_Margin_Right (Inherited)
Gtk.Widget.Get_Margin_Top (Inherited)
Gtk.Widget.Get_Modifier_Mask (Inherited)
Gtk.Widget.Get_Name (Inherited)
Gtk.Widget.Get_No_Show_All (Inherited)
Gtk.Widget.Get_Opacity (Inherited)
Gtk.Widget.Get_Pango_Context (Inherited)
Gtk.Widget.Get_Parent (Inherited)
Gtk.Widget.Get_Parent_Window (Inherited)
Gtk.Widget.Get_Path (Inherited)
Gtk.Widget.Get_Pointer (Inherited)
Gtk.Widget.Get_Preferred_Height (Inherited)
Gtk.Widget.Get_Preferred_Height_For_Width (Inherited)
Gtk.Widget.Get_Preferred_Size (Inherited)
Gtk.Widget.Get_Preferred_Width (Inherited)
Gtk.Widget.Get_Preferred_Width_For_Height (Inherited)
Gtk.Widget.Get_Realized (Inherited)
Gtk.Widget.Get_Receives_Default (Inherited)
Gtk.Widget.Get_Request_Mode (Inherited)
Gtk.Widget.Get_Requisition (Inherited)
Gtk.Widget.Get_Root_Window (Inherited)
Gtk.Widget.Get_Screen (Inherited)
Gtk.Widget.Get_Sensitive (Inherited)
Gtk.Widget.Get_Size_Request (Inherited)
Gtk.Widget.Get_State (Inherited)
Gtk.Widget.Get_State_Flags (Inherited)
Gtk.Widget.Get_Style (Inherited)
Gtk.Widget.Get_Support_Multidevice (Inherited)
Gtk.Widget.Get_Tooltip_Markup (Inherited)
Gtk.Widget.Get_Tooltip_Text (Inherited)
Gtk.Widget.Get_Tooltip_Window (Inherited)
Gtk.Widget.Get_Toplevel (Inherited)
Gtk.Widget.Get_Valign (Inherited)
Gtk.Widget.Get_Vexpand (Inherited)
Gtk.Widget.Get_Vexpand_Set (Inherited)
Gtk.Widget.Get_Visible (Inherited)
Gtk.Widget.Get_Visual (Inherited)
Gtk.Widget.Get_Window (Inherited)
Gtk.Widget.Grab_Add (Inherited)
Gtk.Widget.Grab_Default (Inherited)
Gtk.Widget.Grab_Focus (Inherited)
Gtk.Widget.Grab_Remove (Inherited)
Gtk.Widget.Has_Default (Inherited)
Gtk.Widget.Has_Focus (Inherited)
Gtk.Widget.Has_Grab (Inherited)
Gtk.Widget.Has_Rc_Style (Inherited)
Gtk.Widget.Has_Screen (Inherited)
Gtk.Widget.Has_Visible_Focus (Inherited)
Gtk.Widget.Hide (Inherited)
Gtk.Widget.Hide_On_Delete (Inherited)
Gtk.Widget.In_Destruction (Inherited)
Gtk.Widget.Input_Shape_Combine_Region (Inherited)
Gtk.Widget.Intersect (Inherited)
Gtk.Widget.Is_Ancestor (Inherited)
Gtk.Widget.Is_Composited (Inherited)
Gtk.Widget.Is_Drawable (Inherited)
Gtk.Widget.Is_Focus (Inherited)
Gtk.Widget.Is_Sensitive (Inherited)
Gtk.Widget.Is_Toplevel (Inherited)
Gtk.Widget.Is_Visible (Inherited)
Gtk.Widget.Keynav_Failed (Inherited)
Gtk.Widget.List_Mnemonic_Labels (Inherited)
Gtk.Widget.Map (Inherited)
Gtk.Widget.Mnemonic_Activate (Inherited)
Gtk.Widget.Modify_Base (Inherited)
Gtk.Widget.Modify_Bg (Inherited)
Gtk.Widget.Modify_Cursor (Inherited)
Gtk.Widget.Modify_Fg (Inherited)
Gtk.Widget.Modify_Font (Inherited)
Gtk.Widget.Modify_Text (Inherited)
Gtk.Widget.On_Accel_Closures_Changed (Inherited)
Gtk.Widget.On_Accel_Closures_Changed (Inherited)
Gtk.Widget.On_Button_Press_Event (Inherited)
Gtk.Widget.On_Button_Press_Event (Inherited)
Gtk.Widget.On_Button_Release_Event (Inherited)
Gtk.Widget.On_Button_Release_Event (Inherited)
Gtk.Widget.On_Can_Activate_Accel (Inherited)
Gtk.Widget.On_Can_Activate_Accel (Inherited)
Gtk.Widget.On_Child_Notify (Inherited)
Gtk.Widget.On_Child_Notify (Inherited)
Gtk.Widget.On_Composited_Changed (Inherited)
Gtk.Widget.On_Composited_Changed (Inherited)
Gtk.Widget.On_Configure_Event (Inherited)
Gtk.Widget.On_Configure_Event (Inherited)
Gtk.Widget.On_Damage_Event (Inherited)
Gtk.Widget.On_Damage_Event (Inherited)
Gtk.Widget.On_Delete_Event (Inherited)
Gtk.Widget.On_Delete_Event (Inherited)
Gtk.Widget.On_Destroy (Inherited)
Gtk.Widget.On_Destroy (Inherited)
Gtk.Widget.On_Destroy_Event (Inherited)
Gtk.Widget.On_Destroy_Event (Inherited)
Gtk.Widget.On_Direction_Changed (Inherited)
Gtk.Widget.On_Direction_Changed (Inherited)
Gtk.Widget.On_Drag_Begin (Inherited)
Gtk.Widget.On_Drag_Begin (Inherited)
Gtk.Widget.On_Drag_Data_Delete (Inherited)
Gtk.Widget.On_Drag_Data_Delete (Inherited)
Gtk.Widget.On_Drag_Data_Get (Inherited)
Gtk.Widget.On_Drag_Data_Get (Inherited)
Gtk.Widget.On_Drag_Data_Received (Inherited)
Gtk.Widget.On_Drag_Data_Received (Inherited)
Gtk.Widget.On_Drag_Drop (Inherited)
Gtk.Widget.On_Drag_Drop (Inherited)
Gtk.Widget.On_Drag_End (Inherited)
Gtk.Widget.On_Drag_End (Inherited)
Gtk.Widget.On_Drag_Failed (Inherited)
Gtk.Widget.On_Drag_Failed (Inherited)
Gtk.Widget.On_Drag_Leave (Inherited)
Gtk.Widget.On_Drag_Leave (Inherited)
Gtk.Widget.On_Drag_Motion (Inherited)
Gtk.Widget.On_Drag_Motion (Inherited)
Gtk.Widget.On_Draw (Inherited)
Gtk.Widget.On_Draw (Inherited)
Gtk.Widget.On_Enter_Notify_Event (Inherited)
Gtk.Widget.On_Enter_Notify_Event (Inherited)
Gtk.Widget.On_Event (Inherited)
Gtk.Widget.On_Event (Inherited)
Gtk.Widget.On_Event_After (Inherited)
Gtk.Widget.On_Event_After (Inherited)
Gtk.Widget.On_Focus (Inherited)
Gtk.Widget.On_Focus (Inherited)
Gtk.Widget.On_Focus_In_Event (Inherited)
Gtk.Widget.On_Focus_In_Event (Inherited)
Gtk.Widget.On_Focus_Out_Event (Inherited)
Gtk.Widget.On_Focus_Out_Event (Inherited)
Gtk.Widget.On_Grab_Broken_Event (Inherited)
Gtk.Widget.On_Grab_Broken_Event (Inherited)
Gtk.Widget.On_Grab_Focus (Inherited)
Gtk.Widget.On_Grab_Focus (Inherited)
Gtk.Widget.On_Grab_Notify (Inherited)
Gtk.Widget.On_Grab_Notify (Inherited)
Gtk.Widget.On_Hide (Inherited)
Gtk.Widget.On_Hide (Inherited)
Gtk.Widget.On_Hierarchy_Changed (Inherited)
Gtk.Widget.On_Hierarchy_Changed (Inherited)
Gtk.Widget.On_Key_Press_Event (Inherited)
Gtk.Widget.On_Key_Press_Event (Inherited)
Gtk.Widget.On_Key_Release_Event (Inherited)
Gtk.Widget.On_Key_Release_Event (Inherited)
Gtk.Widget.On_Keynav_Failed (Inherited)
Gtk.Widget.On_Keynav_Failed (Inherited)
Gtk.Widget.On_Leave_Notify_Event (Inherited)
Gtk.Widget.On_Leave_Notify_Event (Inherited)
Gtk.Widget.On_Map (Inherited)
Gtk.Widget.On_Map (Inherited)
Gtk.Widget.On_Map_Event (Inherited)
Gtk.Widget.On_Map_Event (Inherited)
Gtk.Widget.On_Mnemonic_Activate (Inherited)
Gtk.Widget.On_Mnemonic_Activate (Inherited)
Gtk.Widget.On_Motion_Notify_Event (Inherited)
Gtk.Widget.On_Motion_Notify_Event (Inherited)
Gtk.Widget.On_Move_Focus (Inherited)
Gtk.Widget.On_Move_Focus (Inherited)
Gtk.Widget.On_Parent_Set (Inherited)
Gtk.Widget.On_Parent_Set (Inherited)
Gtk.Widget.On_Popup_Menu (Inherited)
Gtk.Widget.On_Popup_Menu (Inherited)
Gtk.Widget.On_Property_Notify_Event (Inherited)
Gtk.Widget.On_Property_Notify_Event (Inherited)
Gtk.Widget.On_Proximity_In_Event (Inherited)
Gtk.Widget.On_Proximity_In_Event (Inherited)
Gtk.Widget.On_Proximity_Out_Event (Inherited)
Gtk.Widget.On_Proximity_Out_Event (Inherited)
Gtk.Widget.On_Query_Tooltip (Inherited)
Gtk.Widget.On_Query_Tooltip (Inherited)
Gtk.Widget.On_Realize (Inherited)
Gtk.Widget.On_Realize (Inherited)
Gtk.Widget.On_Screen_Changed (Inherited)
Gtk.Widget.On_Screen_Changed (Inherited)
Gtk.Widget.On_Scroll_Event (Inherited)
Gtk.Widget.On_Scroll_Event (Inherited)
Gtk.Widget.On_Selection_Clear_Event (Inherited)
Gtk.Widget.On_Selection_Clear_Event (Inherited)
Gtk.Widget.On_Selection_Get (Inherited)
Gtk.Widget.On_Selection_Get (Inherited)
Gtk.Widget.On_Selection_Notify_Event (Inherited)
Gtk.Widget.On_Selection_Notify_Event (Inherited)
Gtk.Widget.On_Selection_Received (Inherited)
Gtk.Widget.On_Selection_Received (Inherited)
Gtk.Widget.On_Selection_Request_Event (Inherited)
Gtk.Widget.On_Selection_Request_Event (Inherited)
Gtk.Widget.On_Show (Inherited)
Gtk.Widget.On_Show (Inherited)
Gtk.Widget.On_Show_Help (Inherited)
Gtk.Widget.On_Show_Help (Inherited)
Gtk.Widget.On_Size_Allocate (Inherited)
Gtk.Widget.On_Size_Allocate (Inherited)
Gtk.Widget.On_State_Changed (Inherited)
Gtk.Widget.On_State_Changed (Inherited)
Gtk.Widget.On_State_Flags_Changed (Inherited)
Gtk.Widget.On_State_Flags_Changed (Inherited)
Gtk.Widget.On_Style_Set (Inherited)
Gtk.Widget.On_Style_Set (Inherited)
Gtk.Widget.On_Style_Updated (Inherited)
Gtk.Widget.On_Style_Updated (Inherited)
Gtk.Widget.On_Touch_Event (Inherited)
Gtk.Widget.On_Touch_Event (Inherited)
Gtk.Widget.On_Unmap (Inherited)
Gtk.Widget.On_Unmap (Inherited)
Gtk.Widget.On_Unmap_Event (Inherited)
Gtk.Widget.On_Unmap_Event (Inherited)
Gtk.Widget.On_Unrealize (Inherited)
Gtk.Widget.On_Unrealize (Inherited)
Gtk.Widget.On_Visibility_Notify_Event (Inherited)
Gtk.Widget.On_Visibility_Notify_Event (Inherited)
Gtk.Widget.On_Window_State_Event (Inherited)
Gtk.Widget.On_Window_State_Event (Inherited)
Gtk.Widget.Override_Background_Color (Inherited)
Gtk.Widget.Override_Color (Inherited)
Gtk.Widget.Override_Cursor (Inherited)
Gtk.Widget.Override_Font (Inherited)
Gtk.Widget.Override_Symbolic_Color (Inherited)
Gtk.Widget.Queue_Compute_Expand (Inherited)
Gtk.Widget.Queue_Draw (Inherited)
Gtk.Widget.Queue_Draw_Area (Inherited)
Gtk.Widget.Queue_Draw_Region (Inherited)
Gtk.Widget.Queue_Resize (Inherited)
Gtk.Widget.Queue_Resize_No_Redraw (Inherited)
Gtk.Widget.Realize (Inherited)
Gtk.Widget.Region_Intersect (Inherited)
Gtk.Widget.Register_Window (Inherited)
Gtk.Widget.Remove_Accelerator (Inherited)
Gtk.Widget.Remove_Mnemonic_Label (Inherited)
Gtk.Widget.Remove_Tick_Callback (Inherited)
Gtk.Widget.Render_Icon (Inherited)
Gtk.Widget.Render_Icon_Pixbuf (Inherited)
Gtk.Widget.Reparent (Inherited)
Gtk.Widget.Reset_Rc_Styles (Inherited)
Gtk.Widget.Reset_Style (Inherited)
Gtk.Widget.Send_Expose (Inherited)
Gtk.Widget.Send_Focus_Change (Inherited)
Gtk.Widget.Set_Accel_Path (Inherited)
Gtk.Widget.Set_Allocation (Inherited)
Gtk.Widget.Set_App_Paintable (Inherited)
Gtk.Widget.Set_Can_Default (Inherited)
Gtk.Widget.Set_Can_Focus (Inherited)
Gtk.Widget.Set_Child_Visible (Inherited)
Gtk.Widget.Set_Composite_Name (Inherited)
Gtk.Widget.Set_Device_Enabled (Inherited)
Gtk.Widget.Set_Device_Events (Inherited)
Gtk.Widget.Set_Direction (Inherited)
Gtk.Widget.Set_Double_Buffered (Inherited)
Gtk.Widget.Set_Events (Inherited)
Gtk.Widget.Set_Halign (Inherited)
Gtk.Widget.Set_Has_Tooltip (Inherited)
Gtk.Widget.Set_Has_Window (Inherited)
Gtk.Widget.Set_Hexpand (Inherited)
Gtk.Widget.Set_Hexpand_Set (Inherited)
Gtk.Widget.Set_Mapped (Inherited)
Gtk.Widget.Set_Margin_Bottom (Inherited)
Gtk.Widget.Set_Margin_Left (Inherited)
Gtk.Widget.Set_Margin_Right (Inherited)
Gtk.Widget.Set_Margin_Top (Inherited)
Gtk.Widget.Set_Name (Inherited)
Gtk.Widget.Set_No_Show_All (Inherited)
Gtk.Widget.Set_Opacity (Inherited)
Gtk.Widget.Set_Parent (Inherited)
Gtk.Widget.Set_Parent_Window (Inherited)
Gtk.Widget.Set_Realized (Inherited)
Gtk.Widget.Set_Receives_Default (Inherited)
Gtk.Widget.Set_Redraw_On_Allocate (Inherited)
Gtk.Widget.Set_Sensitive (Inherited)
Gtk.Widget.Set_Size_Request (Inherited)
Gtk.Widget.Set_State (Inherited)
Gtk.Widget.Set_State_Flags (Inherited)
Gtk.Widget.Set_Style (Inherited)
Gtk.Widget.Set_Support_Multidevice (Inherited)
Gtk.Widget.Set_Tooltip_Window (Inherited)
Gtk.Widget.Set_Valign (Inherited)
Gtk.Widget.Set_Vexpand (Inherited)
Gtk.Widget.Set_Vexpand_Set (Inherited)
Gtk.Widget.Set_Visible (Inherited)
Gtk.Widget.Set_Visual (Inherited)
Gtk.Widget.Set_Window (Inherited)
Gtk.Widget.Shape_Combine_Region (Inherited)
Gtk.Widget.Show (Inherited)
Gtk.Widget.Show_All (Inherited)
Gtk.Widget.Show_Now (Inherited)
Gtk.Widget.Size_Allocate (Inherited)
Gtk.Widget.Size_Request (Inherited)
Gtk.Widget.Style_Attach (Inherited)
Gtk.Widget.Style_Get_Property (Inherited)
Gtk.Widget.Thaw_Child_Notify (Inherited)
Gtk.Widget.Translate_Coordinates (Inherited)
Gtk.Widget.Trigger_Tooltip_Query (Inherited)
Gtk.Widget.Unmap (Inherited)
Gtk.Widget.Unparent (Inherited)
Gtk.Widget.Unrealize (Inherited)
Gtk.Widget.Unregister_Window (Inherited)
Gtk.Widget.Unset_State_Flags (Inherited)
On_Create_Menu_Proxy
On_Create_Menu_Proxy
On_Toolbar_Reconfigured
On_Toolbar_Reconfigured
Rebuild_Menu
Retrieve_Proxy_Menu_Item
Set_Homogeneous
Set_Is_Important
Set_Proxy_Menu_Item
Set_Related_Action
Set_Tooltip_Markup (overriding Gtk.Widget.Set_Tooltip_Markup)
Set_Tooltip_Text (overriding Gtk.Widget.Set_Tooltip_Text)
Set_Use_Action_Appearance
Set_Use_Drag_Window
Set_Visible_Horizontal
Set_Visible_Vertical
Sync_Action_Properties
Toolbar_Reconfigured

Types

Gtk_Tool_Item

type Gtk_Tool_Item is access all Gtk_Tool_Item_Record'Class;

Cb_Gtk_Tool_Item_Boolean

type Cb_Gtk_Tool_Item_Boolean is not null access function
     (Self : access Gtk_Tool_Item_Record'Class) return Boolean;

Cb_GObject_Boolean

type Cb_GObject_Boolean is not null access function
     (Self : access Glib.Object.GObject_Record'Class)
   return Boolean;

Cb_Gtk_Tool_Item_Void

type Cb_Gtk_Tool_Item_Void is not null access procedure (Self : access Gtk_Tool_Item_Record'Class);

Cb_GObject_Void

type Cb_GObject_Void is not null access procedure
     (Self : access Glib.Object.GObject_Record'Class);

Constants & Global variables

Is_Important_Property (Glib.Properties.Property_Boolean)

Is_Important_Property : constant Glib.Properties.Property_Boolean;

Visible_Horizontal_Property (Glib.Properties.Property_Boolean)

Visible_Horizontal_Property : constant Glib.Properties.Property_Boolean;

Visible_Vertical_Property (Glib.Properties.Property_Boolean)

Visible_Vertical_Property : constant Glib.Properties.Property_Boolean;

Signal_Create_Menu_Proxy (Glib.Signal_Name)

Signal_Create_Menu_Proxy : constant Glib.Signal_Name := "create-menu-proxy";

Signal_Toolbar_Reconfigured (Glib.Signal_Name)

Signal_Toolbar_Reconfigured : constant Glib.Signal_Name := "toolbar-reconfigured";

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Tool_Item: out Gtk_Tool_Item);

Initialize

procedure Initialize 
(Tool_Item: not null access Gtk_Tool_Item_Record'Class);
Creates a new Gtk.Tool_Item.Gtk_Tool_Item Since: gtk+ 2.4

Gtk_Tool_Item_New

function Gtk_Tool_Item_New return Gtk_Tool_Item;
Creates a new Gtk.Tool_Item.Gtk_Tool_Item Since: gtk+ 2.4

Get_Type

function Get_Type return Glib.GType;

Get_Ellipsize_Mode

function Get_Ellipsize_Mode 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Pango.Layout.Pango_Ellipsize_Mode;
Returns the ellipsize mode used for Tool_Item. Custom subclasses of Gtk.Tool_Item.Gtk_Tool_Item should call this function to find out how text should be ellipsized. Since: gtk+ 2.20

Get_Expand

function Get_Expand 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Boolean;
Returns whether Tool_Item is allocated extra space. See Gtk.Tool_Item.Set_Expand. Since: gtk+ 2.4

Set_Expand

procedure Set_Expand 
(Tool_Item: not null access Gtk_Tool_Item_Record;
Expand: Boolean);
Sets whether Tool_Item is allocated extra space when there is more room on the toolbar then needed for the items. The effect is that the item gets bigger when the toolbar gets bigger and smaller when the toolbar gets smaller. Since: gtk+ 2.4 "expand": Whether Tool_Item is allocated extra space

Get_Homogeneous

function Get_Homogeneous 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Boolean;
Returns whether Tool_Item is the same size as other homogeneous items. See Gtk.Tool_Item.Set_Homogeneous. Since: gtk+ 2.4

Set_Homogeneous

procedure Set_Homogeneous 
(Tool_Item: not null access Gtk_Tool_Item_Record;
Homogeneous: Boolean);
Sets whether Tool_Item is to be allocated the same size as other homogeneous items. The effect is that all homogeneous items will have the same width as the widest of the items. Since: gtk+ 2.4 "homogeneous": whether Tool_Item is the same size as other homogeneous items

Get_Icon_Size

function Get_Icon_Size 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Gtk.Enums.Gtk_Icon_Size;
Returns the icon size used for Tool_Item. Custom subclasses of Gtk.Tool_Item.Gtk_Tool_Item should call this function to find out what size icons they should use. Since: gtk+ 2.4

Get_Is_Important

function Get_Is_Important 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Boolean;
Returns whether Tool_Item is considered important. See Gtk.Tool_Item.Set_Is_Important Since: gtk+ 2.4

Set_Is_Important

procedure Set_Is_Important 
(Tool_Item: not null access Gtk_Tool_Item_Record;
Is_Important: Boolean);
Sets whether Tool_Item should be considered important. The Gtk.Tool_Button.Gtk_Tool_Button class uses this property to determine whether to show or hide its label when the toolbar style is Gtk.Enums.Toolbar_Both_Horiz. The result is that only tool buttons with the "is_important" property set have labels, an effect known as "priority text" Since: gtk+ 2.4 "is_important": whether the tool item should be considered important

Get_Orientation

function Get_Orientation 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Gtk.Enums.Gtk_Orientation;
Returns the orientation used for Tool_Item. Custom subclasses of Gtk.Tool_Item.Gtk_Tool_Item should call this function to find out what size icons they should use. Since: gtk+ 2.4

Get_Proxy_Menu_Item

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;
If Menu_Item_Id matches the string passed to Gtk.Tool_Item.Set_Proxy_Menu_Item return the corresponding Gtk.Menu_Item.Gtk_Menu_Item. Custom subclasses of Gtk.Tool_Item.Gtk_Tool_Item should use this function to update their menu item when the Gtk.Tool_Item.Gtk_Tool_Item changes. That the Menu_Item_Id<!-- -->s must match ensures that a Gtk.Tool_Item.Gtk_Tool_Item will not inadvertently change a menu item that they did not create. Since: gtk+ 2.4 "menu_item_id": a string used to identify the menu item

Set_Proxy_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);
Sets the Gtk.Menu_Item.Gtk_Menu_Item used in the toolbar overflow menu. The Menu_Item_Id is used to identify the caller of this function and should also be used with Gtk.Tool_Item.Get_Proxy_Menu_Item. Since: gtk+ 2.4 "menu_item_id": a string used to identify Menu_Item "menu_item": a Gtk.Menu_Item.Gtk_Menu_Item to be used in the overflow menu

Get_Relief_Style

function Get_Relief_Style 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Gtk.Enums.Gtk_Relief_Style;
Returns the relief style of Tool_Item. See Gtk.Button.Set_Relief. Custom subclasses of Gtk.Tool_Item.Gtk_Tool_Item should call this function in the handler of the Gtk.Tool_Item.Gtk_Tool_Item::toolbar_reconfigured signal to find out the relief style of buttons. Since: gtk+ 2.4

Get_Text_Alignment

function Get_Text_Alignment 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Gfloat;
Returns the text alignment used for Tool_Item. Custom subclasses of Gtk.Tool_Item.Gtk_Tool_Item should call this function to find out how text should be aligned. Since: gtk+ 2.20

Get_Text_Orientation

function Get_Text_Orientation 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Gtk.Enums.Gtk_Orientation;
Returns the text orientation used for Tool_Item. Custom subclasses of Gtk.Tool_Item.Gtk_Tool_Item should call this function to find out how text should be orientated. Since: gtk+ 2.20

Get_Text_Size_Group

function Get_Text_Size_Group 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Gtk.Size_Group.Gtk_Size_Group;
Returns the size group used for labels in Tool_Item. Custom subclasses of Gtk.Tool_Item.Gtk_Tool_Item should call this function and use the size group for labels. Since: gtk+ 2.20

Get_Toolbar_Style

function Get_Toolbar_Style 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Gtk.Enums.Gtk_Toolbar_Style;
Returns the toolbar style used for Tool_Item. Custom subclasses of Gtk.Tool_Item.Gtk_Tool_Item should call this function in the handler of the GtkToolItem::toolbar_reconfigured signal to find out in what style the toolbar is displayed and change themselves accordingly Possibilities are: * GTK_TOOLBAR_BOTH, meaning the tool item should show both an icon and a label, stacked vertically * GTK_TOOLBAR_ICONS, meaning the toolbar shows only icons * GTK_TOOLBAR_TEXT, meaning the tool item should only show text * GTK_TOOLBAR_BOTH_HORIZ, meaning the tool item should show both an icon and a label, arranged horizontally Since: gtk+ 2.4

Get_Use_Drag_Window

function Get_Use_Drag_Window 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Boolean;
Returns whether Tool_Item has a drag window. See Gtk.Tool_Item.Set_Use_Drag_Window. Since: gtk+ 2.4

Set_Use_Drag_Window

procedure Set_Use_Drag_Window 
(Tool_Item: not null access Gtk_Tool_Item_Record;
Use_Drag_Window: Boolean);
Sets whether Tool_Item has a drag window. When True the toolitem can be used as a drag source through gtk_drag_source_set. When Tool_Item has a drag window it will intercept all events, even those that would otherwise be sent to a child of Tool_Item. Since: gtk+ 2.4 "use_drag_window": Whether Tool_Item has a drag window.

Get_Visible_Horizontal

function Get_Visible_Horizontal 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Boolean;
Returns whether the Tool_Item is visible on toolbars that are docked horizontally. Since: gtk+ 2.4

Set_Visible_Horizontal

procedure Set_Visible_Horizontal 
(Tool_Item: not null access Gtk_Tool_Item_Record;
Visible_Horizontal: Boolean);
Sets whether Tool_Item is visible when the toolbar is docked horizontally. Since: gtk+ 2.4 "visible_horizontal": Whether Tool_Item is visible when in horizontal mode

Get_Visible_Vertical

function Get_Visible_Vertical 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Boolean;
Returns whether Tool_Item is visible when the toolbar is docked vertically. See Gtk.Tool_Item.Set_Visible_Vertical. Since: gtk+ 2.4

Set_Visible_Vertical

procedure Set_Visible_Vertical 
(Tool_Item: not null access Gtk_Tool_Item_Record;
Visible_Vertical: Boolean);
Sets whether Tool_Item is visible when the toolbar is docked vertically. Some tool items, such as text entries, are too wide to be useful on a vertically docked toolbar. If Visible_Vertical is False Tool_Item will not appear on toolbars that are docked vertically. Since: gtk+ 2.4 "visible_vertical": whether Tool_Item is visible when the toolbar is in vertical mode

Rebuild_Menu

procedure Rebuild_Menu 
(Tool_Item: not null access Gtk_Tool_Item_Record);
Calling this function signals to the toolbar that the overflow menu item for Tool_Item has changed. If the overflow menu is visible when this function it called, the menu will be rebuilt. The function must be called when the tool item changes what it will do in response to the Gtk.Tool_Item.Gtk_Tool_Item::create-menu-proxy signal. Since: gtk+ 2.6

Retrieve_Proxy_Menu_Item

function Retrieve_Proxy_Menu_Item 
(Tool_Item: not null access Gtk_Tool_Item_Record) return Gtk.Menu_Item.Gtk_Menu_Item;
Returns the Gtk.Menu_Item.Gtk_Menu_Item that was last set by Gtk.Tool_Item.Set_Proxy_Menu_Item, ie. the Gtk.Menu_Item.Gtk_Menu_Item that is going to appear in the overflow menu. Since: gtk+ 2.4

Set_Tooltip_Markup

procedure Set_Tooltip_Markup 
(Tool_Item: not null access Gtk_Tool_Item_Record;
Markup: UTF8_String);
Sets the markup text to be displayed as tooltip on the item. See Gtk.Widget.Set_Tooltip_Markup. Since: gtk+ 2.12 "markup": markup text to be used as tooltip for Tool_Item

Set_Tooltip_Text

procedure Set_Tooltip_Text 
(Tool_Item: not null access Gtk_Tool_Item_Record;
Text: UTF8_String);
Sets the text to be displayed as tooltip on the item. See Gtk.Widget.Set_Tooltip_Text. Since: gtk+ 2.12 "text": text to be used as tooltip for Tool_Item

Toolbar_Reconfigured

procedure Toolbar_Reconfigured 
(Tool_Item: not null access Gtk_Tool_Item_Record);
Emits the signal Gtk.Tool_Item.Gtk_Tool_Item::toolbar_reconfigured on Tool_Item. Gtk.Toolbar.Gtk_Toolbar and other Gtk.Tool_Shell.Gtk_Tool_Shell implementations use this function to notify children, when some aspect of their configuration changes. Since: gtk+ 2.14

Do_Set_Related_Action

procedure Do_Set_Related_Action 
(Self: not null access Gtk_Tool_Item_Record;
Action: not null access Gtk.Action.Gtk_Action_Record'Class);

Get_Related_Action

function Get_Related_Action 
(Self: not null access Gtk_Tool_Item_Record) return Gtk.Action.Gtk_Action;

Set_Related_Action

procedure Set_Related_Action 
(Self: not null access Gtk_Tool_Item_Record;
Action: not null access Gtk.Action.Gtk_Action_Record'Class);

Get_Use_Action_Appearance

function Get_Use_Action_Appearance 
(Self: not null access Gtk_Tool_Item_Record) return Boolean;

Set_Use_Action_Appearance

procedure Set_Use_Action_Appearance 
(Self: not null access Gtk_Tool_Item_Record;
Use_Appearance: Boolean);

Sync_Action_Properties

procedure Sync_Action_Properties 
(Self: not null access Gtk_Tool_Item_Record;
Action: access Gtk.Action.Gtk_Action_Record'Class);

On_Create_Menu_Proxy

procedure On_Create_Menu_Proxy 
(Self: not null access Gtk_Tool_Item_Record;
Call: Cb_Gtk_Tool_Item_Boolean;
After: Boolean := False);

On_Create_Menu_Proxy

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);
This signal is emitted when the toolbar needs information from Tool_Item about whether the item should appear in the toolbar overflow menu. In response the tool item should either * call Gtk.Tool_Item.Set_Proxy_Menu_Item with a null pointer and return True to indicate that the item should not appear in the overflow menu * call Gtk.Tool_Item.Set_Proxy_Menu_Item with a new menu item and return True, or * return False to indicate that the signal was not handled by the item. This means that the item will not appear in the overflow menu unless a later handler installs a menu item. The toolbar may cache the result of this signal. When the tool item changes how it will respond to this signal it must call Gtk.Tool_Item.Rebuild_Menu to invalidate the cache and ensure that the toolbar rebuilds its overflow menu. Callback parameters: -- Returns True if the signal was handled, False if not

On_Toolbar_Reconfigured

procedure On_Toolbar_Reconfigured 
(Self: not null access Gtk_Tool_Item_Record;
Call: Cb_Gtk_Tool_Item_Void;
After: Boolean := False);

On_Toolbar_Reconfigured

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);
This signal is emitted when some property of the toolbar that the item is a child of changes. For custom subclasses of Gtk.Tool_Item.Gtk_Tool_Item, the default handler of this signal use the functions * gtk_tool_shell_get_orientation * gtk_tool_shell_get_style * gtk_tool_shell_get_icon_size * gtk_tool_shell_get_relief_style to find out what the toolbar should look like and change themselves accordingly.