XmMessageBoxGetChild(3)

XmMessageBoxGetChild3

A messagebox function that is used to access a component

Usage

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

Overview

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

NOTE: This routine is obsolete and exists for compatibility with previous releases. Instead of calling XmMessageBoxGetChild, you should call XtNameToWidget as described in the XmMessageBox(3) reference page.

widget

Specifies the MessageBox widget ID.

child

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

•

XmDIALOG_CANCEL_BUTTON

•

XmDIALOG_DEFAULT_BUTTON

•

XmDIALOG_HELP_BUTTON

•

XmDIALOG_MESSAGE_LABEL

•

XmDIALOG_OK_BUTTON

•

XmDIALOG_SEPARATOR

•

XmDIALOG_SYMBOL_LABEL

For a complete definition of MessageBox and its associated resources, see XmMessageBox(3).

Return

Returns the widget ID of the specified MessageBox 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.