WebView control for Flet
Project description
WebView control for Flet
WebView
control for Flet.
Usage
Add flet-webview
as dependency (pyproject.toml
or requirements.txt
) to your Flet project.
Example
import flet as ft
import flet_webview as fwv
def main(page: ft.Page):
wv = fwv.WebView(
url="https://flet.dev",
on_page_started=lambda _: print("Page started"),
on_page_ended=lambda _: print("Page ended"),
on_web_resource_error=lambda e: print("Page error:", e.data),
expand=True,
)
page.add(wv)
ft.app(main)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flet_webview-0.1.0.tar.gz
(18.6 kB
view details)
Built Distribution
File details
Details for the file flet_webview-0.1.0.tar.gz
.
File metadata
- Download URL: flet_webview-0.1.0.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a581fae93623372ffcbf30c81c48ad4c619760f38df022576fd83adddad54d4c
|
|
MD5 |
38b6321ab1c6e17f87fa6116a9942dd5
|
|
BLAKE2b-256 |
8dc3a7936cafaa9d55cb6f3ef0890f9f1d111e5fa4aaa5277ef0747c9d1049c7
|
File details
Details for the file flet_webview-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: flet_webview-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f523de312ee1c7af4f432b393541dd3ba1b6f85d59a3e4216103a56848e091fb
|
|
MD5 |
be9ffc858516697da30e341b54c6a5cc
|
|
BLAKE2b-256 |
f4f2d6e71041feafab25e786747b2669b991102dd2a717413dd12535b1f36e75
|