summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-menu_items.ads
blob: 51554b0ad5600dc5893b9b8d16ba2e49128c7f81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35


with FLTK.Callbacks;


package FLTK.Menu_Items is


    type Menu_Item is new Wrapper with private;


    type Shortcut_Key is Integer;
    type Menu_Flag is Integer;


    function Create
           (Text : in String;
            Shortcut : in Shortcut_Key;
            Action : in FLTK.Callbacks.Callback;
            Flags : in Menu_Flag)
        return Menu_Item;


private


    type Menu_Item is new Wrapper with null record;


    overriding procedure Finalize
           (This : in out Menu_Item);


end FLTK.Menu_Items;