*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmClipboardCopyByName (3)              
Title
Content
Arch
Section
 

Contents


 XmClipboardCopyByName(library call)     XmClipboardCopyByName(library call)




 NAME    [Toc]    [Back]
      XmClipboardCopyByName - A clipboard function that copies a data item
      passed by name

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/CutPaste.h>
      int XmClipboardCopyByName (display, window, data_id,
              buffer, length, private_id)
              Display * display;
              Window  window;
              long    data_id;
              XtPointer       buffer;
              unsigned long   length;
              long    private_id;
      (void)

 DESCRIPTION    [Toc]    [Back]
      XmClipboardCopyByName copies the actual data for a data item that was
      previously passed by name to the clipboard. Data is considered to be
      passed by name when a call to XmClipboardCopy is made with a NULL
      buffer parameter. Additional calls to this function append new data to
      the existing data.

      display   Specifies a pointer to the Display structure that was
                returned in a previous call to XOpenDisplay or XtDisplay.

      window    Specifies the window ID of a widget that relates the
                application window to the clipboard. The widget's window ID
                can be obtained through XtWindow.  The same application
                instance should pass the same window ID to each clipboard
                function it calls.

      data_id   Specifies an identifying number assigned to the data item
                that uniquely identifies the data item and the format. This
                number was assigned by XmClipboardCopy to the data item.

      buffer    Specifies the buffer from which the clipboard copies the
                data.

      length    Specifies the number of bytes in the data item.

      private_id
                Specifies the private data that the application wants to
                store with the data item.

 RETURN    [Toc]    [Back]
      XmClipboardSuccess
                The function was successful.

      XmClipboardLocked    [Toc]    [Back]
                The function failed because the clipboard was locked by



                                    - 1 -       Formatted:  January 24, 2005






 XmClipboardCopyByName(library call)     XmClipboardCopyByName(library call)




                another application. The application can continue to call
                the function again with the same parameters until the lock
                goes away. This gives the application the opportunity to ask
                if the user wants to keep trying or to give up on the
                operation.

 RELATED    [Toc]    [Back]
      XmClipboardCopy(3), XmClipboardLock(3), XmClipboardStartCopy(3), and
      XmClipboardUnlock(3).


                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmClipboardCopy Tru64 A clipboard function that copies a data item to temporary storage for later copying to clipboard
XmClipboardCopy IRIX A clipboard function that copies a data item to temporary storage for later copying to clipboard
XmClipboardCopy HP-UX A clipboard function that copies a data item to temporary storage for later copying to clipboard
XmClipboardRetrieve HP-UX A clipboard function that retrieves a data item from the clipboard
XmClipboardRetrieve IRIX A clipboard function that retrieves a data item from the clipboard
XmClipboardRetrieve Tru64 A clipboard function that retrieves a data item from the clipboard
XmClipboardInquireCount Tru64 A clipboard function that returns the number of data item formats
XmClipboardInquireCount HP-UX A clipboard function that returns the number of data item formats
XmClipboardInquireCount IRIX A clipboard function that returns the number of data item formats
XmClipboardWithdrawFormat HP-UX A clipboard function that indicates that the application no longer wants to supply a data item
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service