tkinter-WebView widget, based on InternetExplorer.Application
Project description
tkinterIE
基于InternetExplorer.Application
的WebView组件。
使用方法
WebView(master,width:int,height:int,url:str='',**kw)
'''
master::父组件
width::初始宽度
height::初始高度
url::网址或html文件,可以为空
**kw::其它Frame参数
'''
例子:
from tkinter import Tk
from tkinterie import tkinterIE
a=Tk(classname='test tkinterie')
a.geometry('1200x700')
w=tkinterIE.WebView(a,1200,700,'www.baidu.com')
w.pack()
a.mainloop()
方法
navigate(url:str)
指向一个网址或者是html文件路径。
What's new
-1.1.0-
WebView can resize itself when father widget's size changes.
-1.0.0-
Upload to PYPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for tkinterie-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78d4ac4491ce00e3db22cd55dae48a50fc7d0a64178332ef68c679d664525136 |
|
MD5 | a422a730276af3f8344cabd79c54f182 |
|
BLAKE2b-256 | 41ecec13f8bf237a0bac36d1bc0529ef9dd52d18c139d5ea0baeddf9d60d7620 |