summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-widgets-groups.ads
blob: 61a2a6e6ce19896340e34a313f094f3983cec9ba (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
58


package FLTK.Widgets.Groups is


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


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


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


    procedure Clear
           (This : in out Group'Class);


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


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


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


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


private


    type Group is new Widget with null record;


    overriding procedure Finalize
           (This : in out Group);


end FLTK.Widgets.Groups;