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

FreeBSD Manual Pages

  
 
  

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

NAME
       XmtInputFieldGetString(),  XmtInputFieldSetString()  - query or set the
       value of	an XmtInputField widget.

SYNOPSIS
       #include	<Xmt/InputField.h>

       String XmtInputFieldGetString(Widget w)

       void XmtInputFieldSetString(Widget w, String s)

ARGUMENTS
       INPUTS

       w      The XmtInputField	widget that is to have its  value  queried  or
	      set.

       s      For  XmtInputFieldSetString(),  the new string to	display	in the
	      XmtInputField widget w.

       RETURNS XmtInputFieldGetString()	returns	the input value	of the	XmtIn-
       putField	w.

DESCRIPTION
       XmtInputFieldGetString()	 returns the input value of the	specified Xmt-
       InputField widget. Calling this function	is equivalent to, but somewhat
       more  efficient	than,  querying	 the XmtNinput resource	of the widget.
       Note that the value returned is a pointer to memory owned by  the  wid-
       get,  and  should not be	modified or freed. The returned	string is only
       guaranteed to be	valid until the	next time control returns to the  Xmt-
       InputField widget, so if	the value must be used beyond the scope	of the
       current procedure, a copy should	be  made  into	memory	owned  by  the
       application.

       XmtInputFieldSetString()	 sets the specified string as the new value to
       appear in the specified XmtInputField widget. Calling this function  is
       equivalent  to, but more	efficient than,	setting	the string on the Xmt-
       Ninput resource of the widget.  Note that this function does  not  sub-
       ject  the  specified  string  to	 any of	the input validation that user
       strings are subjected to, and it	does not cause	the  XmtNinputCallback
       call back list to be invoked.

SEE ALSO
       Chapter 28, The Input Field Widget,
       XmtInputField.

Xmt				  Motif	Tools	     XmtInputFieldGetString(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XmtInputFieldGetString&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help