org.gnu.gtk
Class Clipboard

java.lang.Object
  |
  +--org.gnu.glib.Boxed
        |
        +--org.gnu.gtk.Clipboard

public class Clipboard
extends Boxed

The Clipboard object represents a clipboard of data shared between different processes or between different widgets in the same process.

TODO: This requires gdk.Selections

TODO: callback functions


Method Summary
 void clear()
          Clear the contents of the clipboard.
 java.lang.String getText()
          Requests the contents of the clipboard as text.
 void setText(java.lang.String text)
          Set the contents of the clipboard.
 
Methods inherited from class org.gnu.glib.Boxed
equals, getHandle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public void clear()
Clear the contents of the clipboard.


setText

public void setText(java.lang.String text)
Set the contents of the clipboard.


getText

public java.lang.String getText()
Requests the contents of the clipboard as text.


Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net