summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-widgets-groups.ads
blob: bf4891fb7e91e949bf8ea6973349b62a037394b0 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57


package FLTK.Widgets.Groups is


    type Group is new Widget with private;
    type Index is new Integer;


    function Create
           (X, Y, W, H : Integer;
            Label      : String)
        return Group;


    procedure Add
           (This : Group'Class;
            Item : Widget'Class);


    procedure Clear
           (This : Group'Class);


    function Find
           (This : Group'Class;
            Item : Widget'Class)
        return Index;


    procedure Insert
           (This  : Group'Class;
            Item  : Widget'Class;
            Place : Index);


    procedure Remove
           (This : Group'Class;
            Item : Widget'Class);


    procedure Remove
           (This  : Group'Class;
            Place : Index);


private


    type Group is new Widget with null record;


    overriding procedure Finalize (This : in out Group);


end FLTK.Widgets.Groups;