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

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.1.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.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tk_digital_time_picker-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 55ad2fd49f86a64c54d4509a01dd4c3d3430ad419d80671de4432c5c1a885a26
MD5 c0d5a5202ae0398a495e5a0aa1aec831
BLAKE2b-256 99e4eb3be7915a35abf9254e33eb9de0385d807b13eeab9665c58be34de4ef56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tk_digital_time_picker-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7acea9fd4533685fabba61b94e5e0393b99eb3bac7388bca37c42e8d8a810fb0
MD5 879ccb622f17f982fe026d5ca587a096
BLAKE2b-256 66725f11b0a6b5ee8be6cdcc953b691dab9f66b06579297b2d9fdb296a9143d7

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