tkcefview
pywebview inspired tkinter framed cefpython3
Installation
<# from master branch(git) #>
pip3 install git+https://github.com/eseunghwan/tkcefview.git
<# from pypi #>
pip3 install tkcefview
Basic Usage
import tkcefview as tc
tc.initialize()
tc.create_window("http://www.google.com")
tc.start()
Debug Mode
import tkcefview as tc
tc.initialize()
tc.create_window("[{my_html_file}](http://www.google.com)")
tc.start(debug = True)
Javascript API
import tkcefview as tc
class MyAPI(tc.BrowserAPI):
# properties, methods, and so on
count = 0
def count_up(self):
self.count += 1
self.update_count()
def count_down(self):
if self.count > 0:
self.count -= 1
self.update_count()
def update_count(self):
self.execute_function("update_count", self.count)
tc.initialize()
tc.create_window("{my_html_file}", js_api = MyAPI)
tc.start()
Metadata
Release files for tkcefview 2022.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tkcefview-2022.1.4.tar.gz | 123.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tkcefview-2022.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 247.3 kB
Release files / tkcefview-2022.1.4.tar.gz
| Download URL | tkcefview-2022.1.4.tar.gz |
|---|---|
| Size | 123.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfc2271a35227abd5b172aad340ff80d95b93628fd75255efa240bb16a980231
|
|
BLAKE2b-256 checksum How to use checksums |
0f625d4aa44183592e0f9f1a617c7e62c1a54677499814d6dc8350665a7629fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9
|
Release files / tkcefview-2022.1.4-py3-none-any.whl
| Download URL | tkcefview-2022.1.4-py3-none-any.whl |
|---|---|
| Size | 123.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b20a7c1deda119bf272042105d00a6c48ef4c54ee41c45fe0259679c54c84e41
|
|
BLAKE2b-256 checksum How to use checksums |
3d3d3139d5ba8f985a7d48820fa2377d83e84498812801ffbf70ea77ddc0d224
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9
|