Skip to main content

pywebview inspired tkinter framed cefpython3

Project description



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

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

tkcefview-2022.1.4.tar.gz (123.4 kB view details)

Uploaded Source

Built Distribution

tkcefview-2022.1.4-py3-none-any.whl (123.9 kB view details)

Uploaded Python 3

File details

Details for the file tkcefview-2022.1.4.tar.gz.

File metadata

  • Download URL: tkcefview-2022.1.4.tar.gz
  • Upload date:
  • Size: 123.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for tkcefview-2022.1.4.tar.gz
Algorithm Hash digest
SHA256 dfc2271a35227abd5b172aad340ff80d95b93628fd75255efa240bb16a980231
MD5 a7d42516e9904cad978fd87ffa652ca8
BLAKE2b-256 0f625d4aa44183592e0f9f1a617c7e62c1a54677499814d6dc8350665a7629fc

See more details on using hashes here.

File details

Details for the file tkcefview-2022.1.4-py3-none-any.whl.

File metadata

  • Download URL: tkcefview-2022.1.4-py3-none-any.whl
  • Upload date:
  • Size: 123.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for tkcefview-2022.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b20a7c1deda119bf272042105d00a6c48ef4c54ee41c45fe0259679c54c84e41
MD5 954f82ea1d3befb5f561b96e5bfdaef7
BLAKE2b-256 3d3d3139d5ba8f985a7d48820fa2377d83e84498812801ffbf70ea77ddc0d224

See more details on using hashes here.

Supported by

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