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_slider.html | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'doc/fl_slider.html') diff --git a/doc/fl_slider.html b/doc/fl_slider.html index 3b99b86..099008d 100644 --- a/doc/fl_slider.html +++ b/doc/fl_slider.html @@ -38,7 +38,7 @@   - Slider + Slider_Reference @@ -65,6 +65,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 Slider;
+
+ +
 Fl_Slider(uchar t, int X, int Y, int W, int H, const char *L);
@@ -78,6 +90,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     Slider_Kind;
+        X, Y, W, H : in     Integer;
+        Text       : in     String := "")
+    return Slider;
+
+ + -- cgit