Lines Matching defs:VimMenu
3937 struct VimMenu struct
3939 int modes; // Which modes is this menu visible for?
3940 int enabled; // for which modes the menu is enabled
3941 char_u *name; // Name of menu, possibly translated
3942 char_u *dname; // Displayed Name ("name" without '&')
3944 char_u *en_name; // "name" untranslated, NULL when "name"
3946 char_u *en_dname; // "dname" untranslated, NULL when "dname"
3949 char_u *actext; // accelerator text (after TAB)
3950 int mnemonic; // mnemonic key (after '&')
3951 int priority; // Menu order priority
3953 void (*cb)(vimmenu_T *); // Call-back function
3956 char_u *iconfile; // name of file for icon or NULL
3957 int iconidx; // icon index (-1 if not set)
3958 int icon_builtin; // icon names is BuiltIn{nr}
3960 char_u *strings[MENU_MODES]; // Mapped string for each mode
3961 int noremap[MENU_MODES]; // A REMAP_ flag for each mode
3962 char silent[MENU_MODES]; // A silent flag for each mode
3963 vimmenu_T *children; // Children of sub-menu
3964 vimmenu_T *parent; // Parent of menu
3965 vimmenu_T *next; // Next item in menu
3967 Widget id; // Manage this to enable item
3968 Widget submenu_id; // If this is submenu, add children here
3971 GtkWidget *id; // Manage this to enable item
3972 GtkWidget *submenu_id; // If this is submenu, add children here
3974 GtkWidget *tearoff_handle;
3976 GtkWidget *label; // Used by "set wak=" code.
3979 int sensitive; // turn button on/off
3980 char **xpm; // pixmap data
3981 char *xpm_fname; // file with pixmap data
3984 Pixmap image; // Toolbar image
3987 BalloonEval *tip; // tooltip for this menu item
3990 UINT id; // Id of menu item
3991 HMENU submenu_id; // If this is submenu, add children here
3992 HWND tearoff_handle; // hWnd of tearoff if created
3995 BMenuItem *id; // Id of menu item
3996 BMenu *submenu_id; // If this is submenu, add children here
3998 BPictureButton *button;
4002 PtWidget_t *id;
4003 PtWidget_t *submenu_id;