1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
31
  
32
  
33
  
34
  
35
  
36
  
37
  
38
  
39
  
40
  
41
  
42
  
43
  
44
  
45
  
46
  
47
  
48
  
49
  
50
  
51
  
52
  
53
  
54
  
55
  
56
  
57
  
58
  
59
  
60
  
61
  
62
  
63
  
64
  
65
  
66
  
//! Clipboard implementation. 
//! 
//! 
 
inherit G.Object; 
 
GTK2.Clipboard clear( ); 
//! Clears the contents of the clipboard. 
//! 
//! 
 
GTK2.Clipboard destroy( ); 
//! Destructor. 
//! 
//! 
 
GTK2.Clipboard get( GDK2.Atom selection ); 
//! Returns the clipboard object for the given selection. 
//! 
//! 
 
GTK2.GdkDisplay get_display( ); 
//! Gets the GDK2.Display associated with this clipboard. 
//! 
//! 
 
GTK2.Clipboard get_for_display( GTK2.GdkDisplay display, GDK2.Atom selection ); 
//! Returns the clipboard object for the given selection. 
//! 
//! 
 
GTK2.Clipboard set_image( GTK2.GdkPixbuf pixbuf ); 
//! Sets the contents of the clipboard to the given GDK2(Pixbuf). 
//! 
//! 
 
GTK2.Clipboard set_text( string text, int len ); 
//! Sets the contents of the clipboard to the given UTF-8 string. 
//! 
//! 
 
GTK2.GdkPixbuf wait_for_image( ); 
//! Requests the contents of the clipboard as image and converts the result 
//! to a GDK2.Pixbuf. 
//! 
//! 
 
string wait_for_text( ); 
//! Requests the contents of the clipboard as text and converts the result 
//! to UTF-8 if necessary. 
//! 
//! 
 
int wait_is_image_available( ); 
//! Test to see if tehre is an image available to be pasted. 
//! 
//! 
 
int wait_is_text_available( ); 
//! Test to see if there is text available to be pasted.  This is done by 
//! requesting the TARGETS atom and checking if it contains any of the 
//! supported text targets. 
//! 
//!