hpux man page for xtaddactions

Query: xtaddactions

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XtAddActions()															    XtAddActions()

Name
  XtAddActions - register an action table with the Translation Manager.

Synopsis
  void XtAddActions(actions, num_actions)
	 XtActionList actions;
	 Cardinal num_actions;

Inputs
  actions   Specifies the action table to register.

  num_actions
	    Specifies the number of entries in this action table.

Availability
  Superseded by XtAppAddActions().

Description
  XtAddActions() registers actions, an array of num_actions  XtActionsRec structures with the Translation Manager.  Each element of the array
  contains an action name and an action procedure pointer.  When a named action is invoked through a translation table, the procedure  to  be
  called is looked up in the action tables that have been registered.

Usage
  XtAddActions()  has  been  superseded  by XtAppAddActions(), which performs the same function on a per-application context basis.  XtAddAc-
  tions() now calls XtAppAddActions() passing the default application context created by XtInitialize().  Very	few  programs  need  multiple
  application  contexts,  and  you  can continue to use XtAddActions() if you initialize your application with XtInitialize().	We recommend,
  however, that you use XtAppInitialize(), XtAppAddActions(), and the other XtApp*() application context specific functions.

  See XtAppAddActions() for more information about how to use actions.

See Also
  XtAppAddActions(1),
  XtActionProc(2).

Xt - Translations and Actions													    XtAddActions()
Related Man Pages
xtactionhookproc(3) - hpux
xtactionproc(3) - hpux
xtgetactioa(3) - hpux
xtsetwarnia(3) - hpux
xtcallactionproc(1) - hpux
Similar Topics in the Unix Linux Community
PHP Man Pages Now Available (Over 10,000)
Is UNIX an open source OS ?
SAN Migration question
Tar Command