Added Enable/Disable to all input elements! Refresh of many Demo programs
This commit is contained in:
parent
5a59f4753b
commit
c79b0be31d
11 changed files with 389 additions and 302 deletions
|
@ -18,7 +18,7 @@ with sg.FlexForm("Keyboard Test", return_keyboard_events=True, use_default_focus
|
|||
print(button, "exiting")
|
||||
break
|
||||
if len(button) == 1:
|
||||
text_elem.Update(new_value='%s - %s'%(button, ord(button)))
|
||||
text_elem.Update(value='%s - %s' % (button, ord(button)))
|
||||
if button is not None:
|
||||
text_elem.Update(button)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue