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

XmtCliPrintf(), XmtCliPuts(), XmtCliClear() - XmtCli widget output functions.

#include <Xmt/Cli.h> void XmtCliPrintf(Widget w, String format, ...)

#include <Xmt/Cli.h> void XmtCliPuts(String s, Widget w)

#include <Xmt/Cli.h> void XmtCliClear(Widget w)

INPUTS
w
An XmtCli widget.
format
For XmtCliPrintf() only, a printf()-style format string.
...
For XmtCliPrintf() only, a printf()-style variable length argument list containing one argument of appropriate type for each `%' substitution that occurs in format.
s
For XmtCliPuts() only, the string to be displayed. This string may not contain printf()-style substitutions.

XmtCliPrintf() appends a printf()-style formatted string to the text displayed in the specified XmtCli widget.

XmtCliPuts() appends the string s to the XmtCli widget w. Note that this function is unusual in that it does not take the XmtCli widget as its first argument. It takes the widget after the string for analogy to the C library function fputs() which takes the output stream as its second argument.

Both XmtCliPrintf() and XmtCliPuts() will automatically scroll the XmtCli widget, if necessary, so that all of the output text is visible. If there is a partially typed line of input displayed in the widget, then the output string appears after all other output, but before the pending input string-this means that the user's line of input is not disrupted.

XmtCliClear() erases all visible text in w, and also deletes any text that had scrolled off the top of that widget. After calling XmtCliClear(), the widget will be blank, and the user will not be able to scroll up to see previous lines. This function does not affect the command history buffer, however.

Chapter 21, Command Line Input,
XmtCli, XmtCliFlush(), XmtCliGets().
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.