-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement ideas for ttkwidgets #74
Comments
It's a very long issue, so I'll drop in my thoughts as I go.
That's about it for now |
Thank you both for taking the time to write up your thoughts. I agree with most of the suggestions, but my attention is currently focused elsewhere. Mostly I am studying, but when working on Tkinter-things I have been working on making Python packages out of Anyone is welcome to pick up any of these issues and open a PR for it, I'll be happy to review it. However, I won't have time to implement any of these things for what looks like is going to be months. Lastly to chip in on the idea of a video player widget: Perhaps it would be possible to do this by building an implementation of a widget in C? Even writing a mock-up for that would be a lot of work though and it might still not provide the performance required to play a 30FPS video. There'd certainly have to be some reliance on an external library to decode the video in the first place, making compiling on multiple platforms quite a bit more complicated. |
Thanks for the review! I started to implement some of these. |
So I've been using the
ttkwidgets
library for a quite a long time, and I have some improvement, and modification ideas I'd like to share here. Unfortunately(?), it got a bit long.Improvement ideas:
FontChooser:
master
option to the dialog, and make the chooser windowtransient
sunken
relief tosolid
to flatten it and make it look less 90-ishAutocompleteEntryListbox
instead of aLabel & Listbox
for improve search (like in tkFontChooser)ColorChooser:
HTML
label toHex
tk.Spinboxes
with attk.Spinbox
solid
Calendar:
If you don't delete it:
Toolbutton
styleLinkLabel:
hand1
tohand2
, it looks native (yes, even on Linux :). Maybepointerhand
on the Mac.ItemsCanvas:
exchange
tofleur
, it looks much more "moving"ToolTip:
I agree with @dogeek (Merge Tooltip from tkinterpp) tooltips usually have no title, and images. Today, tooltips look like this:
GitHub:
WinUI:
So, I would change this widget, because the current one doesn't look too good, and modern.
To display title labels and images, maybe buttons,
![image](https://user-images.githubusercontent.com/77941087/108590726-5206ca80-7365-11eb-98fa-fdfdace272ca.png)
![image](https://user-images.githubusercontent.com/77941087/108590738-5fbc5000-7365-11eb-9b54-63ccea963880.png)
TeachingTips
are used these days, notToolTips
Inconsistencies:
I think it’s a very good idea to collect widgets from various authors, but I think they should be standardized somehow. For example, there are very striking differences between
askfont
andaskcolor
, like thatAskfont
doesn't support master,askcolor
do, but calls itparent
(note that Tkinter usesmaster
).New widget ideas:
Here I couldn’t really decide what would fit in
ttkwidgets
because I don’t know what the concept of ttkwidgets actualky is.I think this second would be better because most people use Tkinter because they need a GUI, and for that, it's better to have such basic widgets at their disposal as well.
Simple widgets:
Entries:
tooltips
)Not sure:
Complex widgets:
This is a very good and useful package, so keep going!
The text was updated successfully, but these errors were encountered: