a nice sidebar for tkinter app GUI
Project description
tk_sidebare
tkinter widgte to add a sidebare to your apps.
How to install
pip install tksidebar
Screenshot
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tksidebar-0.2.4.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters