model_server/gra/src/graAction.h.cxx
//------------------------------------------
// gra_init_actions
// 
// This function registers application level Actions with the Intrinsics
// Translation Manager.  This associates the action names used in
// Translation resource strings with pointers to functions.  There is one
// entry in the actions[] array for each Action defined above.  This is
// only called from the graWindow ctor.
// 
// See also graWindow::set_widget.
//------------------------------------------
gra_init_actions
This function registers application level Actions with the Intrinsics
Translation Manager.  This associates the action names used in
Translation resource strings with pointers to functions.  There is one
entry in the actions[] array for each Action defined above.  This is
only called from the graWindow ctor.


gra_init_actions This function registers application level Actions with the Intrinsics Translation Manager . This associates the action names used in Translation resource strings with pointers to functions . There is one entry in the actions [] array for each Action defined above . This is only called from the graWindow ctor .
void gra_init_actions()
{
    Initialize(gra_init_actions);
    static XtActionsRec actions[] =
    {
	GRA_ACTIONS_REC(focus_in),
	GRA_ACTIONS_REC(focus_out),
	GRA_ACTIONS_REC(set_highlight),
	GRA_ACTIONS_REC(clear_highlight),
	GRA_ACTIONS_REC(open_node),
	GRA_ACTIONS_REC(collapse_expand),
	GRA_ACTIONS_REC(pickup),
	GRA_ACTIONS_REC(carry),
	GRA_ACTIONS_REC(drop),
	GRA_ACTIONS_REC(zoom_rectangle),
	GRA_ACTIONS_REC(recenter),
	GRA_ACTIONS_REC(select),
	GRA_ACTIONS_REC(symbol_menu),
	GRA_ACTIONS_REC(modal_click),
        GRA_ACTIONS_REC(begin_connection),
        GRA_ACTIONS_REC(end_connection),
    };
    static init;
    if(!init)
    {
	XtAppAddActions(UxAppContext, actions, XtNumber(actions));
	init = 1;
    }
}
void gra_init_actions ( ) { Initialize ( gra_init_actions ) ; static XtActionsRec actions [ ] = { GRA_ACTIONS_REC ( focus_in ) , GRA_ACTIONS_REC ( focus_out ) , GRA_ACTIONS_REC ( set_highlight ) , GRA_ACTIONS_REC ( clear_highlight ) , GRA_ACTIONS_REC ( open_node ) , GRA_ACTIONS_REC ( collapse_expand ) , GRA_ACTIONS_REC ( pickup ) , GRA_ACTIONS_REC ( carry ) , GRA_ACTIONS_REC ( drop ) , GRA_ACTIONS_REC ( zoom_rectangle ) , GRA_ACTIONS_REC ( recenter ) , GRA_ACTIONS_REC ( select ) , GRA_ACTIONS_REC ( symbol_menu ) , GRA_ACTIONS_REC ( modal_click ) , GRA_ACTIONS_REC ( begin_connection ) , GRA_ACTIONS_REC ( end_connection ) , } ; static init ; if ( ! init ) { XtAppAddActions ( UxAppContext , actions , XtNumber ( actions ) ) ; init = 1 ; } }
gra_init_actions
This function registers application level Actions with the Intrinsics
Translation Manager.
gra_init_actions This function registers application level Actions with the Intrinsics Translation Manager .