VCV Rack API v2
|
Occurs when the mouse enters a Widget while dragging. More...
#include <Widget.hpp>
Public Attributes | |
Widget * | origin = NULL |
The dragged widget. | |
Public Attributes inherited from rack::widget::Widget::DragBaseEvent | |
int | button |
The mouse button held while dragging. | |
Public Attributes inherited from rack::widget::BaseEvent | |
EventContext * | context = NULL |
Additional Inherited Members | |
Public Member Functions inherited from rack::widget::BaseEvent | |
void | stopPropagating () const |
Prevents the event from being handled by more Widgets. | |
bool | isPropagating () const |
void | setTarget (Widget *w) const |
Tells the event handler that a particular Widget consumed the event. | |
Widget * | getTarget () const |
void | consume (Widget *w) const |
Sets the target Widget and stops propagating. | |
void | unconsume () const |
bool | isConsumed () const |
Occurs when the mouse enters a Widget while dragging.
Must consume the DragHover event to receive this event. The target sets draggedWidget
, which allows DragLeave to occur.
Widget* rack::widget::Widget::DragEnterEvent::origin = NULL |
The dragged widget.