summaryrefslogtreecommitdiff
path: root/doc/fl_choice.html
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-12 01:14:58 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-12 01:14:58 +1300
commite93b9bbc02e2791f3a35b6f077fcbb8514c28aed (patch)
tree3661530027db6809a9cbad7b2477416009e00787 /doc/fl_choice.html
parent53aa8144851913994b963ed611cca8885b8f9a9e (diff)
Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there
Diffstat (limited to 'doc/fl_choice.html')
-rw-r--r--doc/fl_choice.html40
1 files changed, 27 insertions, 13 deletions
diff --git a/doc/fl_choice.html b/doc/fl_choice.html
index f75d9db..9f83a30 100644
--- a/doc/fl_choice.html
+++ b/doc/fl_choice.html
@@ -46,7 +46,7 @@
<table class="function">
- <tr><th colspan="2">Functions and Procedures</th></tr>
+ <tr><th colspan="2">Constructors</th></tr>
<tr>
<td><pre>
@@ -55,20 +55,17 @@ Fl_Choice(int X, int Y, int W, int H, const char *L=0);
<td><pre>
function Create
(X, Y, W, H : in Integer;
- Text : in String)
+ Text : in String := "")
return Choice;
</pre></td>
</tr>
- <tr>
-<td><pre>
-void draw();
-</pre></td>
-<td><pre>
-procedure Draw
- (This : in out Choice);
-</pre></td>
- </tr>
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Functions and Procedures</th></tr>
<tr>
<td><pre>
@@ -83,9 +80,9 @@ function Handle
</tr>
<tr>
-<td>&nbsp;</td>
+<td>Get the index into the Fl_Menu_Item array and do a manual lookup.</td>
<td><pre>
-function Chosen
+function Get_Chosen
(This : in Choice)
return FLTK.Menu_Items.Menu_Item_Reference;
</pre></td>
@@ -127,6 +124,23 @@ procedure Set_Chosen
</table>
+
+<table class="function">
+ <tr><th colspan="2">Protected Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+void draw();
+</pre></td>
+<td><pre>
+procedure Draw
+ (This : in out Choice);
+</pre></td>
+ </tr>
+
+</table>
+
+
</body>
</html>