summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-widget-group.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk_binding/fltk-widget-group.ads')
-rw-r--r--src/fltk_binding/fltk-widget-group.ads57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/fltk_binding/fltk-widget-group.ads b/src/fltk_binding/fltk-widget-group.ads
new file mode 100644
index 0000000..689d798
--- /dev/null
+++ b/src/fltk_binding/fltk-widget-group.ads
@@ -0,0 +1,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;
+ Item : Widget_Type'Class);
+
+
+ procedure Clear
+ (This : Group_Type);
+
+
+ function Find
+ (This : Group_Type;
+ Item : Widget_Type'Class)
+ return Index;
+
+
+ procedure Insert
+ (This : Group_Type;
+ Item : Widget_Type'Class;
+ Place : Index);
+
+
+ procedure Remove
+ (This : Group_Type;
+ Item : Widget_Type'Class);
+
+
+ procedure Remove
+ (This : Group_Type;
+ 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;
+