-
-
Notifications
You must be signed in to change notification settings - Fork 21
Advanced documentation
V0rT3x edited this page Sep 1, 2024
·
3 revisions
Other plugins can affect Fancygotchi. An event can be triggered from the on_ui_setup or on_ui_update with the next command:
def on_ui_setup(self, ui):
ui._fancygotchi.fancy_change(partial=True, fancy_dict=[])
The fancy_dict can be filled with any widget options needed:
fancy_dict = {
'face': {
'position': (10, 10),
'color': ['white']
},
'name': {
'position': (50, 50),
'font': 'DejaVuSansMono',
'size': 14,
'color': ['white']
}
}