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. | |
| typedef void(* smjg.libs.sdwf.dragdrop.FileDragDropHandler.Handler)(DroppedFiles files) |
The form of a method that receives and processes drag and drop messages.
| files | a structure containing information about the files dragged and dropped. |
| 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.
| 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. |
| 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.
1.5.4