aboutsummaryrefslogtreecommitdiff
path: root/doc/fl_choice.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/fl_choice.html')
-rw-r--r--doc/fl_choice.html67
1 files changed, 48 insertions, 19 deletions
diff --git a/doc/fl_choice.html b/doc/fl_choice.html
index 34b8778..5d4b3d9 100644
--- a/doc/fl_choice.html
+++ b/doc/fl_choice.html
@@ -1,4 +1,3 @@
-
<!DOCTYPE html>
<html lang="en">
@@ -14,6 +13,9 @@
<h2>Fl_Choice Binding Map</h2>
+<a href="index.html">Back to Index</a>
+
+
<table class="package">
<tr><th colspan="2">Package name</th></tr>
@@ -44,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>
@@ -53,21 +55,30 @@ 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>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>
-void draw();
-</pre></td>
-<td><pre>
-procedure Draw
- (This : in out Choice);
+function Create
+ (Parent : in out FLTK.Widgets.Groups.Group'Class;
+ X, Y, W, H : in Integer;
+ Text : in String := "")
+ return Choice;
</pre></td>
</tr>
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Functions and Procedures</th></tr>
+
<tr>
<td><pre>
int handle(int);
@@ -81,22 +92,29 @@ function Handle
</tr>
<tr>
-<td>&nbsp;</td>
<td><pre>
-function Chosen
+int value() const;
+</pre></td>
+<td><pre>
+function Chosen_Index
(This : in Choice)
- return FLTK.Menu_Items.Menu_Item_Reference;
+ return Extended_Index;
</pre></td>
</tr>
<tr>
<td><pre>
-int value() const;
+int value(const Fl_Menu_Item *v);
</pre></td>
<td><pre>
-function Chosen_Index
- (This : in Choice)
- return Extended_Index;
+procedure Set_Chosen
+ (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>
@@ -108,17 +126,28 @@ int value(int v);
procedure Set_Chosen
(This : in out Choice;
Place : in Index);
+
+function Set_Chosen
+ (This : in out Choice;
+ Place : in Index)
+ return Boolean;
</pre></td>
</tr>
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Protected Functions and Procedures</th></tr>
+
<tr>
<td><pre>
-int value(const Fl_Menu_Item *v);
+void draw();
</pre></td>
<td><pre>
-procedure Set_Chosen
- (This : in out Choice;
- Item : in FLTK.Menu_Items.Menu_Item);
+procedure Draw
+ (This : in out Choice);
</pre></td>
</tr>