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 Xmt-
	    InputField widget w.

     RETURNS XmtInputFieldGetString() returns the input value of  the  XmtInput-
     Field w.

DESCRIPTION
     XmtInputFieldGetString() returns the input value of the specified XmtInput-
     Field widget. Calling this function is equivalent to, but somewhat more ef-
     ficient  than, querying the XmtNinput resource of the widget. Note that the
     value returned is a pointer to memory owned by the widget, and  should  not
     be  modified  or  freed. The returned string is only guaranteed to be valid
     until the next time control returns to the XmtInputField 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 ap-
     pear in the specified XmtInputField widget. Calling this function is equiv-
     alent to, but more efficient than, setting the string on the XmtNinput  re-
     source  of the widget.  Note that this function does not subject the speci-
     fied 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 in-
     voked.

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

Xmt				   Motif Tools	       XmtInputFieldGetString(3)

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

home | help