diff options
Diffstat (limited to 'doc/fl_button.html')
-rw-r--r-- | doc/fl_button.html | 112 |
1 files changed, 91 insertions, 21 deletions
diff --git a/doc/fl_button.html b/doc/fl_button.html index be21c60..05838b5 100644 --- a/doc/fl_button.html +++ b/doc/fl_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -39,7 +41,7 @@ </tr> <tr> - <td> </td> + <td>int</td> <td>State</td> </tr> @@ -48,7 +50,21 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Protected Attributes</th></tr> + + <tr> +<td><pre> +static Fl_Widget_Tracker * key_release_tracker = 0; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -57,16 +73,35 @@ Fl_Button(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 Button; </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 FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Button; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> <td><pre> int clear(); </pre></td> -<td>See int value();</td> +<td>See value / Set_State.</td> </tr> <tr> @@ -95,24 +130,14 @@ procedure Set_Down_Box <td><pre> Fl_Color down_color() const; </pre></td> -<td> </td> +<td>See selection_color / Get_Selection_Color from Fl_Widget.</td> </tr> <tr> <td><pre> void down_color(unsigned c); </pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -virtual void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Button); -</pre></td> +<td>See selection_color / Set_Selection_Color from Fl_Widget.</td> </tr> <tr> @@ -131,7 +156,7 @@ function Handle <td><pre> int set(); </pre></td> -<td>See int value();</td> +<td>See value / Set_State.</td> </tr> <tr> @@ -151,7 +176,7 @@ int shortcut() const; <td><pre> function Get_Shortcut (This : in Button) - return Shortcut_Key; + return Key_Combo; </pre></td> </tr> @@ -162,7 +187,7 @@ void shortcut(int s); <td><pre> procedure Set_Shortcut (This : in out Button; - Key : in Shortcut_Key); + Key : in Key_Combo); </pre></td> </tr> @@ -170,7 +195,7 @@ procedure Set_Shortcut <td><pre> void shortcut(const char *s); </pre></td> -<td>See void shortcut(int s);</td> +<td>See shortcut / Set_Shortcut.</td> </tr> <tr> @@ -189,6 +214,10 @@ procedure Set_State char value() const; </pre></td> <td><pre> +function Is_On + (This : in Button) + return Boolean; + function Get_State (This : in Button) return State; @@ -198,6 +227,47 @@ function Get_State </table> + +<table class="function"> + <tr><th colspan="2">Static Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +static void key_release_timeout(void *); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Button); +</pre></td> + </tr> + + <tr> +<td><pre> +void simulate_key_action(); +</pre></td> +<td><pre> +procedure Simulate_Key_Action + (This : in out Button); +</pre></td> + </tr> + +</table> + + </body> </html> |