Skip to content

PaulleDemon/tkTimePicker

Repository files navigation

tkTimePicker

This is a simple and fully customizable timepicker widgets made for tkinter. You can make use of three types of timepicker:

  1. clock timepicker
  2. old-spin timepicker
  3. modern-spin timepicker

quick example

import tkinter as tk
from tktimepicker import AnalogPicker, AnalogThemes
# note: you can also make use of mouse wheel or keyboard to scroll or enter the spin timepicker
root = tk.Tk()

time_picker = AnalogPicker(root)
time_picker.pack(expand=True, fill="both")

# theme = AnalogThemes(time_picker)
# theme.setDracula()

root.mainloop()

For more examples refer Examples, For documentation read Documentation

Clock time picker

Available themes:

NavyBlue

NavyBlue

Dracula

Dracula

purple

Purple

Old-spin timepicker

old-spin timepicker

Modern-spin timepicker

old-spin timepicker

Note: you can also use mouse wheel to change the time when using modern timepicker, or you can also make use of keypress to change time if you hover over the timepicker.

Note: You can also have your own colors besides this. you can also make use of 24 hrs clock, read the documentation for more info.

Other libraries you might be interested in

Support Open-source:

I'm a passionate supporter of open-source initiatives. Developing and maintaining open-source projects requires a significant commitment of time and effort. My goal is to transition to working on open-source projects on a full-time basis. If you'd like to support me and the open-source community, please consider making small donations so I can dedicate more time to open-source work. Donate

Other ways to support

Try my production scale software products on Gumroad