/tkTimePicker

Time picker widget made for tkinter

Primary LanguagePythonMIT LicenseMIT

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