![]() |
|
|
+ Search |
![]()
|
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