## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: User_Menu_Popup (generic)

- Goto spec source

# Description

    generic
          --  <doc_ignore>
          type Data_Type is private;
          --  </doc_ignore>

       package User_Menu_Popup is

# Types

### Data_Type

- Goto declaration in source

    type Data_Type is private;

<doc_ignore>

### Gtk_Menu_Position_Func

- Goto declaration in source

    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

- Goto spec in source

    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.