VCV Rack API v2
Loading...
Searching...
No Matches
rack::widget::Widget::ContextDestroyEvent Struct Reference

Occurs before the Window (including OpenGL and NanoVG contexts) are destroyed. More...

#include <Widget.hpp>

Inheritance diagram for rack::widget::Widget::ContextDestroyEvent:
[legend]
Collaboration diagram for rack::widget::Widget::ContextDestroyEvent:
[legend]

Public Attributes

NVGcontext * vg
 
- Public Attributes inherited from rack::widget::BaseEvent
EventContextcontext = 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.
 
WidgetgetTarget () const
 
void consume (Widget *w) const
 Sets the target Widget and stops propagating.
 
void unconsume () const
 
bool isConsumed () const
 

Detailed Description

Occurs before the Window (including OpenGL and NanoVG contexts) are destroyed.

Recurses.

Member Data Documentation

◆ vg

NVGcontext* rack::widget::Widget::ContextDestroyEvent::vg

The documentation for this struct was generated from the following file: