Clipboard Class Reference

List of all members.

Detailed Description

Represents a clipboard of data shared between different processes or between different widgets in the same process.


Public Member Functions

GtkClipboard * gtkC ()
 Gets the GtkClipboard structure.

 this (GtkClipboard *gtkClipboard)
 Creates a new Glipboard from a GtkClicpboard.

GType getType ()
 getType

 this (Display display, GdkAtom selection)
 Creates a new Clipboard.

 this (GdkAtom selection)
 Creates a new Clipboard.

Display getDisplay ()
 getDisplay

bit setWithData (GtkTargetEntry *targets, guint n_targets, GtkClipboardGetFunc get_func, GtkClipboardClearFunc clear_func, gpointer user_data)
gboolean gtk_clipboard_set_with_owner (gtkC(), GtkTargetEntry *targets, guint n_targets, GtkClipboardGetFunc get_func, GtkClipboardClearFunc clear_func, GObject *owner)
ObjectG getOwner ()
 getOwner

void clear ()
 clear

void setText (char[] text)
 setText

void gtk_clipboard_request_contents (gtkC(), GdkAtom target, GtkClipboardReceivedFunc callback, gpointer user_data)
void gtk_clipboard_request_text (gtkC(), GtkClipboardTextReceivedFunc callback, gpointer user_data)
Selection waitForContents (GdkAtom target)
 waitForContents

char[] waitForText ()
 waitForText

bit waitIsTextAvailable ()
 waitIsTextAvailable


Member Function Documentation

void Clipboard.clear  ) 
 

clear

Display Clipboard.getDisplay  ) 
 

getDisplay

Returns:
Display

ObjectG Clipboard.getOwner  ) 
 

getOwner

Returns:

GType Clipboard.getType  ) 
 

getType

Returns:

void Clipboard.gtk_clipboard_request_contents gtkC()  ,
GdkAtom  target,
GtkClipboardReceivedFunc  callback,
gpointer  user_data
 

Todo:
move this to a clipboard listener

void Clipboard.gtk_clipboard_request_text gtkC()  ,
GtkClipboardTextReceivedFunc  callback,
gpointer  user_data
 

Todo:
move this to a clipboard listener

gboolean Clipboard.gtk_clipboard_set_with_owner gtkC()  ,
GtkTargetEntry *  targets,
guint  n_targets,
GtkClipboardGetFunc  get_func,
GtkClipboardClearFunc  clear_func,
GObject *  owner
 

Todo:
move this to a ClipboardListener

GtkClipboard* Clipboard.gtkC  ) 
 

Gets the GtkClipboard structure.

void Clipboard.setText char[]  text  ) 
 

setText

Parameters:
text 

bit Clipboard.setWithData GtkTargetEntry *  targets,
guint  n_targets,
GtkClipboardGetFunc  get_func,
GtkClipboardClearFunc  clear_func,
gpointer  user_data
 

Todo:
move this to a ClipboardListener

Clipboard.this GdkAtom  selection  ) 
 

Creates a new Clipboard.

Parameters:
selection 

Clipboard.this Display  display,
GdkAtom  selection
 

Creates a new Clipboard.

Parameters:
display 
selection 

Clipboard.this GtkClipboard *  gtkClipboard  ) 
 

Creates a new Glipboard from a GtkClicpboard.

Selection Clipboard.waitForContents GdkAtom  target  ) 
 

waitForContents

Parameters:
target 
Returns:

char [] Clipboard.waitForText  ) 
 

waitForText

Returns:

bit Clipboard.waitIsTextAvailable  ) 
 

waitIsTextAvailable

Returns:


Generated on Sun Dec 21 02:47:09 2003 for DUI by doxygen 1.3.4