vdk 2.4.0
|
Provides dnd support. More...
#include <vdkdnd.h>
Public Member Functions | |
virtual | ~VDKDnD () |
void | AddTarget (VDKObject *target) |
void | AddSource (VDKObject *source) |
void | RemoveTarget (VDKObject *target) |
void | RemoveSource (VDKObject *source) |
void | SetIcon (VDKObject *object, VDKRawPixmap *pixmap) |
VDKDnDTable * | DnDSources () |
VDKDnDTable * | DnDTargets () |
![]() | |
bool | Destroy () |
Public Attributes | |
VDKReadOnlyValueProp< VDKDnD, VDKObject * > | DragSource |
VDKReadOnlyValueProp< VDKDnD, VDKPoint > | DragPoint |
Provides dnd support.
|
virtual |
Destructor
void VDKDnD::AddSource | ( | VDKObject * | source | ) |
Add a widget as dnd source.
void VDKDnD::AddTarget | ( | VDKObject * | target | ) |
Add a widget as dnd target.
|
inline |
Return sources dnd tables.
|
inline |
Return sources dnd target tables.
void VDKDnD::RemoveSource | ( | VDKObject * | source | ) |
Remove a target from source list
void VDKDnD::RemoveTarget | ( | VDKObject * | target | ) |
Remove a target from target list
void VDKDnD::SetIcon | ( | VDKObject * | object, |
VDKRawPixmap * | pixmap | ||
) |
Sets widget dragging icon
Receiving a dnd_drag_motion signal, DragPoint contains mouse coordinates.
The widget that actually is being dragged