Skip to main content

A tkinter widget

Project description

TimePicker

tkinter widget.

Button that displays time in HH:MM:SS format. When clicked, opens a window to edit time.

Methods:

TimePicker.__str__()				# -> str: format 'HH:MM:SS'
TimePicker.get_seconds()			# -> int: total seconds
TimePicker.set_value(value: str)	# value format: 'HH:MM:SS'

Demo

import tkinter as tk
from tk_digital_time_picker.time_picker import TimePicker

root = tk.Tk()
root.title('TimePicker testing')
root.geometry('300x300+1000+200')
root.configure(bg='grey')
TimePicker(root).pack()
TimePicker(root, hours_limit=99).pack()
root.mainloop()

TimePicker test

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

tk_digital_time_picker-0.0.2.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

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

tk_digital_time_picker-0.0.2-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file tk_digital_time_picker-0.0.2.tar.gz.

File metadata

  • Download URL: tk_digital_time_picker-0.0.2.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for tk_digital_time_picker-0.0.2.tar.gz
Algorithm Hash digest
SHA256 76b99e22c7c97f8250adf8fe0a1b77825d92fae05d0ad25cef1925013765bf44
MD5 021264298fb3b8fd23da5f41e2aa5b89
BLAKE2b-256 5ce45f4b5220413d236d151d1f1488047dce956990566db11ceaf52430095e63

See more details on using hashes here.

File details

Details for the file tk_digital_time_picker-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for tk_digital_time_picker-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8770e9f5da8194908b90df868e29942cbb35ba3bf0f3ad1c8e4065832619b366
MD5 e4f420f84bfaa94a6ff3b05f8ea07f59
BLAKE2b-256 dd7bfb48ccfcb942f530b0fa34947543ef45bc09bb7cfb06be1555a5d9fd46cb

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