summaryrefslogtreecommitdiff
path: root/doc/fl_choice.html
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-16 12:17:46 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-16 12:17:46 +1300
commitba1719013e5bab82a2accb4aadfd8451c3ebc931 (patch)
tree0ce67b8257b0ed05e50704ec6a808aac0659816b /doc/fl_choice.html
parent106316bcedec72c5380a7544c27be6a5c117e57a (diff)
Fixed bug in Fl_Choice binding, filled small hole in Fl_Menu_Button binding
Diffstat (limited to 'doc/fl_choice.html')
-rw-r--r--doc/fl_choice.html31
1 files changed, 16 insertions, 15 deletions
diff --git a/doc/fl_choice.html b/doc/fl_choice.html
index 9f83a30..777cece 100644
--- a/doc/fl_choice.html
+++ b/doc/fl_choice.html
@@ -80,15 +80,6 @@ function Handle
</tr>
<tr>
-<td>Get the index into the Fl_Menu_Item array and do a manual lookup.</td>
-<td><pre>
-function Get_Chosen
- (This : in Choice)
- return FLTK.Menu_Items.Menu_Item_Reference;
-</pre></td>
- </tr>
-
- <tr>
<td><pre>
int value() const;
</pre></td>
@@ -101,23 +92,33 @@ function Chosen_Index
<tr>
<td><pre>
-int value(int v);
+int value(const Fl_Menu_Item *v);
</pre></td>
<td><pre>
procedure Set_Chosen
- (This : in out Choice;
- Place : in Index);
+ (This : in out Choice;
+ Item : in FLTK.Menu_Items.Menu_Item);
+
+function Set_Chosen
+ (This : in out Choice;
+ Item : in FLTK.Menu_Items.Menu_Item)
+ return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
-int value(const Fl_Menu_Item *v);
+int value(int v);
</pre></td>
<td><pre>
procedure Set_Chosen
- (This : in out Choice;
- Item : in FLTK.Menu_Items.Menu_Item);
+ (This : in out Choice;
+ Place : in Index);
+
+function Set_Chosen
+ (This : in out Choice;
+ Place : in Index)
+ return Boolean;
</pre></td>
</tr>