faqts : Computers : Programming : Languages : Python : Tkinter

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 1 people (0%) answered Yes
Recently 0 of 1 people (0%) answered Yes

Entry

How+can+I+get+the+names+of+all+the+options+for+a+canvas+arc%2Foval%2Fetc.%3F

Mar 22nd, 2006 22:35
Waldi Wolf, Dan Raviv,


# w is a widget (e.g. a canvas)

cfg = w.config()

# cfg is a map-type {}
# to get the background color:

bg = cfg['background']

# you can print cfg
print cfg