DND Class Reference

List of all members.

Detailed Description

Functions for handling inter-process communication via selections.


Public Member Functions

GdkDragContext * gdkD ()
 Gets the GdkDragContext structure.
 this (GdkDragContext *gdkDragContext)
 Creates a new DND from a GdkDragContext structure.
 this (Widget widget, GtkTargetList *targets, GdkDragAction actions, gint button, Event event)
 Creates a new DND.
void getData (Widget widget, GdkAtom target, guint32 time_)
 getData
void finish (bit success, bit del, guint32 time_)
 finish
Widget getSourceWidget ()
 getSourceWidget
GdkAtom destFindTarget (Widget widget, GtkTargetList *target_list)
 destFindTarget
void setIconIwdget (Widget widget, gint hot_x, gint hot_y)
 setIconIwdget
void setIconPixmap (GdkColormap *colormap, Pixmap pixmap, Bitmap mask, gint hot_x, gint hot_y)
 setIconPixmap
void setIconPixbuf (Pixbuf pixbuf, gint hot_x, gint hot_y)
 setIconPixbuf
void setIconStock (Stock stockID, gint hot_x, gint hot_y)
 setIconStock
void setIconDefault ()
 setIconDefault

Static Public Member Functions

DND begin (Widget widget, GtkTargetList *targets, GdkDragAction actions, gint button, Event event)
 begin
void highLight (Widget widget)
 highLight
void unhighLight (Widget widget)
 unhighLight
void destSet (Widget widget, GtkDestDefaults flags, GtkTargetEntry *targets, gint n_targets, GdkDragAction actions)
 destSet
void destSetProxy (Widget widget, WindowG proxy_window, GdkDragProtocol protocol, gboolean use_coordinates)
 destSetProxy
void destUnset (Widget widget)
 destUnset
GtkTargetList * destGetTargetList (Widget widget)
 destGetTargetList
void destSetTargetList (Widget widget, GtkTargetList *target_list)
 destSetTargetList
void sourceSet (Widget widget, ModifierType start_button_mask, GtkTargetEntry *targets, gint n_targets, GdkDragAction actions)
 sourceSet
void sourceUnset (Widget widget)
 sourceUnset
void sourceSetIcon (Widget widget, GdkColormap *colormap, Pixmap pixmap, Bitmap mask)
 sourceSetIcon
void sourceSetIconPixbuf (Widget widget, Pixbuf pixbuf)
 sourceSetIconPixbuf
void sourceSetIconStock (Widget widget, Stock stockID)
 sourceSetIconStock
bit checkThreshold (Widget widget, gint start_x, gint start_y, gint current_x, gint current_y)
 checkThreshold


Member Function Documentation

DND DND.begin Widget  widget,
GtkTargetList *  targets,
GdkDragAction  actions,
gint  button,
Event  event
[static]
 

begin

Parameters:
widget 
targets 
actions 
button 
event 
Returns:

bit DND.checkThreshold Widget  widget,
gint  start_x,
gint  start_y,
gint  current_x,
gint  current_y
[static]
 

checkThreshold

Parameters:
widget 
start_x 
start_y 
current_x 
gint current_y
Returns:

GdkAtom DND.destFindTarget Widget  widget,
GtkTargetList *  target_list
 

destFindTarget

Parameters:
widget 
target_list 
Returns:
GdkAtom

GtkTargetList* DND.destGetTargetList Widget  widget  )  [static]
 

destGetTargetList

Parameters:
widget 
Returns:
GtkTargetList

void DND.destSet Widget  widget,
GtkDestDefaults  flags,
GtkTargetEntry *  targets,
gint  n_targets,
GdkDragAction  actions
[static]
 

destSet

Parameters:
widget 
flags 
targets 
n_targets 
actions 

void DND.destSetProxy Widget  widget,
WindowG  proxy_window,
GdkDragProtocol  protocol,
gboolean  use_coordinates
[static]
 

destSetProxy

Parameters:
widget 
proxy_window 
protocol 
use_coordinates 

void DND.destSetTargetList Widget  widget,
GtkTargetList *  target_list
[static]
 

destSetTargetList

Parameters:
widget 
target_list 

void DND.destUnset Widget  widget  )  [static]
 

destUnset

Parameters:
widget 

void DND.finish bit  success,
bit  del,
guint32  time_
 

finish

Parameters:
success 
del 
time_ 

GdkDragContext* DND.gdkD  ) 
 

Gets the GdkDragContext structure.

void DND.getData Widget  widget,
GdkAtom  target,
guint32  time_
 

getData

Parameters:
widget 
target 
time_ 

Widget DND.getSourceWidget  ) 
 

getSourceWidget

Returns:

void DND.highLight Widget  widget  )  [static]
 

highLight

Parameters:
widget 

void DND.setIconDefault  ) 
 

setIconDefault

void DND.setIconIwdget Widget  widget,
gint  hot_x,
gint  hot_y
 

setIconIwdget

Parameters:
widget 
hot_x 
hot_y 

void DND.setIconPixbuf Pixbuf  pixbuf,
gint  hot_x,
gint  hot_y
 

setIconPixbuf

Parameters:
pixbuf 
hot_x 
hot_y 

void DND.setIconPixmap GdkColormap *  colormap,
Pixmap  pixmap,
Bitmap  mask,
gint  hot_x,
gint  hot_y
 

setIconPixmap

Parameters:
colormap 
pixmap 
mask 
hot_x 
hot_y 

void DND.setIconStock Stock  stockID,
gint  hot_x,
gint  hot_y
 

setIconStock

Parameters:
stockID 
hot_x 
hot_y 

void DND.sourceSet Widget  widget,
ModifierType  start_button_mask,
GtkTargetEntry *  targets,
gint  n_targets,
GdkDragAction  actions
[static]
 

sourceSet

Parameters:
widget 
start_button_mask 
targets 
n_targets 
actions 

void DND.sourceSetIcon Widget  widget,
GdkColormap *  colormap,
Pixmap  pixmap,
Bitmap  mask
[static]
 

sourceSetIcon

Parameters:
widget 
colormap 
pixmap 
mask 

void DND.sourceSetIconPixbuf Widget  widget,
Pixbuf  pixbuf
[static]
 

sourceSetIconPixbuf

Parameters:
widget 
pixbuf 

void DND.sourceSetIconStock Widget  widget,
Stock  stockID
[static]
 

sourceSetIconStock

Parameters:
widget 
stockID 

void DND.sourceUnset Widget  widget  )  [static]
 

sourceUnset

Parameters:
widget 

DND.this Widget  widget,
GtkTargetList *  targets,
GdkDragAction  actions,
gint  button,
Event  event
 

Creates a new DND.

Parameters:
widget 
targets 
actions 
button 
event 

DND.this GdkDragContext *  gdkDragContext  ) 
 

Creates a new DND from a GdkDragContext structure.

Parameters:
gdkDragContext 

void DND.unhighLight Widget  widget  )  [static]
 

unhighLight

Parameters:
widget 


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