Scroll to navigation

XmDropDownGetChild(3) Library Functions Manual XmDropDownGetChild(3)

NAME

XmDropDownGetChild — A DropDown function that is used to access a component "XmDropDownGetChild" "DropDown functions" "XmDropDownGetChild"

SYNOPSIS

#include <Xm/DropDown.h>
Widget XmDropDownGetChild(
Widget widget,
int child);

DESCRIPTION

XmDropDownGetChild is used to access a component within a DropDown. The parameters given to the function are the DropDown widget and a value indicating which component to access.

Specifies the DropDown widget ID.
Specifies a component within the DropDown. The following are legal values for this parameter:
XmDROPDOWN_LABEL
XmDROPDOWN_TEXT
XmDROPDOWN_ARROW_BUTTON
XmDROPDOWN_LIST

For a complete definition of DropDown and its associated resources, see XmDropDown(3).

RETURN

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

RELATED

XmDropDown(3).