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.1.tar.gz (5.3 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.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: webview2-0.0.1.tar.gz
  • Upload date:
  • Size: 5.3 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.1.tar.gz
Algorithm Hash digest
SHA256 d6b77e14348909361234e63ac0c34bf228d69da70de6f5816da66460343fe882
MD5 beba173eb89b0fb3b29211921580dff5
BLAKE2b-256 371073d8a50ff9011d3115abdb51688a9ec682b82a4c53c81f7a930ee775089d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: webview2-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cfad2f98a9103798242975f707f35678f9f7f6e8e51d19ced032d74b2c6a990e
MD5 8ccb25219ccd8701933959d134274ffb
BLAKE2b-256 329f7582f5a5ca54a8049883ff336f91a4cd9b673a5d6df88fc43536e63779bf

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