summaryrefslogtreecommitdiff
path: root/doc/fl_menu_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_menu_window.html
parent8b9a09364553d2495b133f948c1ddf428d0b9dae (diff)
Added convenience widget constructors that specify the parent group to add toHEADmaster
Diffstat (limited to 'doc/fl_menu_window.html')
-rw-r--r--doc/fl_menu_window.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/fl_menu_window.html b/doc/fl_menu_window.html
index a62f2f0..920ecdd 100644
--- a/doc/fl_menu_window.html
+++ b/doc/fl_menu_window.html
@@ -61,6 +61,18 @@ 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;
+ Text : in String := "")
+ return Menu_Window;
+</pre></td>
+ </tr>
+
+ <tr>
<td><pre>
Fl_Menu_Window(int X, int Y, int W, int H, const char *L=0);
</pre></td>
@@ -72,6 +84,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 Menu_Window;
+</pre></td>
+ </tr>
+
</table>