Skip to content
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

Changing toolbar background color #577

Closed
nwfistere opened this issue Apr 6, 2019 · 2 comments
Closed

Changing toolbar background color #577

nwfistere opened this issue Apr 6, 2019 · 2 comments
Milestone

Comments

@nwfistere
Copy link

Hello,

I've been trying to change the background color of toolbars with no avail. I was wondering if it is even possible at the moment? Any help would be greatly appreciated!

@jarvisteach
Copy link
Owner

Definitely possible, although there is no direct function.
Try: app.tb.config(bg='red')

Depending on your platform, you may have to change the bg on the buttons too...

 for child in app.tb.children.values():
     child.config(highlightbackground='red')

@jarvisteach jarvisteach added this to the 1.0 milestone May 18, 2019
jarvisteach added a commit that referenced this issue May 19, 2019
Started process of refactoring toolbar #231 mainly to support changing BG #577
* Moved TB variables into class
* moved function to make min bar into class
* moved hide/show into class
* moved min/max into class
* added support for changing BG (plus dealing with button border & pin label)
* added support for ttk
jarvisteach added a commit that referenced this issue May 19, 2019
@jarvisteach
Copy link
Owner

This is now implemented in the next release

jarvisteach added a commit that referenced this issue May 19, 2019
Referencing ttk styles for toolbars #231 & #577
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants