Load Webview

load_url (Loading URL)

app = Pyloid(app_name="Pyloid-App")

window = app.create_window("Pyloid-Window")

window.load_url("https://www.example.com")

window.show()

load_file (Loading File)

app = Pyloid(app_name="Pyloid-App")

window = app.create_window("Pyloid-Window")

window.load_file("./index.html")

window.show()

load_html (Loading HTML)

app = Pyloid(app_name="Pyloid-App")

window = app.create_window("Pyloid-Window")

window.load_html("<h1>Hello, Pyloid!</h1>")

window.show()

Last updated