read

pyto_ui.read(path: str, _globals: dict = None) → NavigationView

Creates a view from the given “.pytoui” file path.

Parameters:

path – The path of the file.

_globals:

A globals object to resolve the Interface Builder connections. If no value is provided, the locals from the caller will be used.

Return type:

View