Skip to main content

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

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tksidebar-0.2.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file tksidebar-0.2.4.tar.gz.

File metadata

  • Download URL: tksidebar-0.2.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for tksidebar-0.2.4.tar.gz
Algorithm Hash digest
SHA256 1e7886767ddcc02852577691710c159399ff9829dea6ecbd5fcde1eaf50e5de6
MD5 7abb1baace65c79c3bad47d2b0841d6e
BLAKE2b-256 790033cbcbf0601f3513add0834327cd970479dc4e56228d61a3683d46f2188b

See more details on using hashes here.

File details

Details for the file tksidebar-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: tksidebar-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for tksidebar-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 49263c8d813f55a9e29ce0f2d995e8986459e96778bc7e717923d88dd5fd7cad
MD5 24182853a3944ca897505f6f417f04a4
BLAKE2b-256 76f79ad95dc5a6aa62597f680ed73e0e0e579ba6d81d448d8d1e39d9fd761649

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page