1XmClipboardInquireCount(library call)    XmClipboardInquireCount(library call)
2
3
4

NAME

6       XmClipboardInquireCount  — A clipboard function that returns the number
7       of data item formats
8

SYNOPSIS

10       #include <Xm/CutPaste.h>
11       int XmClipboardInquireCount (display, window, count,
12               max_format_name_length)
13               Display * display;
14               Window  window;
15               int     * count;
16               unsigned long   * max_format_name_length;
17       (void)
18

DESCRIPTION

20       XmClipboardInquireCount returns the number of data item formats  avail‐
21       able for the data item in the clipboard. This function also returns the
22       maximum name-length for all formats in which the data item is stored.
23
24       display   Specifies  a  pointer  to  the  Display  structure  that  was
25                 returned in a previous call to XOpenDisplay or XtDisplay.
26
27       window    Specifies the window ID of a widget that relates the applica‐
28                 tion window to the clipboard. The widget's window ID  can  be
29                 obtained  through  XtWindow.   The  same application instance
30                 should pass the same window ID to each of the clipboard func‐
31                 tions that it calls.
32
33       count     Returns  the  number  of  data item formats available for the
34                 data item in the clipboard. If no formats are available, this
35                 argument equals 0 (zero). The count includes the formats that
36                 were passed by name.
37
38       max_format_name_length
39                 Specifies the maximum length of all format names for the data
40                 item in the clipboard.
41

RETURN

43       XmClipboardSuccess
44                 The function was successful.
45
46       XmClipboardLocked
47                 The  function  failed  because  the  clipboard  was locked by
48                 another application. The application can continue to call the
49                 function  again  with the same parameters until the lock goes
50                 away. This gives the application the opportunity  to  ask  if
51                 the user wants to keep trying or to give up on the operation.
52
53       XmClipboardNoData
54                 The function could not find data on the clipboard correspond‐
55                 ing to the format requested. This  could  occur  because  the
56                 clipboard  is  empty; there is data on the clipboard, but not
57                 in the requested format; or the data in the requested  format
58                 was passed by name and is no longer available.
59
61       XmClipboardStartCopy(3).
62
63
64
65                                         XmClipboardInquireCount(library call)
Impressum