summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-widget-group.ads
blob: d71f76c886a3e5a540bfd0e39352e7a5b7c543be (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.Widget.Group is


    type Group_Type is new Widget_Type with private;
    type Index is new Integer;


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


    procedure Add
           (This : Group_Type'Class;
            Item : Widget_Type'Class);


    procedure Clear
           (This : Group_Type'Class);


    function Find
           (This : Group_Type'Class;
            Item : Widget_Type'Class)
        return Index;


    procedure Insert
           (This  : Group_Type'Class;
            Item  : Widget_Type'Class;
            Place : Index);


    procedure Remove
           (This : Group_Type'Class;
            Item : Widget_Type'Class);


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


private


    type Group_Type is new Widget_Type with null record;


    overriding procedure Finalize (This : in out Group_Type);


end FLTK.Widget.Group;