type Gtk_Tool_Button_Record is new Gtk.Tool_Item.Gtk_Tool_Item_Record with null record;
type Gtk_Tool_Button is access all Gtk_Tool_Button_Record'Class;
Signal_Clicked : constant Glib.Signal_Name := "clicked";
Label_Property : constant Glib.Properties.Property_String;
Use_Underline_Property : constant Glib.Properties.Property_Boolean;
Label_Widget_Property : constant Glib.Properties.Property_Object;
Stock_Id_Property : constant Glib.Properties.Property_String;
Icon_Name_Property : constant Glib.Properties.Property_String;
Icon_Widget_Property : constant Glib.Properties.Property_Object;
procedure Gtk_New
( | Button | : out Gtk_Tool_Button; |
Icon_Widget | : Gtk.Widget.Gtk_Widget := null; | |
Label | : String := ""); |
procedure Initialize
( | Button | : access Gtk_Tool_Button_Record'Class; |
Icon_Widget | : Gtk.Widget.Gtk_Widget := null; | |
Label | : String := ""); |
procedure Gtk_New_From_Stock
( | Button | : out Gtk_Tool_Button; |
Stock_Id | : String); |
procedure Initialize_From_Stock
( | Button | : access Gtk_Tool_Button_Record'Class; |
Stock_Id | : String); |
procedure Set_Icon_Name
( | Button | : access Gtk_Tool_Button_Record; |
Icon_Name | : String); |
function Get_Icon_Name
( | Button | : access Gtk_Tool_Button_Record) return String; |
procedure Set_Icon_Widget
( | Button | : access Gtk_Tool_Button_Record; |
Icon_Widget | : Gtk.Widget.Gtk_Widget := null); |
function Get_Icon_Widget
( | Button | : access Gtk_Tool_Button_Record) return Gtk.Widget.Gtk_Widget; |
procedure Set_Label
( | Button | : access Gtk_Tool_Button_Record; |
Label | : String); |
function Get_Label
( | Button | : access Gtk_Tool_Button_Record) return String; |
procedure Set_Label_Widget
( | Button | : access Gtk_Tool_Button_Record; |
Label_Widget | : Gtk.Widget.Gtk_Widget := null); |
function Get_Label_Widget
( | Button | : access Gtk_Tool_Button_Record) return Gtk.Widget.Gtk_Widget; |
procedure Set_Stock_Id
( | Button | : access Gtk_Tool_Button_Record; |
Stock_Id | : String); |
function Get_Stock_Id
( | Button | : access Gtk_Tool_Button_Record) return String; |
procedure Set_Use_Underline
( | Button | : access Gtk_Tool_Button_Record; |
Use_Underline | : Boolean := True); |
function Get_Use_Underline
( | Button | : access Gtk_Tool_Button_Record) return Boolean; |
This package defines a special kind of Gtk.Toolbar child that embeds a button.
See also gtk-toggle_tool_button.ads, gtk-radio_tool_button.ads and gtk-menu_tool_button.ads
Binding from C File version 2.8.17