PySimpleGUI icon indicating copy to clipboard operation
PySimpleGUI copied to clipboard

[ Question] Would It Be Possible to Make Wx the Default Port or Give It an Higher Priority?

Open fclorenzo opened this issue 2 years ago • 1 comments

Type of Issue (Enhancement, Error, Bug, Question)

Question


Operating System

Windows 11

PySimpleGUI Port (tkinter, Qt, Wx, Web)

Wx


Versions

Version information can be obtained by calling sg.main_get_debug_data() Or you can print each version shown in ()

Python version (sg.sys.version)

Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64bit (AMD64)]

PySimpleGUI Version (sg.__version__)

4.60.5

GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)

4.2.1


Your Experience In Months or Years (optional)

Years Python programming experience About 4 Months I guess... Years Programming experience overall About 2.5 years now Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine) Nope Anything else you think would be helpful? Just to say that I'm in love with PySimpleGUI. Even someone who is totally blind can do good guis lol. Congrats for the awesome job!


Troubleshooting

These items may solve your problem. Please check those you've done by changing - [ ] to - [X]

  • [X] Searched main docs for your problem www.PySimpleGUI.org
  • [X] Looked for Demo Programs that are similar to your goal. It is recommend you use the Demo Browser! Demos.PySimpleGUI.org
  • [X] None of your GUI code was generated by an AI algorithm like GPT
  • [X] If not tkinter - looked for Demo Programs for specific port
  • [X] For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
  • [X] Run your program outside of your debugger (from a command line)
  • [X] Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
  • [X] Have upgraded to the latest release of PySimpleGUI on PyPI (lastest official version)
  • [ ] Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released

Detailed Description

As discussed in:

https://github.com/PySimpleGUI/PySimpleGUI/issues/4404 https://nvda-addons.groups.io/g/nvda-addons/topic/how_can_i_use_tkinter_to_set/10784805?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,10784805 https://stackoverflow.com/questions/69316287/add-accessibility-to-python-program-particularly-screen-reader-functionality

Tkinter is not capable of making accessible guis, and As these people who tried the default PySimpleGui port, I discovered it when trying to make my first window. So I come to ask: would it be possible for PySimpleGui to adopt Wx as the default port instead of Tkinter? Or at least give it some higher priority? I think accessibility as the standard benefits everyone, specially assistive technologies users and the devs who want to get started quick and follow the demos. this change could ensure they are making accessible guis with no extra effort and out of the box.

Anyway, I hope this contribution will be useful somehow and will help devs create accessible apps really easy.

Code To Duplicate

A short program that isolates and demonstrates the problem (Do not paste your massive program, but instead 10-20 lines that clearly show the problem)

This pre-formatted code block is all set for you to paste in your bit of code:


# Paste your code here

There's no relevant code to show i guess...

Screenshot, Sketch, or Drawing


Watcha Makin?

If you care to share something about your project, it would be awesome to hear what you're building. Just a chess client...

fclorenzo avatar Dec 21 '23 00:12 fclorenzo

I'm totally with you for the need of the Wx port to provide accessibility. The reason I chose to do PySimpleGUIWx was to pull in the ability to use screen readers. Tkinter won the default port contest by being the default GUI shipped with Python. Wx has a wider range of features like the System Tray Icon and I believe drag and drop may also be part of the port.

The current priority remains PySimpleGUI 5. While PSG 5 has been causing quite a delay across the board, all of the ports will benefit, including the Wx port. For the first time, an SDK reference for the Wx is part of the documentation for PySimpleGUI 5. I've been trying to get it completed by Christmas, but didn't quite make it.... more on that in an upcoming announcement. Once we get 5 out the door and the project stabilizes, we will be able to get back to progress on all the ports.

You're certainly not alone in the desire for more progress in this port. Thanks for taking the time to say something. image

PySimpleGUI avatar Dec 21 '23 20:12 PySimpleGUI