Selection Class Reference

List of all members.

Detailed Description

Functions for handling inter-process communication via selections.


Public Member Functions

 this (GtkSelectionData *gtkSelectionData)
 Creates a new Selections from a GtkClicpboard.

GType getType ()
 Gets this class types.

 this (Selection selection)
 Creates a new Selection for a Selection.

 ~this ()
 frees the GTK structure and desctructs this Selection

void free ()
 free

void dataSet (GdkAtom type, gint format, char[] data)
 dataSet

bit setText (char[] str)
 setText

char[] getText ()
 getText

bit getTargets (GdkAtom **targets, gint *n_atoms)
 getTargets

bit getTargetsIncludeText ()
 getTargetsIncludeText


Static Public Member Functions

bit ownerSet (Widget widget, GdkAtom selection, guint32 time_)
 ownerSet

bit ownerSetForDisplay (Display display, Widget widget, GdkAtom selection, guint32 time_)
 ownerSetForDisplay

void addTarget (Widget widget, GdkAtom selection, GdkAtom target, guint info)
 addTarget

void addTargets (Widget widget, GdkAtom selection, GtkTargetEntry *targets, guint ntargets)
 addTargets

void clearTargets (Widget widget, GdkAtom selection)
 clearTargets

bit convert (Widget widget, GdkAtom selection, GdkAtom target, guint32 time_)
 convert


Constructor & Destructor Documentation

Selection.~this  ) 
 

frees the GTK structure and desctructs this Selection


Member Function Documentation

void Selection.addTarget Widget  widget,
GdkAtom  selection,
GdkAtom  target,
guint  info
[static]
 

addTarget

Parameters:
widget 
selection 
target 
info 

void Selection.addTargets Widget  widget,
GdkAtom  selection,
GtkTargetEntry *  targets,
guint  ntargets
[static]
 

addTargets

Parameters:
widget 
selection 
targets 
ntargets 

void Selection.clearTargets Widget  widget,
GdkAtom  selection
[static]
 

clearTargets

Parameters:
widget 
selection 

bit Selection.convert Widget  widget,
GdkAtom  selection,
GdkAtom  target,
guint32  time_
[static]
 

convert

Parameters:
widget 
selection 
target 
time_ 
Returns:

void Selection.dataSet GdkAtom  type,
gint  format,
char[]  data
 

dataSet

Parameters:
type 
format 
data 

void Selection.free  ) 
 

free

bit Selection.getTargets GdkAtom **  targets,
gint *  n_atoms
 

getTargets

Parameters:
targets 
n_atoms 
Returns:

bit Selection.getTargetsIncludeText  ) 
 

getTargetsIncludeText

Returns:

char [] Selection.getText  ) 
 

getText

Returns:

GType Selection.getType  ) 
 

Gets this class types.

bit Selection.ownerSet Widget  widget,
GdkAtom  selection,
guint32  time_
[static]
 

ownerSet

Parameters:
widget 
selection 
time_ 
Returns:

bit Selection.ownerSetForDisplay Display  display,
Widget  widget,
GdkAtom  selection,
guint32  time_
[static]
 

ownerSetForDisplay

Parameters:
display 
widget 
selection 
time_ 
Returns:

bit Selection.setText char[]  str  ) 
 

setText

Parameters:
str 
Returns:

Selection.this Selection  selection  ) 
 

Creates a new Selection for a Selection.

Parameters:
selection the selection to copy

Selection.this GtkSelectionData *  gtkSelectionData  ) 
 

Creates a new Selections from a GtkClicpboard.


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