Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmtRegisterChooser(3)	    Library Functions Manual	   XmtRegisterChooser(3)

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

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 XmtCre-
     ateChildren() and its related automatic widget creation functions, and also
     for use with the Xmt automatic dialog facilities.	See  Chapter  11,  Auto-
     matic  Widget Creation, and Chapter 29, Custom Dialogs and Automatic Dialog
     Management, for more information.

     These widget classes could trivially be registered with  XmtRegisterWidget-
     Class(), 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, XtRCardi- |
     |		      | nal,  XtREnum,	XtRInt,   XtR- |
     |		      | Short, XtRUnsignedChar	       |
     | XmtChooser     | type   of   XmtNvalueType  re- |
     |		      | source, 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, XtR- |
     |		      | Float,	XtRInt,   XtRPosition, |
     |		      | XtRShort		       |
     +----------------+--------------------------------+

SEE ALSO
     Chapter 11, Automatic Widget Creation,
     Chapter 29, Custom Dialogs and Automatic Dialog Management,
     XmtRegisterMotifWidgets(),   XmtRegisterWidgetTypes(),   XmtRegisterXmtWid-
     gets().

Xmt				   Motif Tools		   XmtRegisterChooser(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmtRegisterXmTextField&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help