XmCommandGetChild(3)

XmCommandGetChild3

A command function that is used to access a component

Usage

#include <Xm/Command.h>
Widget XmCommandGetChild(
Widget widget,
unsigned char child);

Overview

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 values are legal for this parameter:

•

XmDIALOG_COMMAND_TEXT

•

XmDIALOG_PROMPT_LABEL

•

XmDIALOG_HISTORY_LIST

•

XmDIALOG_WORK_AREA

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

Return

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

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–13
  2. Arch

From openmotif 2.3.8-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.