hi guys. in my tutorial ive come across an undefined class called Style.
using python 3 most import statements produce an error so i mainly stick
to:
from tkinter import * .

here are some of the lines of code that produces errors in different
examples making it hard to move on:

Style().configure("TFrame", background="#333")
and

self.style = Style()
self.style.theme_use("default")

maybe the error is in my importing but the imports the examples use produce
errors. here are one:

from ttk import Frame, Button, Style
my interpreter doesnt know what ttk is.
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to