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_window.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'doc/fl_window.html') diff --git a/doc/fl_window.html b/doc/fl_window.html index 93ab5fd..8376cf0 100644 --- a/doc/fl_window.html +++ b/doc/fl_window.html @@ -98,6 +98,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 Groups.Group'Class;
+        W, H   : in     Integer;
+        Text   : in     String := "")
+    return Window;
+
+ +
 Fl_Window(int x, int y, int w, int h, const char *title=0);
@@ -110,6 +122,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 Groups.Group'Class;
+        X, Y, W, H : in     Integer;
+        Text       : in     String := "")
+    return Window;
+
+ + -- cgit