The main gui system. Add widgets to this and then call the render() method draw the gui.
Parameters: | theme – the path to a theme directory |
---|
Add the animation to the list of currently running animations
Parameters: | animation – The animation |
---|
The widget’s children
The widget which currently has “focus”
Whether or not the widget should accept events
Move a widget to a new position over a number of frames
Parameters: |
|
---|
The widget’s name
The widget’s on_active callback
The widget’s on_click callback
The widget’s on_hover callback
The widget’s on_mouse_enter callback
The widget’s on_mouse_exit callback
The widget’s on_release callback
The widget’s parent
The widget’s position
Renders the GUI system
Return type: | None |
---|
The widget’s size
A reference to the system object
Updates the system’s keyboard data
Parameters: |
|
---|---|
Return type: | None |
Updates the system’s mouse data
Parameters: |
|
---|---|
Return type: | None |
Whether or not the widget is visible
The widget’s z-index. Widget’s with a higher z-index are drawn over those that have a lower z-index