GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtCreateWidgetType(3) FreeBSD Library Functions Manual XmtCreateWidgetType(3)

XmtLookupWidgetType(), XmtCreateWidgetType() - lookup a widget type by name, create an instance of a widget type.

#include <Xmt/WidgetType.h>

XmtWidgetType *XmtLookupWidgetType(String typename)

Widget XmtCreateWidgetType(String name, XmtWidgetType *type, Widget paren t, ArgList args, Cardinal num_args)

INPUTS
typename
The name of a widget type to be looked up.
name
The name of the widget to be created.
type
The type of the widget to be created.
parent
The parent of the widget to be created.
args
An array of resource name/value pairs to set on the newly created widget.
num_args
The number of elements in args.

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.

XmtLookupWidgetType() 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().

Chapter 11, Automatic Widget Creation,
XmtRegisterMotifWidgets(), XmtRegisterPopupClass(), XmtRegisterPopupConstructor(), XmtRegisterWidgetClass(), XmtRegisterWidgetConstructor(), XmtRegisterXmtWidgets(), XmtVaRegisterWidgetClasses(), XmtVaRegisterWidgetConstructors().
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.