diff options
Diffstat (limited to 'doc/fl_menu_button.html')
-rw-r--r-- | doc/fl_menu_button.html | 59 |
1 files changed, 48 insertions, 11 deletions
diff --git a/doc/fl_menu_button.html b/doc/fl_menu_button.html index 55b9e57..3919095 100644 --- a/doc/fl_menu_button.html +++ b/doc/fl_menu_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Menu_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -49,7 +51,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -58,21 +60,30 @@ Fl_Menu_Button(int, int, int, int, const char *=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Menu_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> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Menu_Button); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Menu_Button; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -92,16 +103,42 @@ const Fl_Menu_Item * popup(); <td><pre> function Popup (This : in out Menu_Button) - return FLTK.Menu_Items.Menu_Item; + return Extended_Index; </pre></td> </tr> <tr> -<td> </td> +<td>Use the type methods in Fl_Widget with the popup_buttons enum.</td> +<td><pre> +function Get_Popup_Kind + (This : in Menu_Button) + return Popup_Buttons; +</pre></td> + </tr> + + <tr> +<td>Use the type methods in Fl_Widget with the popup_buttons enum.</td> <td><pre> procedure Set_Popup_Kind (This : in out Menu_Button; - Pop : in Popup_Buttons); + Kind : in Popup_Buttons); +</pre></td> + </tr> + +</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 Menu_Button); </pre></td> </tr> |