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


Manual Reference Pages  -  XMTCREATEWIDGETTYPE (3)

NAME

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

CONTENTS

SYNOPSIS

   
   #include <Xmt/WidgetType.h>

   XmtWidgetType *XmtLookupWidgetType(String typename)

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

ARGUMENTS

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.

DESCRIPTION

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

SEE ALSO

Chapter 11, Automatic Widget Creation,
XmtRegisterMotifWidgets(), XmtRegisterPopupClass(), XmtRegisterPopupConstructor(), XmtRegisterWidgetClass(), XmtRegisterWidgetConstructor(), XmtRegisterXmtWidgets(), XmtVaRegisterWidgetClasses(), XmtVaRegisterWidgetConstructors().
Search for    or go to Top of page |  Section 3 |  Main Index


Xmt XMTCREATEWIDGETTYPE (3) Motif Tools

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