arjuna.tpi.guiauto.model.page module

class arjuna.tpi.guiauto.model.page.GuiPage(*args, source_gui: arjuna.tpi.guiauto.model.gui.Gui = None, label: str = None, gns_dir: str = None, gns_file_name: str = None, **kwargs)

Bases: arjuna.tpi.guiauto.model.content.GuiAppContent

Represents a GUI Page.

It is an implementation of GuiAppContent.

Parameters

*args – Any number of positional argumnts. These are passed to the prepare() method if defined in inherited class.

Keyword Arguments
  • source_gui – (Mandatory) The Gui object from where this GuiPage is created.

  • label – Label for the this GuiPage. If not provided, the class name is used as the label.

  • gns_dir – Relative Root Directory for GNS file(s) associated with this GuiPage. Default is page directory in associated GuiApp namespace. If provided, it is considered relative to the namespace directory of associated GuiApp.

  • gns_file_name – Name of GNS file associated with this GuiPage. If not provided, default is <label>.yaml.

  • kwargs – Arbitrary keyword arugments. These are passed to the prepare() method if defined in inherited class.

property source: arjuna.tpi.guiauto.source.page.GuiPageSource

GuiPageSource object for this Gui.