MirOS Manual: XtCallActionProc(3)


XtCallActionProc(3Xt)     XT FUNCTIONS      XtCallActionProc(3Xt)

NAME

     XtCallActionProc - invoke an action procedure directly

SYNTAX

     void XtCallActionProc(Widget widget, String action, XEvent*
          event, String* params, Cardinal num_params);

ARGUMENTS

     widget    Specifies the widget in which the action is to be
               invoked. Must be of class core of any subclass
               thereof.

     action    Specifies the name of the action routine.

     event     Specifies the contents of the event passed to the
               action routine.

     params    Specifies the contents of the params passed to the
               action routine.

     num_params
               Specifies the num of entries in params.

DESCRIPTION

     XtCallActionProc searches for the named action routine in
     the same manner and order as translation tables are bound.
     If found, the action routine is invoked with the specified
     widget, event pointer, and parameters. It is the responsi-
     bility of the caller to ensure that the contents of event,
     params, and num_params arguments are appropriate for the
     specified routine, and if necessary, that the specified wid-
     get is realized or sensitive. If the named action routine
     cannot be found, XtCallActionProc generates a warning mes-
     sage and returns.

SEE ALSO

     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

XFree86                   Version 4.5.0                         1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.