XmCommandGetChild(3X)

XmCommandGetChild - A Command function that is used to access a component

As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.

     NAME
          XmCommandGetChild - A Command function that is used to
          access a component

     SYNOPSIS
          #include <Xm/Command.h>

          Widget XmCommandGetChild (widget, child)
               Widget    widget;
               unsigned charchild;


     VERSION
          This page documents version 1.2 of the Motif library.

     DESCRIPTION
          XmCommandGetChild is used to access a component within a
          Command.  The parameters given to the function are the
          Command widget and a value indicating which component to
          access.


          widget Specifies the Command widget ID.

          child  Specifies a component within the Command.  The
                 following are legal values for this parameter:


                   o  XmDIALOG_COMMAND_TEXT

                   o  XmDIALOG_PROMPT_LABEL

                   o  XmDIALOG_HISTORY_LIST

                   o  XmDIALOG_WORK_AREA


          For a complete definition of Command and its associated
          resources, see XmCommand(3X).

     RETURN VALUE
          Returns the widget ID of the specified Command component.
          An application should not assume that the returned widget
          will be of any particular class.

     RELATED INFORMATION
          XmCommand(3X).