From 157f44ff7034212a29696c5bb2b87e4f6f20d625 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 16 Jan 2025 23:44:10 +1300 Subject: Added convenience widget constructors that specify the parent group to add to --- doc/fl_box.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'doc/fl_box.html') diff --git a/doc/fl_box.html b/doc/fl_box.html index 566105a..9c03de3 100644 --- a/doc/fl_box.html +++ b/doc/fl_box.html @@ -61,6 +61,19 @@ function Create + +Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually. +
+function Create
+       (Parent     : in out FLTK.Widgets.Groups.Group'Class;
+        Kind       : in     Box_Kind;
+        X, Y, W, H : in     Integer;
+        Text       : in     String := "")
+    return Box;
+
+ +
 Fl_Box(int X, int Y, int W, int H, const char *l=0);
@@ -73,6 +86,18 @@ function Create
 
+ +Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually. +
+function Create
+       (Parent     : in out FLTK.Widgets.Groups.Group'Class;
+        X, Y, W, H : in     Integer;
+        Text       : in     String := "")
+    return Box;
+
+ + -- cgit