Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

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

char* suma_menu_item::accel_text
 

to be converted to compound string

Definition at line 9 of file SUMA_display.h.

char* suma_menu_item::accelerator
 

accelerator; NULL if none

Definition at line 8 of file SUMA_display.h.

void(* suma_menu_item::callback)()
 

routine to call; NULL if none

XtPointer suma_menu_item::callback_data
 

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.

WidgetClass* suma_menu_item::class
 

pushbutton, label, separator...

Definition at line 6 of file SUMA_display.h.

char* suma_menu_item::label
 

the label for the item

Definition at line 5 of file SUMA_display.h.

Referenced by SUMA_FormSwitchCmapMenuVector().

char suma_menu_item::mnemonic
 

mnemonic; NULL if none

Definition at line 7 of file SUMA_display.h.

struct suma_menu_item* suma_menu_item::subitems
 

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:
 

Powered by Plone

This site conforms to the following standards: