Index

Package: User_Menu_Popup (generic)

Description

generic
      --  
      type Data_Type is private;
      --  

   package User_Menu_Popup is

Types

Data_Type

type Data_Type is private;
<doc_ignore>

Gtk_Menu_Position_Func

type Gtk_Menu_Position_Func is access procedure
        (Menu      : access Gtk_Menu_Record'Class;
         X         : out Gint;
         Y         : out Gint;
         User_Data : access Data_Type);
<doc_ignore>

Subprograms & Entries

Popup

procedure Popup 
(Menu: access Gtk_Menu_Record'Class;
Data: access Data_Type;
Parent_Menu_Shell: Gtk.Menu_Shell.Gtk_Menu_Shell := null;
Parent_Menu_Item: Gtk.Menu_Item.Gtk_Menu_Item := null;
Func: Gtk_Menu_Position_Func := null;
Button: Guint := 1;
Activate_Time: Guint32 := 0);
Same as the Popup function above. Note that Data is not duplicated, thus you should take care of the memory allocation/deallocation yourself.