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
XmtRegisterChooser(3) FreeBSD Library Functions Manual XmtRegisterChooser(3)

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

#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)

None.

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.

Widget Supported Representation Types
XmScale XtRCardinal, XtRDimension, XtRPosition, XtRInt, XtRShort, XtRUnsignedChar
XmScrolledText XtRString (must be freed), XmtRBuffer
XmText XtRString (must be freed), XmtRBuffer
XmTextField XtRString (must be freed), XmtRBuffer
XmToggleButton XtRBoolean, XtRBool, XtRCardinal, XtREnum, XtRInt, XtRShort, XtRUnsignedChar
XmtChooser type of XmtNvalueType resource, or any scalar with the same size as int, short, or char.
XmtInputField XtRString (must not be freed; volatile), XmtRBuffer, or, by conversion: XtRCardinal, XtRDimension, XmtRDouble, XtRFloat, XtRInt, XtRPosition, XtRShort

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

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.