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  -  XMTREGISTERCHOOSER (3)

NAME

XmtRegisterChooser(), XmtRegisterInputField(), XmtRegisterXmScale(), XmtRegisterXmScrolledText(), XmtRegisterXmText(), XmtRegisterXmTextField(), XmtRegisterXmToggleButton() - specially register input widgets for use with Xmt automatic dialog facilities.

CONTENTS

SYNOPSIS

   #include <Xmt/Chooser.h>    void XmtRegisterChooser(void)

   #include <Xmt/InputField.h>    void XmtRegisterInputField(void)

   #include <Xmt/WidgetType.h>    void XmtRegisterXmScale(void)

   void XmtRegisterXmScrolledText(void)

   void XmtRegisterXmText(void)

   void XmtRegisterXmTextField(void)

   void XmtRegisterXmToggleButton(void)

ARGUMENTS

None.

DESCRIPTION

These functions register certain Xmt and Motif widgets for use with XmtCreateChildren() and its related automatic widget creation functions, and also for use with the Xmt automatic dialog facilities. See Chapter 11, Automatic Widget Creation, and Chapter 29, Custom Dialogs and Automatic Dialog Management, for more information.

These widget classes could trivially be registered with XmtRegisterWidgetClass(), for example, but are singled out for custom registration functions because they each accept some form of user input (a text value, a Boolean selection, and so on). Because these widgets can accept user input, they are important in dialog boxes, and these functions register the widgets with XmtRegisterWidgetTypes() in order to specify ‘‘set value’’ and ‘‘get value’’ procedures that can be used by the Xmt automatic dialog management facilities to automatically transfer data to and from dialog boxes.

The table lists the data types that are handled by the ‘‘get value’’ and ‘‘set value’’ procedures registered with these functions. See Chapter 29, Custom Dialogs and Automatic Dialog Management, for details.

WidgetSupported Representation Types
XmScaleXtRCardinal, XtRDimension, XtRPosition, XtRInt, XtRShort, XtRUnsignedChar
XmScrolledTextXtRString (must be freed), XmtRBuffer
XmTextXtRString (must be freed), XmtRBuffer
XmTextFieldXtRString (must be freed), XmtRBuffer
XmToggleButtonXtRBoolean, XtRBool, XtRCardinal, XtREnum, XtRInt, XtRShort, XtRUnsignedChar
XmtChoosertype of XmtNvalueType resource, or any scalar with the same size as int, short, or char.
XmtInputFieldXtRString (must not be freed; volatile), XmtRBuffer, or, by conversion: XtRCardinal, XtRDimension, XmtRDouble, XtRFloat, XtRInt, XtRPosition, XtRShort

SEE ALSO

Chapter 11, Automatic Widget Creation,
Chapter 29, Custom Dialogs and Automatic Dialog Management,
XmtRegisterMotifWidgets(), XmtRegisterWidgetTypes(), XmtRegisterXmtWidgets().

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


Xmt XMTREGISTERCHOOSER (3) Motif Tools

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