Selection Class Reference

List of all members.

Detailed Description

Functions for handling inter-process communication via selections.


Public Member Functions

GtkSelectionData * gtkS ()
 Gets the GtkSelectionData structure.
 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, String data)
 dataSet
bit setText (String str)
 setText
String 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,
String  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:

String Selection.getText  ) 
 

getText

Returns:

GType Selection.getType  ) 
 

Gets this class types.

GtkSelectionData* Selection.gtkS  ) 
 

Gets the GtkSelectionData structure.

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 String  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.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo