Source code for pyfileconfgui.component

from typing import TYPE_CHECKING, Dict

if TYPE_CHECKING:
    from pyfileconfgui.main import PyFileConfGUI

from pyfileconfgui.dash_ext.component import DashPythonComponent


[docs]class PFCGuiComponent(DashPythonComponent): gui: 'PyFileConfGUI'
[docs] @classmethod def register_app(cls, gui: 'PyFileConfGUI'): cls.gui = gui super().register_app(gui.app)