Metadata-Version: 2.1
Name: tksidebar
Version: 0.2.4
Summary: a nice sidebar for tkinter app GUI
Home-page: https://github.com/youssefhoummad/tk_sidebare
Author: youssef Hoummad
Author-email: youssefhoummad@outlook.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/youssefhoummad/tk_sidebare/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# tk_sidebare
tkinter widgte to add a sidebare to your apps.

## How to install

`pip install tksidebar`


## Screenshot
![screenshot](https://github.com/youssefhoummad/tk_sidebare/blob/main/img/screenshot.jpg?raw=true)


## How to use
is simple

```
import tkinter as tk
from tksidebar import Sidebar

root = tk.Tk()
sidebare = Sidebar(root)

sidebar.add_button("path to icon1.png", "some string", command1)
sidebar.add_button("path to icon2.png", "some string", command2)
sidebar.add_button("path to icon3.png", "another string", command2, at_bottom=True)

root.mainloop()
```


## notice
you can add options to sidebare

`sidebar = Sidebar(root, bg='#EFF4F8', bg_hover='green', bg_press='yellow', accent_color='purple')`

you can also add header to sidebare but added before buttons.
`sidebar.add_header(widget)`


