_tkinter.TclError: unknown option "-bootstyle"
See original GitHub issuepython 3.8 ttkbootstrap 0.5.1
\ttkbootstrap\tests\
python test_button.py
Traceback (most recent call last):
File "test_button.py", line 52, in <module>
button_style_frame('', style, 'Solid Button').pack(side=tk.LEFT)
File "test_button.py", line 21, in button_style_frame
btn = ttk.Button(
File "E:\anaconda3\envs\python38\lib\tkinter\ttk.py", line 607, in __init__
Widget.__init__(self, master, "ttk::button", kw)
File "E:\anaconda3\envs\python38\lib\tkinter\ttk.py", line 552, in __init__
tkinter.Widget.__init__(self, master, widgetname, kw=kw)
File "E:\anaconda3\envs\python38\lib\tkinter\__init__.py", line 2572, in __init__
self.tk.call(
_tkinter.TclError: unknown option "-bootstyle"
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
tk.call( _tkinter.TclError: unknown option "-bg" - Stack Overflow
I want to set a theme to my tkinter window as well as config my tkinter window buttons, labels with options like bg....
Read more >Python tkinter error _tkinter.tclerror: unknown option "-text"
Solution 1. I have found the reason why. Because in customtkinter 0.3, we can directly add Text in CTkLabel(Text="") like this.
Read more >Tclerror unknown option "-bg" : r/learnpython - Reddit
My code keeps getting this error: Traceback (most recent call last): File "D:\Elementtableproject\Projectelement\V3\ osa3.py ", line 267, ...
Read more >tkinter.TclError: unknown option "-style" when using ttkbootstrap
Unable to use pandastable with certain themed tkinter window. Seems to work fine with ThemedTk but throws an exception when using ttkbootstrap.
Read more >Setting border_width specifcation on CTkOptmenu errors ...
Setting border_width specifcation on CTkOptmenu errors (_tkinter.TclError: unknown option "-border_width") #499.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
another thing… the imports are different because I’m overriding the widgets. I’ve tried to simplify it.
Support author, thank you for development