[Tkinter-discuss] whats Style()
Matthew Ngaha
chigga101 at gmail.com
Sun Oct 7 16:59:52 CEST 2012
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20121007/3c823157/attachment.html>
More information about the Tkinter-discuss
mailing list