Metadata-Version: 2.1
Name: tkinterweb
Version: 3.25.11
Summary: HTML/CSS viewer for Tkinter
Home-page: https://github.com/Andereoo/TkinterWeb
License: MIT
Keywords: tkinter,Tkinter,tkhtml,Tkhtml,Tk,HTML,CSS,webbrowser
Classifier: Intended Audience :: Developers
Classifier: License :: Freeware
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown
License-File: LICENSE.md

# TkinterWeb 
**A fast and lightweight web browser widget for Tkinter.**

&nbsp;
&nbsp;
## Overview
**TkinterWeb offers bindings for the Tkhtml3 widget from http://tkhtml.tcl.tk, which enables displaying HTML and CSS code in Tkinter applications.**

All major operating systems running Python 3+ are supported. 

&nbsp;
&nbsp;
## Usage
**TkinterWeb provides a web browser frame, a label widget capable of displaying styled HTML, and an HTML-based geometry manager.**

**TkinterWeb can be used in any Tkinter application. Here is an example:**
```
import tkinter as tk
from tkinterweb import HtmlFrame # import the HtmlFrame widget

root = tk.Tk() # create the Tkinter window
frame = HtmlFrame(root) # create the HTML widget
frame.load_website("http://tkhtml.tcl.tk/tkhtml.html") # load a website
frame.pack(fill="both", expand=True) # attach the HtmlFrame widget to the window
root.mainloop()
```

**Refer to the [GitHub home page](https://github.com/Andereoo/TkinterWeb) for more information.**
