Skip to main content

Build immersive applications supported by WebView2 on Windows Operation Systems

Project description

Project description

Build immersive applications supported by WebView2 on Windows Operation Systems

Usage

import asyncio

from webview2 import Window, webview2_api 

class MainWindow(Window):
    @webview2_api
    def greeting(self):
        return "hello webview2"


win = MainWindow(
    title="My App", size="1480x960",# icon="logo.ico",
    url="https://www.bing.com",# cache="PATH_OF_WEBVIEW2_CACHE"
)
asyncio.run(win.run())

Titlebar

Mark the css app-region:drag; of the title bar element to achieve the effect of dragging the title bar.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webview2-0.0.2.tar.gz (142.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webview2-0.0.2-py3-none-any.whl (142.6 kB view details)

Uploaded Python 3

File details

Details for the file webview2-0.0.2.tar.gz.

File metadata

  • Download URL: webview2-0.0.2.tar.gz
  • Upload date:
  • Size: 142.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for webview2-0.0.2.tar.gz
Algorithm Hash digest
SHA256 991cb68449f4566c675f4fa50c578b7547bc23933f7b1ebbb48d1666eb88a9e5
MD5 d0b50430b61760390e6dbebd85f0f93b
BLAKE2b-256 dece20b068178827a797bbd1d8b79fc1fc2c3f5e6417b1186e612be1851a124d

See more details on using hashes here.

File details

Details for the file webview2-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: webview2-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 142.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for webview2-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6742abc1f4247926d70dc0458de0ef91678f6ccc3b7b668ef995f537ff27bb4
MD5 59f62e1fcc7d918163bb2c265f4ab121
BLAKE2b-256 3fbba99233b424694c6eb9ca65e5ce03cc12988c5dc05fdc7f3c4bf8c170873a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page