summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/fl_sys_menu_bar.html355
-rw-r--r--doc/index.html3
2 files changed, 357 insertions, 1 deletions
diff --git a/doc/fl_sys_menu_bar.html b/doc/fl_sys_menu_bar.html
new file mode 100644
index 0000000..0965675
--- /dev/null
+++ b/doc/fl_sys_menu_bar.html
@@ -0,0 +1,355 @@
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Fl_Sys_Menu_Bar Binding Map</title>
+ <link href="map.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+
+<h2>Fl_Sys_Menu_Bar Binding Map</h2>
+
+
+<a href="index.html">Back to Index</a>
+
+
+<table class="package">
+ <tr><th colspan="2">Package name</th></tr>
+
+ <tr>
+ <td>Fl_Sys_Menu_Bar</td>
+ <td>FLTK.Widgets.Menus.Menu_Bars.Systemwide</td>
+ </tr>
+
+</table>
+
+
+
+<table class="type">
+ <tr><th colspan="2">Types</th></tr>
+
+ <tr>
+ <td>Fl_Sys_Menu_Bar</td>
+ <td>System_Menu_Bar</td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td>System_Menu_Bar_Reference</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Constructors</th></tr>
+
+ <tr>
+<td><pre>
+Fl_Sys_Menu_Bar(int x, int y, int w, int h, const char *l=0);
+</pre></td>
+<td><pre>
+function Create
+ (X, Y, W, H : in Integer;
+ Text : in String := "")
+ return System_Menu_Bar;
+</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 System_Menu_Bar;
+</pre></td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+int add(const char *label, const char *shortcut,
+ Fl_Callback *cb, void *user_data=0, int flags=0);
+</pre></td>
+<td><pre>
+procedure Add
+ (This : in out System_Menu_Bar;
+ Text : in String;
+ Action : in Widget_Callback := null;
+ Shortcut : in String;
+ Flags : in Menu_Flag := Flag_Normal);
+
+function Add
+ (This : in out System_Menu_Bar;
+ Text : in String;
+ Action : in Widget_Callback := null;
+ Shortcut : in String;
+ Flags : in Menu_Flag := Flag_Normal)
+ return Index;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int add(const char *label, int shortcut, Fl_Callback *,
+ void *user_data=0, int flags=0);
+</pre></td>
+<td><pre>
+procedure Add
+ (This : in out System_Menu_Bar;
+ Text : in String;
+ Action : in Widget_Callback := null;
+ Shortcut : in Key_Combo := No_Key;
+ Flags : in Menu_Flag := Flag_Normal);
+
+function Add
+ (This : in out System_Menu_Bar;
+ Text : in String;
+ Action : in Widget_Callback := null;
+ Shortcut : in Key_Combo := No_Key;
+ Flags : in Menu_Flag := Flag_Normal)
+ return Index;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int add(const char *str);
+</pre></td>
+<td><pre>
+procedure Add
+ (This : in out System_Menu_Bar;
+ Text : in String);
+
+function Add
+ (This : in out System_Menu_Bar;
+ Text : in String)
+ return Index;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void clear();
+</pre></td>
+<td><pre>
+procedure Clear
+ (This : in out System_Menu_Bar);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int clear_submenu(int index);
+</pre></td>
+<td><pre>
+procedure Clear_Submenu
+ (This : in out System_Menu_Bar;
+ Place : in Index);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void global();
+</pre></td>
+<td><pre>
+procedure Make_Global
+ (This : in out System_Menu_Bar);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int insert(int index, const char *label, const char *shortcut,
+ Fl_Callback *cb, void *user_data=0, int flags=0);
+</pre></td>
+<td><pre>
+procedure Insert
+ (This : in out System_Menu_Bar;
+ Place : in Index;
+ Text : in String;
+ Action : in Widget_Callback := null;
+ Shortcut : in String;
+ Flags : in Menu_Flag := Flag_Normal);
+
+function Insert
+ (This : in out System_Menu_Bar;
+ Place : in Index;
+ Text : in String;
+ Action : in Widget_Callback := null;
+ Shortcut : in String;
+ Flags : in Menu_Flag := Flag_Normal)
+ return Index;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int insert(int index, const char *label, int shortcut,
+ Fl_Callback *cb, void *user_data=0, int flags=0);
+</pre></td>
+<td><pre>
+procedure Insert
+ (This : in out System_Menu_Bar;
+ Place : in Index;
+ Text : in String;
+ Action : in Widget_Callback := null;
+ Shortcut : in Key_Combo := No_Key;
+ Flags : in Menu_Flag := Flag_Normal);
+
+function Insert
+ (This : in out System_Menu_Bar;
+ Place : in Index;
+ Text : in String;
+ Action : in Widget_Callback := null;
+ Shortcut : in Key_Combo := No_Key;
+ Flags : in Menu_Flag := Flag_Normal)
+ return Index;
+</pre></td>
+ </tr>
+
+ <tr>
+<td>Use the menu method to access the menu item array and index it directly.</td>
+<td><pre>
+function Item
+ (This : in System_Menu_Bar;
+ Place : in Index)
+ return FLTK.Menu_Items.Menu_Item_Reference;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+const Fl_Menu_Item * menu() const;
+</pre></td>
+<td>Use Item or 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><pre>
+procedure Use_Same_Items
+ (This : in out System_Menu_Bar;
+ Donor : in Menu'Class);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int mode(int i) const;
+</pre></td>
+<td><pre>
+function Get_Flags
+ (This : in System_Menu_Bar;
+ Place : in Index)
+ return Menu_Flag;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void mode(int i, int fl);
+</pre></td>
+<td><pre>
+procedure Set_Flags
+ (This : in out System_Menu_Bar;
+ Place : in Index;
+ Flags : in Menu_Flag);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void remove(int n);
+</pre></td>
+<td><pre>
+procedure Remove
+ (This : in out System_Menu_Bar;
+ Place : in Index);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void replace(int index, const char *name);
+</pre></td>
+<td><pre>
+procedure Set_Label
+ (This : in out System_Menu_Bar;
+ Place : in Index;
+ Text : in String);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void setonly(Fl_Menu_Item *item);
+</pre></td>
+<td><pre>
+procedure Set_Only
+ (This : in out System_Menu_Bar;
+ Item : in out FLTK.Menu_Items.Menu_Item);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void shortcut(int i, int s);
+</pre></td>
+<td><pre>
+procedure Set_Shortcut
+ (This : in out System_Menu_Bar;
+ Place : in Index;
+ Press : in Key_Combo);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void update();
+</pre></td>
+<td><pre>
+procedure Update
+ (This : in out System_Menu_Bar);
+</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 System_Menu_Bar);
+</pre></td>
+ </tr>
+
+</table>
+
+
+ </body>
+</html>
+
diff --git a/doc/index.html b/doc/index.html
index 5c38e3a..faff436 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -114,7 +114,7 @@
<li><a href="fl_slider.html">Fl_Slider</a></li>
<li><a href="fl_spinner.html">Fl_Spinner</a></li>
<li><a href="fl_surface_device.html">Fl_Surface_Device</a></li>
- <li>Fl_Sys_Menu_Bar</li>
+ <li><a href="fl_sys_menu_bar.html">Fl_Sys_Menu_Bar</a></li>
<li>Fl_Table</li>
<li>Fl_Table_Row</li>
<li><a href="fl_tabs.html">Fl_Tabs</a></li>
@@ -233,6 +233,7 @@
<li><a href="fl_menu_.html">FLTK.Widgets.Menus</a></li>
<li><a href="fl_choice.html">FLTK.Widgets.Menus.Choices</a></li>
<li><a href="fl_menu_bar.html">FLTK.Widgets.Menus.Menu_Bars</a></li>
+ <li><a href="fl_sys_menu_bar.html">FLTK.Widgets.Menus.Menu_Bars.Systemwide</a></li>
<li><a href="fl_menu_button.html">FLTK.Widgets.Menus.Menu_Buttons</a></li>
<li><a href="fl_positioner.html">FLTK.Widgets.Positioners</a></li>
<li><a href="fl_progress.html">FLTK.Widgets.Progress_Bars</a></li>