Doxygen Source Code Documentation
suma_menu_item Struct Reference
#include <SUMA_display.h>
Data Fields | |
char * | label |
WidgetClass * | class |
char | mnemonic |
char * | accelerator |
char * | accel_text |
void(* | callback )() |
XtPointer | callback_data |
suma_menu_item * | subitems |
Field Documentation
|
to be converted to compound string Definition at line 9 of file SUMA_display.h. |
|
accelerator; NULL if none Definition at line 8 of file SUMA_display.h. |
|
routine to call; NULL if none |
|
client_data for callback(). This ends up being the index of the widget in the menu, in addition to being the callback value. Specify it even if callback is NULL because it is needed to index into the vector of widgets. The callback value is actually a bit more complicated than what is stored in callback_data. The call back ends up receiving a pointer to a structure of the type SUMA_MenuCallBackData. That structure contains callback_data in a field of the same name, in addition to an identifier of the controller containing that menu. This way you can tell from which controller the menu had been activated. Definition at line 11 of file SUMA_display.h. |
|
pushbutton, label, separator... Definition at line 6 of file SUMA_display.h. |
|
the label for the item Definition at line 5 of file SUMA_display.h. Referenced by SUMA_FormSwitchCmapMenuVector(). |
|
mnemonic; NULL if none Definition at line 7 of file SUMA_display.h. |
|
pullright menu items, if not NULL Definition at line 26 of file SUMA_display.h. |
The documentation for this struct was generated from the following file: