pymhf.gui.decorators module#
- pymhf.gui.decorators.BOOLEAN(label: str | None = None, **extra_args)#
Create an boolean entry field in the form of a checkbox which can take extra arguments. To see what extra arguments are available, see the DearPyGUI documentation: https://dearpygui.readthedocs.io/en/latest/reference/dearpygui.html#dearpygui.dearpygui.add_checkbox
- pymhf.gui.decorators.FLOAT(label: str | None = None, **extra_args)#
Create an float entry field which can take extra arguments. To see what extra arguments are available, see the DearPyGUI documentation: https://dearpygui.readthedocs.io/en/latest/reference/dearpygui.html#dearpygui.dearpygui.add_input_double
- pymhf.gui.decorators.INTEGER(label: str | None = None, **extra_args)#
Create an integer entry field which can take extra arguments. To see what extra arguments are available, see the DearPyGUI documentation: https://dearpygui.readthedocs.io/en/latest/reference/dearpygui.html#dearpygui.dearpygui.add_input_int
- pymhf.gui.decorators.STRING(label: str | None = None, **extra_args)#
Create an string entry field which can take extra arguments. To see what extra arguments are available, see the DearPyGUI documentation: https://dearpygui.readthedocs.io/en/latest/reference/dearpygui.html#dearpygui.dearpygui.add_input_text
- class pymhf.gui.decorators.gui_variable#
Bases:
object
- classmethod BOOLEAN(label: str | None = None, **extra_args)#
Create an boolean entry field in the form of a checkbox which can take extra arguments. To see what extra arguments are available, see the DearPyGUI documentation: https://dearpygui.readthedocs.io/en/latest/reference/dearpygui.html#dearpygui.dearpygui.add_checkbox
- classmethod FLOAT(label: str | None = None, **extra_args)#
Create an float entry field which can take extra arguments. To see what extra arguments are available, see the DearPyGUI documentation: https://dearpygui.readthedocs.io/en/latest/reference/dearpygui.html#dearpygui.dearpygui.add_input_double
- classmethod INTEGER(label: str | None = None, **extra_args)#
Create an integer entry field which can take extra arguments. To see what extra arguments are available, see the DearPyGUI documentation: https://dearpygui.readthedocs.io/en/latest/reference/dearpygui.html#dearpygui.dearpygui.add_input_int
- classmethod STRING(label: str | None = None, **extra_args)#
Create an string entry field which can take extra arguments. To see what extra arguments are available, see the DearPyGUI documentation: https://dearpygui.readthedocs.io/en/latest/reference/dearpygui.html#dearpygui.dearpygui.add_input_text
- pymhf.gui.decorators.no_gui(cls)#
Mark the mod as not requiring a tab in the gui.