Functions and Procedures |
void activate();
|
procedure Activate
(This : in out Menu_Item);
|
int active() const;
|
function Is_Active
(This : in Menu_Item)
return Boolean;
|
int activevisible() const;
|
function Is_Active_And_Visible
(This : in Menu_Item)
return Boolean;
|
int add(const char *, int shortcut, Fl_Callback *,
void *=0, int=0);
|
Use the Add subprograms in FLTK.Widgets.Menus instead. |
int add(const char *a, const char *b, Fl_Callback *c,
void *d=0, int e=0);
|
Use the Add subprograms in FLTK.Widgets.Menus instead. |
long argument() const;
|
Not used in public API. |
void argument(long v);
|
Not used in public API. |
Fl_Callback_p callback() const;
|
function Get_Callback
(This : 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
(This : in out Menu_Item;
Func : in FLTK.Widgets.Widget_Callback);
|
void check();
|
Marked as deprecated. |
int checkbox() const;
|
function Has_Checkbox
(This : in Menu_Item)
return Boolean;
|
int checked() const;
|
Marked as deprecated. |
void clear();
|
procedure Clear
(This : in out Menu_Item);
|
void deactivate();
|
procedure Deactivate
(This : 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
(This : 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 in FLTK.Widgets.Menus. |
const Fl_Menu_Item * find_shortcut(int *ip=0,
const bool require_alt=false) const;
|
See Find_Shortcut in FLTK.Widgets.Menus. |
const Fl_Menu_Item * first() const;
Fl_Menu_Item * first();
|
Iterate through FLTK.Widgets.Menus instead. |
Access the flags attribute directly. |
function Get_Flags
(This : in Menu_Item)
return Menu_Flag;
|
Assign to the flags attribute directly. |
procedure Set_Flags
(This : in out Menu_Item;
To : in Menu_Flag);
|
void hide();
|
procedure Hide
(This : in out Menu_Item);
|
Fl_Menu_Item is missing a method for getting the image set to it. |
function Get_Image
(This : in Menu_Item)
return access FLTK.Images.Image'Class;
|
void image(Fl_Image *a);
void image(Fl_Image &a);
|
procedure Set_Image
(This : in out Menu_Item;
Pict : in out FLTK.Images.Image'Class);
|
int insert(int, const char *, int, Fl_Callback *,
void *=0, int=0);
|
Use the Insert subprograms in FLTK.Widgets.Menus instead. |
const char * label() const;
|
function Get_Label
(This : in Menu_Item)
return String;
|
void label(const char *a);
|
procedure Set_Label
(This : in out Menu_Item;
Text : in String);
|
void label(Fl_Labeltype a, const char *b);
|
procedure Set_Label
(This : in out Menu_Item;
Kind : in Label_Kind;
Text : in String);
|
Fl_Color labelcolor() const;
|
function Get_Label_Color
(This : in Menu_Item)
return Color;
|
void labelcolor(Fl_Color a);
|
procedure Set_Label_Color
(This : in out Menu_Item;
To : in Color);
|
Fl_Font labelfont() const;
|
function Get_Label_Font
(This : in Menu_Item)
return Font_Kind;
|
void labelfont(Fl_Font a);
|
procedure Set_Label_Font
(This : in out Menu_Item;
To : in Font_Kind);
|
Fl_Fontsize labelsize() const;
|
function Get_Label_Size
(This : in Menu_Item)
return Font_Size;
|
void labelsize(Fl_Fontsize a);
|
procedure Set_Label_Size
(This : in out Menu_Item;
To : in Font_Size);
|
Fl_Labeltype labeltype() const;
|
function Get_Label_Type
(This : in Menu_Item)
return Label_Kind;
|
void labeltype(Fl_Labeltype a);
|
procedure Set_Label_Type
(This : in out Menu_Item;
To : in Label_Kind);
|
int measure(int *h, const Fl_Menu_ *) const;
|
See Measure_Item in FLTK.Widgets.Menus. |
const Fl_Menu_Item * next(int=1) const;
Fl_Menu_Item * next(int i=1);
|
Iterate through FLTK.Widgets.Menus 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 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 in FLTK.Widgets.Menus. |
int radio() const;
|
function Is_Radio
(This : in Menu_Item)
return Boolean;
|
void set();
|
procedure Set
(This : in out Menu_Item);
|
void setonly();
|
procedure Set_Only
(This : in out Menu_Item);
|
int shortcut() const;
|
function Get_Shortcut
(This : in Menu_Item)
return Key_Combo;
|
void shortcut(int s);
|
procedure Set_Shortcut
(This : in out Menu_Item;
To : in Key_Combo);
|
void show();
|
procedure Show
(This : in out Menu_Item);
|
int size() const;
|
Use the Number_Of_Items function in FLTK.Widgets.Menus instead. |
int submenu() const;
|
function Is_Submenu
(This : in Menu_Item)
return Boolean;
|
const Fl_Menu_Item * test_shortcut() const;
|
Use the Test_Shortcut function in FLTK.Widgets.Menus instead. |
void uncheck();
|
Marked as deprecated. |
void * user_data() const;
|
Not used in public API. |
void user_data(void *v);
|
Not used in public API. |
int value() const;
|
function Get_State
(This : in Menu_Item)
return Boolean;
|
Use set or clear methods. |
procedure Set_State
(This : in out Menu_Item;
To : in Boolean);
|
int visible() const;
|
function Is_Visible
(This : in Menu_Item)
return Boolean;
|