Jump to content
query

Wie kann ich in Python einen Button färben?

Recommended Posts

Zitat
check_button = Style()
Style.configure("D.TButton", backgound="black")

check_button = Button(Tool, text="Check Hardware", command=action, cursor="hand2", style="D.TButton")

check_button.place(x=0, y=0, width=100, height=100)

 

Ich finde nur grausame Anleitungen zu etwas, das eigentlich komplett einfach sein soll...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...
B