Message292571
it works in py 2.7 and 3.5 normal
there must be a change in 3.6, intended or unintentional
this is my Workaround:
def get_size(event):
# self.size.set(listbox_size.get(listbox_size.curselection()))
# ____TEST____ >
ok=True
try:
lb_siz_cur = listbox_size.curselection()
lb_siz_get = listbox_size.get(lb_siz_cur)
except:
ok=False
if ok:
self.size.set(lb_siz_get)
print('<<ListboxSelect>>',
'def get_size: listbox_size.curselection()= ',
lb_siz_cur,'listbox_size.get()= ',lb_siz_get)
return
you need the workaround also for get_style and get_font |
|
Date |
User |
Action |
Args |
2017-04-29 07:30:03 | Frank Pae | set | recipients:
+ Frank Pae, terry.reedy, serhiy.storchaka, louielu |
2017-04-29 07:30:03 | Frank Pae | set | messageid: <1493451003.41.0.895621677061.issue30200@psf.upfronthosting.co.za> |
2017-04-29 07:30:03 | Frank Pae | link | issue30200 messages |
2017-04-29 07:30:03 | Frank Pae | create | |
|