Functions and Procedures |
N/A due to being a struct, not a class |
function Create
(Text : in String;
Action : in FLTK.Widgets.Widget_Callback := null;
Shortcut : in Key_Combo := No_Key;
Flags : in Menu_Flag := Flag_Normal)
return Menu_Item;
|
void activate();
|
procedure Activate
(Item : in out Menu_Item);
|
int active() const;
|
function Is_Active
(Item : in Menu_Item)
return Boolean;
|
int activevisible() const;
|
function Is_Active_And_Visible
(Item : in Menu_Item)
return Boolean;
|
int add(const char *, int shortcut, Fl_Callback *, void *=0, int=0);
|
See Add procedure in FLTK.Widgets.Menus |
int add(const char *a, const char *b, Fl_Callback *c, void *d=0, int e=0);
|
|
long argument() const;
|
|
void argument(long v);
|
|
Fl_Callback_p callback() const;
|
function Get_Callback
(Item : in Menu_Item)
return FLTK.Widgets.Widget_Callback;
|
void callback(Fl_Callback *c, void *p);
void callback(Fl_Callback *c);
void callback(Fl_Callback0 *c);
void callback(Fl_Callback1 *c, long p=0);
|
procedure Set_Callback
(Item : in out Menu_Item;
Func : in FLTK.Widgets.Widget_Callback);
|
void check();
|
|
int checkbox() const;
|
function Has_Checkbox
(Item : in Menu_Item)
return Boolean;
|
int checked() const;
|
|
void clear();
|
procedure Set_State
(Item : in out Menu_Item;
To : in Boolean);
|
void deactivate();
|
procedure Deactivate
(Item : in out Menu_Item);
|
void do_callback(Fl_Widget *o) const;
void do_callback(Fl_Widget *o, void *arg) const;
void do_callback(Fl_Widget *o, long arg) const;
|
procedure Do_Callback
(Item : in out Menu_Item;
Widget : in out FLTK.Widgets.Widget'Class);
|
void draw(int x, int y, int w, int h, const Fl_Menu_ *, int t=0) const;
|
See Draw_Item procedure in FLTK.Widgets.Menus |
const Fl_Menu_Item * find_shortcut(int *ip=0, const bool require_alt=false) const;
|
|
const Fl_Menu_Item * first() const;
Fl_Menu_Item * first();
|
Use FLTK.Widgets.Menus iterators instead |
See Fl_Menu_ int mode(int i) const; |
function Get_Flags
(Item : in Menu_Item)
return Menu_Flag;
|
See Fl_Menu_ void mode(int i, int fl); |
procedure Set_Flags
(Item : in out Menu_Item;
To : in Menu_Flag);
|
void hide();
|
procedure Hide
(Item : in out Menu_Item);
|
void image(Fl_Image *a);
void image(Fl_Image &a);
|
|
int insert(int, const char *, int, Fl_Callback *, void *=0, int=0);
|
See Insert procedure in FLTK.Widgets.Menus |
const char * label() const;
|
function Get_Label
(Item : in Menu_Item)
return String;
|
void label(const char *a);
|
procedure Set_Label
(Item : in out Menu_Item;
Text : in String);
|
void label(Fl_Labeltype a, const char *b);
|
|
Fl_Color labelcolor() const;
|
function Get_Label_Color
(Item : in Menu_Item)
return Color;
|
void labelcolor(Fl_Color a);
|
procedure Set_Label_Color
(Item : in out Menu_Item;
To : in Color);
|
Fl_Font labelfont() const;
|
function Get_Label_Font
(Item : in Menu_Item)
return Font_Kind;
|
void labelfont(Fl_Font a);
|
procedure Set_Label_Font
(Item : in out Menu_Item;
To : in Font_Kind);
|
Fl_Fontsize labelsize() const;
|
function Get_Label_Size
(Item : in Menu_Item)
return Font_Size;
|
void labelsize(Fl_Fontsize a);
|
procedure Set_Label_Size
(Item : in out Menu_Item;
To : in Font_Size);
|
Fl_Labeltype labeltype() const;
|
function Get_Label_Type
(Item : in Menu_Item)
return Label_Kind;
|
void labeltype(Fl_Labeltype a);
|
procedure Set_Label_Type
(Item : in out Menu_Item;
To : in Label_Kind);
|
int measure(int *h, const Fl_Menu_ *) const;
|
See Measure_Item procedure in FLTK.Widgets.Menus |
const Fl_Menu_Item * next(int=1) const;
Fl_Menu_Item * next(int i=1);
|
Use FLTK.Widgets.Menus iterators instead |
const Fl_Menu_Item * popup
(int X, int Y, const char *title=0,
const Fl_Menu_Item *picked=0, const Fl_Menu_*=0) const;
|
See Popup function in FLTK.Widgets.Menus |
const Fl_Menu_Item * pulldown
(int X, int Y, int W, int H,
const Fl_Menu_Item *picked=0, const Fl_Menu_*=0,
const Fl_Menu_Item *title=0, int menubar=0) const;
|
See Pulldown function in FLTK.Widgets.Menus |
int radio() const;
|
function Is_Radio
(Item : in Menu_Item)
return Boolean;
|
void set();
|
See void clear(); |
void setonly();
|
procedure Set_Only
(Item : in out Menu_Item);
|
int shortcut() const;
|
function Get_Shortcut
(Item : in Menu_Item)
return Key_Combo;
|
void shortcut(int s);
|
procedure Set_Shortcut
(Item : in out Menu_Item;
To : in Key_Combo);
|
void show();
|
procedure Show
(Item : in out Menu_Item);
|
int size() const;
|
See Number_Of_Items function in FLTK.Widgets.Menus |
int submenu() const;
|
|
const Fl_Menu_Item * test_shortcut() const;
|
|
void uncheck();
|
|
void * user_data() const;
|
|
void user_data(void *v);
|
|
int value() const;
|
function Get_State
(Item : in Menu_Item)
return Boolean;
|
int visible() const;
|
function Is_Visible
(Item : in Menu_Item)
return Boolean;
|