IWidget
Description
Base interface for general-purpose application widgets.
Usually, an IApplication hosts one or more IWidget objects. Application input events are forwarded to widgets unmodified, i.e. the widget is responsible for translating them to its Bounds as necessary (e.g. using a BoundedInput object). Widgets are not required to limit their rendering to their bounds.
- See also
Public / Methods
Public / Attributes
SettingsPath
Path to a directory that this widget can use to store own data and settings.
The settings path may only be set before Initialize is called on the widget. Afterwards, the settings path cannot be changed.
Extensions
SettingsLoad
Loads the settings of this widget.
- IOException
-
If an I/O error has occurred while reading the settings file.
- ValidatingException
-
If the contents of the settings file is malformed.
SettingsSave
Saves the settings of this widget.
- IOException
-
If an I/O error has occurred while writing the settings file.