XmeCreateClassDialog(3X) UNIX System V XmeCreateClassDialog(3X)
NAME
XmeCreateClassDialog - Creates a DialogShell containing a
widget of the specified class
SYNOPSIS
#include <Xm/DrawP.h>
Widget XmeCreateClassDialog(
WidgetClass widget_class,
Widget parent,
String name,
ArgList args,
Cardinal arg_count);
VERSION
This page documents Motif 2.1.
DESCRIPTION
XmeCreateClassDialog is a convenience function that creates
a DialogShell and then instantiates widget widget_class
inside the DialogShell. XmeCreateClassDialog names the
created DialogShell name_popup.
XmeCreateClassDialog forces the value of the
XmNallowShellResize resource of Shell to True.
Call XtManageChild to pop up the created DialogShell. You
should set the child argument of XtManageChildto the Widget
returned by XmeCreateClassDialog. Call XtUnmanageChild to
pop down the DialogShell.
XmeCreateClassDialog registers a destroyCallback for the
created widget so that its DialogShell parent can be
automatically destroyed.
widget_class
Specifies the widget class you want to instantiate
as a child of the DialogShell. The specified
widget_class does not have to hold the
XmQTdialogShellSavvy trait although, typically, it
will hold this trait.
parent Specifies the parent widget of the DialogShell.
name Specifies the name of the created widget.
args Specifies the argument list (args) passed to the
DialogShell and the created widget.
arg_count Specifies the number of attribute/value pairs in
the argument list (args).
RETURN
Page 1 (printed 7/20/06)
XmeCreateClassDialog(3X) UNIX System V XmeCreateClassDialog(3X)
Returns the child widget of the DialogShell.
RELATED
XmCreateDialogShell(3) and XtCreateWidget(3).
Page 2 (printed 7/20/06)