UF_MB_action_s (view source)
Defined in: uf_mb.h
Also known as:
- UF_MB_action_t
- UF_MB_action_p_t
Overview
The UF_MB_action_t typedef is used to declare an array of one
or more action structures. Each structure instance in this
array specifies an action name that matches an action specification
from a menu file, e.g.:
Action registration in ufsta of Open API shared library:
-----------------------------------------------------------
static UF_MB_action_t actionTable[] =
{
{ "select_test", Select, NULL },
{ "curvature", Curvature, NULL },
{ "curing", Curing, NULL },
{ "query", Query, NULL },
{ "open_curve_palette", persistent_dlg, NULL },
{ "close_curve_palette", closePalette, NULL },
{ "dialog_test", persistent_dlg_app2, NULL },
{ NULL, NULL, NULL}
};
...
UF_MB_add_actions( actionTable );
Menu File exerpt:
-----------------------------------------------------------
BUTTON CURVATURE
LABEL Curvature...
ACTIONS curvature
Data Members
action_name
char *
action_cb