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

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

#include <Xmt/InputField.h>

String XmtInputFieldGetString(Widget w)

void XmtInputFieldSetString(Widget w, String s)

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 XmtInputField w.

XmtInputFieldGetString() 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.

Chapter 28, The Input Field Widget,
XmtInputField.
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.