64 int item_pathname_(
char *name,
int namelen,
const Fl_Menu_Item *finditem,
67 Fl_Menu_(
int,
int,
int,
int,
const char * =0);
70 int item_pathname(
char *name,
int namelen,
const Fl_Menu_Item *finditem=0)
const;
74 int find_index(
const char *name)
const;
113 int insert(
int index,
const char*,
int shortcut,
Fl_Callback*,
void* = 0,
int = 0);
114 int add(
const char*,
int shortcut,
Fl_Callback*,
void* = 0,
int = 0);
123 int add(
const char *);
127 int clear_submenu(
int index);
128 void replace(
int,
const char *);
131 void shortcut(
int i,
int s) {menu_[i].shortcut(s);}
133 void mode(
int i,
int fl) {menu_[i].flags = fl;}
135 int mode(
int i)
const {
return menu_[i].flags;}
140 int value()
const {
return value_ ? (int)(value_-menu_) : -1;}
150 const char *
text()
const {
return value_ ? value_->
text : 0;}
152 const char *
text(
int i)
const {
return menu_[i].text;}
int Fl_Font
A font number is an index into the internal font table.
Definition: Enumerations.H:875
unsigned int Fl_Color
An FLTK color value; see also Colors
Definition: Enumerations.H:932
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:904
Fl_Boxtype
Definition: Enumerations.H:601
unsigned char uchar
unsigned char
Definition: fl_types.h:30
FL_EXPORT unsigned int fl_old_shortcut(const char *s)
Emulation of XForms named shortcuts.
Definition: fl_shortcut.cxx:396