|
NAMEXmtLookupWidgetType(), XmtCreateWidgetType() - lookup a widget type by name, create an instance of a widget type.SYNOPSIS#include <Xmt/WidgetType.h>
XmtWidgetType *XmtLookupWidgetType(String typename) Widget XmtCreateWidgetType(String name, XmtWidgetType *type, Widget paren t, ArgList args, Cardinal num_args) ARGUMENTSINPUTS
RETURNS XmtLookupWidgetType() returns the XmtWidgetType structure of the named widget type, or NULL if no widget type was registered with that name. XmtCreateWidgetType() returns a newly created widget with the specified name, type, parent and resources. DESCRIPTIONXmtLookupWidgetType() and XmtCreateWidgetType() form the basis for the Xmt automatic widget creation facility. You can use these functions to implement an automatic widget creation scheme based on your own widget hierarchy description.XmtLookupWidgetType() looks up the XmtWidgetType record for a registered widget type. This structure contains all the information XmtCreateWidgetType() need to create an instance of the specified type. Note that XmtCreateWidgetType() takes arguments that are much like those of XtCreateWidget(). SEE ALSOChapter 11, Automatic Widget Creation,XmtRegisterMotifWidgets(), XmtRegisterPopupClass(), XmtRegisterPopupConstructor(), XmtRegisterWidgetClass(), XmtRegisterWidgetConstructor(), XmtRegisterXmtWidgets(), XmtVaRegisterWidgetClasses(), XmtVaRegisterWidgetConstructors().
Visit the GSP FreeBSD Man Page Interface. |