pymhf.gui.gui module#
- class pymhf.gui.gui.GUI(mod_manager: ModManager, config: pymhfConfig)#
Bases:
object- add_details_tab()#
- add_hex_tab()#
- add_settings_tab()#
Add a settings tab to configure the gui and other things.
- add_window()#
- alpha_callback(sender, app_data)#
- diff_widgets(old_widgets: list[GUIElementProtocol[WidgetData] | GroupWidgetData], new_widgets: list[GUIElementProtocol[WidgetData] | GroupWidgetData], parent: str | None = None) tuple[list[dict], list[dict]]#
- exit()#
- hide_window()#
- run()#
- show_window()#
- toggle_debug_mode(_sender, is_debug)#
- toggle_show_gui(_sender, show_gui)#
- class pymhf.gui.gui.VariableData(mod: pymhf.core.mod_loader.Mod, variable_name: str, variable_type: pymhf.gui.widget_data.VariableType, has_setter: bool)#
Bases:
object- variable_type: VariableType#
- class pymhf.gui.gui.Widgets#
Bases:
TypedDict- buttons: dict[str, GUIElementProtocol[ButtonWidgetData]]#
- variables: dict[str, GUIElementProtocol[VariableWidgetData]]#
- pymhf.gui.gui.get_id(widget: GUIElementProtocol[WidgetData] | GroupWidgetData) str#