|
Packit |
b099d7 |
'\" t
|
|
Packit |
b099d7 |
...\" ClipbC.sgm /main/10 1996/09/25 10:23:50 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 "XmClipboardCopyByName" "library call"
|
|
Packit |
b099d7 |
.SH "NAME"
|
|
Packit |
b099d7 |
\fBXmClipboardCopyByName\fP \(em A clipboard function that copies a data item passed by name
|
|
Packit |
b099d7 |
.iX "XmClipboardCopyByName"
|
|
Packit |
b099d7 |
.iX "clipboard functions" "XmClipboardCopyByName"
|
|
Packit |
b099d7 |
.SH "SYNOPSIS"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
.nf
|
|
Packit |
b099d7 |
#include <Xm/CutPaste\&.h>
|
|
Packit |
b099d7 |
int XmClipboardCopyByName (\fIdisplay, window, data_id,
|
|
Packit |
b099d7 |
buffer, length, private_id\fP)
|
|
Packit |
b099d7 |
Display \fI* display\fP;
|
|
Packit |
b099d7 |
Window \fIwindow\fP;
|
|
Packit |
b099d7 |
long \fIdata_id\fP;
|
|
Packit |
b099d7 |
XtPointer \fIbuffer\fP;
|
|
Packit |
b099d7 |
unsigned long \fIlength\fP;
|
|
Packit |
b099d7 |
long \fIprivate_id\fP;
|
|
Packit |
b099d7 |
\fB\fR(\fBvoid\fR)
|
|
Packit |
b099d7 |
.fi
|
|
Packit |
b099d7 |
.SH "DESCRIPTION"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
\fBXmClipboardCopyByName\fP copies the actual data for a data item
|
|
Packit |
b099d7 |
that was previously passed by name to the clipboard\&. Data is
|
|
Packit |
b099d7 |
considered to be passed by name when a call to \fBXmClipboardCopy\fP
|
|
Packit |
b099d7 |
is made with a NULL buffer parameter\&. Additional calls to this
|
|
Packit |
b099d7 |
function append new data to the existing data\&.
|
|
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
|
|
Packit |
b099d7 |
clipboard function it calls\&.
|
|
Packit |
b099d7 |
.IP "\fIdata_id\fP" 10
|
|
Packit |
b099d7 |
Specifies an identifying number assigned to the data item that uniquely
|
|
Packit |
b099d7 |
identifies the data item and the format\&. This number was assigned by
|
|
Packit |
b099d7 |
\fBXmClipboardCopy\fP to the data item\&.
|
|
Packit |
b099d7 |
.IP "\fIbuffer\fP" 10
|
|
Packit |
b099d7 |
Specifies the buffer from which the clipboard copies the data\&.
|
|
Packit |
b099d7 |
.IP "\fIlength\fP" 10
|
|
Packit |
b099d7 |
Specifies the number of bytes in the data item\&.
|
|
Packit |
b099d7 |
.IP "\fIprivate_id\fP" 10
|
|
Packit |
b099d7 |
Specifies the private data that the application wants to store with the
|
|
Packit |
b099d7 |
data item\&.
|
|
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 |
.SH "RELATED"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
\fBXmClipboardCopy\fP(3), \fBXmClipboardLock\fP(3),
|
|
Packit |
b099d7 |
\fBXmClipboardStartCopy\fP(3), and \fBXmClipboardUnlock\fP(3)\&.
|
|
Packit |
b099d7 |
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:18
|