最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - Tkinter keyboard based time input - Stack Overflow

programmeradmin0浏览0评论

I'm looking for a way to input time to tkinter but all of the examples I can find are either unnecessarily fancy / or just slow to input / I'm writing the GUI as part of a tool for working with logs internally meaning the users will be fairly technical and care far more about the program functioning quickly than looking pretty.

Something like a html time input that you can simply type numbers into while it prevents you from inputting invalid times would be perfect (especially if it comes with an option for dates and/or lets you tab between the boxes. Does something like this exist for tkinter?

In summery I'd like

  • Time input
  • Fast to enter
  • is able to validate time automatically (i.e. you can't put in minute=76)
发布评论

评论列表(0)

  1. 暂无评论