WidgetApplication
Description
- Derived from
-
ApplicationBase abstract
- Extended by
-
DemoApplication sealed
Example_Application sealed
An IApplication implementation that wraps one or more IWidget instances.
The default implementation of IRenderable.Render performs the following actions:
-
Call the base IRenderable.Render method.
-
Call the IRenderable.Render methods of each IWidget.
-
Setup 2D rendering with IGraphicsContext.Graphics, then call IRenderable2D.Render2D of each IWidget, followed by the one of IWidgetGui.
Public / Methods
WidgetAdd
Adds the given widget.
The following callbacks will be made on the given widget in, if applicable:
- RenderException
-
If a graphics subsystem error has occurred.