Advanced documentation - V0r-T3x/Fancygotchi GitHub Wiki
Advanced documentation
The partial refresh:
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']
}
}