Deelaka
Deelaka

Reputation: 13703

How to Implement default Windows buttons to a Tkinter program?

why doesn't my python program have default windows 7/8/xp buttons but rather dull windows 2000 buttons? How can I fix this?

My dull buttoned program

my dull program

What I expect :

cool buttons

Upvotes: 1

Views: 199

Answers (1)

user2555451
user2555451

Reputation:

Use the ttk module for those effects:

import Tkinter
import ttk
root = Tkinter.Tk()
ttk.Button(text="Hello").grid()
root.mainloop()

Example:

demo window

Upvotes: 4

Related Questions