Blame doc/man/man3/XmClipboardStartRetrieve.3

Packit b099d7
'\" t
Packit b099d7
...\" ClipbN.sgm /main/10 1996/09/25 10:25: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 "XmClipboardStartRetrieve" "library call"
Packit b099d7
.SH "NAME"
Packit b099d7
\fBXmClipboardStartRetrieve\fP \(em A clipboard function that prepares
Packit b099d7
to retrieve data from the clipboard
Packit b099d7
.iX "XmClipboardStartRetrieve"
Packit b099d7
.iX "clipboard functions" "XmClipboardStartRetrieve"
Packit b099d7
.SH "SYNOPSIS"
Packit b099d7
.PP
Packit b099d7
.nf
Packit b099d7
#include <Xm/CutPaste\&.h>
Packit b099d7
int XmClipboardStartRetrieve (\fIdisplay, window, timestamp\fP)
Packit b099d7
        Display \fI* display\fP;
Packit b099d7
        Window  \fIwindow\fP;
Packit b099d7
        Time    \fItimestamp\fP;
Packit b099d7
\fB\fR(\fBvoid\fR)
Packit b099d7
.fi
Packit b099d7
.SH "DESCRIPTION"
Packit b099d7
.PP
Packit b099d7
\fBXmClipboardStartRetrieve\fP
Packit b099d7
tells the clipboard routines that the application is
Packit b099d7
ready to start copying an item from the clipboard\&.
Packit b099d7
The clipboard is locked by this routine and stays locked until
Packit b099d7
\fBXmClipboardEndRetrieve\fP is called\&. Between a call to
Packit b099d7
\fBXmClipboardStartRetrieve\fP and a call to
Packit b099d7
\fBXmClipboardEndRetrieve\fP, multiple calls to
Packit b099d7
\fBXmClipboardRetrieve\fP with the same format name result in data
Packit b099d7
being incrementally copied from the clipboard until the data in that
Packit b099d7
format has all been retrieved\&.
Packit b099d7
.PP
Packit b099d7
A return value of \fBXmClipboardTruncate\fP from calls to
Packit b099d7
\fBXmClipboardRetrieve\fP indicates that more data remains to be
Packit b099d7
copied in the given format\&.
Packit b099d7
It is recommended that any calls to the \fBInquire\fP functions that
Packit b099d7
the application needs to make to complete the copy from the clipboard
Packit b099d7
be made between the call to \fBXmClipboardStartRetrieve\fP and the
Packit b099d7
first call to \fBXmClipboardRetrieve\fP\&. This way, the application
Packit b099d7
does not need to call \fBXmClipboardLock\fP and
Packit b099d7
\fBXmClipboardUnlock\fP\&.
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 "\fItimestamp\fP" 10
Packit b099d7
Specifies the time of the event that triggered the copy\&.
Packit b099d7
A valid timestamp must be supplied; it is not sufficient to use
Packit b099d7
\fBCurrentTime\fP\&.
Packit b099d7
.SH "RETURN"
Packit b099d7
.IP "\fBXmClipboardSuccess\fP" 10
Packit b099d7
The function is 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
.SH "RELATED"
Packit b099d7
.PP
Packit b099d7
\fBXmClipboardEndRetrieve\fP(3),
Packit b099d7
\fBXmClipboardInquireCount\fP(3), \fBXmClipboardInquireFormat\fP(3),
Packit b099d7
\fBXmClipboardInquireLength\fP(3), \fBXmClipboardInquirePendingItems\fP(3),
Packit b099d7
\fBXmClipboardLock\fP(3),
Packit b099d7
\fBXmClipboardRetrieve\fP(3), \fBXmClipboardStartCopy\fP(3), and
Packit b099d7
\fBXmClipboardUnlock\fP(3)\&.
Packit b099d7
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:18