python - python3.3 tkinter ttk 'padding' -
the padding option widgets can set this:
frm = ttk.frame(padding = "5 5 10 10")
i'd examine , change during program execution, , have written this:
if frm['padding'] == "5 5 10 10":
the problem is, "5 5 10 10" not returned! pixel object @ 0x1d753f0, etc. memory location changes every time program runs, of no use me. how can usable response?
frm['padding']
returns tuple of pixel objects. can each pixel object value via string
attribute:
for po in f['padding']: print po.string
Comments
Post a Comment