Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtGetActioB(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtActionProc(2)

 

NAME

XtGetActionList − get the action table of a widget class. 

Synopsis

void XtGetActionList(widget_class, actions_return, num_actions_return)

      WidgetClass widget_class;
      XtActionList *actions_return;
      Cardinal *num_actions_return;

Inputs

widget_classSpecifies the widget class whose action table is to be returned; must be coreWidgetClass or any subclass. 

Outputs

actions_returnReturns the action table of the widget class. 

num_actions_return
Returns the number of elements in the action table.

Availability

Release 5 and later. 

Description

XtGetActionList returns the action table defined by widget_class in actions_return.  This table does not include actions defined by the superclasses.  If widget_class is not initialized, or is not coreWidgetClass or a subclass thereof, or if the class does not define any actions, NULL will be returned in actions_return and zero will be returned in num_actions_return.  If a non-NULL action table is returned, the application is responsible for freeing the table using XtFree() when it is no longer needed. 

Structures

The XtActionsRec structure and the XtActionList type are defined as follows:

typedef struct _XtActionsRec{
    String string;
    XtActionProc proc;
} XtActionsRec;
 typedef struct _XtActionsRec *XtActionList;

See Also

XtActionProc(2). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026