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.3.tar.gz (30.2 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.3-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tk_digital_time_picker-0.0.3.tar.gz
  • Upload date:
  • Size: 30.2 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.3.tar.gz
Algorithm Hash digest
SHA256 d1c8477fd69614bddf7dc13563113092d91fe134a625583b2dacd3a8fce79f4f
MD5 24a4a96732649c3f6ff40fd58d7f80d5
BLAKE2b-256 d82d1bec5338bb9aef7b4fe8ab68ae01f13cce6b39d04f6a33013f9bbb5ad362

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tk_digital_time_picker-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4dc0794623afda77d99f454a5e28d940e29dbb848a6fc746507cfd2b755971ba
MD5 66f6fa2e85f70f7809ebedd4e926f246
BLAKE2b-256 de837fd9a3aefad3edf37048f196e4ded465790aec80aa396fd57ffcf5f9a79b

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