|
Packit |
b099d7 |
'\" t
|
|
Packit |
b099d7 |
...\" ClipbF.sgm /main/11 1996/09/25 10:24:13 cdedoc $
|
|
Packit |
b099d7 |
.de P!
|
|
Packit |
b099d7 |
.fl
|
|
Packit |
b099d7 |
\!!1 setgray
|
|
Packit |
b099d7 |
.fl
|
|
Packit |
b099d7 |
\\&.\"
|
|
Packit |
b099d7 |
.fl
|
|
Packit |
b099d7 |
\!!0 setgray
|
|
Packit |
b099d7 |
.fl \" force out current output buffer
|
|
Packit |
b099d7 |
\!!save /psv exch def currentpoint translate 0 0 moveto
|
|
Packit |
b099d7 |
\!!/showpage{}def
|
|
Packit |
b099d7 |
.fl \" prolog
|
|
Packit |
b099d7 |
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
|
|
Packit |
b099d7 |
\!!psv restore
|
|
Packit |
b099d7 |
.
|
|
Packit |
b099d7 |
.de pF
|
|
Packit |
b099d7 |
.ie ?\\*(f1?? .ds f1 \\n(.f
|
|
Packit |
b099d7 |
.el .ie ?\\*(f2?? .ds f2 \\n(.f
|
|
Packit |
b099d7 |
.el .ie ?\\*(f3?? .ds f3 \\n(.f
|
|
Packit |
b099d7 |
.el .ie ?\\*(f4?? .ds f4 \\n(.f
|
|
Packit |
b099d7 |
.el .tm ? font overflow
|
|
Packit |
b099d7 |
.ft \\$1
|
|
Packit |
b099d7 |
..
|
|
Packit |
b099d7 |
.de fP
|
|
Packit |
b099d7 |
.ie !?\\*(f4?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f4
|
|
Packit |
b099d7 |
. ds f4\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .ie !?\\*(f3?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f3
|
|
Packit |
b099d7 |
. ds f3\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .ie !?\\*(f2?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f2
|
|
Packit |
b099d7 |
. ds f2\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .ie !?\\*(f1?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f1
|
|
Packit |
b099d7 |
. ds f1\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .tm ? font underflow
|
|
Packit |
b099d7 |
..
|
|
Packit |
b099d7 |
.ds f1\"
|
|
Packit |
b099d7 |
.ds f2\"
|
|
Packit |
b099d7 |
.ds f3\"
|
|
Packit |
b099d7 |
.ds f4\"
|
|
Packit |
b099d7 |
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
|
|
Packit |
b099d7 |
.TH "XmClipboardInquireCount" "library call"
|
|
Packit |
b099d7 |
.SH "NAME"
|
|
Packit |
b099d7 |
\fBXmClipboardInquireCount\fP \(em A clipboard function that returns the number of data item formats
|
|
Packit |
b099d7 |
.iX "XmClipboardInquireCount"
|
|
Packit |
b099d7 |
.iX "clipboard functions" "XmClipboardInquireCount"
|
|
Packit |
b099d7 |
.SH "SYNOPSIS"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
.nf
|
|
Packit |
b099d7 |
#include <Xm/CutPaste\&.h>
|
|
Packit |
b099d7 |
int XmClipboardInquireCount (\fIdisplay, window, count,
|
|
Packit |
b099d7 |
max_format_name_length\fP)
|
|
Packit |
b099d7 |
Display \fI* display\fP;
|
|
Packit |
b099d7 |
Window \fIwindow\fP;
|
|
Packit |
b099d7 |
int \fI* count\fP;
|
|
Packit |
b099d7 |
unsigned long \fI* max_format_name_length\fP;
|
|
Packit |
b099d7 |
\fB\fR(\fBvoid\fR)
|
|
Packit |
b099d7 |
.fi
|
|
Packit |
b099d7 |
.SH "DESCRIPTION"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
\fBXmClipboardInquireCount\fP returns the number of data item formats available
|
|
Packit |
b099d7 |
for the data item in the clipboard\&. This function also returns the
|
|
Packit |
b099d7 |
maximum name-length for all formats in which the data item is
|
|
Packit |
b099d7 |
stored\&.
|
|
Packit |
b099d7 |
.IP "\fIdisplay\fP" 10
|
|
Packit |
b099d7 |
Specifies a pointer to the \fBDisplay\fR structure that was returned in a
|
|
Packit |
b099d7 |
previous call to \fBXOpenDisplay\fP or \fBXtDisplay\fP\&.
|
|
Packit |
b099d7 |
.IP "\fIwindow\fP" 10
|
|
Packit |
b099d7 |
Specifies the window ID of a widget that relates the application window to the
|
|
Packit |
b099d7 |
clipboard\&. The widget\&'s window ID can be obtained through
|
|
Packit |
b099d7 |
\fBXtWindow\fP\&.
|
|
Packit |
b099d7 |
The same application instance should pass the same window ID to each of the
|
|
Packit |
b099d7 |
clipboard functions that it calls\&.
|
|
Packit |
b099d7 |
.IP "\fIcount\fP" 10
|
|
Packit |
b099d7 |
Returns the number of data item formats available for the data item in
|
|
Packit |
b099d7 |
the clipboard\&. If no formats are available, this argument equals 0
|
|
Packit |
b099d7 |
(zero)\&. The count includes the formats that were passed by name\&.
|
|
Packit |
b099d7 |
.IP "\fImax_format_name_length\fP" 10
|
|
Packit |
b099d7 |
Specifies the maximum length of all format names for the data item in
|
|
Packit |
b099d7 |
the clipboard\&.
|
|
Packit |
b099d7 |
.SH "RETURN"
|
|
Packit |
b099d7 |
.IP "\fBXmClipboardSuccess\fP" 10
|
|
Packit |
b099d7 |
The function was successful\&.
|
|
Packit |
b099d7 |
.IP "\fBXmClipboardLocked\fP" 10
|
|
Packit |
b099d7 |
The function failed because the clipboard was locked by another
|
|
Packit |
b099d7 |
application\&. The application can continue to call the function again with
|
|
Packit |
b099d7 |
the same parameters until the lock goes away\&. This gives the application
|
|
Packit |
b099d7 |
the opportunity to ask if the user wants to keep trying or to give up
|
|
Packit |
b099d7 |
on the operation\&.
|
|
Packit |
b099d7 |
.IP "\fBXmClipboardNoData\fP" 10
|
|
Packit |
b099d7 |
The function could not find data on the clipboard corresponding to the
|
|
Packit |
b099d7 |
format requested\&. This could occur because the clipboard is empty;
|
|
Packit |
b099d7 |
there is data on the clipboard, but not in the requested format; or
|
|
Packit |
b099d7 |
the data in the requested format was passed by name and is no longer
|
|
Packit |
b099d7 |
available\&.
|
|
Packit |
b099d7 |
.SH "RELATED"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
\fBXmClipboardStartCopy\fP(3)\&.
|
|
Packit |
b099d7 |
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:18
|