| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
ScrolledText gained a keyword-only use_ttk parameter to build the surrounding frame and the vertical scroll bar from the themed tkinter.ttk widgets instead of the classic tkinter widgets. The classic widgets remain the default. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Documentation build overview65 files changed · + 1 added · ± 64 modified + Added ± Modified |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Following the themed-widget work for the tkinter dialogs (simpledialog in #151848, filedialog in #152036), tkinter.scrolledtext.ScrolledText gained a keyword-only use_ttk parameter to build the surrounding frame and the vertical scroll bar from the themed tkinter.ttk widgets instead of the classic tkinter widgets.
The classic widgets remain the default for now: ScrolledText.frame and ScrolledText.vbar are documented public attributes, and classic-only scroll bar options (e.g. troughcolor, width) would not apply to a ttk.Scrollbar. use_ttk=True opts into the themed widgets.
The text widget itself stays the classic Text, as tkinter.ttk has no themed counterpart.