|
NAMEXmtInputFieldGetString(), 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) ARGUMENTSINPUTS
RETURNS XmtInputFieldGetString() returns the input value of the XmtInputField w. DESCRIPTIONXmtInputFieldGetString() returns the input value of the specified XmtInputField 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 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 appear in the specified XmtInputField widget. Calling this function is equivalent to, but more efficient than, setting the string on the XmtNinput resource of the widget. Note that this function does not subject 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 ALSOChapter 28, The Input Field Widget,XmtInputField.
Visit the GSP FreeBSD Man Page Interface. |