smjg.libs.sdwf.dragdrop.FileDragDropHandler Class Reference

The smjg.libs.sdwf.dragdrop.FileDragDropHandler class is used to handle dragging and dropping of files into a window. More...

List of all members.

Public Types

typedef void(* Handler )(DroppedFiles files)
 The form of a method that receives and processes drag and drop messages.

Public Member Functions

 this (WindowBase w, Handler dg, bool active=true)
 Constructs a new FileDragDropHandler to handle drag and drop of files into a window.
Properties
bool active ()
 Whether the window is currently accepting dragged files.
bool active (bool a)
 Whether the window is currently accepting dragged files.


Detailed Description

The smjg.libs.sdwf.dragdrop.FileDragDropHandler class is used to handle dragging and dropping of files into a window.

Since:
0.61

Member Typedef Documentation

typedef void(* smjg.libs.sdwf.dragdrop.FileDragDropHandler.Handler)(DroppedFiles files)

The form of a method that receives and processes drag and drop messages.

Parameters:
files a structure containing information about the files dragged and dropped.
Note:
The method should not call DragFinish, since this is automatically done afterwards.


Constructor & Destructor Documentation

smjg.libs.sdwf.dragdrop.FileDragDropHandler.this ( WindowBase  w,
Handler  dg,
bool  active = true 
)

Constructs a new FileDragDropHandler to handle drag and drop of files into a window.

Parameters:
w the window into which drags will be handled by this FileDragDropHandler. The handler is automatically attached to the window.
dg a delegate that will be used to handle each drag and drop message.
active whether the drag drop handler is initially active.
Status:
done


Member Function Documentation

bool smjg.libs.sdwf.dragdrop.FileDragDropHandler.active (  ) 

Whether the window is currently accepting dragged files.

bool smjg.libs.sdwf.dragdrop.FileDragDropHandler.active ( bool  a  ) 

Whether the window is currently accepting dragged files.


The documentation for this class was generated from the following file:
Generated on Sun Jan 11 21:54:12 2009 for Stewart's D Windows Framework by  doxygen 1.5.4