type Gtk_Menu_Tool_Button_Record is new Gtk.Tool_Button.Gtk_Tool_Button_Record with null record;
type Gtk_Menu_Tool_Button is access all Gtk_Menu_Tool_Button_Record'Class;
Signal_Show_Menu : constant Glib.Signal_Name := "show-menu";
Menu_Property : constant Glib.Properties.Property_Object;
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); |
procedure Set_Menu
( | Button | : access Gtk_Menu_Tool_Button_Record; |
Menu | : access Gtk.Menu.Gtk_Menu_Record'Class); |
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 := ""); |
procedure Set_Arrow_Tooltip_Markup
( | Button | : access Gtk_Menu_Tool_Button_Record; |
Markup | : String); |
procedure Set_Arrow_Tooltip_Text
( | Button | : access Gtk_Menu_Tool_Button_Record; |
Text | : String); |
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.
Binding from C File version 2.16.6