next up previous
Next: About this document Up: Actions et Translations sous Previous: Translations

Utilisation dans Xspect

Xspect utilise fortement les actions / translations.

Tables de translation définies dans Xspect:

translationsWindow translationsMoveButton translationsDrawVisSel
translationsPopupPage translationsDrawNoView translationsDrawCallUdi
translationsPopupZoom translationsMixMode translationsSynchro
translationsIdw translationsDrawSelMode translationsTranslationOutput
translationsIdwChgActView translationsDrawSigMode

On trouve la table des actions dans resources.h :

static XtActionsRec actions[] = 
{
  {"Motion",            XsAcMotion}, 
  {"Up",                XsAcUp}, 
  {"ActivateFrame",     XsAcActivateFrame}, 
  {"ActivateWindow",    XsAcActivateWindow}, 
  {"DeActivateWindow",  XsAcDeActivateWindow}, 
  {"ActivateSelection", XsAcActivateSelection},
  {"CreateSelectionX",  XsAcCreateSelectionX},
  {"CreateSelectionXY", XsAcCreateSelectionXY},
  {"CreateSelectionY",  XsAcCreateSelectionY},
  {"IdwChgActView",     XsAcIdwChgActView},       
  {"PagePopupMenu",     XsAcPagePopupMenu},       
  {"ZoomPopupMenu",     XsAcZoomPopupMenu},       
  {"IdwPopupMenu",      XsAcIdwPopupMenu},        
  {"ModifySelection",   XsAcModifySelection},
  {"ModifySelectionXY", XsAcModifySelectionXY},
  {"MoveButtonWidget",  XsAcMoveButtonWidget},
  {"OkCallUdi",         XsAcOkCallUdi},
  {"OkVisitSelection",  XsAcOkVisitSelection},
  {"OkSynchro",         XsAcOkSynchro},
  {"OkOutput",          XsAcOkOutput},
  {"SelectAll",         XsAcSelectAll},
  {"ShiftSelection",    XsAcShiftSelection},
  {"ShiftSelectionXY",  XsAcShiftSelectionXY},
  {"ShiftSignalX",      XsAcShiftSignalX},
  {"ShiftSignalXY",     XsAcShiftSignalXY},
  {"ShiftSignalY",      XsAcShiftSignalY},
};

Les fonctions indiquées ci-dessus se trouvent se trouvent dans Xa.c.


Gauthier Lebrun
Thu Apr 17 17:36:31 MET DST 1997