Python Forum
[PySimpleGUI] Tutorial - Name, Address, Phone GUI
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PySimpleGUI] Tutorial - Name, Address, Phone GUI
#32
(Aug-04-2018, 11:05 AM)jfong Wrote: Can you add a "focus" option for some elements? just like some widgets the tkinter has.

I just added a new "focus" option on 3 of the elements:
Input single line
Input multi line
Buttons

If no focus is manually set, then the first input or button field will be used as the focus, same as today.


I also added a new "bind_return_key" option for buttons. This allows the user to set exactly which button will react to the return key being pressed.

These changes will roll into the 2.8 release on PyPI. Prior to the official post, I am uploading to GitHub so it can be tested a little first.

Hoping it doesn't break anything!
Reply


Messages In This Thread
RE: [PySimpleGUI] Tutorial - Name, Address, Phone GUI - by PySimpleGUI - Aug-09-2018, 12:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PySimpleGUI Try Except jamesaarr 1 1,978 Nov-18-2021, 02:02 PM
Last Post: jamesaarr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020