VCV Rack API v2
|
Base class for all events. More...
#include <event.hpp>
Public Member Functions | |
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 |
Public Attributes | |
EventContext * | context = NULL |
Base class for all events.
|
inline |
Prevents the event from being handled by more Widgets.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
EventContext* rack::widget::BaseEvent::context = NULL |