quick_desktop_app#

toui.apps.quick_desktop_app(name='App', html_file=None, html_str=None, url='/', assets_folder=None, secret_key=None)[source]#

Creates a desktop app and adds a single Page to it.

Parameters:
  • name (str (optional)) – The name of the app.

  • html_file (str (optional)) – The path to the HTML file that will be used to create the Page.

  • html_str (str (optional)) – The content of the Page.

  • url (str (optional)) – The URL of the Page.

  • assets_folder (str (optional)) – The path to the folder that contains the HTML file. If no HTML files are used, you can ignore this parameter.

Return type:

DesktopApp