VCV Rack API v2
|
Occurs when a Widget begins consuming the Button press event for the left mouse button. More...
#include <Widget.hpp>
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 |
Public Attributes inherited from rack::widget::BaseEvent | |
EventContext * | context = NULL |
Occurs when a Widget begins consuming the Button press event for the left mouse button.
Must consume the Button event (on left button press) to receive this event. The target sets selectedWidget
, which allows SelectText and SelectKey to occur.