GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||
GeezerVison is showing github.com — gh-68166: Add support of "vsapi" in ttk.Style.element_create() by serhiy-storchaka · Pull Request #111393 · python/cpython Conversation
|
|
I verified that the reproducer in the issue still fails main and runs with the patch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| Create a new element in the current theme, of the given *etype* which is | ||
| expected to be either "image", "from" or "vsapi". The latter is only | ||
| available in Tk 8.6a for Windows XP and Vista and is not described here. | ||
| available in Tk 8.6a for Windows XP and Vista. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I have never heard of 'Tk 8.6a'; seems like a typo. XP is no longer supported and 8.5 is not supported on Windows. Is Vista still supported? https://www.tcl.tk/man/tcl8.6/TkCmd/ttk_vsapi.html does say just xp/vista, but does tk not support Win 10/11 'visual styles'?
In any case, the issue test code passing 'vsapi' runs on 8.6.13 on Win 10. Does it do nothing on Win 10? Given
>>> ttk.Style().theme_names()
('winnative', 'clam', 'alt', 'default', 'classic', 'vista', 'xpnative')
the vsapi tests run (and pass on my machine), so my guess is that xp/vista themes are still available and usable. If so, the doc should not suggest not. Perhaps
| available in Tk 8.6a for Windows XP and Vista. | |
| available for Windows and only supports the XP theme. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think that 8.6a refers to the alpha version of 8.6 (perhaps it was in the alpha stage when this was added).
"and only supports the XP theme" is not correct. You can use it in any theme, you can create XP-like or Vista-like theme using this API (and the "vista" theme is created in Tk by calling such commands). I left "available in Tk 8.6 on Windows" (there are other references to 8.6 and 8.5 in docs).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Now it is a new feature and will not be backported. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.