Fl_Sys_Menu_Bar Binding Map

Back to Index
Package name
Fl_Sys_Menu_Bar FLTK.Widgets.Menus.Menu_Bars.Systemwide
Types
Fl_Sys_Menu_Bar System_Menu_Bar
  System_Menu_Bar_Reference
Constructors
Fl_Sys_Menu_Bar(int x, int y, int w, int h, const char *l=0);
function Create
       (X, Y, W, H : in Integer;
        Text       : in String := "")
    return System_Menu_Bar;
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.
function Create
       (Parent     : in out FLTK.Widgets.Groups.Group'Class;
        X, Y, W, H : in     Integer;
        Text       : in     String := "")
    return System_Menu_Bar;
Functions and Procedures
int add(const char *label, const char *shortcut,
    Fl_Callback *cb, void *user_data=0, int flags=0);
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;
int add(const char *label, int shortcut, Fl_Callback *,
    void *user_data=0, int flags=0);
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;
int add(const char *str);
procedure Add
       (This : in out System_Menu_Bar;
        Text : in     String);

function Add
       (This : in out System_Menu_Bar;
        Text : in     String)
    return Index;
void clear();
procedure Clear
       (This : in out System_Menu_Bar);
int clear_submenu(int index);
procedure Clear_Submenu
       (This  : in out System_Menu_Bar;
        Place : in     Index);
void global();
procedure Make_Global
       (This : in out System_Menu_Bar);
int insert(int index, const char *label, const char *shortcut,
    Fl_Callback *cb, void *user_data=0, int flags=0);
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;
int insert(int index, const char *label, int shortcut,
    Fl_Callback *cb, void *user_data=0, int flags=0);
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;
Use the menu method to access the menu item array and index it directly.
function Item
       (This  : in System_Menu_Bar;
        Place : in Index)
    return FLTK.Menu_Items.Menu_Item_Reference;
const Fl_Menu_Item * menu() const;
Use Item or Iterate as necessary to access specific items or walk the array.
void menu(const Fl_Menu_Item *m);
procedure Use_Same_Items
       (This  : in out System_Menu_Bar;
        Donor : in     Menu'Class);
int mode(int i) const;
function Get_Flags
       (This  : in System_Menu_Bar;
        Place : in Index)
    return Menu_Flag;
void mode(int i, int fl);
procedure Set_Flags
       (This  : in out System_Menu_Bar;
        Place : in     Index;
        Flags : in     Menu_Flag);
void remove(int n);
procedure Remove
       (This  : in out System_Menu_Bar;
        Place : in     Index);
void replace(int index, const char *name);
procedure Set_Label
       (This  : in out System_Menu_Bar;
        Place : in     Index;
        Text  : in     String);
void setonly(Fl_Menu_Item *item);
procedure Set_Only
       (This : in out System_Menu_Bar;
        Item : in out FLTK.Menu_Items.Menu_Item);
void shortcut(int i, int s);
procedure Set_Shortcut
       (This  : in out System_Menu_Bar;
        Place : in     Index;
        Press : in     Key_Combo);
void update();
procedure Update
       (This : in out System_Menu_Bar);
Protected Functions and Procedures
void draw();
procedure Draw
       (This : in out System_Menu_Bar);