Pyloid Docs
GithubLanguage
  • 💎What is Pyloid?
  • Getting Started
    • Prerequisites
    • Create Pyloid App
  • Core Concepts
    • Thread Safety
  • API
    • Python (Backend)
      • Pyloid
      • BrowserWindow
      • Monitor
      • TrayEvent
      • Utility Functions
      • RPC
      • Store
    • Javascript (Frontend)
      • Event
      • BaseAPI
      • RPC
  • Guides
    • Load Webview
    • Serve Frontend
    • Calling Python from JS
    • Calling JS from Python
    • Keyboard Shotcuts
    • Notification
    • Tray
    • Timer
    • File Watcher
    • Clipboard
    • Window Position
    • Devtools
    • Window Drag Region
    • Window Radius And Transparent
    • Autostart
    • Production Utils
    • Desktop Monitor
    • File Dialog
    • Splash Screen
Powered by GitBook
On this page
  • load_url (Loading URL)
  • load_file (Loading File)
  • load_html (Loading HTML)

Was this helpful?

Edit on GitHub
  1. Guides

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()
PreviousRPCNextServe Frontend

Last updated 6 months ago

Was this helpful?