|
X11workbench Toolkit
1.0
|
structure for managing menu items More...
#include <menu.h>
Data Fields | |
| unsigned int | uiTag |
| a 'tag' identifying this as a WBMenuItem | |
| int | iMenuItemText |
| offset in 'data' to null-byte terminated strings (-1 if none) | |
| int | iUnderscore |
| offset of (first) 'underscore' within menu text (-1 if none) | |
| int | iTooltipText |
| offset in 'data' to null-byte terminated strings (-1 if none) | |
| int | iHotKey |
| hotkey description (-1 if none) | |
| int | iAction |
| int | nHotKey |
| hotkey character translation (0 if none) | |
| int | iTextWidth |
| width of menu text (in pixels; assign '-1' to calculate it) | |
| int | iPosition |
| horizontal/vertical position of menu (in pixels; assign '-1' to calculate it) | |
| int | nDataSize |
| total size of data | |
| char | data [4] |
| data follows | |
structure for managing menu items
Definition for the structure that defines a single menu item.
| int iAction |