Metadata-Version: 2.1
Name: tkinterweb
Version: 4.5.0
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
Requires-Python: >=3.2
Description-Content-Type: text/markdown
Provides-Extra: full
Provides-Extra: javascript
Provides-Extra: svg
License-File: LICENSE.md

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

## Overview
**TkinterWeb offers bindings and extensions to a modified version of the Tkhtml3 widget from http://tkhtml.tcl.tk, which enables enables the display of HTML and CSS code in Tkinter applications.*- 

Some of TkinterWeb's uses include:

- Displaying websites, feeds, help files, and other styled HTML
- Displaying images, including SVG images
- Designing apps using HTML templates
- Creating prettier apps, with rounded buttons and more!

All major operating systems running Python 3.2+ are supported. 

## 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()
```
![Output](https://raw.githubusercontent.com/Andereoo/TkinterWeb/main/images/tkinterweb-tkhtml.png)

**Refer to the [GitHub home page](https://github.com/Andereoo/TkinterWeb) or the [Read the Docs home page](https://tkinterweb.readthedocs.io/en/latest/) for more information.**
