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


Manual Reference Pages  -  XMTINPUTFIELDGETSTRING (3)

NAME

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

CONTENTS

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

DESCRIPTION

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.

SEE ALSO

Chapter 28, The Input Field Widget,
XmtInputField.
Search for    or go to Top of page |  Section 3 |  Main Index


Xmt XMTINPUTFIELDGETSTRING (3) Motif Tools

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.