-
Notifications
You must be signed in to change notification settings - Fork 1.8k
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Element int & update Pam Viewer #6130
Comments
What is the program utility Element Int & Update Pam Viewer Program ?
Basically, the font used for the elements and Multiline is hardcoded with For my WIN10 with screen size, 1920x1080 (actually it will be 1536x864 for default DPI settings in tkinter), the window of |
I should minimally make the SDK reference a demo program. The parameter viewer from the Udemy course hasn't been released as a utility. I'll look into releasing that as a demo program as well. |
Thanks for considering this. I recognize that the same information could be obtained via the web site, but your info dialogs used in the Udemy course would be incredibly convenient. Unfortunately, the small font size and font emphasis makes them useless for some people. I was able to increase the font size and set as bold for the sg.popup_scrolled (inspect.getdoc) dialog --- very helpful. -- Need something similar for all the others.
Gerry
From: PySimpleGUI ***@***.***>
Sent: Sunday, January 1, 2023 11:02 AM
To: PySimpleGUI/PySimpleGUI ***@***.***>
Cc: poco2018 ***@***.***>; Author ***@***.***>
Subject: Re: [PySimpleGUI/PySimpleGUI] [Question] Element int & update Pam Viewer (Issue #6130)
I should minimally make the SDK reference a demo program.
The parameter viewer from the Udemy course hasn't been released as a utility. I'll look into releasing that as a demo program as well.
—
Reply to this email directly, view it on GitHub <#6130 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AI57UNLTYQZ5AMS7EPWR5TDWQGTBBANCNFSM6AAAAAATNYNZL4> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AI57UNPR46XHV3IPWI2HIEDWQGTBBA5CNFSM6AAAAAATNYNZL6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSRSFDVI.gif> Message ID: ***@***.*** ***@***.***> >
|
Now that I checked, these were actually released as Demo Programs in January 2022, shortly after the Udemy course was released. They're in the Demo Programs folder. https://github.com/PySimpleGUI/PySimpleGUI/blob/master/DemoPrograms/Demo_SDK_Help_Func_Parms.py |
OK Great to know I got those viewers on a shortcut now. They are currently set to a font size of 12, which is OK with me. But, I was curious and set the font size to 16, The listing goes off the screen and is un-selectable. Can that be controlled??
Second problem is changing the font size for the SDK help dialog – now set at 10 which is unreadable for me on my monitor. Could use windows zoom, but that is a pain!!! That dialog is buried in sg.main() and I can’t get to it. I need to change the font size to 12-14 likewise. Anyway, how to get to it?? – Should be a separate dialog considering its importance??
From: PySimpleGUI ***@***.***>
Sent: Sunday, January 1, 2023 2:23 PM
To: PySimpleGUI/PySimpleGUI ***@***.***>
Cc: poco2018 ***@***.***>; Author ***@***.***>
Subject: Re: [PySimpleGUI/PySimpleGUI] [Question] Element int & update Pam Viewer (Issue #6130)
Now that I checked, these were actually released as Demo Programs in January 2022, shortly after the Udemy course was released. They're in the Demo Programs folder.
https://github.com/PySimpleGUI/PySimpleGUI/blob/master/DemoPrograms/Demo_SDK_Help_Func_Parms.py
https://github.com/PySimpleGUI/PySimpleGUI/blob/master/DemoPrograms/Demo_SDK_Help_Init_Update_Parms.py
—
Reply to this email directly, view it on GitHub <#6130 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AI57UNODXBDJSQRDAJWXIO3WQHKSLANCNFSM6AAAAAATNYNZL4> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AI57UNNFGR4AH75PF72VCM3WQHKSLA5CNFSM6AAAAAATNYNZL6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSRSHQRO.gif> Message ID: ***@***.*** ***@***.***> >
|
Not sure what's going off the screen... but regardless of which element it is, the size parameter will control how large something is and will thus enable you to change how big the element is. It'll be a while before I can do anything with making the help window a demo. Using an IDE with the docstrings (e.g. PyCharm, Wing) will remove the need for online docs or the help window. The online docs are your best choice if you're not using an IDE with the docstrings. |
OK – I can live with a font size of 12-14 for now for the viewers.
The IDE, I am using is VS Code. I let PyCharm expire. VS Code is free and easier. Not sure you can use docstrings with VS Code?? I see that you are using a web browser and , I guess. Scraping the org site. Any way to Set the size for that?
From: PySimpleGUI ***@***.***>
Sent: Sunday, January 1, 2023 3:50 PM
To: PySimpleGUI/PySimpleGUI ***@***.***>
Cc: poco2018 ***@***.***>; Author ***@***.***>
Subject: Re: [PySimpleGUI/PySimpleGUI] [Question] Element int & update Pam Viewer (Issue #6130)
Not sure what's going off the screen... but regardless of which element it is, the size parameter will control how large something is and will thus enable you to change how big the element is.
It'll be a while before I can do anything with making the help window a demo. Using an IDE with the docstrings (e.g. PyCharm, Wing) will remove the need for online docs or the help window. The online docs are your best choice if you're not using an IDE with the docstrings.
—
Reply to this email directly, view it on GitHub <#6130 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AI57UNLDZNUSER3DF2A45NLWQHUXFANCNFSM6AAAAAATNYNZL4> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AI57UNMXJRB2QDESSNL6KLTWQHUXFA5CNFSM6AAAAAATNYNZL6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSRSIRVS.gif> Message ID: ***@***.*** ***@***.***> >
|
PyCharm is free as well. I'm not sure exactly how to integrate docstrings in VS code. A plugin may be required, but haven't looked into the details. The PySimpleGUI code doesn't do any scraping. The web browser calls are to open the web browser if you click on the link at the bottom of the window. The window uses the Python help system and in some places the inspect module. You can access the help system right from the console/command line. You can get help on Elements and individual methods like the
One advantage the website https://www.PySimpleGUI.org has is the search box which will not only find the calls but other related information. |
Type of Issue (Enhancement, Error, Bug, Question)
Question
where is the program utility Element Int & Update Pam Viewer Program??
AND
How do you set the font size for the sg.main_sdk_help() program
Environment
Operating System
Windows version 10
PySimpleGUI Port (tkinter, Qt, Wx, Web)
tkinter
Versions
Python version (
sg.sys.version
)3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)]
PySimpleGUI Version (
sg.__version__
)4.60.4
GUI Version (tkinter (
sg.tclversion_detailed
), PySide2, WxPython, Remi)8.6.12
Your Experience In Months or Years (optional)
5 Years Python programming experience
10 Years Programming experience overall
No Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
Detailed Description
where is the program utitity Element Int & Update pam ViEwer??
AND
How do you set the font size for the sg.main_sdk-help() program
Code To Duplicate
# Paste your code here
Screenshot, Sketch, or Drawing
The text was updated successfully, but these errors were encountered: