diff options
Diffstat (limited to 'doc/fl_input_choice.html')
-rw-r--r-- | doc/fl_input_choice.html | 108 |
1 files changed, 73 insertions, 35 deletions
diff --git a/doc/fl_input_choice.html b/doc/fl_input_choice.html index c15f677..4f5ef44 100644 --- a/doc/fl_input_choice.html +++ b/doc/fl_input_choice.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Input_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,36 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Attributes</th></tr> + + <tr> +<td><pre> +Fl_Input * input(); +</pre></td> +<td><pre> +function Text_Field + (This : in out Input_Choice) + return FLTK.Widgets.Inputs.Text.Text_Input_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Menu_Button * menubutton(); +</pre></td> +<td><pre> +function Button_Menu + (This : in out Input_Choice) + return FLTK.Widgets.Menus.Menu_Buttons.Menu_Button_Reference; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,16 +84,35 @@ Fl_Input_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 Input_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> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") return Input_Choice; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> void add(const char *s); </pre></td> -<td>Use Menu_Button instead</td> +<td>Use menubutton / Button_Menu instead.</td> </tr> <tr> @@ -119,31 +169,22 @@ procedure Set_Down_Box </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Input_Choice); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Check index values against the size method of menubutton manually.</td> <td><pre> -function Handle - (This : in out Input_Choice; - Event : in Event_Kind) - return Event_Outcome; +function Has_Item + (This : in Input_Choice; + Place : in FLTK.Widgets.Menus.Index) + return Boolean; </pre></td> </tr> <tr> +<td>Use the menu method to access the menu item array and index it directly.</td> <td><pre> -Fl_Input * input(); -</pre></td> -<td><pre> -function Input - (This : in out Input_Choice) - return FLTK.Widgets.Inputs.Input_Reference; +function Item + (This : in Input_Choice; + Place : in FLTK.Widgets.Menus.Index) + return FLTK.Menu_Items.Menu_Item_Reference; </pre></td> </tr> @@ -151,24 +192,17 @@ function Input <td><pre> const Fl_Menu_Item * menu(); </pre></td> -<td> </td> +<td>Use Item or Button_Menu.Iterate as necessary to access specific items or walk the array.</td> </tr> <tr> <td><pre> void menu(const Fl_Menu_Item *m); </pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -Fl_Menu_Button * menubutton(); -</pre></td> <td><pre> -function Menu_Button - (This : in out Input_Choice) - return FLTK.Widgets.Menus.Menu_Buttons.Menu_Button_Reference; +procedure Use_Same_Items + (This : in out Input_Choice; + Donor : in FLTK.Widgets.Menus.Menu'Class); </pre></td> </tr> @@ -176,7 +210,11 @@ function Menu_Button <td><pre> void resize(int X, int Y, int W, int H); </pre></td> -<td> </td> +<td><pre> +procedure Resize + (This : in out Input_Choice; + X, Y, W, H : in Integer); +</pre></td> </tr> <tr> |