Open rdbende opened 3 years ago
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 tksvg
and tkextrafont
, in the scheme of a larger plan to make Tkinter look better than it does together with @rdbende .
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. I also thought that the ContextMenu might actually not be necessary, I just wrote what came to mind, and as I mentioned earlier I'm not sure that MenuBar and ContextMenu and some others are actually necessary.
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,
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.Simple widgets:
Entries:
tooltips
)Not sure:
Complex widgets:
This is a very good and useful package, so keep going!