system¶
- class bgui.system.System(textlib, theme=None)¶
Bases:
Widget
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
- normalize_text= True
- focused_widget¶
The widget which currently has “focus”
- update_mouse(pos, click_state=0)¶
Updates the system’s mouse data
- Parameters:
key – The key being input
is_shifted – Is the shift key held down?
- Return type:
None.
- render()¶
Renders the GUI system
- Return type:
None.