Description
This package defines a special kind of menu, that can be inserted in a
toolbar. This is not something used very often, as in general a toolbar
provides a quick access to features that are already accessible in the
menu bar itself.
In practice, it is used internally by gtk+ itself to implement the
overflow menu in the toolbar.
Subprograms
-
procedure Gtk_New
(Menu :
out Gtk_Menu_Tool_Button;
Icon_Widget :
Gtk.Widget.Gtk_Widget :=
null;
Label : String := "");
procedure Initialize
(Menu :
access Gtk_Menu_Tool_Button_Record'Class;
Icon_Widget :
Gtk.Widget.Gtk_Widget :=
null;
Label : String := "");
-
procedure Gtk_New_From_Stock
(Menu : out Gtk_Menu_Tool_Button;
Stock_Id : String);
procedure Initialize_From_Stock
(Menu : access Gtk_Menu_Tool_Button_Record'Class;
Stock_Id : String);
-
function Get_Type return GType;
-
function Get_Menu
(Button :
access Gtk_Menu_Tool_Button_Record)
return Gtk.Menu.Gtk_Menu;
-
procedure Set_Arrow_Tooltip
(Button :
access Gtk_Menu_Tool_Button_Record;
Tooltips :
access Gtk.Tooltips.Gtk_Tooltips_Record'Class;
Tip_Text : String;
Tip_Private : String := "");