aboutsummaryrefslogtreecommitdiff
path: root/doc/fl_cairo_window.html
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-16 23:44:10 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-16 23:44:10 +1300
commit157f44ff7034212a29696c5bb2b87e4f6f20d625 (patch)
tree2aa791870d00858880e036caf6791d65c348ec4a /doc/fl_cairo_window.html
parent8b9a09364553d2495b133f948c1ddf428d0b9dae (diff)
Added convenience widget constructors that specify the parent group to add to
Diffstat (limited to 'doc/fl_cairo_window.html')
-rw-r--r--doc/fl_cairo_window.html37
1 files changed, 36 insertions, 1 deletions
diff --git a/doc/fl_cairo_window.html b/doc/fl_cairo_window.html
index 1454c61..fe696fd 100644
--- a/doc/fl_cairo_window.html
+++ b/doc/fl_cairo_window.html
@@ -65,11 +65,34 @@ function Create
</tr>
<tr>
+<td>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.</td>
+<td><pre>
+function Create
+ (Parent : in out Groups.Group'Class;
+ W, H : in Integer)
+ return Cairo_Window;
+</pre></td>
+ </tr>
+
+ <tr>
<td>Create a Fl_Cairo_Window and set the label manually.</td>
<td><pre>
function Create
(W, H : in Integer;
- Text : in String := "")
+ Text : in String)
+ return Cairo_Window;
+</pre></td>
+ </tr>
+
+ <tr>
+<td>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.</td>
+<td><pre>
+function Create
+ (Parent : in out Groups.Group'Class;
+ W, H : in Integer;
+ Text : in String)
return Cairo_Window;
</pre></td>
</tr>
@@ -84,6 +107,18 @@ function Create
</pre></td>
</tr>
+ <tr>
+<td>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.</td>
+<td><pre>
+function Create
+ (Parent : in out Groups.Group'Class;
+ X, Y, W, H : in Integer;
+ Text : in String := "")
+ return Cairo_Window;
+</pre></td>
+ </tr>
+
</table>