Compare commits

...
Sign in to create a new pull request.

4520 commits

Author SHA1 Message Date
PySimpleGUI
a0d3e7ce1f
Merge pull request #6613 from PySimpleGUI/Dev-latest
Ooops... forgot to update the Udemy coupon in the readme too.
2023-11-26 17:23:44 -05:00
PySimpleGUI
aae672824c Ooops... forgot to update the Udemy coupon in the readme too. 2023-11-26 17:23:25 -05:00
PySimpleGUI
117f40917d
Merge pull request #6611 from PySimpleGUI/Dev-latest
Bumped the version number (forgot to with the Udemy coupon)
2023-11-25 12:57:32 -05:00
PySimpleGUI
bf4630ec65 Bumped the version number (forgot to with the Udemy coupon) 2023-11-25 12:57:17 -05:00
PySimpleGUI
2bda3e1950
Merge pull request #6610 from PySimpleGUI/Dev-latest
New Udemy Coupon Code
2023-11-25 12:54:09 -05:00
PySimpleGUI
a2cd9fb702 New Udemy Coupon Code 2023-11-25 12:53:49 -05:00
PySimpleGUI
634eb9c652
Merge pull request #6609 from PySimpleGUI/Dev-latest
Make the multiple open demo program more useful
2023-11-23 14:28:46 -05:00
PySimpleGUI
05939b2725 Make the multiple open demo program more useful 2023-11-23 14:28:24 -05:00
PySimpleGUI
3f96ecf9ae Automated Update! 2023-11-19 18:30:26 +00:00
PySimpleGUI
148f548565
Merge pull request #6595 from PySimpleGUI/Dev-latest
Fixed docstring for execute_command_subprocess.  The command descript…
2023-11-13 13:15:38 -05:00
PySimpleGUI
e949083fda Fixed docstring for execute_command_subprocess. The command description was incorrect 2023-11-13 13:15:23 -05:00
PySimpleGUI
93358382b4 Automated Update! 2023-11-10 18:30:24 +00:00
PySimpleGUI
e59310d5fc Automated Update! 2023-11-07 18:30:22 +00:00
PySimpleGUI
2b8941fad9
Merge pull request #6579 from PySimpleGUI/Dev-latest
One more change to sizer so that it uses pad instead of size.
2023-10-29 13:23:31 -04:00
PySimpleGUI
cb39c58f98 One more change to sizer so that it uses pad instead of size. 2023-10-29 13:23:16 -04:00
PySimpleGUI
51f43ce318
Merge pull request #6578 from PySimpleGUI/Dev-latest
Added doctring and destroy previous right click menu to set_right_cli…
2023-10-29 13:11:11 -04:00
PySimpleGUI
85f3f472f7 Added doctring and destroy previous right click menu to set_right_click_menu AND Changed Sizer element to use Canvas instead of Column element 2023-10-29 13:10:57 -04:00
PySimpleGUI
e1f2d7f2d8
Merge pull request #6576 from PySimpleGUI/Dev-latest
New udemy coupon.
2023-10-27 12:13:37 -04:00
PySimpleGUI
bed18263e6 New udemy coupon. 2023-10-27 12:13:19 -04:00
PySimpleGUI
104cd14f35
Merge pull request #6575 from PySimpleGUI/Dev-latest
Update readthedocs.yml
2023-10-27 11:49:15 -04:00
PySimpleGUI
1ee5a7f9d2 Update readthedocs.yml 2023-10-27 11:49:01 -04:00
PySimpleGUI
6699f514a0
Merge pull request #6574 from PySimpleGUI/Dev-latest
New yaml file for readthedocs
2023-10-27 11:47:43 -04:00
PySimpleGUI
0f16031512 New yaml file for readthedocs 2023-10-27 11:47:21 -04:00
PySimpleGUI
cb324f35fc
Merge pull request #6573 from PySimpleGUI/Dev-latest
New Udemy Coupon Code
2023-10-27 11:37:19 -04:00
PySimpleGUI
f78e4913a2 New Udemy Coupon Code 2023-10-27 11:36:53 -04:00
PySimpleGUI
9b63e2e661 Automated Update! 2023-10-26 17:30:26 +00:00
PySimpleGUI
29127a73ee Automated Update! 2023-10-23 17:30:23 +00:00
PySimpleGUI
746b79d61a Automated Update! 2023-10-21 17:30:27 +00:00
PySimpleGUI
5131c537f5 Automated Update! 2023-10-20 17:30:27 +00:00
PySimpleGUI
79e9b6198e
Merge pull request #6554 from PySimpleGUI/Dev-latest
Fixed numpy deprecated problems.   Checking in improvement made long …
2023-10-16 08:58:12 -04:00
PySimpleGUI
fe31a0a7ed Fixed numpy deprecated problems. Checking in improvement made long ago buit forgot to check in 2023-10-16 08:57:47 -04:00
PySimpleGUI
57b72ba938
Merge pull request #6540 from PySimpleGUI/Dev-latest
Remove extra space accidently added (learned you can put spaces after…
2023-10-05 16:26:37 -04:00
PySimpleGUI
7f485c5f78 Remove extra space accidently added (learned you can put spaces after periods in Python?) 2023-10-05 16:26:20 -04:00
PySimpleGUI
03ed1948e2
Merge pull request #6539 from PySimpleGUI/Dev-latest
Replaced PIL's deprecated constant ANTIALIAS with LANCZOS
2023-10-05 16:12:38 -04:00
PySimpleGUI
3776730709 Replaced PIL's deprecated constant ANTIALIAS with LANCZOS 2023-10-05 16:11:51 -04:00
PySimpleGUI
77ba1eb26f
Merge pull request #6538 from PySimpleGUI/Dev-latest
Dev latest
2023-10-05 15:04:43 -04:00
PySimpleGUI
ddebd7a5c6 Added init for _mouse_offset_x and y in case tkinter doesn't call the mouse down callback 2023-10-05 15:03:52 -04:00
PySimpleGUI
5f8735d1f3 Fix for grab anywhere window movement and control+left_mouse_drag. Window move smoother, including the Move-All-Windows feature. Thank you JASON for the help! 2023-10-02 13:12:48 -04:00
PySimpleGUI
41e137e797
Merge pull request #6529 from PySimpleGUI/Dev-latest
New Udemy coupons... added earlier but forgot to post to GitHub
2023-10-02 09:52:25 -04:00
PySimpleGUI
2470d10afc New Udemy coupons... added earlier but forgot to post to GitHub 2023-10-02 09:52:10 -04:00
PySimpleGUI
dee0c81b58
Merge pull request #6512 from PySimpleGUI/Dev-latest
Dev latest
2023-09-21 16:10:57 -04:00
PySimpleGUI
4504ea77c3 New Udemy Coupon 2023-09-21 16:09:33 -04:00
PySimpleGUI
ce32fe3814 Automated Update! 2023-09-09 17:30:27 +00:00
PySimpleGUI
48c7b673c1 Automated Update! 2023-09-06 17:30:28 +00:00
PySimpleGUI
ed128a36f5 fixed bool instead of string in doctring 2023-08-31 12:24:21 -04:00
PySimpleGUI
ee972660c0
Merge pull request #6494 from PySimpleGUI/Dev-latest
Added  Added no_buffering option to popup_animated
2023-08-31 12:18:58 -04:00
PySimpleGUI
3907e7636e Added Added no_buffering option to popup_animated 2023-08-31 12:18:43 -04:00
PySimpleGUI
9cf9258835
Merge pull request #6488 from PySimpleGUI/Dev-latest
Made Table Element Header mouse-over and clicked be the inverse of th…
2023-08-28 07:09:54 -04:00
PySimpleGUI
0459adac69 Made Table Element Header mouse-over and clicked be the inverse of the normal header colors. Makes for a much nicer experience 2023-08-28 07:09:38 -04:00
PySimpleGUI
cf3345303d Automated Update! 2023-08-26 17:30:18 +00:00
PySimpleGUI
5761be84d8
Merge pull request #6484 from PySimpleGUI/Dev-latest
Rebuilt the call reference based on new set_index_color parms
2023-08-21 17:33:45 -04:00
PySimpleGUI
0b6eb6d5b3 Rebuilt the call reference based on new set_index_color parms 2023-08-21 17:33:27 -04:00
PySimpleGUI
4a5e2316e0
Merge pull request #6483 from PySimpleGUI/Dev-latest
Added highlight colors to the set_index_color method. Parms highlight…
2023-08-21 17:31:23 -04:00
PySimpleGUI
77ea65b8de Added highlight colors to the set_index_color method. Parms highlight_text_color & highlight_background_color control changing the highlight colors 2023-08-21 17:31:08 -04:00
PySimpleGUI
0f32107272
Merge pull request #6482 from PySimpleGUI/Dev-latest
New Udemy Coupon.  Added Listbox.set_index_color and Listbox.select_i…
2023-08-20 17:20:22 -04:00
PySimpleGUI
393050c1ae New Udemy Coupon. Added Listbox.set_index_color and Listbox.select_index to the SDK Call Reference 2023-08-20 17:20:05 -04:00
PySimpleGUI
31e8c51fba
Merge pull request #6481 from PySimpleGUI/Dev-latest
Added Listbox.select_index and Listbox.set_index_color
2023-08-19 11:53:22 -04:00
PySimpleGUI
2ece7d4ad5 Added Listbox.select_index and Listbox.set_index_color 2023-08-19 11:53:08 -04:00
PySimpleGUI
c34d28bcd4
Merge pull request #6480 from PySimpleGUI/Dev-latest
Fixed spelling errors... resuse should have been reuse
2023-08-16 09:35:14 -04:00
PySimpleGUI
1d3126f884 Fixed spelling errors... resuse should have been reuse 2023-08-16 09:34:58 -04:00
PySimpleGUI
81638809c8
Merge pull request #6478 from PySimpleGUI/Dev-latest
Fixed bug in Button.update.  Corrected when activeforeground and acti…
2023-08-14 12:22:29 -04:00
PySimpleGUI
c51d670956 Fixed bug in Button.update. Corrected when activeforeground and activebackground are set. Removing them in version above was a mistake 2023-08-14 12:22:12 -04:00
PySimpleGUI
db4fe52ec8
Merge pull request #6477 from PySimpleGUI/Dev-latest
Fixed bug in Button.update.  Was setting the activeforeground and act…
2023-08-13 11:47:30 -04:00
PySimpleGUI
f292d757de Fixed bug in Button.update. Was setting the activeforeground and activebackground which broke the mouseover or mouse press colors 2023-08-13 11:47:16 -04:00
PySimpleGUI
a39e180d13
Merge pull request #6473 from PySimpleGUI/Dev-latest
Allow window resizing when in single photo mode.  Updated the PIL res…
2023-08-10 12:45:21 -04:00
PySimpleGUI
854bdccdd3 Allow window resizing when in single photo mode. Updated the PIL resizing to much more recent resizing code. 2023-08-10 12:44:33 -04:00
PySimpleGUI
73a1b085ee
Merge pull request #6460 from PySimpleGUI/Dev-latest
Addition of black2 theme, Fix typo of text in _widget_was_created
2023-07-31 12:32:21 -04:00
PySimpleGUI
5035d24f2c Addition of black2 theme, Fix typo of text in _widget_was_created 2023-07-31 12:31:59 -04:00
PySimpleGUI
3c3312f5a2
Merge pull request #6444 from PySimpleGUI/Dev-latest
New tagline.  Updated call reference using newest docstrings
2023-07-12 17:21:12 -04:00
PySimpleGUI
aaf391508c New tagline. Updated call reference using newest docstrings 2023-07-12 17:20:56 -04:00
PySimpleGUI
76e4071239
Merge pull request #6436 from PySimpleGUI/Dev-latest
Changed Table click events to be generated on Button Release instead …
2023-07-04 08:50:24 -04:00
PySimpleGUI
2ce3c7f75e Changed Table click events to be generated on Button Release instead of Button (down) 2023-07-04 08:50:08 -04:00
PySimpleGUI
415f55c3a7
Merge pull request #6435 from PySimpleGUI/Dev-latest
Another try at correcting the Table.get docstring
2023-07-03 18:50:08 -04:00
PySimpleGUI
3de64e7d99 Another try at correcting the Table.get docstring 2023-07-03 18:49:55 -04:00
PySimpleGUI
e41be1c157
Merge pull request #6434 from PySimpleGUI/Dev-latest
Corrected the Table.get docstring to reflect that it returns a list o…
2023-07-03 18:47:20 -04:00
PySimpleGUI
d97777b262 Corrected the Table.get docstring to reflect that it returns a list of ints 2023-07-03 18:47:04 -04:00
PySimpleGUI
884d49a14f Automated Update! 2023-06-25 17:30:19 +00:00
PySimpleGUI
05d22968ae
Merge pull request #6425 from PySimpleGUI/Dev-latest
Changed Python GUIs for Humans to just GUIs for Humans
2023-06-23 10:36:20 -04:00
PySimpleGUI
891b0a5b36 Changed Python GUIs for Humans to just GUIs for Humans 2023-06-23 10:36:02 -04:00
PySimpleGUI
0fd1e011a1
Merge pull request #6421 from PySimpleGUI/Dev-latest
Fix for popup_get_file when using no_window=True. Now returns None if…
2023-06-19 11:23:16 -04:00
PySimpleGUI
130d5492f0 Fix for popup_get_file when using no_window=True. Now returns None if cancelled or window closed 2023-06-19 11:23:02 -04:00
PySimpleGUI
c11e950415
Merge pull request #6412 from PySimpleGUI/Dev-latest
New Udemy Coupon
2023-06-14 12:43:08 -04:00
PySimpleGUI
549330d0aa New Udemy Coupon 2023-06-14 12:42:47 -04:00
PySimpleGUI
654c2d2930
Merge pull request #6410 from PySimpleGUI/Dev-latest
Fix for crash when no headings specified for a table by casting value…
2023-06-13 17:42:34 -04:00
PySimpleGUI
8004b258a9 Fix for crash when no headings specified for a table by casting values into strings 2023-06-13 17:42:20 -04:00
PySimpleGUI
7f22061c3f
Merge pull request #6405 from PySimpleGUI/Dev-latest
Fix in pinning demo
2023-06-09 06:31:31 -04:00
PySimpleGUI
4a883851e6 Fix in pinning demo 2023-06-09 06:31:15 -04:00
PySimpleGUI
d3372dda27
Merge pull request #6397 from PySimpleGUI/Dev-latest
Fix for Combo.update background color changing incorrect widget setting.
2023-05-29 11:31:38 -04:00
PySimpleGUI
0ff0efa3c6 Fix for Combo.update background color changing incorrect widget setting. 2023-05-29 11:31:21 -04:00
PySimpleGUI
8b16f3183c
Merge pull request #6396 from PySimpleGUI/Dev-latest
Dev latest
2023-05-29 10:21:35 -04:00
PySimpleGUI
eeb95398e0 Added a function around the functional example 2023-05-29 10:21:17 -04:00
PySimpleGUI
b62648aa23 Expanded class wrapper demo to explain it's not a recommended design pattern. When initially released there was no explanation accompanying the code. 2023-05-29 10:19:32 -04:00
PySimpleGUI
79a3b85e73 Automated Update! 2023-05-25 17:30:21 +00:00
PySimpleGUI
e5d0c3d471 Automated Update! 2023-05-24 17:30:18 +00:00
PySimpleGUI
935285f715
Merge pull request #6384 from PySimpleGUI/Dev-latest
Dev latest
2023-05-21 19:39:33 -04:00
PySimpleGUI
955a7cba07 Additional of release notes for 4.60.5 dot release posted to PyPI 2023-05-21 19:39:16 -04:00
PySimpleGUI
e7b380ee7e Show Critical upgrade service messages. Removed the extra upgrade from github button from tab. 2023-05-21 19:38:07 -04:00
PySimpleGUI
ca66e38c99
Merge pull request #6383 from PySimpleGUI/Dev-latest
Only enable the Mac alpha channel 0.99 patch when tkinter version is …
2023-05-20 08:30:50 -04:00
PySimpleGUI
d368af0547 Only enable the Mac alpha channel 0.99 patch when tkinter version is 8.6.12. This will help 8.6.13 and later systems with window quality 2023-05-20 08:30:26 -04:00
PySimpleGUI
3952e1a438
Merge pull request #6382 from PySimpleGUI/Dev-latest
Addition of right click menu erase, save image and display of crosshairs
2023-05-18 12:05:22 -04:00
PySimpleGUI
440a34888f Addition of right click menu erase, save image and display of crosshairs 2023-05-18 12:05:07 -04:00
PySimpleGUI
003a03dfeb
Merge pull request #6380 from PySimpleGUI/Dev-latest
Added check for None and COLOR_SYSTEM_DEFAULT to fix a crash problem
2023-05-16 12:52:52 -04:00
PySimpleGUI
f3a7e10ce0 Added check for None and COLOR_SYSTEM_DEFAULT to fix a crash problem 2023-05-16 12:52:36 -04:00
PySimpleGUI
db1f02af2f
Merge pull request #6377 from PySimpleGUI/Dev-latest
Dev latest
2023-05-14 12:22:52 -04:00
PySimpleGUI
fe41f3cd1f New Udemy Coupon 2023-05-14 12:22:32 -04:00
PySimpleGUI
d7c24da2bf Automated Update! 2023-05-12 17:30:17 +00:00
PySimpleGUI
2e6b74f0f1 Input element - fix for bug with text color & logic wasn't quite right with the "read for disabled" stuff in the update as well as when making window 2023-05-11 15:37:47 -04:00
PySimpleGUI
74098a440b
Merge pull request #6370 from PySimpleGUI/Dev-latest
Custom Titlebar - Support for disable close, disable resizing, disabl…
2023-05-09 09:21:30 -04:00
PySimpleGUI
43c49380a2 Custom Titlebar - Support for disable close, disable resizing, disable minimize. Better distro support and display of information from Upgrade Service 2023-05-09 09:21:12 -04:00
PySimpleGUI
def60b9ba8
Merge pull request #6356 from PySimpleGUI/Dev-latest
Added formatted_datetime_now function for easy formatting current dat…
2023-04-26 16:29:39 -04:00
PySimpleGUI
7cf4c102fe Added formatted_datetime_now function for easy formatting current date and time. Added code for Intelligent Upgrade Service but not enabling any popups while testing. Added timer_stop_usec that returns timer value in microseconds. 2023-04-26 16:29:09 -04:00
PySimpleGUI
ee794099bf
Merge pull request #6354 from PySimpleGUI/Dev-latest
Changed enter_submits to True so that the bind_return_key works corre…
2023-04-26 09:47:28 -04:00
PySimpleGUI
cb0da5887d Changed enter_submits to True so that the bind_return_key works correctly. 2023-04-26 09:47:14 -04:00
PySimpleGUI
fe7fbcbc44
Merge pull request #6350 from PySimpleGUI/Dev-latest
Moved update animation call to after check for window closed. Was get…
2023-04-22 10:13:50 -04:00
PySimpleGUI
fb5fdbdd5c Moved update animation call to after check for window closed. Was getting an error because attempt to update animation was happening after window was closed 2023-04-22 10:13:36 -04:00
PySimpleGUI
041c5ba4e6
Merge pull request #6348 from PySimpleGUI/Dev-latest
Fix for Input Elements unresponsive on MacOS 13.2.1 Ventura when no-t…
2023-04-21 18:25:25 -04:00
PySimpleGUI
71c50d40b4 Fix for Input Elements unresponsive on MacOS 13.2.1 Ventura when no-titlebar is enabled 2023-04-21 18:25:09 -04:00
PySimpleGUI
5efbff1cb8 Automated Update! 2023-04-21 17:30:19 +00:00
PySimpleGUI
a78498fcca
Merge pull request #6347 from PySimpleGUI/Dev-latest
Window threading changed so that end_key is now optional.  BE CAREFUL…
2023-04-21 07:00:12 -04:00
PySimpleGUI
f06fcdc0a6 Window threading changed so that end_key is now optional. BE CAREFUL when leaving it out as you won't be backward compatible. 2023-04-21 06:59:52 -04:00
PySimpleGUI
982cb755ba Automated Update! 2023-04-20 17:30:22 +00:00
PySimpleGUI
8b4e19a0cd Automated Update! 2023-04-19 17:30:25 +00:00
PySimpleGUI
8729971855
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2023-04-18 06:27:38 -04:00
PySimpleGUI
cdba184ed8
Merge pull request #6339 from PySimpleGUI/Dev-latest
Changed Radio activeforeground to be same as text color so mouseover …
2023-04-18 03:58:29 -04:00
PySimpleGUI
ad3465d9ba Changed Radio activeforeground to be same as text color so mouseover won't change color (previously did this for the Checkbox element) 2023-04-18 03:58:16 -04:00
PySimpleGUI
0bcd49a1b7
Merge pull request #6330 from PySimpleGUI/Dev-latest
Dev latest
2023-04-11 07:24:10 -04:00
PySimpleGUI
f1cd369302 New Udemy Coupon. Fix for bug in and better info in Watermark 2023-04-11 07:23:53 -04:00
PySimpleGUI
ad76b5deeb New Udemy Coupon 2023-04-11 07:22:47 -04:00
PySimpleGUI
635baca3cd Automated Update! 2023-03-27 17:30:35 +00:00
PySimpleGUI
74c1f7b337 Automated Update! 2023-03-25 17:30:34 +00:00
PySimpleGUI
5052aece6a Automated Update! 2023-03-17 17:30:25 +00:00
PySimpleGUI
4fe61e42d2 Automated Update! 2023-03-16 17:30:23 +00:00
PySimpleGUI
5b784253f5 Automated Update! 2023-03-15 17:30:30 +00:00
PySimpleGUI
15e56bd47d
Merge pull request #6303 from PySimpleGUI/Dev-latest
Fixed typo in coupon at top of SDK reference.  Picked up the changes …
2023-03-13 06:32:43 -04:00
PySimpleGUI
f97de3468b Fixed typo in coupon at top of SDK reference. Picked up the changes for GitHub's readme. 2023-03-13 06:32:31 -04:00
PySimpleGUI
e902230468
Merge pull request #6302 from PySimpleGUI/Dev-latest
Dev latest
2023-03-13 06:17:53 -04:00
PySimpleGUI
d8d5227240 New Udemy Coupon added 2023-03-13 06:17:36 -04:00
PySimpleGUI
2eed0afaeb New SDK call ref with net set_ibeam_color method added. New Udemy Coupon added to docs 2023-03-13 06:16:07 -04:00
PySimpleGUI
a10d9d3430
Merge pull request #6301 from PySimpleGUI/Dev-latest
Applied the Input I-Beam color fix to Multiline and Spin elements.  A…
2023-03-13 05:55:15 -04:00
PySimpleGUI
07f772c680 Applied the Input I-Beam color fix to Multiline and Spin elements. Added new method set_ibeam_color as another way to set this color (in addition to set_cursor) so that it's more explicit 2023-03-13 05:54:59 -04:00
PySimpleGUI
fcd03f4b6f
Merge pull request #6298 from PySimpleGUI/Dev-latest
Fixed problem where the insert cursor (I-beam) was being set to the t…
2023-03-12 08:39:29 -04:00
PySimpleGUI
a22884e2e3 Fixed problem where the insert cursor (I-beam) was being set to the theme's color not the color indicated by the individual Input element. 2023-03-12 08:39:17 -04:00
PySimpleGUI
d72a7672c1
Merge pull request #6287 from PySimpleGUI/Dev-latest
Added nightlight thickness parm to Checkbox so focus ring thickness c…
2023-03-09 05:49:58 -05:00
PySimpleGUI
3507b2708b Added nightlight thickness parm to Checkbox so focus ring thickness can be controlled when creating element 2023-03-09 05:49:42 -05:00
PySimpleGUI
cd7967fe4a
Merge pull request #6286 from PySimpleGUI/Dev-latest
Combo.update - added text and background color. Also made font parm w…
2023-03-09 05:43:37 -05:00
PySimpleGUI
4d02f3a515 Combo.update - added text and background color. Also made font parm work correctly with the dropdown list. (TRICKY!) 2023-03-09 05:43:20 -05:00
PySimpleGUI
3e0ade9797
Merge pull request #6285 from PySimpleGUI/Dev-latest
Demo Program to show new Watermark features
2023-03-07 20:14:23 -05:00
PySimpleGUI
3b7a17f6b6 Demo Program to show new Watermark features 2023-03-07 20:14:08 -05:00
PySimpleGUI
27e073b03c
Merge pull request #6279 from PySimpleGUI/Dev-latest
Fixed Mac crash due to "Bold" font modifier in watermark feature
2023-03-06 14:21:22 -05:00
PySimpleGUI
d447633ec3 Fixed Mac crash due to "Bold" font modifier in watermark feature 2023-03-06 14:21:06 -05:00
PySimpleGUI
15af7b7d06
Merge pull request #6277 from PySimpleGUI/Dev-latest
New Global Settings Feature - Window watermarking.... Use global sett…
2023-03-06 09:01:35 -05:00
PySimpleGUI
c24d8b6b87 New Global Settings Feature - Window watermarking.... Use global settings window to control or force on/off when making a window. 2023-03-06 09:00:57 -05:00
PySimpleGUI
f0eab8c1bd
Merge pull request #6268 from PySimpleGUI/Dev-latest
Changed Checkbox to not change color on mouseover on Linux.  Added th…
2023-03-01 12:11:59 -05:00
PySimpleGUI
8bd030f1a1 Changed Checkbox to not change color on mouseover on Linux. Added the optional window data row for internal texting ONLY 2023-03-01 12:10:23 -05:00
PySimpleGUI
34b935a196
Merge pull request #6266 from PySimpleGUI/Dev-latest
New Demo Program - CPU Utilization shown on a very nice VU Meter Graphic
2023-02-28 06:28:15 -05:00
PySimpleGUI
efa236369f New Demo Program - CPU Utilization shown on a very nice VU Meter Graphic 2023-02-28 06:27:57 -05:00
PySimpleGUI
af9794b2c2
Merge pull request #6261 from PySimpleGUI/Dev-latest
New Demo Program - Table with checkmarks
2023-02-25 13:21:39 -05:00
PySimpleGUI
8e6fa8100a New Demo Program - Table with checkmarks 2023-02-25 13:21:26 -05:00
PySimpleGUI
4a5f2d2907
Merge pull request #6258 from PySimpleGUI/Dev-latest
Dev latest
2023-02-24 08:58:55 -05:00
PySimpleGUI
8f74aa5c8d Picking up the latest Multiline & Output element feature that's on GitHub - new parameter autoscroll_only_at_bottom 2023-02-24 08:58:41 -05:00
PySimpleGUI
ba0e5fed78 Addition of Timer API calls 2023-02-24 08:58:02 -05:00
PySimpleGUI
3275279f9c Addition of Timer API Calls 2023-02-24 08:57:48 -05:00
PySimpleGUI
0cf29cc20f Addition of Timer API Calls section 2023-02-24 08:57:26 -05:00
PySimpleGUI
fdbdd18120
Merge pull request #6257 from PySimpleGUI/Dev-latest
Added autoscroll_only_at_bottom to Output element too
2023-02-24 04:51:39 -05:00
PySimpleGUI
73c692ebcc Added autoscroll_only_at_bottom to Output element too 2023-02-24 04:51:25 -05:00
PySimpleGUI
5ae9d3c88a
Merge pull request #6256 from PySimpleGUI/Dev-latest
Added autoscroll_only_at_bottom parameter to Multiline element
2023-02-24 04:37:50 -05:00
PySimpleGUI
ad67fe233e Added autoscroll_only_at_bottom parameter to Multiline element 2023-02-24 04:37:37 -05:00
PySimpleGUI
83bdad20f8
Merge pull request #6252 from PySimpleGUI/Dev-latest
Picked up docstring changes for Window.timer_start in the call reference
2023-02-23 12:01:45 -05:00
PySimpleGUI
1ae844e7fc Picked up docstring changes for Window.timer_start in the call reference 2023-02-23 12:01:31 -05:00
PySimpleGUI
2de8770897
Merge pull request #6251 from PySimpleGUI/Dev-latest
Added the variable name constants EVENT_TIMER and TIMER_KEY  to the W…
2023-02-23 12:00:41 -05:00
PySimpleGUI
2cc5b70aed Added the variable name constants EVENT_TIMER and TIMER_KEY to the Window.start_timer docstring 2023-02-23 12:00:25 -05:00
PySimpleGUI
2a4831ac63
Merge pull request #6250 from PySimpleGUI/Dev-latest
Changed Output Element in call reference.  Previously was steering us…
2023-02-23 11:56:35 -05:00
PySimpleGUI
86afe5ae57 Changed Output Element in call reference. Previously was steering users away from Output Element and to use Multiline instead. Now that the Output element is based directly on Multiline, this recommendation is no longer needed. 2023-02-23 11:56:20 -05:00
PySimpleGUI
6b9cb23b6d
Merge pull request #6249 from PySimpleGUI/Dev-latest
Addition of  the Window Timer API Calls currently on GitHub
2023-02-23 11:52:08 -05:00
PySimpleGUI
c4e37eff04 Addition of the Window Timer API Calls currently on GitHub 2023-02-23 11:51:55 -05:00
PySimpleGUI
62eb1f5781
Merge pull request #6245 from PySimpleGUI/Dev-latest
Ooops... forgot to bump version number
2023-02-21 11:59:12 -05:00
PySimpleGUI
98f383bffb Ooops... forgot to bump version number 2023-02-21 11:58:59 -05:00
PySimpleGUI
25ed11c581
Merge pull request #6244 from PySimpleGUI/Dev-latest
Changed layout error message (added "sometimes" to description))
2023-02-21 11:46:45 -05:00
PySimpleGUI
57528fdb5c Changed layout error message (added "sometimes" to description)) 2023-02-21 11:46:31 -05:00
PySimpleGUI
6aabac7637
Merge pull request #6242 from PySimpleGUI/Dev-latest
changed TabGroup.get to use the same method as the values dictionary …
2023-02-19 14:58:04 -05:00
PySimpleGUI
c8da36c9e3 changed TabGroup.get to use the same method as the values dictionary does that was just added in prior check-in 2023-02-19 14:57:49 -05:00
PySimpleGUI
3a7d72354a
Merge pull request #6241 from PySimpleGUI/Dev-latest
Fixed problem with TabGroup not identifying the currently active tab …
2023-02-19 14:05:10 -05:00
PySimpleGUI
f07d658e87 Fixed problem with TabGroup not identifying the currently active tab in the Values Dictionary is the label is blank on the Tab 2023-02-19 14:04:56 -05:00
PySimpleGUI
c88bd1f2ec Automated Update! 2023-02-14 18:30:24 +00:00
PySimpleGUI
a3936a60a9
Merge pull request #6231 from PySimpleGUI/Dev-latest
Tree Element - new parameter click_toggles_select
2023-02-13 18:00:34 -05:00
PySimpleGUI
83745112a6 Tree Element - new parameter click_toggles_select 2023-02-13 18:00:20 -05:00
PySimpleGUI
c963e86d3e Automated Update! 2023-02-12 18:30:19 +00:00
PySimpleGUI
8f76e053f0
Merge pull request #6225 from PySimpleGUI/Dev-latest
Removed second print on Mac for Alpha 0.99 patch
2023-02-12 11:52:47 -05:00
PySimpleGUI
282559db46 Removed second print on Mac for Alpha 0.99 patch 2023-02-12 11:52:33 -05:00
PySimpleGUI
185d0997bb
Merge pull request #6224 from PySimpleGUI/Dev-latest
Removed print when Mac Alpha Channel of 0.99 is applied.  Was acciden…
2023-02-11 13:59:09 -05:00
PySimpleGUI
a138621f9a Removed print when Mac Alpha Channel of 0.99 is applied. Was accidently let in for testing. 2023-02-11 13:58:57 -05:00
PySimpleGUI
e34564fb38
Merge pull request #6223 from PySimpleGUI/Dev-latest
Added a lambda example
2023-02-11 09:09:02 -05:00
PySimpleGUI
a059d92c8e Added a lambda example 2023-02-11 09:08:50 -05:00
PySimpleGUI
e3211b18ab
Merge pull request #6216 from PySimpleGUI/Dev-latest
New coupon added to call reference.  Forgot it needed changing too.  …
2023-02-07 19:14:48 -05:00
PySimpleGUI
dc84814eb2 New coupon added to call reference. Forgot it needed changing too. The rest of the docs seem to pick up the new coupon ok now. 2023-02-07 19:14:36 -05:00
PySimpleGUI
199901cc4c
Merge pull request #6214 from PySimpleGUI/Dev-latest
Dev latest
2023-02-07 18:33:00 -05:00
PySimpleGUI
800decc53f Update PySimpleGUI.py 2023-02-07 18:32:44 -05:00
PySimpleGUI
e047ffe684 New Udemy Coupon Code 2023-02-07 18:32:38 -05:00
PySimpleGUI
83bb20ff3d
Merge pull request #6212 from PySimpleGUI/Dev-latest
New Demo Program Custom Images Dark Theme
2023-02-07 11:37:18 -05:00
PySimpleGUI
517262690f New Demo Program Custom Images Dark Theme 2023-02-07 11:37:05 -05:00
PySimpleGUI
d84cd10c04
Merge pull request #6211 from PySimpleGUI/Dev-latest
And updated version of the "Edit Me" right menu design pattern
2023-02-07 07:17:24 -05:00
PySimpleGUI
f3270e00ec And updated version of the "Edit Me" right menu design pattern 2023-02-07 07:17:07 -05:00
PySimpleGUI
336d3baeb9
Merge pull request #6209 from PySimpleGUI/Dev-latest
Fixed typo in docstring
2023-02-06 11:44:07 -05:00
PySimpleGUI
7da029ebf8 Fixed typo in docstring 2023-02-06 11:43:54 -05:00
PySimpleGUI
85e11e88b7
Merge pull request #6205 from PySimpleGUI/Dev-latest
Hacked the version numbering (again... sorry!) to try to mediate the …
2023-02-05 06:30:26 -05:00
PySimpleGUI
078fc3b1d4 Hacked the version numbering (again... sorry!) to try to mediate the confusion about what's posted to PyPI. 2023-02-05 06:16:23 -05:00
PySimpleGUI
71d1c850f8
Merge pull request #6203 from PySimpleGUI/Dev-latest
New Demo Program - automatically save and load Input element values u…
2023-02-04 17:45:43 -05:00
PySimpleGUI
e764cc07b8 New Demo Program - automatically save and load Input element values using User Settings API 2023-02-04 17:45:33 -05:00
PySimpleGUI
2af2d59c4d Automated Update! 2023-01-30 18:30:24 +00:00
PySimpleGUI
16aea9c37f Automated Update! 2023-01-29 18:30:26 +00:00
PySimpleGUI
5b0f6950a3 Automated Update! 2023-01-28 18:30:26 +00:00
PySimpleGUI
81abea7164
Merge pull request #6190 from PySimpleGUI/Dev-latest
Error handling  for when no editor has been configured
2023-01-25 07:58:05 -05:00
PySimpleGUI
de383504e0 Error handling for when no editor has been configured 2023-01-25 07:57:50 -05:00
PySimpleGUI
2d9a91911b
Merge pull request #6183 from PySimpleGUI/Dev-latest
Get the latest doctrings and post to the online documentation in the …
2023-01-22 10:24:11 -05:00
PySimpleGUI
cef6e8e0cd Get the latest doctrings and post to the online documentation in the call reference 2023-01-22 10:23:55 -05:00
PySimpleGUI
58e2e936a3
Merge pull request #6182 from PySimpleGUI/Dev-latest
Fixed bind_return_key docstrings in the pre-defined buttons. Made the…
2023-01-22 10:12:05 -05:00
PySimpleGUI
de3beca51a Fixed bind_return_key docstrings in the pre-defined buttons. Made the Button bind_return_key docstring more descriptive 2023-01-22 10:11:51 -05:00
PySimpleGUI
84024bc302
Merge pull request #6180 from PySimpleGUI/Dev-latest
Added selected_text_color and selected_background_color to Multline e…
2023-01-21 15:09:00 -05:00
PySimpleGUI
2492b2353d Added selected_text_color and selected_background_color to Multline element 2023-01-21 15:08:45 -05:00
PySimpleGUI
6762f9c395
Merge pull request #6178 from PySimpleGUI/Dev-latest
Fixed bug in Combo.update - width wasn't getting updated to match new…
2023-01-20 17:55:06 -05:00
PySimpleGUI
7e88e04cee Fixed bug in Combo.update - width wasn't getting updated to match new values 2023-01-20 17:54:50 -05:00
PySimpleGUI
0e9442353c
Merge pull request #6172 from PySimpleGUI/Dev-latest
Added selected_text_color & selected_background_color to Input elemen…
2023-01-18 14:14:05 -05:00
PySimpleGUI
59cbf63116 Added selected_text_color & selected_background_color to Input element as an experiment 2023-01-18 14:13:43 -05:00
PySimpleGUI
ed8d867e76
Merge pull request #6169 from PySimpleGUI/Dev-latest
Made the Debugger's use of popups change the theme to the same dark g…
2023-01-15 10:39:45 -05:00
PySimpleGUI
4ca5cf084a Made the Debugger's use of popups change the theme to the same dark gray theme used in the rest of the debugger windows. Fixed bug introduced when constants were moved into the class. 2023-01-15 10:39:30 -05:00
PySimpleGUI
edbc55262b
Merge pull request #6167 from PySimpleGUI/Dev-latest
Get the latest docstrings from PySimpleGUI on github so that the SDK …
2023-01-13 14:30:47 -05:00
PySimpleGUI
805727fed9 Get the latest docstrings from PySimpleGUI on github so that the SDK docs online match. 2023-01-13 14:30:33 -05:00
PySimpleGUI
8effae33f4
Merge pull request #6166 from PySimpleGUI/Dev-latest
Experimental change to Table.get.  Using the tkinter widget's selecti…
2023-01-13 12:02:09 -05:00
PySimpleGUI
6a64f8cfd2 Experimental change to Table.get. Using the tkinter widget's selection method. Looks like it could work. 2023-01-13 12:01:52 -05:00
PySimpleGUI
6b20da8c59
Merge pull request #6164 from PySimpleGUI/Dev-latest
Moved debugger constants to sinde of the debugger class. Simplified t…
2023-01-12 21:06:44 -05:00
PySimpleGUI
529c285489 Moved debugger constants to sinde of the debugger class. Simplified the locals and globals popups. 2023-01-12 21:06:16 -05:00
PySimpleGUI
ad78b3b1ac
Merge pull request #6162 from PySimpleGUI/Dev-latest
Added begin_at_sunday_plus to the docstring for CalendarButton
2023-01-12 13:37:56 -05:00
PySimpleGUI
81c16c6b5f Added begin_at_sunday_plus to the docstring for CalendarButton 2023-01-12 13:37:32 -05:00
PySimpleGUI
d03347d39c
Merge pull request #6161 from PySimpleGUI/Dev-latest
Disables "Take me to error" button if no editor is configured
2023-01-12 06:23:48 -05:00
PySimpleGUI
b216a25480 Disables "Take me to error" button if no editor is configured 2023-01-12 06:23:28 -05:00
PySimpleGUI
81127fae93
Merge pull request #6160 from PySimpleGUI/Dev-latest
Tree element - if no headings are specified (set to None) then the he…
2023-01-12 06:11:26 -05:00
PySimpleGUI
d0c558f5c8 Tree element - if no headings are specified (set to None) then the header will not be added 2023-01-12 06:11:05 -05:00
PySimpleGUI
73fa593c25
Merge pull request #6153 from PySimpleGUI/Dev-latest
Demo Program - Time Chooser (ONE more time!)
2023-01-06 16:12:54 -05:00
PySimpleGUI
d9e42ed2e7 Demo Program - Time Chooser (ONE more time!) 2023-01-06 16:12:40 -05:00
PySimpleGUI
ca0e825e88
Merge pull request #6152 from PySimpleGUI/Dev-latest
Delete Demo_Time_Chooser.py
2023-01-06 16:11:55 -05:00
PySimpleGUI
2821880b3c
Delete Demo_Time_Chooser.py 2023-01-06 16:11:28 -05:00
PySimpleGUI
3ca7703fcd
Merge pull request #6151 from PySimpleGUI/Dev-latest
Dev latest
2023-01-06 16:09:59 -05:00
PySimpleGUI
c8d01725f1 Demo Program - Time Chooser 2023-01-06 16:09:39 -05:00
PySimpleGUI
7fdee8f91b
Delete Demo_Time_Chooser.py 2023-01-06 16:08:54 -05:00
PySimpleGUI
268686635f
Merge pull request #6150 from PySimpleGUI/Dev-latest
Dev latest
2023-01-06 16:04:51 -05:00
PySimpleGUI
0c77b57659 Demo Program - Time chooser 2023-01-06 16:04:33 -05:00
PySimpleGUI
a309549dbb
Merge pull request #6149 from PySimpleGUI/revert-6146-Dev-latest
Revert "Demo program of an example window to choose a time"
2023-01-06 16:03:42 -05:00
PySimpleGUI
54d6d68a03
Revert "Demo program of an example window to choose a time" 2023-01-06 16:03:34 -05:00
PySimpleGUI
54d8f698d7
Merge pull request #6148 from PySimpleGUI/revert-6147-Dev-latest
Revert "Added option to enable/disable manual entry"
2023-01-06 16:03:16 -05:00
PySimpleGUI
79b6b74f78
Revert "Added option to enable/disable manual entry" 2023-01-06 16:03:05 -05:00
PySimpleGUI
02f3ae25be Revert "Demo program of an example window to choose a time"
This reverts commit 86976f50c3.
2023-01-06 16:02:08 -05:00
PySimpleGUI
c3a6db921f Revert "Added option to enable/disable manual entry"
This reverts commit 73a6629045.
2023-01-06 16:01:52 -05:00
MikeTheWatchGuy
cc08622d06
Merge pull request #6147 from PySimpleGUI/Dev-latest
Added option to enable/disable manual entry
2023-01-06 15:54:02 -05:00
PySimpleGUI
73a6629045 Added option to enable/disable manual entry 2023-01-06 15:53:48 -05:00
MikeTheWatchGuy
5f312f3ae9
Merge pull request #6146 from PySimpleGUI/Dev-latest
Demo program of an example window to choose a time
2023-01-06 15:49:32 -05:00
PySimpleGUI
86976f50c3 Demo program of an example window to choose a time 2023-01-06 15:49:00 -05:00
PySimpleGUI
a964716404
Merge pull request #6145 from PySimpleGUI/Dev-latest
Renamed QuickMeter to _QuickMeter so users will not be confused in th…
2023-01-06 12:51:44 -05:00
PySimpleGUI
ca26ac8f37 Renamed QuickMeter to _QuickMeter so users will not be confused in thinking it's meant to used directly. 2023-01-06 12:51:27 -05:00
PySimpleGUI
62fec93502 Automated Update! 2023-01-05 18:30:30 +00:00
PySimpleGUI
b6aa5b5406
Merge pull request #6135 from PySimpleGUI/Dev-latest
Make the Image element expand so that the buttons will not jump aroun…
2023-01-03 14:17:16 -05:00
PySimpleGUI
92d77a5ba8 Make the Image element expand so that the buttons will not jump around as much. 2023-01-03 14:16:52 -05:00
PySimpleGUI
ee54470f9a
Merge pull request #6128 from PySimpleGUI/Dev-latest
popup_get_date - exposed the fonts as parameters to help with a Mac f…
2022-12-29 06:47:30 -05:00
PySimpleGUI
9a55191b08 popup_get_date - exposed the fonts as parameters to help with a Mac font bug 2022-12-29 06:47:13 -05:00
PySimpleGUI
0782708507
Merge pull request #6126 from PySimpleGUI/Dev-latest
Addition of Window.timer_get_active_timers to get a list of the curre…
2022-12-28 10:08:08 -05:00
PySimpleGUI
4180f59c4c Addition of Window.timer_get_active_timers to get a list of the currently active timers for a window. Added to the demo program. 2022-12-28 10:07:53 -05:00
PySimpleGUI
493530dc14
Merge pull request #6124 from PySimpleGUI/Dev-latest
New Demo Program using new Window.timer_stop and Window.timer_stop
2022-12-27 07:32:43 -05:00
PySimpleGUI
747ff76d08 New Demo Program using new Window.timer_stop and Window.timer_stop 2022-12-27 07:32:30 -05:00
PySimpleGUI
8c30a5fd72
Merge pull request #6121 from PySimpleGUI/Dev-latest
Added Window.timer_stop_all method
2022-12-25 12:17:22 -05:00
PySimpleGUI
560ab62e88 Added Window.timer_stop_all method 2022-12-25 12:17:07 -05:00
PySimpleGUI
7bdabeb998
Merge pull request #6120 from PySimpleGUI/Dev-latest
Window Timer Feature and Demo Program
2022-12-25 11:32:08 -05:00
PySimpleGUI
cf27988cbb Window Timer Feature and Demo Program 2022-12-25 11:31:50 -05:00
PySimpleGUI
8357653c81
Merge pull request #6117 from PySimpleGUI/Dev-latest
New Demo Program - generate periodic timer events
2022-12-23 08:45:20 -05:00
PySimpleGUI
6e4be7bb60 New Demo Program - generate periodic timer events 2022-12-23 08:45:01 -05:00
PySimpleGUI
de58236c7a
Merge pull request #6116 from PySimpleGUI/Dev-latest
New Udemy coupon
2022-12-23 03:12:28 -05:00
PySimpleGUI
e7a6465a08 New Udemy coupon 2022-12-23 03:12:11 -05:00
PySimpleGUI
05d9773737
Merge pull request #6113 from PySimpleGUI/Dev-latest
Added button_color parm to ButtonMenu.update
2022-12-21 12:08:12 -05:00
PySimpleGUI
051a0a1952 Added button_color parm to ButtonMenu.update 2022-12-21 12:07:55 -05:00
PySimpleGUI
d39a13d355
Merge pull request #6110 from PySimpleGUI/Dev-latest
Simplified the multithreaded demo and introduced the tuple key design…
2022-12-19 16:56:12 -05:00
PySimpleGUI
9d0041a73b Simplified the multithreaded demo and introduced the tuple key design pattern for threading 2022-12-19 16:55:58 -05:00
PySimpleGUI
20edf9f858 Automated Update! 2022-12-19 18:30:27 +00:00
PySimpleGUI
8af1193f0c
Merge pull request #6106 from PySimpleGUI/Dev-latest
Cleaned up user settings api code for porting
2022-12-17 13:47:06 -05:00
PySimpleGUI
b3a5e6dfbf Cleaned up user settings api code for porting 2022-12-17 13:46:53 -05:00
PySimpleGUI
3c3fc1f7ac
Merge pull request #6102 from PySimpleGUI/Dev-latest
User serttings - Deletion of entry added a silent-on-error option.  p…
2022-12-15 08:24:51 -05:00
PySimpleGUI
5711c9f9de User serttings - Deletion of entry added a silent-on-error option. popup_quick_message - changed default keep_on_top to True 2022-12-15 08:24:35 -05:00
PySimpleGUI
18a044f162
Merge pull request #6100 from PySimpleGUI/Dev-latest
Addition of right click menu and set size of combo boxes to be 30 ent…
2022-12-14 08:50:07 -05:00
PySimpleGUI
eef70d2aaf Addition of right click menu and set size of combo boxes to be 30 entries long. 2022-12-14 08:49:53 -05:00
PySimpleGUI
3b258ba639
Merge pull request #6098 from PySimpleGUI/Dev-latest
Made button_color parameter docstring consistent across all calls - (…
2022-12-13 15:04:59 -05:00
PySimpleGUI
9d1e4a8c93 Made button_color parameter docstring consistent across all calls - (str, str) | str 2022-12-13 15:04:43 -05:00
PySimpleGUI
99fd18335e
Merge pull request #6093 from PySimpleGUI/Dev-latest
2 new options for find_element method
2022-12-12 16:10:47 -05:00
PySimpleGUI
17f8d76a60 2 new options for find_element method 2022-12-12 16:10:32 -05:00
PySimpleGUI
8b61ab6f11
Merge pull request #6087 from PySimpleGUI/Dev-latest
Fixed menu definition (Help should have had a list like the other ent…
2022-12-10 16:29:43 -05:00
PySimpleGUI
5accdda30f Fixed menu definition (Help should have had a list like the other entries). Added key to the menu, etc. It's been a long time since updated. 2022-12-10 16:29:28 -05:00
PySimpleGUI
1c4574908b
Merge pull request #6085 from PySimpleGUI/Dev-latest
Added zoom and subsample parms to PIL function (was recently supplied…
2022-12-07 10:07:16 -05:00
PySimpleGUI
70085de109 Added zoom and subsample parms to PIL function (was recently supplied in an issue as a way to simulate the subsample parm found in tkinter port) 2022-12-07 10:07:01 -05:00
PySimpleGUI
27566df25a
Merge pull request #6077 from PySimpleGUI/Dev-latest
Fixed Multiline Element docstrings
2022-12-04 12:30:45 -05:00
PySimpleGUI
e2083920ee Fixed Multiline Element docstrings 2022-12-04 12:30:30 -05:00
PySimpleGUI
d117aabecd
Merge pull request #6073 from PySimpleGUI/Dev-latest
Dev latest
2022-12-01 13:50:35 -05:00
PySimpleGUI
f8f05796aa Typo in rtype was tripping up PyCharm (had a space in the middle of the class name) 2022-12-01 13:50:15 -05:00
PySimpleGUI
d7b16be284 Removed the Base64 encode as it's not required. The raw image data can be passed directly to the Image Element 2022-12-01 13:49:33 -05:00
PySimpleGUI
98140066fc
Merge pull request #6067 from PySimpleGUI/Dev-latest
New Demo Program - Display an image located at URL online (thanks to …
2022-11-30 08:46:55 -05:00
PySimpleGUI
fac982124d New Demo Program - Display an image located at URL online (thanks to @Necrosis000 for opening an issue to ask how) 2022-11-30 08:45:39 -05:00
PySimpleGUI
5b20cc1cee Automated Update! 2022-11-28 18:30:25 +00:00
PySimpleGUI
a410f19659
Merge pull request #6065 from PySimpleGUI/Dev-latest
Fix for not correctly setting Element.ttk_style_name and Element.ttk_…
2022-11-28 06:46:07 -05:00
PySimpleGUI
f869052f8e Fix for not correctly setting Element.ttk_style_name and Element.ttk_style 2022-11-28 06:45:50 -05:00
PySimpleGUI
ab993d49ba
Merge pull request #6064 from PySimpleGUI/Dev-latest
Made version window non-blocking
2022-11-26 07:01:39 -05:00
PySimpleGUI
331774cb5f Made version window non-blocking 2022-11-26 07:01:24 -05:00
PySimpleGUI
4e760967cd
Merge pull request #6062 from PySimpleGUI/Dev-latest
Swapped Push, VPush with Stretch, VStretch as the function name inste…
2022-11-24 16:50:42 -05:00
PySimpleGUI
67863949af Swapped Push, VPush with Stretch, VStretch as the function name instead of being the alias 2022-11-24 16:50:07 -05:00
PySimpleGUI
96be8aea51
Merge pull request #6056 from PySimpleGUI/Dev-latest
New enoji into the repo, the emoji browser, etc
2022-11-23 13:55:01 -05:00
PySimpleGUI
eeeb7ac9ba New enoji into the repo, the emoji browser, etc 2022-11-23 13:54:37 -05:00
PySimpleGUI
a97468db15
Merge pull request #6055 from PySimpleGUI/Dev-latest
New emoji
2022-11-23 13:26:35 -05:00
PySimpleGUI
471f6d1ec4 New emoji 2022-11-23 13:26:18 -05:00
PySimpleGUI
e597fd0a90
Merge pull request #6053 from PySimpleGUI/Dev-latest
Udemy code (missed the cookbook)
2022-11-21 14:30:44 -05:00
PySimpleGUI
40c6d737e3 Udemy code (missed the cookbook) 2022-11-21 14:30:15 -05:00
PySimpleGUI
eeb9eb9070
Merge pull request #6052 from PySimpleGUI/Dev-latest
New Udemy code
2022-11-21 14:27:04 -05:00
PySimpleGUI
7862cf7110 New Udemy code 2022-11-21 14:26:31 -05:00
PySimpleGUI
5a3fda96e7 Automated Update! 2022-11-21 18:30:41 +00:00
PySimpleGUI
2c6c726962 Automated Update! 2022-11-20 18:30:25 +00:00
PySimpleGUI
9f5db18951 Automated Update! 2022-11-19 18:30:30 +00:00
PySimpleGUI
cde0fa74af
Merge pull request #6048 from PySimpleGUI/Dev-latest
Working on the search problem....
2022-11-19 09:25:38 -05:00
PySimpleGUI
ed34934872 Working on the search problem.... 2022-11-19 09:25:23 -05:00
PySimpleGUI
4cd7b03c9b
Merge pull request #6046 from PySimpleGUI/Dev-latest
Rolling back last change
2022-11-18 23:31:50 -05:00
PySimpleGUI
cb1dd38250 Rolling back last change 2022-11-18 23:30:02 -05:00
PySimpleGUI
fda1ca8e20
Merge pull request #6045 from PySimpleGUI/Dev-latest
Working on the broken search feature in readthedocs
2022-11-18 23:24:27 -05:00
PySimpleGUI
a85b8d46b0 Working on the broken search feature in readthedocs 2022-11-18 23:24:14 -05:00
PySimpleGUI
7402936eab
Merge pull request #6043 from PySimpleGUI/Dev-latest
Update to make main GUI window less visible. Added a blocking popup a…
2022-11-18 16:53:26 -05:00
PySimpleGUI
6c00c133b8 Update to make main GUI window less visible. Added a blocking popup at the end. 2022-11-18 16:53:12 -05:00
PySimpleGUI
155738a19d
Merge pull request #6042 from PySimpleGUI/Dev-latest
Dev latest
2022-11-18 10:11:41 -05:00
PySimpleGUI
3b9176cbb1 More cleanup 2022-11-18 10:11:27 -05:00
PySimpleGUI
77b0f906eb Another change to fix docs search problem. 2022-11-18 10:11:13 -05:00
PySimpleGUI
dad366884d
Merge pull request #6041 from PySimpleGUI/Dev-latest
More repo cleanup
2022-11-18 10:00:08 -05:00
PySimpleGUI
a8221cad50 More repo cleanup 2022-11-18 09:59:54 -05:00
PySimpleGUI
bd7b6d894c
Merge pull request #6040 from PySimpleGUI/Dev-latest
Cleaning up the repo a bit by removing older folders
2022-11-18 09:52:51 -05:00
PySimpleGUI
265ce998ef Cleaning up the repo a bit by removing older folders 2022-11-18 09:52:40 -05:00
PySimpleGUI
878e94c10a
Rename _requirements.txt to requirements.txt 2022-11-18 09:49:29 -05:00
PySimpleGUI
30af9fc52c
Rename requirements.txt to _requirements.txt 2022-11-18 09:47:14 -05:00
PySimpleGUI
37ab4d70ac
Merge pull request #6039 from PySimpleGUI/Dev-latest
Dev latest
2022-11-18 09:18:25 -05:00
PySimpleGUI
4f192944c8 Hopefully a fix for the documentation search problem! 2022-11-18 09:18:06 -05:00
PySimpleGUI
32acd89856 Fixed Neon Yellow 1 theme 2022-11-17 14:47:30 -05:00
PySimpleGUI
33edf9ad64
Merge pull request #6036 from PySimpleGUI/Dev-latest
New Demo Program - Make windows and PySimpleGUI calls from a thread.
2022-11-15 06:32:11 -05:00
PySimpleGUI
5133225298 New Demo Program - Make windows and PySimpleGUI calls from a thread. 2022-11-15 06:31:53 -05:00
PySimpleGUI
be17021dcf
Merge pull request #6032 from PySimpleGUI/Dev-latest
Addition of image_zoom to Tab element - completes addition of zoom op…
2022-11-14 06:47:44 -05:00
PySimpleGUI
aa8478f124 Addition of image_zoom to Tab element - completes addition of zoom option for elements with images 2022-11-14 06:47:30 -05:00
PySimpleGUI
5adb01ce25
Merge pull request #6031 from PySimpleGUI/Dev-latest
Fix for set_vscroll_position not working on Scrollable-Columns.
2022-11-13 16:09:36 -05:00
PySimpleGUI
e9c3750f1e Fix for set_vscroll_position not working on Scrollable-Columns. 2022-11-13 16:09:22 -05:00
PySimpleGUI
1f8270c4c6
Merge pull request #6029 from PySimpleGUI/Dev-latest
Button get image_source parm (finally). Button, ButtonMenu gains zoom…
2022-11-13 08:49:06 -05:00
PySimpleGUI
f69322799d Button get image_source parm (finally). Button, ButtonMenu gains zoom parm. 2022-11-13 08:48:51 -05:00
PySimpleGUI
42335d486f
Merge pull request #6024 from PySimpleGUI/Dev-latest
New Demo Program - a multi-threaded example using a queue to send dat…
2022-11-12 11:02:23 -05:00
PySimpleGUI
95fd3c53a2 New Demo Program - a multi-threaded example using a queue to send data to your application 2022-11-12 11:02:09 -05:00
PySimpleGUI
52052a8b9d
Merge pull request #6022 from PySimpleGUI/Dev-latest
Added zoom parameter to Image Element
2022-11-11 10:55:08 -05:00
PySimpleGUI
14e8cbae3d Added zoom parameter to Image Element 2022-11-11 10:54:53 -05:00
PySimpleGUI
6aeb8a94a1
Merge pull request #6021 from PySimpleGUI/Dev-latest
New Demo showing how to redraw figures on a Graph if the window resizes
2022-11-11 10:36:09 -05:00
PySimpleGUI
5722f1ab09 New Demo showing how to redraw figures on a Graph if the window resizes 2022-11-11 10:35:56 -05:00
PySimpleGUI
b886e7d7a1
Merge pull request #6020 from PySimpleGUI/Dev-latest
Adding setup.py used for PyPI releases
2022-11-11 10:16:26 -05:00
PySimpleGUI
99743b9347 Adding setup.py used for PyPI releases 2022-11-11 10:16:12 -05:00
PySimpleGUI
ad7b83cf44
Merge pull request #6019 from PySimpleGUI/Dev-latest
Experimenting with a blank setup.py
2022-11-11 09:01:40 -05:00
PySimpleGUI
b1b11ab819 Experimenting with a blank setup.py 2022-11-11 09:01:26 -05:00
PySimpleGUI
b85128f752
Merge pull request #6018 from PySimpleGUI/Dev-latest
Added execute_py_get_running_interpreter.  Fixed docstrings for execu…
2022-11-08 16:28:39 -05:00
PySimpleGUI
4b9cbd240a Added execute_py_get_running_interpreter. Fixed docstrings for execute_py_get_interpreter 2022-11-08 16:28:25 -05:00
PySimpleGUI
3d6229dad5 Automated Update! 2022-11-07 18:30:21 +00:00
PySimpleGUI
8b23740fca Automated Update! 2022-11-06 20:37:16 +00:00
PySimpleGUI
c3bab8a351
Merge pull request #6014 from PySimpleGUI/Dev-latest
Dark Blue 18 theme added
2022-11-06 06:11:58 -05:00
PySimpleGUI
28df2058ed Dark Blue 18 theme added 2022-11-06 06:11:44 -05:00
PySimpleGUI
d9f73b7ead
Merge pull request #6013 from PySimpleGUI/Dev-latest
Added font to Input element's update method
2022-11-05 06:22:26 -04:00
PySimpleGUI
97d7515a0e Added font to Input element's update method 2022-11-05 06:22:11 -04:00
PySimpleGUI
241e9d2f8a
Merge pull request #6011 from PySimpleGUI/Dev-latest
Menu element - delete menu items if a new menu definition is sent to …
2022-11-04 14:51:34 -04:00
PySimpleGUI
891bc93317 Menu element - delete menu items if a new menu definition is sent to Menu.update 2022-11-04 14:51:18 -04:00
PySimpleGUI
e620bdb22c
Merge pull request #6004 from PySimpleGUI/Dev-latest
New Demo Program - shows using objects instead of strings with Listbox
2022-11-03 08:12:35 -04:00
PySimpleGUI
0178e9b14f New Demo Program - shows using objects instead of strings with Listbox 2022-11-03 08:12:20 -04:00
PySimpleGUI
091900fb9b
Merge pull request #6003 from PySimpleGUI/Dev-latest
Cleaned up a very old demo.
2022-11-02 08:39:29 -04:00
PySimpleGUI
1f6a96cf99 Cleaned up a very old demo. 2022-11-02 08:39:13 -04:00
PySimpleGUI
570e20b398
Merge pull request #6001 from PySimpleGUI/Dev-latest
Enabled resizing of table
2022-11-01 15:12:06 -04:00
PySimpleGUI
2d019612fe Enabled resizing of table 2022-11-01 15:11:50 -04:00
PySimpleGUI
9a606c0a7a
Merge pull request #5999 from PySimpleGUI/Dev-latest
Dev latest
2022-10-31 13:56:48 -04:00
PySimpleGUI
bb4cbc8e85 Fixed popup_error_with_traceback docstring 2022-10-31 13:56:31 -04:00
PySimpleGUI
02f8fc44bf Fixed docstring for popup_error_with_traceback 2022-10-31 13:55:50 -04:00
PySimpleGUI
4a43ca9ff3
Merge pull request #5998 from PySimpleGUI/Dev-latest
Added drop_whitespace to the docstring for popup.  Added popup_error_…
2022-10-31 13:42:42 -04:00
PySimpleGUI
25349c3724 Added drop_whitespace to the docstring for popup. Added popup_error_with_traceback to popups 2022-10-31 13:42:28 -04:00
PySimpleGUI
e21d222e2e
Merge pull request #5997 from PySimpleGUI/Dev-latest
Added displaying detailed Exception information to popup_error_with_t…
2022-10-31 08:18:26 -04:00
PySimpleGUI
e21896fce3 Added displaying detailed Exception information to popup_error_with_traceback 2022-10-31 08:18:10 -04:00
PySimpleGUI
5195fee765
Merge pull request #5995 from PySimpleGUI/Dev-latest
Dev latest
2022-10-29 16:55:43 -04:00
PySimpleGUI
9f10f7f5e0 Changed message displayed in error window when an element reuse is detected in a layout. 2022-10-29 16:55:24 -04:00
PySimpleGUI
bb62b9b7ad Added drop_whitespace parm to popup docstring. Parm has been there for a while, but was not in the docstring. 2022-10-29 09:11:52 -04:00
PySimpleGUI
c9500acc3b
Merge pull request #5993 from PySimpleGUI/Dev-latest
Added handling of multiple arguments
2022-10-27 15:55:16 -04:00
PySimpleGUI
68b5272bb6 Added handling of multiple arguments 2022-10-27 15:54:58 -04:00
PySimpleGUI
7850d16642
Merge pull request #5987 from PySimpleGUI/Dev-latest
Demo Program - shows a GUI if no arguments are provided when executed
2022-10-26 07:09:03 -04:00
PySimpleGUI
4e24b582f1 Demo Program - shows a GUI if no arguments are provided when executed 2022-10-26 07:08:45 -04:00
PySimpleGUI
be497ae8ff Automated Update! 2022-10-22 14:43:33 -04:00
PySimpleGUI
443cbf8420 Automated Update! 2022-10-22 14:31:37 -04:00
PySimpleGUI
3de2b4aa56
Merge pull request #5981 from PySimpleGUI/Dev-latest
Added saving the new tk.Menu in the widget member variable in Menu.up…
2022-10-22 10:18:22 -04:00
PySimpleGUI
744ea8eccd Added saving the new tk.Menu in the widget member variable in Menu.update 2022-10-22 10:18:07 -04:00
PySimpleGUI
8d5a32ff2c
Merge pull request #5977 from PySimpleGUI/Dev-latest
Removed very old setup.py file
2022-10-20 18:42:09 -04:00
PySimpleGUI
b406df0d6c Removed very old setup.py file 2022-10-20 18:41:52 -04:00
PySimpleGUI
4c27fb2cbd
Merge pull request #5974 from PySimpleGUI/Dev-latest
Some neon color themes
2022-10-17 17:32:32 -04:00
PySimpleGUI
27618d1393 Some neon color themes 2022-10-17 17:32:12 -04:00
PySimpleGUI
e9a2285288
Merge pull request #5968 from PySimpleGUI/Dev-latest
Latest user screenshots so that the bot can take over!
2022-10-16 11:07:46 -04:00
PySimpleGUI
f1bf250742 Latest user screenshots so that the bot can take over! 2022-10-16 11:07:29 -04:00
PySimpleGUI
23717fdf42
Merge pull request #5966 from PySimpleGUI/Dev-latest
Added SYMBOL_BULLET - Unicode Bullet character
2022-10-15 15:32:39 -04:00
PySimpleGUI
c6c77ccf01 Added SYMBOL_BULLET - Unicode Bullet character 2022-10-15 15:32:17 -04:00
PySimpleGUI
07ab15770a
Merge pull request #5959 from PySimpleGUI/Dev-latest
Version bump to match PyPI emergency release
2022-10-11 11:59:20 -04:00
PySimpleGUI
b9761311f6 Version bump to match PyPI emergency release 2022-10-11 11:59:06 -04:00
PySimpleGUI
a480f7a717
Merge pull request #5955 from PySimpleGUI/Dev-latest
Changed how Trinket is detected
2022-10-10 19:05:04 -04:00
PySimpleGUI
3915830985 Changed how Trinket is detected 2022-10-10 19:04:46 -04:00
PySimpleGUI
807b1e6bf2
Merge pull request #5954 from PySimpleGUI/Dev-latest
Fix in test harness... shouldn't have been setting the force modal op…
2022-10-08 17:48:23 -04:00
PySimpleGUI
1127106d75 Fix in test harness... shouldn't have been setting the force modal option after popup test. 2022-10-08 17:48:08 -04:00
PySimpleGUI
9e4a5e4bd6
Merge pull request #5951 from PySimpleGUI/Dev-latest
Dev latest
2022-10-05 05:18:42 -04:00
PySimpleGUI
2a470045f2 Added Window.is_hidden 2022-10-05 05:18:23 -04:00
PySimpleGUI
af97d49f91 Added missing Udemy coupon to call reference 2022-10-05 05:14:27 -04:00
PySimpleGUI
ce5ccb0df6
Merge pull request #5946 from PySimpleGUI/Dev-latest
New Udemy Coupon Code (D5570C66DBD8E42C7963)
2022-10-04 18:44:44 -04:00
PySimpleGUI
70ba9b7569 New Udemy Coupon Code (D5570C66DBD8E42C7963) 2022-10-04 18:44:28 -04:00
PySimpleGUI
9d7d07e9f3
Merge pull request #5939 from PySimpleGUI/Dev-latest
Added latest delivery of Emojis (last batch for a while)
2022-09-28 15:59:44 -04:00
PySimpleGUI
6514982490 Added latest delivery of Emojis (last batch for a while) 2022-09-28 15:59:30 -04:00
PySimpleGUI
d0e8617abf
Merge pull request #5938 from PySimpleGUI/Dev-latest
New emoji's and new parameter to the popup_error_with_traceback so yo…
2022-09-28 15:21:46 -04:00
PySimpleGUI
185fa370db New emoji's and new parameter to the popup_error_with_traceback so you can specify an emoji rather than one being chosen at random. 2022-09-28 15:21:31 -04:00
PySimpleGUI
94c561a3bc
Merge pull request #5937 from PySimpleGUI/Dev-latest
More emojis?  YES More Emojis!
2022-09-28 12:25:22 -04:00
PySimpleGUI
4c3fd1977d More emojis? YES More Emojis! 2022-09-28 12:25:09 -04:00
PySimpleGUI
7c9a66f7c0
Merge pull request #5935 from PySimpleGUI/Dev-latest
Sets the active foreground and active background for Menus and Button…
2022-09-27 11:29:24 -04:00
PySimpleGUI
1b7bc347b3 Sets the active foreground and active background for Menus and ButtonMenus and MenubarCustom. For ButtonMenu and MenubarCustom this includes the button itself as well as the menu items. 2022-09-27 11:29:11 -04:00
PySimpleGUI
9c63abb8c5
Merge pull request #5923 from PySimpleGUI/Dev-latest
Added filtering out option, home and end keys, and displaying number …
2022-09-24 15:27:37 -04:00
PySimpleGUI
9fb0d87181 Added filtering out option, home and end keys, and displaying number of selected rows to the Demo Program for displaying CSV files. 2022-09-24 15:27:25 -04:00
PySimpleGUI
591d05ce88
Merge pull request #5922 from PySimpleGUI/Dev-latest
popup_get_text - addition of history feature so at same level as othe…
2022-09-24 08:21:13 -04:00
PySimpleGUI
2482dff2d6 popup_get_text - addition of history feature so at same level as other popup_get functions 2022-09-24 08:20:54 -04:00
PySimpleGUI
6d41b8395c
Merge pull request #5912 from PySimpleGUI/Dev-latest
Simplified logic for checkbox and text click handling/updating
2022-09-22 02:04:16 -04:00
PySimpleGUI
4ebc727679 Simplified logic for checkbox and text click handling/updating 2022-09-22 02:04:05 -04:00
PySimpleGUI
d4c8fc4850
Merge pull request #5911 from PySimpleGUI/Dev-latest
Changed keys into tuples.  Made Text AND Image clickable so will be l…
2022-09-22 01:41:29 -04:00
PySimpleGUI
92bac182bd Changed keys into tuples. Made Text AND Image clickable so will be like a normal checkbox element 2022-09-22 01:41:18 -04:00
PySimpleGUI
32078421c6
Merge pull request #5905 from PySimpleGUI/Dev-latest
Better text alignment in the test harness.  Fixed crash in SystemTray…
2022-09-20 14:38:03 -04:00
PySimpleGUI
aaa6d0e79d Better text alignment in the test harness. Fixed crash in SystemTray.show_message that happened if the time value was specified as an int 2022-09-20 14:37:49 -04:00
PySimpleGUI
5d70b94e47
Merge pull request #5904 from PySimpleGUI/Dev-latest
Fixed Text docstring.  Show the Python Executable in the main test ha…
2022-09-20 13:39:36 -04:00
PySimpleGUI
696a181129 Fixed Text docstring. Show the Python Executable in the main test harness 2022-09-20 13:39:20 -04:00
PySimpleGUI
bd0d18b380
Merge pull request #5899 from PySimpleGUI/Dev-latest
Better exception handling... keep the app going rather than breaking …
2022-09-17 10:54:55 -04:00
PySimpleGUI
86a09c2fe0 Better exception handling... keep the app going rather than breaking from event loop. 2022-09-17 10:54:42 -04:00
PySimpleGUI
e7fe7b4cbf
Merge pull request #5898 from PySimpleGUI/Dev-latest
Dev latest
2022-09-17 07:45:32 -04:00
PySimpleGUI
bcc799ce4a New emoji toolbar 2022-09-17 07:45:16 -04:00
PySimpleGUI
2222b00bd1 It's emoji Saturday... another batch 2022-09-17 07:44:15 -04:00
PySimpleGUI
0e2ddaf7fd
Merge pull request #5895 from PySimpleGUI/Dev-latest
Removed the new right_justify_buttons from popup and replaced with bu…
2022-09-16 15:15:37 -04:00
PySimpleGUI
cd9b5e4b93 Removed the new right_justify_buttons from popup and replaced with button_justification 2022-09-16 15:15:25 -04:00
PySimpleGUI
5fe61b7499
Merge pull request #5893 from PySimpleGUI/Dev-latest
Added Element.save_element_screenshot_to_disk
2022-09-15 19:11:41 -04:00
PySimpleGUI
961f7ba137 Added Element.save_element_screenshot_to_disk 2022-09-15 19:11:29 -04:00
PySimpleGUI
8227dc60d1
Merge pull request #5892 from PySimpleGUI/Dev-latest
Trying out a format that will add a table of contents
2022-09-15 12:29:02 -04:00
PySimpleGUI
686937e8f9 Trying out a format that will add a table of contents 2022-09-15 12:28:48 -04:00
PySimpleGUI
b2817f8608
Merge pull request #5891 from PySimpleGUI/Dev-latest
Added 2 parms to popup - right_justify_buttons and drop_whitespace
2022-09-15 12:05:01 -04:00
PySimpleGUI
7745cffbfb Added 2 parms to popup - right_justify_buttons and drop_whitespace 2022-09-15 12:04:48 -04:00
PySimpleGUI
c940a9c8b4
Merge pull request #5888 from PySimpleGUI/Dev-latest
Shortened the Japanese readme tab name so they call fit without cusin…
2022-09-14 13:26:48 -04:00
PySimpleGUI
2b4d2067a5 Shortened the Japanese readme tab name so they call fit without cusing the cropped header problem. 2022-09-14 13:26:34 -04:00
PySimpleGUI
d8ac92ab1e
Merge pull request #5887 from PySimpleGUI/Dev-latest
Added back 1 more tab
2022-09-14 13:20:17 -04:00
PySimpleGUI
0e0e5f8135 Added back 1 more tab 2022-09-14 13:20:02 -04:00
PySimpleGUI
ab49e2eb5a
Merge pull request #5886 from PySimpleGUI/Dev-latest
Adding back screenshot tabs since header working correctly now (BE SU…
2022-09-14 13:13:08 -04:00
PySimpleGUI
065163fc73 Adding back screenshot tabs since header working correctly now (BE SURE AND CLEAR YOUR BROSER CACHE!) 2022-09-14 13:12:48 -04:00
PySimpleGUI
860b258748
Merge pull request #5885 from PySimpleGUI/Dev-latest
removed the demo screenshost tab
2022-09-14 13:06:08 -04:00
PySimpleGUI
73cc4de08b removed the demo screenshost tab 2022-09-14 13:05:53 -04:00
PySimpleGUI
da0b84be09
Merge pull request #5884 from PySimpleGUI/Dev-latest
Renamed the user screenshots to reduce number of tabs
2022-09-14 13:02:11 -04:00
PySimpleGUI
142e3cba53 Renamed the user screenshots to reduce number of tabs 2022-09-14 13:01:56 -04:00
PySimpleGUI
678453d23d
Merge pull request #5883 from PySimpleGUI/Dev-latest
Remove the second user screenshots tab
2022-09-14 12:53:14 -04:00
PySimpleGUI
d06d59c0f1 Remove the second user screenshots tab 2022-09-14 12:52:59 -04:00
PySimpleGUI
091740af51
Merge pull request #5882 from PySimpleGUI/Dev-latest
More tab renaming
2022-09-14 12:51:13 -04:00
PySimpleGUI
7ae9e0c2e7 More tab renaming 2022-09-14 12:50:49 -04:00
PySimpleGUI
0370306fe6
Merge pull request #5881 from PySimpleGUI/Dev-latest
renamed user screenshots tabs to shorten the header
2022-09-14 12:48:36 -04:00
PySimpleGUI
cdcbbd5cc0 renamed user screenshots tabs to shorten the header 2022-09-14 12:48:22 -04:00
PySimpleGUI
9c48aefecf
Merge pull request #5880 from PySimpleGUI/Dev-latest
Removed requirements from readthedocs.yml due to scrolling of TOC pro…
2022-09-14 12:45:03 -04:00
PySimpleGUI
953992a962 Removed requirements from readthedocs.yml due to scrolling of TOC problem 2022-09-14 12:44:47 -04:00
PySimpleGUI
5ed9fd4888
Merge pull request #5874 from PySimpleGUI/Dev-latest
New Demo Program demonstrating using images for "Can Buttons"
2022-09-14 08:38:59 -04:00
PySimpleGUI
888e393886 New Demo Program demonstrating using images for "Can Buttons" 2022-09-14 08:38:31 -04:00
PySimpleGUI
231ff526b7
Merge pull request #5873 from PySimpleGUI/Dev-latest
Added coverage of case where no matching python file found.
2022-09-13 18:57:25 -04:00
PySimpleGUI
74ae30d8a1 Added coverage of case where no matching python file found. 2022-09-13 18:57:14 -04:00
PySimpleGUI
f363bf97c1
Merge pull request #5872 from PySimpleGUI/Dev-latest
Back to using a table and also using the correct py or pyw filename
2022-09-13 18:53:55 -04:00
PySimpleGUI
4244c7bca0 Back to using a table and also using the correct py or pyw filename 2022-09-13 18:53:41 -04:00
PySimpleGUI
a16a7d477d
Merge pull request #5871 from PySimpleGUI/Dev-latest
Switch from table to using header so that a table of contents is gene…
2022-09-13 18:38:29 -04:00
PySimpleGUI
86ba815e0f Switch from table to using header so that a table of contents is generated 2022-09-13 18:38:14 -04:00
PySimpleGUI
b5bb47d17b
Merge pull request #5870 from PySimpleGUI/Dev-latest
Added back the user screenshots tabs
2022-09-13 16:13:13 -04:00
PySimpleGUI
537998b48b Added back the user screenshots tabs 2022-09-13 16:13:00 -04:00
PySimpleGUI
b1d1847c7b
Merge pull request #5869 from PySimpleGUI/Dev-latest
Change width of videos
2022-09-13 14:31:55 -04:00
PySimpleGUI
cd277b5540 Change width of videos 2022-09-13 14:31:43 -04:00
PySimpleGUI
217a6468f1
Merge pull request #5868 from PySimpleGUI/Dev-latest
New screenshots from the screenshots repo
2022-09-13 14:28:19 -04:00
PySimpleGUI
d1571a3dd9 New screenshots from the screenshots repo 2022-09-13 14:28:08 -04:00
PySimpleGUI
4b24b7b3c1
Merge pull request #5866 from PySimpleGUI/Dev-latest
Fix link to image
2022-09-12 09:20:21 -04:00
PySimpleGUI
f8c461d011 Fix link to image 2022-09-12 09:20:07 -04:00
PySimpleGUI
33159bc552
Merge pull request #5865 from PySimpleGUI/Dev-latest
Fix screenshots location
2022-09-12 09:12:50 -04:00
PySimpleGUI
856d110996 Fix screenshots location 2022-09-12 09:12:36 -04:00
PySimpleGUI
cee4a417c7
Merge pull request #5864 from PySimpleGUI/Dev-latest
Trying out a new screenshots tab
2022-09-12 09:01:57 -04:00
PySimpleGUI
72afe193a7 Trying out a new screenshots tab 2022-09-12 09:01:43 -04:00
PySimpleGUI
ec758db906
Merge pull request #5862 from PySimpleGUI/Dev-latest
More doc rework...
2022-09-11 14:47:40 -04:00
PySimpleGUI
4d4d31ee72 More doc rework... 2022-09-11 14:47:28 -04:00
PySimpleGUI
1a22c3f103
Merge pull request #5861 from PySimpleGUI/Dev-latest
Added back the docs_modification folder... should have only removed t…
2022-09-11 14:42:55 -04:00
PySimpleGUI
b91ef6510d Added back the docs_modification folder... should have only removed the dependencies setting 2022-09-11 14:42:10 -04:00
PySimpleGUI
258e0dcb35
Merge pull request #5860 from PySimpleGUI/Dev-latest
Remove docs_modification for test
2022-09-11 14:37:29 -04:00
PySimpleGUI
b90dd922e7 Remove docs_modification for test 2022-09-11 14:37:18 -04:00
PySimpleGUI
d522aa91eb
Merge pull request #5859 from PySimpleGUI/Dev-latest
Problem with SDK ref following pinning mkdocs to 1.3.1 so pulling tha…
2022-09-11 14:35:27 -04:00
PySimpleGUI
8124dbe5c8 Problem with SDK ref following pinning mkdocs to 1.3.1 so pulling that out for a test 2022-09-11 14:35:13 -04:00
PySimpleGUI
13d2e3422a
Merge pull request #5858 from PySimpleGUI/Dev-latest
Rename the user screenshots to temporarily remove them from the docs.
2022-09-11 14:30:49 -04:00
PySimpleGUI
05e336a2a5 Rename the user screenshots to temporarily remove them from the docs. 2022-09-11 14:30:31 -04:00
PySimpleGUI
b840a5b741
Merge pull request #5857 from PySimpleGUI/Dev-latest
Minor edit
2022-09-11 13:55:29 -04:00
PySimpleGUI
70697281ef Minor edit 2022-09-11 13:55:17 -04:00
PySimpleGUI
2f1ffee12e
Merge pull request #5856 from PySimpleGUI/Dev-latest
Use latest version of mkdocs
2022-09-11 13:46:17 -04:00
PySimpleGUI
19a41b9b38 Use latest version of mkdocs 2022-09-11 13:46:05 -04:00
PySimpleGUI
2170b4a19f
Merge pull request #5855 from PySimpleGUI/Dev-latest
Use latest version of mkdocs to fix header problem
2022-09-11 13:45:05 -04:00
PySimpleGUI
9ba3c8042e Use latest version of mkdocs to fix header problem 2022-09-11 13:44:52 -04:00
PySimpleGUI
fb61584c0b
Merge pull request #5853 from PySimpleGUI/Dev-latest
Fix for docstring - type should have been int not bool for new starti…
2022-09-10 19:34:08 -04:00
PySimpleGUI
f24d4b585c Fix for docstring - type should have been int not bool for new starting_row_number parm 2022-09-10 19:33:50 -04:00
PySimpleGUI
9805f004c2
Merge pull request #5852 from PySimpleGUI/Dev-latest
Addition of starting_row_number to the Table element
2022-09-10 19:16:26 -04:00
PySimpleGUI
c64022522e Addition of starting_row_number to the Table element 2022-09-10 19:16:10 -04:00
PySimpleGUI
b6f55ad830
Merge pull request #5850 from PySimpleGUI/Dev-latest
Fix for problem with spaces in filename and using an editor specified…
2022-09-10 16:01:46 -04:00
PySimpleGUI
669b739696 Fix for problem with spaces in filename and using an editor specified in the Demo Browser's settings 2022-09-10 16:01:32 -04:00
PySimpleGUI
8ec1ca1fb9
Merge pull request #5844 from PySimpleGUI/Dev-latest
Tighten up the table parms
2022-09-08 16:55:46 -04:00
PySimpleGUI
9af024cd82 Tighten up the table parms 2022-09-08 16:55:33 -04:00
PySimpleGUI
da047a0c99
Merge pull request #5843 from PySimpleGUI/Dev-latest
New Demo Program - CSV Table Display
2022-09-08 16:40:53 -04:00
PySimpleGUI
5be4ac34a9 New Demo Program - CSV Table Display 2022-09-08 16:40:39 -04:00
PySimpleGUI
2539e2cbb0
Merge pull request #5841 from PySimpleGUI/Dev-latest
Added support for Custom Titlebar to the Window.set_title method
2022-09-07 09:29:19 -04:00
PySimpleGUI
e9a9f299fc Added support for Custom Titlebar to the Window.set_title method 2022-09-07 09:29:02 -04:00
PySimpleGUI
f1bcd8fe49
Merge pull request #5840 from PySimpleGUI/Dev-latest
Add the now standard "save last location" code that most of the "Desk…
2022-09-07 09:18:36 -04:00
PySimpleGUI
9a31a75be1 Add the now standard "save last location" code that most of the "Desktop Widget" demo programs have 2022-09-07 09:18:20 -04:00
PySimpleGUI
4f1429cc97
Merge pull request #5839 from PySimpleGUI/Dev-latest
Added TabGroup visibility control in both the init and added an updat…
2022-09-06 12:00:22 -04:00
PySimpleGUI
6c480dcf1c Added TabGroup visibility control in both the init and added an update method. 2022-09-06 11:59:45 -04:00
PySimpleGUI
3e6cd243e3
Merge pull request #5835 from PySimpleGUI/Dev-latest
Addition of TITLEBAR_TEXT_KEY
2022-09-05 15:15:12 -04:00
PySimpleGUI
35fabbaa09 Addition of TITLEBAR_TEXT_KEY 2022-09-05 15:14:54 -04:00
PySimpleGUI
8ae79ac25c
Merge pull request #5832 from PySimpleGUI/Dev-latest
Update of the Emoji Toolbar demo program
2022-09-04 13:04:38 -04:00
PySimpleGUI
f89e652d56 Update of the Emoji Toolbar demo program 2022-09-04 13:04:26 -04:00
PySimpleGUI
bae0152eaa
Merge pull request #5831 from PySimpleGUI/Dev-latest
Dev latest
2022-09-04 11:00:08 -04:00
PySimpleGUI
f37b826586 New theme Dark Grey 16, New batch of emojis :-) 2022-09-04 10:59:53 -04:00
PySimpleGUI
8a405a2eaa EMOJIS! Another batch arrived with more on the way 2022-09-04 10:45:56 -04:00
PySimpleGUI
a80a9436dc
Merge pull request #5830 from PySimpleGUI/Dev-latest
Added interpreter information to the get_versions function for better…
2022-09-03 11:01:15 -04:00
PySimpleGUI
adc4709f34 Added interpreter information to the get_versions function for better debugging. A couple of docstrings fixes. 2022-09-03 11:00:32 -04:00
PySimpleGUI
9497746ab1
Merge pull request #5826 from PySimpleGUI/Dev-latest
Removed entries without screenshots
2022-08-30 19:25:08 -04:00
PySimpleGUI
16c8e685c7 Removed entries without screenshots 2022-08-30 19:24:53 -04:00
PySimpleGUI
86cec41af4
Merge pull request #5825 from PySimpleGUI/Dev-latest
Reversed order of screenshot so newest at top
2022-08-30 19:21:13 -04:00
PySimpleGUI
80d2d463f8 Reversed order of screenshot so newest at top 2022-08-30 19:20:44 -04:00
PySimpleGUI
8cefdad2d6
Merge pull request #5822 from PySimpleGUI/Dev-latest
New Combo parameter - enable_per_char_events.  When True, will get an…
2022-08-29 17:58:44 -04:00
PySimpleGUI
9b409083ee New Combo parameter - enable_per_char_events. When True, will get an event for every character that's typed 2022-08-29 17:58:31 -04:00
PySimpleGUI
3cf96acf03
Merge pull request #5819 from PySimpleGUI/Dev-latest
Newest Udemy code
2022-08-28 19:24:38 -04:00
PySimpleGUI
30d4241a34 Newest Udemy code 2022-08-28 19:24:24 -04:00
PySimpleGUI
2bd702f4f8
Merge pull request #5818 from PySimpleGUI/Dev-latest
User Screenshots - no text only images
2022-08-27 16:02:12 -04:00
PySimpleGUI
e0e1ba855f User Screenshots - no text only images 2022-08-27 16:01:57 -04:00
PySimpleGUI
2364090661
Merge pull request #5817 from PySimpleGUI/Dev-latest
Trying a more compact format for screenshots
2022-08-27 09:21:48 -04:00
PySimpleGUI
1135563ee2 Trying a more compact format for screenshots 2022-08-27 09:21:18 -04:00
PySimpleGUI
559333fcc2
Merge pull request #5815 from PySimpleGUI/Dev-latest
Adding user screenshots from issue 10 (EXCITING!)
2022-08-26 12:43:03 -04:00
PySimpleGUI
e7744edb45 Adding user screenshots from issue 10 (EXCITING!) 2022-08-26 12:42:46 -04:00
PySimpleGUI
c3f937b294
Merge pull request #5813 from PySimpleGUI/Dev-latest
Updated the Output Element's docstring
2022-08-25 19:47:01 -04:00
PySimpleGUI
9648b9034c Updated the Output Element's docstring 2022-08-25 19:46:41 -04:00
PySimpleGUI
2049d258f3
Merge pull request #5812 from PySimpleGUI/Dev-latest
Output Element - automatically reroutes cprint to the output element …
2022-08-25 18:29:38 -04:00
PySimpleGUI
2ecb45481b Output Element - automatically reroutes cprint to the output element now as well as stdout, stderr 2022-08-25 18:29:20 -04:00
PySimpleGUI
af372a27a2
Merge pull request #5811 from PySimpleGUI/Dev-latest
Addition of vsb_style_name and hsb_style_name to elements so that the…
2022-08-25 11:19:45 -04:00
PySimpleGUI
9a27c36234 Addition of vsb_style_name and hsb_style_name to elements so that theme/colors of element's ttk scrollbars can be changed 2022-08-25 11:19:25 -04:00
PySimpleGUI
45e55b43f6
Merge pull request #5801 from PySimpleGUI/Dev-latest
Fix for the stdout and stderr rerouting bug. Now correctly restores s…
2022-08-21 18:53:16 -04:00
PySimpleGUI
0861d66339 Fix for the stdout and stderr rerouting bug. Now correctly restores stdout & stderr when a window is closed or routing is changed. 2022-08-21 18:53:01 -04:00
PySimpleGUI
dbf8183070
Merge pull request #5800 from PySimpleGUI/Dev-latest
Fixed docstring error in set_options.  A quick & dirty addition of sh…
2022-08-21 17:32:41 -04:00
PySimpleGUI
43702eff5f Fixed docstring error in set_options. A quick & dirty addition of shortcut character for buttons. Due to backwards compatibility, must be enabled using set_options. 2022-08-21 17:32:25 -04:00
PySimpleGUI
f7056a327c
Merge pull request #5798 from PySimpleGUI/Dev-latest
Removed the error popup that happened when Multline elements were try…
2022-08-20 20:35:38 -04:00
PySimpleGUI
add16aa4ee Removed the error popup that happened when Multline elements were trying to print to a closed window. Was causing problem that required task manager to kill the window as a solution. Added Sizegrip onto the SDK Help Window. START of the fixes for restoring re-routed stdout and stderr 2022-08-20 20:35:22 -04:00
PySimpleGUI
8a68674026
Merge pull request #5786 from PySimpleGUI/Dev-latest
Increased button pressed display font size.
2022-08-14 16:55:01 -04:00
PySimpleGUI
332042d7d0 Increased button pressed display font size. 2022-08-14 16:54:45 -04:00
PySimpleGUI
433d71421e
Merge pull request #5785 from PySimpleGUI/Dev-latest
Added output of button click to the window itself
2022-08-14 16:43:53 -04:00
PySimpleGUI
7510d18518 Added output of button click to the window itself 2022-08-14 16:43:33 -04:00
PySimpleGUI
0bd7b8e74a
Merge pull request #5784 from PySimpleGUI/Dev-latest
New Demo Program -  Simulated Buttons With Highlighting
2022-08-14 16:37:58 -04:00
PySimpleGUI
4b971f7d0a New Demo Program - Simulated Buttons With Highlighting 2022-08-14 16:37:39 -04:00
PySimpleGUI
8cbd4a355a
Merge pull request #5780 from PySimpleGUI/Dev-latest
Support for Custom Titlebar added to Window.minimize, Window.maximize…
2022-08-12 17:09:11 -04:00
PySimpleGUI
8c53d1c400 Support for Custom Titlebar added to Window.minimize, Window.maximize, Window.normal 2022-08-12 17:08:42 -04:00
PySimpleGUI
c0e952c930
Merge pull request #5769 from PySimpleGUI/Dev-latest
Added Window.get_scaling to get the current scaling value from tktiner
2022-08-08 09:51:27 -04:00
PySimpleGUI
1e3e721f36 Added Window.get_scaling to get the current scaling value from tktiner 2022-08-08 09:51:08 -04:00
PySimpleGUI
9692dd1ea2
Merge pull request #5766 from PySimpleGUI/Dev-latest
Update Demo_Invisible_Elements_Pinning.py
2022-08-07 07:36:31 -04:00
PySimpleGUI
6eb14b7408 Update Demo_Invisible_Elements_Pinning.py 2022-08-07 07:36:15 -04:00
PySimpleGUI
1c2aa9dd77
Merge pull request #5760 from PySimpleGUI/Dev-latest
Addition of quick_check parm to Window.is_closed to bypass the root.u…
2022-08-06 11:02:32 -04:00
PySimpleGUI
768e73a71c Addition of quick_check parm to Window.is_closed to bypass the root.update tkinter call. For complex windows this can take a huge amount of time. This quick_check is now used in the element update methods instead of calling tktinter. 2022-08-06 11:02:13 -04:00
PySimpleGUI
bba37766a7
Merge pull request #5757 from PySimpleGUI/Dev-latest
Better docstring description of ProgressBar and one_line_progress_met…
2022-08-05 15:23:16 -04:00
PySimpleGUI
95f5c643b0 Better docstring description of ProgressBar and one_line_progress_meter paremeter bar_color. Addition of select parm to Combo.update 2022-08-05 15:23:02 -04:00
PySimpleGUI
3fc99031fd
Merge pull request #5756 from PySimpleGUI/Dev-latest
Exception protection if something happens in the drawing of a figure.…
2022-08-05 13:48:32 -04:00
PySimpleGUI
244cff57a4 Exception protection if something happens in the drawing of a figure. Added to code to ensure previously packed canvas is not packed again. 2022-08-05 13:48:11 -04:00
PySimpleGUI
6dd947b9cc
Merge pull request #5753 from PySimpleGUI/Dev-latest
Combo element - if readonly, set select color so that it's not notice…
2022-08-03 13:05:22 -04:00
PySimpleGUI
8ef45d6643 Combo element - if readonly, set select color so that it's not noticeable since no selecting will be happening 2022-08-03 13:05:02 -04:00
PySimpleGUI
f272da19b8
Merge pull request #5752 from PySimpleGUI/Dev-latest
Addition of Window.key_is_good - a quick and easy check for a good key
2022-08-03 09:23:33 -04:00
PySimpleGUI
f466284325 Addition of Window.key_is_good - a quick and easy check for a good key 2022-08-03 09:23:14 -04:00
PySimpleGUI
bc81040fe0
Merge pull request #5751 from PySimpleGUI/Dev-latest
Output element now sets auto_refresh=True.
2022-08-01 15:15:45 -04:00
PySimpleGUI
790c811161 Output element now sets auto_refresh=True. 2022-08-01 15:15:26 -04:00
PySimpleGUI
0afa04f1ea
Merge pull request #5746 from PySimpleGUI/Dev-latest
Added check for window closes to elements update method
2022-07-30 16:06:05 -04:00
PySimpleGUI
f71aa97c51 Added check for window closes to elements update method 2022-07-30 16:05:48 -04:00
PySimpleGUI
c7b2cfcc45
Merge pull request #5745 from PySimpleGUI/Dev-latest
Update of the email send Demo Program
2022-07-30 15:59:38 -04:00
PySimpleGUI
29ef2b4b25 Update of the email send Demo Program 2022-07-30 15:59:25 -04:00
PySimpleGUI
463e121634
Merge pull request #5744 from PySimpleGUI/Dev-latest
If for debug print with no_button and non_blocking
2022-07-29 07:32:10 -04:00
PySimpleGUI
6bf2426c55 If for debug print with no_button and non_blocking 2022-07-29 07:31:52 -04:00
PySimpleGUI
2fb75ffae4
Merge pull request #5741 from PySimpleGUI/Dev-latest
Removed the expansion call and notebook pack from Tab code to see if …
2022-07-28 15:19:23 -04:00
PySimpleGUI
540cfa9e1c Removed the expansion call and notebook pack from Tab code to see if it fixes a TabGroup Expansion problem 2022-07-28 15:19:01 -04:00
PySimpleGUI
37231510f6
Merge pull request #5740 from PySimpleGUI/Dev-latest
Releases notes for 4.60.3 so that readthedocs will build
2022-07-27 17:45:34 -04:00
PySimpleGUI
85be5ae0a9 Releases notes for 4.60.3 so that readthedocs will build 2022-07-27 17:45:20 -04:00
PySimpleGUI
c9b273c934
Merge pull request #5739 from PySimpleGUI/Dev-latest
Changes that posted to PyPI as 4.60.3
2022-07-27 17:32:36 -04:00
PySimpleGUI
4227cc3c91 Changes that posted to PyPI as 4.60.3 2022-07-27 17:32:21 -04:00
PySimpleGUI
209680701f
Merge pull request #5737 from PySimpleGUI/Dev-latest
Fix for Mac version check... oy.... sloppy work... sorry about that....
2022-07-27 11:18:45 -04:00
PySimpleGUI
59cf979031 Fix for Mac version check... oy.... sloppy work... sorry about that.... 2022-07-27 11:18:32 -04:00
PySimpleGUI
fb7854c254
Merge pull request #5736 from PySimpleGUI/Dev-latest
Fixed problem checking for MacOS version for the 12.3+ problem.  Chan…
2022-07-27 08:37:29 -04:00
PySimpleGUI
f02c2c6f02 Fixed problem checking for MacOS version for the 12.3+ problem. Change is being released as .406.3 so version here is also bumping to 4.60.3.66 2022-07-27 08:37:13 -04:00
PySimpleGUI
70c8f26c9c
Merge pull request #5732 from PySimpleGUI/Dev-latest
Bumping version to 4.60.2.65 to reflect that the 4.60.2 dot release i…
2022-07-26 15:23:31 -04:00
PySimpleGUI
c64c82c254 Bumping version to 4.60.2.65 to reflect that the 4.60.2 dot release is already in this code. 2022-07-26 15:23:16 -04:00
PySimpleGUI
4260a4661f
Merge pull request #5731 from PySimpleGUI/Dev-latest
Doc update so that 4.60.2 is in release notes
2022-07-26 15:15:28 -04:00
PySimpleGUI
2db64b8367 Doc update so that 4.60.2 is in release notes 2022-07-26 15:15:01 -04:00
PySimpleGUI
226d4a39ad
Merge pull request #5730 from PySimpleGUI/Dev-latest
Addition of Mac OS 12.3 Patch that sets Alpha channel to 0.99 by defa…
2022-07-26 10:21:24 -04:00
PySimpleGUI
0a26d35faf Addition of Mac OS 12.3 Patch that sets Alpha channel to 0.99 by default. Added control to Mac Control Panel in PySimpleGUI Settings 2022-07-26 10:21:09 -04:00
PySimpleGUI
43aaed1fd9
Merge pull request #5724 from PySimpleGUI/Dev-latest
Don't hide window when creating if the location is None (uses the OS …
2022-07-25 13:53:15 -04:00
PySimpleGUI
1dfb36f84a Don't hide window when creating if the location is None (uses the OS default location so no need to hide since not moving) 2022-07-25 13:52:56 -04:00
PySimpleGUI
b28fe017b5
Merge pull request #5723 from PySimpleGUI/Dev-latest
Demo program for read all windows that was evidently not checked in....
2022-07-25 12:29:50 -04:00
PySimpleGUI
2a9fc313bc Demo program for read all windows that was evidently not checked in.... 2022-07-25 12:29:26 -04:00
PySimpleGUI
f90ce637aa
Merge pull request #5715 from PySimpleGUI/Dev-latest
New checklist item (have upgraded to newest release of PySimpleGUI fr…
2022-07-23 19:11:48 -04:00
PySimpleGUI
af7aa7ab9f New checklist item (have upgraded to newest release of PySimpleGUI from PyPI added to the log a GitHub issue GUI), fixed problem with some versions of tkinter not supporting justification of listbboxes 2022-07-23 19:11:34 -04:00
PySimpleGUI
2dba726a7a
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2022-07-23 18:56:15 -04:00
PySimpleGUI
b38ad064d3
Merge pull request #5712 from PySimpleGUI/Dev-latest
Happily removed the "NOT available on the MAC" designation in the fil…
2022-07-22 17:26:58 -04:00
PySimpleGUI
fde83bb0cb Happily removed the "NOT available on the MAC" designation in the file_types in docstrings. 2022-07-22 17:26:41 -04:00
PySimpleGUI
a837c27ddd
Merge pull request #5711 from PySimpleGUI/Dev-latest
Dev latest
2022-07-22 15:23:24 -04:00
PySimpleGUI
f405e9488c New coupon + latest SDK changes on GitHub picked up 2022-07-22 15:23:08 -04:00
PySimpleGUI
ccde400f29 Change of doc addresses to PySimpleGUI.org. New Udemy coupon code 2022-07-22 15:22:11 -04:00
PySimpleGUI
6438e573df
Merge pull request #5709 from PySimpleGUI/Dev-latest
Addition of set_option parameter hide_window_when_creating. If set to…
2022-07-21 11:48:46 -04:00
PySimpleGUI
b81e406663 Addition of set_option parameter hide_window_when_creating. If set to False then window will not be hidden while creating and moving 2022-07-21 11:48:12 -04:00
PySimpleGUI
5d960c3dc8
Merge pull request #5708 from PySimpleGUI/Dev-latest
Fix for crash if COLOR_SYSTEM_DEFAULT specified in parameter disabled…
2022-07-20 13:06:21 -04:00
PySimpleGUI
c1fac73612 Fix for crash if COLOR_SYSTEM_DEFAULT specified in parameter disabled_readonly_background_color or disabled_readonly_text_color for Input Element. Also applied similar fix for Tab element's focus color 2022-07-20 13:06:06 -04:00
PySimpleGUI
f883868828
Merge pull request #5706 from PySimpleGUI/Dev-latest
Rework of main.html
2022-07-20 10:21:49 -04:00
PySimpleGUI
9540947b48 Rework of main.html 2022-07-20 10:21:34 -04:00
PySimpleGUI
7e0f042d9f
Merge pull request #5705 from PySimpleGUI/Dev-latest
Pick up latest docstrings
2022-07-20 09:52:18 -04:00
PySimpleGUI
5e938d0792 Pick up latest docstrings 2022-07-20 09:52:00 -04:00
PySimpleGUI
85e18deee9
Merge pull request #5704 from PySimpleGUI/Dev-latest
Addition of "Show all file types" option, Expansion of elements for w…
2022-07-20 09:46:41 -04:00
PySimpleGUI
bc9fa18855 Addition of "Show all file types" option, Expansion of elements for window resizing (old change that doesn't seem to have been checked in 🤦‍♂️) 2022-07-20 09:46:18 -04:00
PySimpleGUI
35e5e23dbe
Merge pull request #5702 from PySimpleGUI/Dev-latest
Very Short Demo Program that saves the last value entered into Input …
2022-07-19 08:46:25 -04:00
PySimpleGUI
ece20996a3 Very Short Demo Program that saves the last value entered into Input element that is then used as the default in the future. 2022-07-19 08:46:01 -04:00
PySimpleGUI
23b69a923c
Merge pull request #5701 from PySimpleGUI/Dev-latest
Removed unnecessary check for isinstance of tuple.... a new pattern l…
2022-07-18 13:49:24 -04:00
PySimpleGUI
186ddb8722 Removed unnecessary check for isinstance of tuple.... a new pattern lately with tuples as keys. 2022-07-18 13:49:11 -04:00
PySimpleGUI
672ed9755b
Merge pull request #5700 from PySimpleGUI/Dev-latest
Removed unnecessary user settings for the window position
2022-07-18 12:31:27 -04:00
PySimpleGUI
c9cdf53176 Removed unnecessary user settings for the window position 2022-07-18 12:31:09 -04:00
PySimpleGUI
31f4a9b558
Merge pull request #5699 from PySimpleGUI/Dev-latest
New demo - add and delete rows from layouts. Based on the Fed Ex Pack…
2022-07-18 12:24:21 -04:00
PySimpleGUI
bf9d1214f0 New demo - add and delete rows from layouts. Based on the Fed Ex Package Tracker Demo Program 2022-07-18 12:24:03 -04:00
PySimpleGUI
9681968974
Merge pull request #5698 from PySimpleGUI/Dev-latest
Bad spelling this early in the day
2022-07-18 06:46:36 -04:00
PySimpleGUI
d039a27418 Bad spelling this early in the day 2022-07-18 06:46:09 -04:00
PySimpleGUI
e1dbdeecf6
Merge pull request #5697 from PySimpleGUI/Dev-latest
Fix spelling error
2022-07-18 06:44:58 -04:00
PySimpleGUI
e60f243503 Fix spelling error 2022-07-18 06:44:45 -04:00
PySimpleGUI
b3a1ec1804
Merge pull request #5696 from PySimpleGUI/Dev-latest
Images for new docs
2022-07-18 06:43:35 -04:00
PySimpleGUI
4fd596cd74 Images for new docs 2022-07-18 06:43:21 -04:00
PySimpleGUI
a8c4001e40
Merge pull request #5695 from PySimpleGUI/Dev-latest
GIF of psgtest for new docs
2022-07-18 06:28:43 -04:00
PySimpleGUI
019c8bb930 GIF of psgtest for new docs 2022-07-18 06:28:24 -04:00
PySimpleGUI
d055bc6e43
Merge pull request #5694 from PySimpleGUI/Dev-latest
Addition of without_titlebar paramter to Window.current_location.  De…
2022-07-17 12:53:29 -04:00
PySimpleGUI
2c79871bef Addition of without_titlebar paramter to Window.current_location. Defaults to False. If True, then the location of the main portion of the window 2022-07-17 12:53:12 -04:00
PySimpleGUI
1a228d708e
Merge pull request #5692 from PySimpleGUI/Dev-latest
Corrected Text Element's update method docstring to indicate value ca…
2022-07-16 19:14:44 -04:00
PySimpleGUI
99fac15540 Corrected Text Element's update method docstring to indicate value can be "Any" type not just string 2022-07-16 19:14:27 -04:00
PySimpleGUI
177470e009
Merge pull request #5689 from PySimpleGUI/Dev-latest
image for new docs
2022-07-15 06:12:40 -04:00
PySimpleGUI
5ba4a5b099 image for new docs 2022-07-15 06:12:17 -04:00
PySimpleGUI
47980d6923
Merge pull request #5688 from PySimpleGUI/Dev-latest
images for new docs
2022-07-15 05:54:30 -04:00
PySimpleGUI
8c315807ab images for new docs 2022-07-15 05:54:11 -04:00
PySimpleGUI
499a019aac
Merge pull request #5685 from PySimpleGUI/Dev-latest
New docs screenshots
2022-07-13 10:27:01 -04:00
PySimpleGUI
9e85401d53 New docs screenshots 2022-07-13 10:26:46 -04:00
PySimpleGUI
15e3b5d55b
Merge pull request #5682 from PySimpleGUI/Dev-latest
Fixed output filename so named using the resized values (also releasi…
2022-07-12 15:02:11 -04:00
PySimpleGUI
c008805e97 Fixed output filename so named using the resized values (also releasing to the standalone repo and the pypi psgresizer package) 2022-07-12 15:01:54 -04:00
PySimpleGUI
7f6890c85c
Merge pull request #5679 from PySimpleGUI/Dev-latest
Updated to use built-in threading call, tuples for thread keys, relat…
2022-07-08 11:16:53 -04:00
PySimpleGUI
ba8b71ea25 Updated to use built-in threading call, tuples for thread keys, relative window position 2022-07-08 11:16:40 -04:00
PySimpleGUI
9b59796dd5
Merge pull request #5678 from PySimpleGUI/Dev-latest
Addition of double-clicking and showing the get_liast_clicked_positio…
2022-07-08 08:13:30 -04:00
PySimpleGUI
16df165603 Addition of double-clicking and showing the get_liast_clicked_position function. 2022-07-08 08:13:13 -04:00
PySimpleGUI
dcc18abb51
Merge pull request #5676 from PySimpleGUI/Dev-latest
Fix for not getting the background color from the container when exte…
2022-07-06 15:07:13 -04:00
PySimpleGUI
9db1b63c01 Fix for not getting the background color from the container when extending a layout using Window.extend_layout 2022-07-06 15:07:00 -04:00
PySimpleGUI
c2d72ee260
Merge pull request #5675 from PySimpleGUI/Dev-latest
Bumping version number to 4.60.1.55 to help with the confusion about …
2022-07-06 12:47:53 -04:00
PySimpleGUI
1dbbc39340 Bumping version number to 4.60.1.55 to help with the confusion about the dot release that happened. 2022-07-06 12:47:36 -04:00
PySimpleGUI
2dacb0c11f
Merge pull request #5671 from PySimpleGUI/Dev-latest
Added endblock
2022-07-05 11:20:51 -04:00
PySimpleGUI
5ebdda0e42 Added endblock 2022-07-05 11:20:37 -04:00
PySimpleGUI
a66883f4f4
Merge pull request #5670 from PySimpleGUI/Dev-latest
Fixed main.html
2022-07-05 11:16:46 -04:00
PySimpleGUI
7381699d8c Fixed main.html 2022-07-05 11:16:31 -04:00
PySimpleGUI
1ab67bcfc0
Merge pull request #5669 from PySimpleGUI/Dev-latest
Docs internal update
2022-07-05 11:11:50 -04:00
PySimpleGUI
fd8c01a828 Docs internal update 2022-07-05 11:11:33 -04:00
PySimpleGUI
b3ea8e4568
Merge pull request #5668 from PySimpleGUI/Dev-latest
Allow Browse/Chooser buttons to use target keys that are tuples
2022-07-04 10:07:38 -04:00
PySimpleGUI
7b739eca08 Allow Browse/Chooser buttons to use target keys that are tuples 2022-07-04 10:07:24 -04:00
PySimpleGUI
b7b9005dcd
Merge pull request #5667 from PySimpleGUI/Dev-latest
Addition of disable to Simple Tabs Demo
2022-07-03 16:34:04 -04:00
PySimpleGUI
a26a9c5854 Addition of disable to Simple Tabs Demo 2022-07-03 16:33:51 -04:00
PySimpleGUI
77d9c2f4b1
Merge pull request #5666 from PySimpleGUI/Dev-latest
Added alpha_channel to set_options - changes the default alpha channe…
2022-07-03 15:37:24 -04:00
PySimpleGUI
70fc4a6382 Added alpha_channel to set_options - changes the default alpha channel used to create all windows 2022-07-03 15:37:10 -04:00
PySimpleGUI
a55c2d2efe
Merge pull request #5665 from PySimpleGUI/Dev-latest
New coupon
2022-07-03 12:33:37 -04:00
PySimpleGUI
86bab67f83 New coupon 2022-07-03 12:33:23 -04:00
PySimpleGUI
e41f88df93
Merge pull request #5664 from PySimpleGUI/Dev-latest
Dev latest
2022-07-03 12:16:30 -04:00
PySimpleGUI
f8188f68ab Test harness - setting dictionary multline made write-only, new coupon code. 2022-07-03 12:16:14 -04:00
PySimpleGUI
c6e13e5ddb New Udemy Coupon & picking up latest PySimpleGUI SDK API calls 2022-07-03 12:13:24 -04:00
PySimpleGUI
314478e3ca
Merge pull request #5663 from PySimpleGUI/Dev-latest
Remove the eCookbook test.... a much better way coming soon....
2022-07-03 09:44:24 -04:00
PySimpleGUI
71d3885cea Remove the eCookbook test.... a much better way coming soon.... 2022-07-03 09:44:08 -04:00
PySimpleGUI
dfb2ee72b1
Merge pull request #5657 from PySimpleGUI/Dev-latest
ecookbook restoring the folders for testing...
2022-06-30 15:55:11 -04:00
PySimpleGUI
9f40a47d30 ecookbook restoring the folders for testing... 2022-06-30 15:54:57 -04:00
PySimpleGUI
d9993df5e9
Merge pull request #5656 from PySimpleGUI/Dev-latest
Flattened ecookbook.... nothing official... testing some things out...
2022-06-30 15:44:10 -04:00
PySimpleGUI
0574702876 Flattened ecookbook.... nothing official... testing some things out... 2022-06-30 15:43:56 -04:00
PySimpleGUI
ee05d5b129
Merge pull request #5655 from PySimpleGUI/Dev-latest
Test eCookbook Integration
2022-06-30 15:30:44 -04:00
PySimpleGUI
05fd8ca891 Test eCookbook Integration 2022-06-30 15:30:25 -04:00
PySimpleGUI
0ed90a1dfd
Merge pull request #5652 from PySimpleGUI/Dev-latest
Added justification parameter to Listbox Element
2022-06-27 13:34:48 -04:00
PySimpleGUI
43ea63bb7c Added justification parameter to Listbox Element 2022-06-27 13:34:25 -04:00
PySimpleGUI
be574eeb83
Merge pull request #5650 from PySimpleGUI/Dev-latest
Added background_color parm to vtop, vcenter, vbottom helper function…
2022-06-25 08:43:19 -04:00
PySimpleGUI
533ab49c90 Added background_color parm to vtop, vcenter, vbottom helper functions. Added USING the expand_x and expand_y parms to vcenter and vbottom that were in the definition but unused 2022-06-25 06:06:31 -04:00
PySimpleGUI
63d15e9903
Merge pull request #5643 from PySimpleGUI/Dev-latest
Addition of Window.set_size to SDK Call Reference doc
2022-06-24 09:35:27 -04:00
PySimpleGUI
3113cc6d36 Addition of Window.set_size to SDK Call Reference doc 2022-06-24 09:35:07 -04:00
PySimpleGUI
0e8680ce78
Merge pull request #5642 from PySimpleGUI/Dev-latest
Fix for ColorChooser Button filling in None when dialog is cancelled
2022-06-24 09:15:24 -04:00
PySimpleGUI
73d65ffdc1 Fix for ColorChooser Button filling in None when dialog is cancelled 2022-06-24 09:15:05 -04:00
PySimpleGUI
371a883edc
Merge pull request #5641 from PySimpleGUI/Dev-latest
Dev latest
2022-06-23 17:44:53 -04:00
PySimpleGUI
2f706252a0 Added Window.set_size to make the API more rounded out. The Window.size property can still be used as well 2022-06-23 17:44:35 -04:00
PySimpleGUI
0b8ca5257f Use path of __file__ to indicate where the font is stored 2022-06-23 17:44:00 -04:00
PySimpleGUI
3f76d680e1
Merge pull request #5632 from PySimpleGUI/Dev-latest
Simplified code. Made font size selectable using a slider. Removed US…
2022-06-22 15:46:10 -04:00
PySimpleGUI
b65b451c60 Simplified code. Made font size selectable using a slider. Removed USING_QT code. Window now resizable so that font resizing works 2022-06-22 15:45:52 -04:00
PySimpleGUI
4591fb7ac8
Merge pull request #5631 from PySimpleGUI/Dev-latest
Dev latest
2022-06-22 14:34:56 -04:00
PySimpleGUI
62caa3b06e Another movement control for use with "control key". Like the Control+Mouse Drag can move any PySimpleGUI Window, now Control+Arrow will move the window 1 pixel in the indicated direction. These can be turned off in the same way the control drag is enabled/disabled. 2022-06-22 14:34:40 -04:00
PySimpleGUI
8835067a0a Removed a readme doc that's not needed 2022-06-22 14:32:10 -04:00
PySimpleGUI
5569ea7ec2
Merge pull request #5627 from PySimpleGUI/Dev-latest
Addition of try around event loop to catch errors generated by the We…
2022-06-21 15:32:32 -04:00
PySimpleGUI
03922d77b6 Addition of try around event loop to catch errors generated by the Weather API. Simplified/shortened the version information at the bottom 2022-06-21 15:32:17 -04:00
PySimpleGUI
bf2f17e1d9
Merge pull request #5621 from PySimpleGUI/Dev-latest
Delay rerouting stdout, stderr in Output Element and Multiline Elemen…
2022-06-20 05:25:32 -04:00
PySimpleGUI
a526b282cd Delay rerouting stdout, stderr in Output Element and Multiline Element until window is being built 2022-06-20 05:25:17 -04:00
PySimpleGUI
0b803ecd90
Merge pull request #5616 from PySimpleGUI/Dev-latest
Added suggesting use of Demo Browser in the checklist when opening a …
2022-06-18 05:47:15 -04:00
PySimpleGUI
28235c3c85 Added suggesting use of Demo Browser in the checklist when opening a GitHub issue using the built-in GitHub Issue GUI 2022-06-18 05:46:58 -04:00
PySimpleGUI
384bc816c6
Added Demo Browser suggestion to "check the Demo Programs" item 2022-06-18 05:41:15 -04:00
PySimpleGUI
679af95b0e
Merge pull request #5615 from PySimpleGUI/Dev-latest
Further refinement of Menubar's docstring to include font, disabled t…
2022-06-18 04:40:18 -04:00
PySimpleGUI
8a5d7631f8 Further refinement of Menubar's docstring to include font, disabled text color... 2022-06-18 04:39:46 -04:00
PySimpleGUI
194c745e24
Merge pull request #5614 from PySimpleGUI/Dev-latest
Updated call reference doc to match latest docstring changes
2022-06-18 04:32:43 -04:00
PySimpleGUI
6a49a1e68e Updated call reference doc to match latest docstring changes 2022-06-18 04:32:22 -04:00
PySimpleGUI
f04c3729a2
Merge pull request #5613 from PySimpleGUI/Dev-latest
Menubar docstring changed to clarify the bar itself cannot be styled.…
2022-06-18 04:31:12 -04:00
PySimpleGUI
3fa3b52634 Menubar docstring changed to clarify the bar itself cannot be styled. Changed file-signature format 2022-06-18 04:30:55 -04:00
PySimpleGUI
c0e2d8ab98
Merge pull request #5612 from PySimpleGUI/Dev-latest
Several changes - exception handling if problems with weather API.  R…
2022-06-17 04:41:48 -04:00
PySimpleGUI
47e7cfaa9a Several changes - exception handling if problems with weather API. Reshuffled the overall layout. Added a "friend" label if you're watching the weather where one of your friends is located. 2022-06-17 04:41:31 -04:00
PySimpleGUI
eafb9200f5
Merge pull request #5609 from PySimpleGUI/Dev-latest
Backed out previous changes to scrollable columns.  Added print if se…
2022-06-16 12:29:01 -04:00
PySimpleGUI
413cda0e58 Backed out previous changes to scrollable columns. Added print if setting alpha channel fails during initial window creation 2022-06-16 12:28:44 -04:00
PySimpleGUI
0f3db9e612
Merge pull request #5602 from PySimpleGUI/Dev-latest
New Demo Program - Save/Load window inputs using User Settings API (J…
2022-06-15 13:56:58 -04:00
PySimpleGUI
c37147df8c New Demo Program - Save/Load window inputs using User Settings API (JSON file) 2022-06-15 13:56:42 -04:00
PySimpleGUI
77b87a4ab9
Merge pull request #5601 from PySimpleGUI/Dev-latest
New signature format
2022-06-15 04:47:28 -04:00
PySimpleGUI
6e5b8a5385 New signature format 2022-06-15 04:47:08 -04:00
PySimpleGUI
6b42448a9d
Merge pull request #5597 from PySimpleGUI/Dev-latest
Addition of the standard "edit me" and "versions" right click menu
2022-06-12 17:44:28 -04:00
PySimpleGUI
0b911c451c Addition of the standard "edit me" and "versions" right click menu 2022-06-12 17:44:14 -04:00
PySimpleGUI
09cabec59b
Merge pull request #5596 from PySimpleGUI/Dev-latest
Freshened up the themes section.
2022-06-11 16:46:46 -04:00
PySimpleGUI
a3d4bc9261 Freshened up the themes section. 2022-06-11 16:46:27 -04:00
PySimpleGUI
3411eed910
Merge pull request #5594 from PySimpleGUI/Dev-latest
New Table member variable table_ttk_style_name
2022-06-11 09:28:58 -04:00
PySimpleGUI
581b5b6bc7 New Table member variable table_ttk_style_name 2022-06-11 09:28:44 -04:00
PySimpleGUI
c076bc71c4
Merge pull request #5593 from PySimpleGUI/Dev-latest
Dev latest
2022-06-11 09:03:26 -04:00
PySimpleGUI
aae8a54e2c New signature test 2022-06-11 09:03:12 -04:00
PySimpleGUI
f1f60b03a1 Got a few of the Demos up to date with changes standard to many demos (edit me, get versions for example) 2022-06-11 09:01:27 -04:00
PySimpleGUI
0ecf5e3a86
Merge pull request #5592 from PySimpleGUI/Dev-latest
Much needed update to the Demo Programs readme...
2022-06-11 07:42:59 -04:00
PySimpleGUI
dba12e59f2 Much needed update to the Demo Programs readme... 2022-06-11 07:42:43 -04:00
PySimpleGUI
074fc76936
Merge pull request #5590 from PySimpleGUI/Dev-latest
Addition of horizontal_scroll_only parameter for Column elements if s…
2022-06-09 12:58:06 -04:00
PySimpleGUI
ab5d97965b Addition of horizontal_scroll_only parameter for Column elements if scrollable column 2022-06-09 12:57:52 -04:00
PySimpleGUI
8bb44eadf5
Merge pull request #5588 from PySimpleGUI/Dev-latest
Added expand_x and expand_y to all of the shortcut buttons and Browse…
2022-06-09 12:10:05 -04:00
PySimpleGUI
01958bfc07 Added expand_x and expand_y to all of the shortcut buttons and Browser buttons 2022-06-09 12:09:50 -04:00
PySimpleGUI
2b2b2212ec
Merge pull request #5587 from PySimpleGUI/Dev-latest
Added to Button element error message about images that format must b…
2022-06-09 08:11:29 -04:00
PySimpleGUI
a65f6c7a1d Added to Button element error message about images that format must be PNG or GIF 2022-06-09 08:10:49 -04:00
PySimpleGUI
f3e7c9558c
Merge pull request #5583 from PySimpleGUI/Dev-latest
Addition of default_color to ColorChooserButton
2022-06-08 14:32:42 -04:00
PySimpleGUI
d2ef85154a Addition of default_color to ColorChooserButton 2022-06-08 14:32:27 -04:00
PySimpleGUI
50e34b3348
Merge pull request #5580 from PySimpleGUI/Dev-latest
popup_scrolled - addition of button_justification (added because movi…
2022-06-07 12:39:00 -04:00
PySimpleGUI
578f52b433 popup_scrolled - addition of button_justification (added because moving the button to left justified like the other popups, but want to retain the previous look should it be desired) 2022-06-07 12:38:30 -04:00
PySimpleGUI
ecd94860ad
Merge pull request #5579 from PySimpleGUI/Dev-latest
New Demo Program - Custom Checkboxes
2022-06-07 05:44:27 -04:00
PySimpleGUI
e71a18f207 New Demo Program - Custom Checkboxes 2022-06-07 05:44:06 -04:00
PySimpleGUI
b3f8f065d6
Merge pull request #5578 from PySimpleGUI/Dev-latest
Fix in popup_scrolled - was not adding the sizegrip all the time... w…
2022-06-06 14:51:35 -04:00
PySimpleGUI
06b8a97dc5 Fix in popup_scrolled - was not adding the sizegrip all the time... was only adding when no_titlebar. Also made sure it's on the last row instead of making a new row. Addition of no_buttons parameter. If True, no buttons will be included in the window. 2022-06-06 14:51:20 -04:00
PySimpleGUI
64c3c38c0b
Merge pull request #5577 from PySimpleGUI/Dev-latest
Wow... pycharm added a strange import!
2022-06-06 14:34:14 -04:00
PySimpleGUI
b717694e9c Wow... pycharm added a strange import! 2022-06-06 14:33:59 -04:00
PySimpleGUI
85a6a18c25
Merge pull request #5576 from PySimpleGUI/Dev-latest
Added erase_all parameter to cprint.  This works like the same parame…
2022-06-06 14:32:16 -04:00
PySimpleGUI
b8c97d43f6 Added erase_all parameter to cprint. This works like the same parameter as the Debug Print has 2022-06-06 14:32:00 -04:00
PySimpleGUI
05e44e6aa5
Merge pull request #5575 from PySimpleGUI/Dev-latest
Dev latest
2022-06-06 10:49:29 -04:00
PySimpleGUI
5dd1e48f04 New Demo Program - cursor previewer 2022-06-06 10:49:13 -04:00
PySimpleGUI
f837e05dc6 Updated Demo to use the new cursor constant 2022-06-06 10:48:57 -04:00
PySimpleGUI
dc799034fa Updated Cursor Constant List to be a sorted list 2022-06-06 10:48:37 -04:00
PySimpleGUI
5d44e439ed
Merge pull request #5574 from PySimpleGUI/Dev-latest
New constant TKINTER_CURSORS that is a list of the standard tkinter c…
2022-06-06 09:57:28 -04:00
PySimpleGUI
a979e1691e New constant TKINTER_CURSORS that is a list of the standard tkinter cursors 2022-06-06 09:57:11 -04:00
PySimpleGUI
76e7f1b39b
Merge pull request #5573 from PySimpleGUI/Dev-latest
Made upgrade from GitHub window resizable
2022-06-06 08:11:14 -04:00
PySimpleGUI
71fc4144bf Made upgrade from GitHub window resizable 2022-06-06 08:10:58 -04:00
PySimpleGUI
d6a772a9e8
Merge pull request #5571 from PySimpleGUI/Dev-latest
New Demo Program to show how the new enable_window_config_events para…
2022-06-05 14:29:20 -04:00
PySimpleGUI
4ff123583c New Demo Program to show how the new enable_window_config_events parameter works 2022-06-05 14:29:08 -04:00
PySimpleGUI
176812c9da
Merge pull request #5570 from PySimpleGUI/Dev-latest
Dev latest
2022-06-05 14:15:03 -04:00
PySimpleGUI
8e84b218d5 fixed typo in release notes 2022-06-05 14:14:49 -04:00
PySimpleGUI
4b768d72c6 Addition of enable_window_config_events to the Window object - returns an event when the window is moved or resized 2022-06-05 14:13:40 -04:00
PySimpleGUI
3531560b2a
Merge pull request #5564 from PySimpleGUI/Dev-latest
Fixed typo in formula.  Added normal Demo Program header. Changed axi…
2022-06-05 08:08:34 -04:00
PySimpleGUI
ae1fd61041 Fixed typo in formula. Added normal Demo Program header. Changed axis drawing to adapt to size of coordinate, Changed font sizes, Made title and sliders expand in X direction. Draw empty axis upon startup 2022-06-05 08:08:22 -04:00
PySimpleGUI
a2c824eaf1
Merge pull request #5562 from PySimpleGUI/Dev-latest
Removed the filetypes enable/disable from the Mac system settings.  A…
2022-06-04 17:11:01 -04:00
PySimpleGUI
c82747e8d4 Removed the filetypes enable/disable from the Mac system settings. Added fix for filetypes to popup_get_file for Macs 2022-06-04 17:10:47 -04:00
PySimpleGUI
62a3e3b867
Merge pull request #5561 from PySimpleGUI/Dev-latest
Replaced old "All Elements" example with the newest one!  Added a Rec…
2022-06-04 14:35:08 -04:00
PySimpleGUI
48a95eeb2e Replaced old "All Elements" example with the newest one! Added a Recipe showing several ways of handling exceptions in a PySimpleGUI program by using the Debug Print Window and an popup with traceback. 2022-06-04 14:34:56 -04:00
PySimpleGUI
ef6c82e164
Merge pull request #5560 from PySimpleGUI/Dev-latest
Added settings to the right click menu in addition to link in the win…
2022-06-04 13:18:23 -04:00
PySimpleGUI
fefd3949cf Added settings to the right click menu in addition to link in the window. Made Version Window location the same as the program's window. Added exception handling around main event loop that utilizes the Debug Print as a reporting mechanism since there is no console for these applications. Uses the new wait parameter for the debug print 2022-06-04 13:18:09 -04:00
PySimpleGUI
6e4b1aa5d4
Merge pull request #5558 from PySimpleGUI/Dev-latest
New Demo Program - Using User Settings as a Database
2022-06-04 11:56:23 -04:00
PySimpleGUI
0e0a03cdc0 New Demo Program - Using User Settings as a Database 2022-06-04 11:56:00 -04:00
PySimpleGUI
fa0d3e1bc7
Merge pull request #5557 from PySimpleGUI/Dev-latest
Updated docstring for the pin helper function
2022-06-04 07:18:53 -04:00
PySimpleGUI
0a5f252a8d Updated docstring for the pin helper function 2022-06-04 07:18:41 -04:00
PySimpleGUI
428d4d005c
Merge pull request #5555 from PySimpleGUI/Dev-latest
deprecated - note to self.. is spelled with an "E" not an "I"
2022-06-03 16:42:36 -04:00
PySimpleGUI
5be7bfde0f deprecated - note to self.. is spelled with an "E" not an "I" 2022-06-03 16:42:25 -04:00
PySimpleGUI
2d15591cd0
Merge pull request #5554 from PySimpleGUI/Dev-latest
TabGroup docstring update - visible marked as Depricated
2022-06-03 16:40:02 -04:00
PySimpleGUI
3e5ae43886 TabGroup docstring update - visible marked as Depricated 2022-06-03 16:39:48 -04:00
PySimpleGUI
f7c31ab1cf
Merge pull request #5553 from PySimpleGUI/Dev-latest
New logic for checking for the *.* situation for Mac filetypes
2022-06-03 12:23:44 -04:00
PySimpleGUI
cf408bbd98 New logic for checking for the *.* situation for Mac filetypes 2022-06-03 12:23:34 -04:00
PySimpleGUI
48c5cc836e
Merge pull request #5552 from PySimpleGUI/Dev-latest
Added * *.* to the Mac filetypes
2022-06-03 12:14:18 -04:00
PySimpleGUI
967a086605 Added * *.* to the Mac filetypes 2022-06-03 12:14:06 -04:00
PySimpleGUI
06b1b57f2f
Merge pull request #5550 from PySimpleGUI/Dev-latest
Added more specifications for * for Mac file_type testing
2022-06-03 10:58:32 -04:00
PySimpleGUI
55998c7c34 Added more specifications for * for Mac file_type testing 2022-06-03 10:58:21 -04:00
PySimpleGUI
831a7bf72e
Merge pull request #5547 from PySimpleGUI/Dev-latest
New Demo Program - Navigating focus using arrow keys on keyboard
2022-06-03 08:28:58 -04:00
PySimpleGUI
c502543038 New Demo Program - Navigating focus using arrow keys on keyboard 2022-06-03 08:28:26 -04:00
PySimpleGUI
5cc855ba6a
Merge pull request #5544 from PySimpleGUI/Dev-latest
Dev latest
2022-06-02 17:18:10 -04:00
PySimpleGUI
708eaeae91 Fixed "double" operation. Was including the header. Demonstrate that cols_justification can have illegal values 2022-06-02 17:17:54 -04:00
PySimpleGUI
6d163bb085 Better error handling for newly added column justification feature for Table element. Explicitly checks for "center" now instead of assuming not left and not right means center 2022-06-02 17:17:05 -04:00
PySimpleGUI
f3a745bb63
Merge pull request #5543 from PySimpleGUI/Dev-latest
Updated to show some of the newer parms
2022-06-02 13:26:32 -04:00
PySimpleGUI
8e999500ba Updated to show some of the newer parms 2022-06-02 13:26:19 -04:00
PySimpleGUI
4bf7932f76
Merge pull request #5542 from PySimpleGUI/Dev-latest
Table Element - addition of cols_justification parameter - list of st…
2022-06-02 13:12:58 -04:00
PySimpleGUI
4948e4f502 Table Element - addition of cols_justification parameter - list of strings that indicate how each column should be justified 2022-06-02 13:12:38 -04:00
PySimpleGUI
aa09d8c2a1
Merge pull request #5540 from PySimpleGUI/Dev-latest
Fix for bind_return_key when a button has been disabled.  Was generat…
2022-06-02 10:48:54 -04:00
PySimpleGUI
39e729c03b Fix for bind_return_key when a button has been disabled. Was generating an event. Now will not generate an event if a button is disabled. 2022-06-02 10:48:38 -04:00
PySimpleGUI
eddbe0843c
Merge pull request #5537 from PySimpleGUI/Dev-latest
New Udemy coupon (on top of the sale)... have fun kids!
2022-06-02 06:41:26 -04:00
PySimpleGUI
20924d97f9 New Udemy coupon (on top of the sale)... have fun kids! 2022-06-02 06:41:07 -04:00
PySimpleGUI
76af6444f8
Merge pull request #5536 from PySimpleGUI/Dev-latest
Added Edit Me to the test harness Right Click Menu
2022-06-01 21:39:23 -04:00
PySimpleGUI
3bc17e75a8 Added Edit Me to the test harness Right Click Menu 2022-06-01 21:39:09 -04:00
PySimpleGUI
834c286d54
Merge pull request #5533 from PySimpleGUI/Dev-latest
Update to the latest coding guidelines.  Use PPM encoding as it's bee…
2022-06-01 15:44:31 -04:00
PySimpleGUI
11319709e1 Update to the latest coding guidelines. Use PPM encoding as it's been shown to be more efficient 2022-06-01 15:44:19 -04:00
PySimpleGUI
313da2d5d5
Merge pull request #5532 from PySimpleGUI/Dev-latest
Dev latest
2022-06-01 14:09:59 -04:00
PySimpleGUI
051fa57d15 Changed bool logic for mac filetypes fix 2022-06-01 14:09:42 -04:00
PySimpleGUI
638cd0f97e A new approach for the Mac FileBrowse with file_type crash that doesn't use the system settings. 2022-06-01 13:59:59 -04:00
PySimpleGUI
a52db075d9
Merge pull request #5527 from PySimpleGUI/Dev-latest
Added platform and platform version to the get_versions function and …
2022-05-30 12:31:14 -04:00
PySimpleGUI
fc42b0d45c Added platform and platform version to the get_versions function and the psgver command 2022-05-30 12:30:53 -04:00
PySimpleGUI
ad5b82654f
Merge pull request #5526 from PySimpleGUI/Dev-latest
Fix for continuous mouse up events from Graph element when reading wi…
2022-05-29 18:58:02 -04:00
PySimpleGUI
1140e01230 Fix for continuous mouse up events from Graph element when reading with timeout=0 (THANK YOU @davesmivers for the find and fix!) 2022-05-29 18:57:49 -04:00
PySimpleGUI
18d656b0bd
Merge pull request #5525 from PySimpleGUI/Dev-latest
New Demo Program - using a Frame element to draw a "Recording Area" f…
2022-05-29 18:48:21 -04:00
PySimpleGUI
78fabef418 New Demo Program - using a Frame element to draw a "Recording Area" frame on the screen for making videos 2022-05-29 18:48:07 -04:00
PySimpleGUI
01d6561d35
Merge pull request #5524 from PySimpleGUI/Dev-latest
(None, None) added to Window docstring as a valid location parameter …
2022-05-29 18:43:29 -04:00
PySimpleGUI
f9c244dffe (None, None) added to Window docstring as a valid location parameter setting 2022-05-29 18:43:11 -04:00
PySimpleGUI
dbdefb3c10
Merge pull request #5522 from PySimpleGUI/Dev-latest
Addition of Window.ubind
2022-05-29 08:44:12 -04:00
PySimpleGUI
96a4e9a983 Addition of Window.ubind 2022-05-29 08:43:55 -04:00
PySimpleGUI
1b4ad34987
Merge pull request #5519 from PySimpleGUI/Dev-latest
New Graph Element - drag a square around with mouse... thanks to @dav…
2022-05-28 06:23:40 -04:00
PySimpleGUI
8f5b4793c2 New Graph Element - drag a square around with mouse... thanks to @davesmivers for original base code.... 2022-05-28 06:23:21 -04:00
PySimpleGUI
070fe55107
Merge pull request #5514 from PySimpleGUI/Dev-latest
Addition of wrap_lines to Multiline element.  Addition of wrap_lines …
2022-05-27 09:07:14 -04:00
PySimpleGUI
495dd3988d Addition of wrap_lines to Multiline element. Addition of wrap_lines and hotizontal_scroll to Output element 2022-05-27 09:06:58 -04:00
PySimpleGUI
24bde45954
Merge pull request #5510 from PySimpleGUI/Dev-latest
Fixed Spin element docstring - readonly was incorrect
2022-05-26 05:38:51 -04:00
PySimpleGUI
544e38be13 Fixed Spin element docstring - readonly was incorrect 2022-05-26 05:38:41 -04:00
PySimpleGUI
4d0d90eb18
Merge pull request #5509 from PySimpleGUI/Dev-latest
Added wrap parameter to the Spin element, added temporary code for a …
2022-05-26 05:23:42 -04:00
PySimpleGUI
84cf2611c0 Added wrap parameter to the Spin element, added temporary code for a verification feature 2022-05-26 05:23:31 -04:00
PySimpleGUI
16402d8b46
Merge pull request #5505 from PySimpleGUI/Dev-latest
Addition of Window.set_resizable
2022-05-24 06:23:58 -04:00
PySimpleGUI
1f5fb16bc4 Addition of Window.set_resizable 2022-05-24 06:23:43 -04:00
PySimpleGUI
6af5235283
Merge pull request #5500 from PySimpleGUI/Dev-latest
4.60.1 patch release added to release notes
2022-05-22 15:52:23 -04:00
PySimpleGUI
9f87cdbb25 4.60.1 patch release added to release notes 2022-05-22 15:52:09 -04:00
PySimpleGUI
22d8b7bcd4
Merge pull request #5496 from PySimpleGUI/Dev-latest
Addition of Push and element_justification Recipes
2022-05-21 06:57:33 -04:00
PySimpleGUI
8a8ae3df15 Addition of Push and element_justification Recipes 2022-05-21 06:57:21 -04:00
PySimpleGUI
e8794f1c5e
Merge pull request #5492 from PySimpleGUI/Dev-latest
Added readonly to Input.update - note to be careful with disable too
2022-05-20 15:25:28 -04:00
PySimpleGUI
562eb86fbc Added readonly to Input.update - note to be careful with disable too 2022-05-20 15:25:11 -04:00
PySimpleGUI
847430a509
Merge pull request #5491 from PySimpleGUI/Dev-latest
Fix for crash when specifying horizontal scroll in Listbox element
2022-05-19 17:47:09 -04:00
PySimpleGUI
b85ad8e12a Fix for crash when specifying horizontal scroll in Listbox element 2022-05-19 17:46:54 -04:00
PySimpleGUI
c99896edba
Merge pull request #5490 from PySimpleGUI/Dev-latest
Added a reminder to call contents_changed to the Column docstring
2022-05-19 16:38:20 -04:00
PySimpleGUI
48bb8fe24c Added a reminder to call contents_changed to the Column docstring 2022-05-19 16:38:05 -04:00
PySimpleGUI
ccd08b8e0a
Merge pull request #5489 from PySimpleGUI/Dev-latest
Show an error if None is specified as values parameter in Listbox ele…
2022-05-19 16:26:00 -04:00
PySimpleGUI
0ecc48f4f7 Show an error if None is specified as values parameter in Listbox element 2022-05-19 16:25:42 -04:00
PySimpleGUI
41e9e2121b
Merge pull request #5473 from PySimpleGUI/Dev-latest
Added Trinket specific code for Title and Menubar. Compressed entire …
2022-05-16 06:08:30 -04:00
PySimpleGUI
6ad6d6583f Added Trinket specific code for Title and Menubar. Compressed entire window just a tad to fit better onto small screens/Trinket 2022-05-16 06:08:06 -04:00
PySimpleGUI
151c85a52c
Merge pull request #5470 from PySimpleGUI/Dev-latest
New Window location parameter value of None will cause NO location to…
2022-05-15 12:39:42 -04:00
PySimpleGUI
303c3c0ad2 New Window location parameter value of None will cause NO location to be set for the window. The OS will decide. It's to help with the GNOME window manager issue 2022-05-15 12:39:31 -04:00
PySimpleGUI
0f6dc9de90
Merge pull request #5469 from PySimpleGUI/Dev-latest
Removed old code that used Popen and instead uses the PySimpleGUI Exe…
2022-05-14 15:10:41 -04:00
PySimpleGUI
a35687ac51 Removed old code that used Popen and instead uses the PySimpleGUI Exec API calls for an all-in-one demo. Added expansion of the Multilline and a SizeGrip so that it's obvious to user the window is resizable. 2022-05-14 15:10:37 -04:00
PySimpleGUI
5fa5adc73e
Merge pull request #5467 from PySimpleGUI/Dev-latest
Added new Mac Control Panel option to control accessing the file_type…
2022-05-13 09:52:46 -04:00
PySimpleGUI
6267f27f5b Added new Mac Control Panel option to control accessing the file_types parm in Browse and popup_get_file. Also removed the previous attempt to fix the Linux "jumping window" problem. 2022-05-13 09:52:35 -04:00
PySimpleGUI
00397d411f
Merge pull request #5464 from PySimpleGUI/Dev-latest
Added a wait_visibility call to fix the Linux "jumping window" proble…
2022-05-11 11:19:08 -04:00
PySimpleGUI
02fb5e7341 Added a wait_visibility call to fix the Linux "jumping window" problem.... highly experimental change (thank you chr0nic for your hard work) 2022-05-11 11:18:54 -04:00
PySimpleGUI
6096a5eeea
Merge pull request #5462 from PySimpleGUI/Dev-latest
Moved around the location the icon is set.  Set the icon using set_gl…
2022-05-10 09:15:20 -04:00
PySimpleGUI
04c6f88ecb Moved around the location the icon is set. Set the icon using set_global_icon so that popups also use the custom icohn 2022-05-10 09:15:09 -04:00
PySimpleGUI
e67527b2a4
Merge pull request #5461 from PySimpleGUI/Dev-latest
Addition of SizeGrip element (makes resizing the window oh-so-nice! A…
2022-05-09 17:00:47 -04:00
PySimpleGUI
7a74089157 Addition of SizeGrip element (makes resizing the window oh-so-nice! Also makes clear window is resizable) 2022-05-09 17:00:35 -04:00
PySimpleGUI
05f24d565a
Merge pull request #5454 from PySimpleGUI/Dev-latest
Fill in the details fields next to OS in the Open GitHub Issue function
2022-05-08 14:09:39 -04:00
PySimpleGUI
5ee22c0568 Fill in the details fields next to OS in the Open GitHub Issue function 2022-05-08 14:09:25 -04:00
PySimpleGUI
55d1bf1e86
Merge pull request #5453 from PySimpleGUI/Dev-latest
Release 4.60.0
2022-05-08 12:50:23 -04:00
PySimpleGUI
66931d51e1 Release 4.60.0 2022-05-08 12:50:09 -04:00
PySimpleGUI
7024819f58
Merge pull request #5452 from PySimpleGUI/Dev-latest
Fix for Scrollable Columns - wasn't scrolling correctly when Column e…
2022-05-08 09:04:14 -04:00
PySimpleGUI
577af38445 Fix for Scrollable Columns - wasn't scrolling correctly when Column expanded 2022-05-08 09:04:00 -04:00
PySimpleGUI
37d6e8832a
Merge pull request #5449 from PySimpleGUI/Dev-latest
Fixed formatting of ttk scrollbar parameter names (markdown can be pa…
2022-05-07 19:12:23 -04:00
PySimpleGUI
e052672431 Fixed formatting of ttk scrollbar parameter names (markdown can be painful with linebreaks) 2022-05-07 19:12:07 -04:00
PySimpleGUI
186d274e7f
Merge pull request #5448 from PySimpleGUI/Dev-latest
Documented the new TTK Scrollbars
2022-05-07 19:06:26 -04:00
PySimpleGUI
0bec041756 Documented the new TTK Scrollbars 2022-05-07 19:06:10 -04:00
PySimpleGUI
5f83c01b5f
Merge pull request #5444 from PySimpleGUI/Dev-latest
New Demo - color picker using PIL
2022-05-07 12:51:42 -04:00
PySimpleGUI
ba63fc11b4 New Demo - color picker using PIL 2022-05-07 12:51:25 -04:00
PySimpleGUI
700a3b3f76
Merge pull request #5442 from PySimpleGUI/Dev-latest
Disabled file_types parm in popup_get_file if on the Mac
2022-05-06 10:40:11 -04:00
PySimpleGUI
897033a5ef Disabled file_types parm in popup_get_file if on the Mac 2022-05-06 10:39:57 -04:00
PySimpleGUI
ee561bfcef
Merge pull request #5441 from PySimpleGUI/Dev-latest
Removal of filetypes from Browse buttons for the Mac... have been try…
2022-05-06 09:46:02 -04:00
PySimpleGUI
ef1c05f56e Removal of filetypes from Browse buttons for the Mac... have been trying to get it to work, again, but no luck 2022-05-06 09:45:46 -04:00
PySimpleGUI
c9bdbc371c
Merge pull request #5440 from PySimpleGUI/Dev-latest
Giving try blocks a go to see if can fix the file_types problem on th…
2022-05-06 07:57:24 -04:00
PySimpleGUI
0a7736ea93 Giving try blocks a go to see if can fix the file_types problem on the Mac 2022-05-06 07:57:09 -04:00
PySimpleGUI
c1a4f5a4c5
Merge pull request #5439 from PySimpleGUI/Dev-latest
Docstring fix for file_type (had a missing ,   drat)
2022-05-06 07:39:24 -04:00
PySimpleGUI
e0b5aff6a8 Docstring fix for file_type (had a missing , drat) 2022-05-06 07:39:10 -04:00
PySimpleGUI
4281f0cb5b
Merge pull request #5438 from PySimpleGUI/Dev-latest
"Refreshed demo" - got rid of hacky base64 variables (one or more see…
2022-05-06 06:15:57 -04:00
PySimpleGUI
cfb4308174 "Refreshed demo" - got rid of hacky base64 variables (one or more seemed to have errors), Added Celsius, ... basically updated to version I run locally daily. 2022-05-06 06:15:40 -04:00
PySimpleGUI
6a4a851c5e
Merge pull request #5437 from PySimpleGUI/Dev-latest
Auto-correct file_types errors for Browse buttons
2022-05-05 18:02:55 -04:00
PySimpleGUI
5673ed429e Auto-correct file_types errors for Browse buttons 2022-05-05 18:02:41 -04:00
PySimpleGUI
c7e5895ba1
Merge pull request #5436 from PySimpleGUI/Dev-latest
Better exception handling for both event loop and for when processes …
2022-05-05 15:49:16 -04:00
PySimpleGUI
51f0bbd7a3 Better exception handling for both event loop and for when processes exit 2022-05-05 15:49:01 -04:00
PySimpleGUI
013631f526
Merge pull request #5435 from PySimpleGUI/Dev-latest
Reworked test harness to function better on Pi's and small screens
2022-05-05 15:46:53 -04:00
PySimpleGUI
8fab8d124e Reworked test harness to function better on Pi's and small screens 2022-05-05 15:46:26 -04:00
PySimpleGUI
2a0e19c235
Merge pull request #5433 from PySimpleGUI/Dev-latest
Dev latest
2022-05-05 07:22:13 -04:00
PySimpleGUI
c8821426b5 Added keep on top since it's a clock.... perhaps a personal taste thing and maybe should be an option? Will ponder this for desktop widgets across the board.... hmmmm...... 2022-05-05 07:20:08 -04:00
PySimpleGUI
135c0703d9 Fixed use custom title & menubar bug - wasn't remembering the setting and was stuck in custom mode after selecting it once. Removed the debug window print 2022-05-05 07:19:20 -04:00
PySimpleGUI
f29169238f
Merge pull request #5432 from PySimpleGUI/Dev-latest
Combo element FINALLY gets really nice theme colors all the way throu…
2022-05-03 13:30:39 -04:00
PySimpleGUI
e16545a991 Combo element FINALLY gets really nice theme colors all the way through! (Thank you Jason!) 2022-05-03 13:30:22 -04:00
PySimpleGUI
205156da6c
Merge pull request #5430 from PySimpleGUI/Dev-latest
Added back the filetypes parameter for the Mac (thank you resnbl)
2022-05-03 11:27:34 -04:00
PySimpleGUI
c20c71601e Added back the filetypes parameter for the Mac (thank you resnbl) 2022-05-03 11:27:19 -04:00
PySimpleGUI
153e0754c4
Merge pull request #5429 from PySimpleGUI/Dev-latest
Made selected colors match the theme for Input, Multiline Input and C…
2022-05-03 07:57:00 -04:00
PySimpleGUI
235110403d Made selected colors match the theme for Input, Multiline Input and Combo elements 2022-05-03 07:56:43 -04:00
PySimpleGUI
7de76115a4
Merge pull request #5428 from PySimpleGUI/Dev-latest
New coupon
2022-05-02 16:20:49 -04:00
PySimpleGUI
e42fa34dc7 New coupon 2022-05-02 16:20:34 -04:00
PySimpleGUI
97a56b344f
Merge pull request #5426 from PySimpleGUI/Dev-latest
Dev latest
2022-05-02 15:44:00 -04:00
PySimpleGUI
23ca5f757f New coupon & also picking up a significant number of changes due to ttk scrollbars 2022-05-02 15:43:39 -04:00
PySimpleGUI
2e41134131 New coupon 2022-05-02 15:43:09 -04:00
PySimpleGUI
3d7e655eed
Merge pull request #5422 from PySimpleGUI/Dev-latest
New System Tray Icon demo using psgtray - Tray only version (no windo…
2022-04-30 08:33:47 -04:00
PySimpleGUI
0f6b1c22ab New System Tray Icon demo using psgtray - Tray only version (no window is ever shown). Renamed other psgtray demo program to a similar name 2022-04-30 08:33:32 -04:00
PySimpleGUI
7ddb43f3e9
Merge pull request #5421 from PySimpleGUI/Dev-latest
Fix crash in Element.bind that was created in 4.59.0.6 (sorry!)
2022-04-30 07:30:38 -04:00
PySimpleGUI
073faec69e Fix crash in Element.bind that was created in 4.59.0.6 (sorry!) 2022-04-30 07:30:13 -04:00
PySimpleGUI
4aec09a8c5
Merge pull request #5416 from PySimpleGUI/Dev-latest
Dev latest
2022-04-28 12:37:43 -04:00
PySimpleGUI
b31266999b New Column element parameters - size_subsample_width & size_subsample_height 2022-04-28 12:37:23 -04:00
PySimpleGUI
84516dd42e New Demo Program to show how TTK Scrollbars work 2022-04-28 12:37:06 -04:00
PySimpleGUI
e79d59ab79
Merge pull request #5412 from PySimpleGUI/Dev-latest
Cleaned up the global settings window (see notes in the .py file for …
2022-04-27 16:28:07 -04:00
PySimpleGUI
5e54ca99ab Cleaned up the global settings window (see notes in the .py file for the details) 2022-04-27 16:27:54 -04:00
PySimpleGUI
144360dfb2
Merge pull request #5411 from PySimpleGUI/Dev-latest
"DONE" with ttk scrollbars (functionality)... all parms are in place.…
2022-04-27 16:03:53 -04:00
PySimpleGUI
865708b91f "DONE" with ttk scrollbars (functionality)... all parms are in place... the hierarchy is the biggest addition in this set of changes.... the order is: element, window, set options, global settings 2022-04-27 16:03:36 -04:00
PySimpleGUI
d572c0f803
Merge pull request #5409 from PySimpleGUI/Dev-latest
Get ttk themes available when showing the list in the system settings…
2022-04-27 07:06:54 -04:00
PySimpleGUI
c7427d3bde Get ttk themes available when showing the list in the system settings window. Added scrollbar parms to the Window object, but not quite hooked up yet... getting there! 2022-04-27 07:06:35 -04:00
PySimpleGUI
ec4428d3ec
Merge pull request #5408 from PySimpleGUI/Dev-latest
Added parms and doctrings for Output Element and Column element.  Nee…
2022-04-26 15:46:21 -04:00
PySimpleGUI
d3472ec3fc Added parms and doctrings for Output Element and Column element. Needed to remove the arrow background color parm as it's not possible to set this value speciically. 2022-04-26 15:46:04 -04:00
PySimpleGUI
5164f16990
Merge pull request #5404 from PySimpleGUI/Dev-latest
Fix in Column.update.... missed the rename of ExpandX to expand_x lik…
2022-04-25 08:58:52 -04:00
PySimpleGUI
fa4062d8ca Fix in Column.update.... missed the rename of ExpandX to expand_x like the other elements. 2022-04-25 08:58:35 -04:00
PySimpleGUI
2b775624ab
Merge pull request #5403 from PySimpleGUI/Dev-latest
TTK Scrollbars for Columns - the hacked version. "Make it run"... nex…
2022-04-24 18:05:56 -04:00
PySimpleGUI
cd3b9105ca TTK Scrollbars for Columns - the hacked version. "Make it run"... next up is "Make it right" 2022-04-24 18:05:43 -04:00
PySimpleGUI
0a226a61de
Merge pull request #5402 from PySimpleGUI/Dev-latest
Added columns to the demo
2022-04-24 17:09:41 -04:00
PySimpleGUI
f7f126ad76 Added columns to the demo 2022-04-24 17:09:24 -04:00
PySimpleGUI
576e098591
Merge pull request #5401 from PySimpleGUI/Dev-latest
Final version of contributing.  Copying to the other repos too so the…
2022-04-24 12:09:30 -04:00
PySimpleGUI
acde437de7 Final version of contributing. Copying to the other repos too so there's no confusion 2022-04-24 11:14:56 -04:00
PySimpleGUI
42bf5e434b
Merge pull request #5398 from PySimpleGUI/Dev-latest
Added Window.move_to_center... unfortunately a TON of changes from Py…
2022-04-22 04:28:13 -04:00
PySimpleGUI
507a4d44b6 Added Window.move_to_center... unfortunately a TON of changes from PySimpleGUI on GitHub were picked up. These are mostly to do with the new ttk scrollbars. Lots of parms were added. More detail is need on them though. Also Output element changed but call reference not yet updated. 2022-04-22 04:27:58 -04:00
PySimpleGUI
228db6be75
Merge pull request #5394 from PySimpleGUI/Dev-latest
Dev latest
2022-04-21 12:44:49 -04:00
PySimpleGUI
ee7179fb3a Added some text, added use of Debug Window to display values since may be running from the Demo Browser where prints are not shown 2022-04-21 12:44:36 -04:00
PySimpleGUI
40567418db Made initial window loop much shorter. Correctly handle closing initial window, add commented out line showing how to make transparent window if on windows, added copyright 2022-04-21 12:43:41 -04:00
PySimpleGUI
bf872d0882 Changed how custom titlebar and menubar are generated 2022-04-21 12:42:56 -04:00
PySimpleGUI
664ed3d9ab
Merge pull request #5393 from PySimpleGUI/Dev-latest
Dev latest
2022-04-21 12:24:36 -04:00
PySimpleGUI
d7ecb9927b NEW Demo (Thank you JASONS!) that shows how to do Spin element in a wrap-around way 2022-04-21 12:23:41 -04:00
PySimpleGUI
fc2cb0ff60 More debug window fun! Re-opens without missing a print this time. New is_closed Window method added 2022-04-21 12:23:13 -04:00
PySimpleGUI
659e1ef15c
Merge pull request #5391 from PySimpleGUI/Dev-latest
Fix for systems that don't yet have any settings in the settings file…
2022-04-20 13:36:17 -04:00
PySimpleGUI
72fc99d8a2 Fix for systems that don't yet have any settings in the settings file for the ttk scrollbars. Was getting the incorrect default settings. 2022-04-20 13:36:02 -04:00
PySimpleGUI
533df4d71c
Merge pull request #5390 from PySimpleGUI/Dev-latest
New scrollbars now support for GrayGrayGray and themes that have no c…
2022-04-20 11:45:59 -04:00
PySimpleGUI
d4f38fd07f New scrollbars now support for GrayGrayGray and themes that have no color settings 2022-04-20 11:45:46 -04:00
PySimpleGUI
eaef03f21b
Merge pull request #5389 from PySimpleGUI/Dev-latest
Dev latest
2022-04-20 10:09:50 -04:00
PySimpleGUI
85d664925a Changed all Tab errors to the nicer traceback error popup. Removed Output Element from the Pack function (that makes the change as real as it gets) 2022-04-20 10:09:33 -04:00
PySimpleGUI
50a83202af Fixed layout-reuse error in the Nested Tabs demo. Added comment block.. .surprised no one noticed... may be time for a $5 prize again in the code 2022-04-20 10:08:20 -04:00
PySimpleGUI
dfa19b2da3
Merge pull request #5388 from PySimpleGUI/Dev-latest
An updated contributing that will proliferate across the repos... Def…
2022-04-20 06:38:47 -04:00
PySimpleGUI
ea7c4d46e7 An updated contributing that will proliferate across the repos... Definitely don't want to ever waste anyone's time on how this works. 2022-04-20 06:38:31 -04:00
PySimpleGUI
1646a15914
Merge pull request #5387 from PySimpleGUI/Dev-latest
Output element - changed to be a subclass of the Multiline as part of…
2022-04-20 06:14:41 -04:00
PySimpleGUI
1ecae38613 Output element - changed to be a subclass of the Multiline as part of the ttk scrollbar switch. It also greatly reduces complexity as they had very different implementations. 2022-04-20 06:14:25 -04:00
PySimpleGUI
54700aa509
Merge pull request #5385 from PySimpleGUI/Dev-latest
Additional Exception handling for debug print, pin needed for Pause b…
2022-04-19 17:06:37 -04:00
PySimpleGUI
a0c5aafd47 Additional Exception handling for debug print, pin needed for Pause button since it can come and go 2022-04-19 17:06:23 -04:00
PySimpleGUI
806307b939
Merge pull request #5384 from PySimpleGUI/Dev-latest
Ooops... left debug prints in the debug print code... does that techn…
2022-04-19 16:56:18 -04:00
PySimpleGUI
f93f254313 Ooops... left debug prints in the debug print code... does that technically not make it a bug? 2022-04-19 16:56:05 -04:00
PySimpleGUI
96dd2fe328
Merge pull request #5383 from PySimpleGUI/Dev-latest
One more time for the Debug Print.....
2022-04-19 16:50:27 -04:00
PySimpleGUI
d45846f8c3 One more time for the Debug Print..... 2022-04-19 16:50:13 -04:00
PySimpleGUI
ead88f84cc
Merge pull request #5382 from PySimpleGUI/Dev-latest
Debug print - New wait parm is an alias for blocking. Fixed how the p…
2022-04-19 14:17:00 -04:00
PySimpleGUI
ca1487405f Debug print - New wait parm is an alias for blocking. Fixed how the pause, resume, quit and blocking work! It all seems to work great now! 2022-04-19 14:16:35 -04:00
PySimpleGUI
a86fb61476
Merge pull request #5380 from PySimpleGUI/Dev-latest
Renamed and shuffled ordering of tabs in system settings. Made Menuba…
2022-04-19 05:33:46 -04:00
PySimpleGUI
3ef7f67954 Renamed and shuffled ordering of tabs in system settings. Made MenubarCustom's pad=0 by default so it fits snugly under titlebar and extends across window 2022-04-19 05:33:28 -04:00
PySimpleGUI
d36556079c
Merge pull request #5379 from PySimpleGUI/Dev-latest
New theme
2022-04-18 15:50:57 -04:00
PySimpleGUI
100e68284e New theme 2022-04-18 15:50:40 -04:00
PySimpleGUI
c25cfdb02e
Merge pull request #5376 from PySimpleGUI/Dev-latest
"Test Scrollbar Settings" button added to global settings window so t…
2022-04-17 18:21:32 -04:00
PySimpleGUI
59e14b885b "Test Scrollbar Settings" button added to global settings window so that the scrollbar settings can be more easily changed and tried. 2022-04-17 18:21:09 -04:00
PySimpleGUI
51ccdbee81
Merge pull request #5374 from PySimpleGUI/Dev-latest
Cleaned up 4 "rainmeter" demos. Removed exit button, added standard r…
2022-04-17 09:59:20 -04:00
PySimpleGUI
12973c4dcc Cleaned up 4 "rainmeter" demos. Removed exit button, added standard right click exit, edit, versions. Made drive status handle drives being added / removed, all now automatically save their last location for next time they start, version info window pops up on top of window at current location 2022-04-17 09:58:58 -04:00
PySimpleGUI
c7fcaf20a9
Merge pull request #5372 from PySimpleGUI/Dev-latest
ttk theme added to system settings.  Improved formatting of the TTK S…
2022-04-16 16:42:07 -04:00
PySimpleGUI
628ab61f28 ttk theme added to system settings. Improved formatting of the TTK Scrollbar Tab in System Settings 2022-04-16 16:41:49 -04:00
PySimpleGUI
5c90cbcc5e
Merge pull request #5371 from PySimpleGUI/Dev-latest
Dev latest
2022-04-16 14:16:02 -04:00
PySimpleGUI
65b198d97a ttk scrollbar settings added to global settings (it works!). Remove thumb and depressed thumb parms, added theme_button_color_background and theme_button_color_text. Changed default scrollbar width to 12 from 10 (old tk scrollbars are about 17 pixels) 2022-04-16 14:15:35 -04:00
PySimpleGUI
dfad2e3b76 Better error checking/reporting in theme_global. NEW THEME DarkGrey15 2022-04-16 05:11:07 -04:00
PySimpleGUI
8bd2d6e600
Merge pull request #5370 from PySimpleGUI/Dev-latest
Dev latest
2022-04-16 04:45:49 -04:00
PySimpleGUI
f42e042dd0 Some cleaning up 2022-04-16 04:45:35 -04:00
PySimpleGUI
f776589349 Added report_error setting for user_settings_delete_file. Global Settings window complete rework to use Tabs. Hoping nothing broke, but just remember things are in flux for a little bit while the ttk scrollbars are finishing up 2022-04-16 04:45:19 -04:00
PySimpleGUI
a9466902c2
Merge pull request #5367 from PySimpleGUI/Dev-latest
New Demo Program - create custom themes and save in user settings file
2022-04-15 07:53:00 -04:00
PySimpleGUI
4bba64d34f New Demo Program - create custom themes and save in user settings file 2022-04-15 07:52:39 -04:00
PySimpleGUI
df1ccdd8dd
Merge pull request #5366 from PySimpleGUI/Dev-latest
Improved ttk theme error reporting
2022-04-14 13:07:42 -04:00
PySimpleGUI
c9cc588a23 Improved ttk theme error reporting 2022-04-14 13:07:29 -04:00
PySimpleGUI
cbad4c713b
Merge pull request #5365 from PySimpleGUI/Dev-latest
Fixed a terrible ttk bug I checked in yesterday... really sorry!
2022-04-14 11:10:33 -04:00
PySimpleGUI
c726436f4e Fixed a terrible ttk bug I checked in yesterday... really sorry! 2022-04-14 11:10:17 -04:00
PySimpleGUI
025d77da6c
Merge pull request #5361 from PySimpleGUI/Dev-latest
Addition of _change_ttik_theme for better error checking. Added optio…
2022-04-13 16:00:57 -04:00
PySimpleGUI
4d10cdadaf Addition of _change_ttik_theme for better error checking. Added optional parameter to specify file in the Window.save_window_screenshot_to_disk 2022-04-13 16:00:39 -04:00
PySimpleGUI
bafc8da5e2
Merge pull request #5356 from PySimpleGUI/Dev-latest
Renamed screenshot function and moved to be a Window method... Window…
2022-04-12 13:05:51 -04:00
PySimpleGUI
356a2f9c2b Renamed screenshot function and moved to be a Window method... Window.save_window_screenshot_to_disk. Also added an optional filename parm. FYI - Debug Print still has known issue with its new features 2022-04-12 13:05:33 -04:00
PySimpleGUI
b12bcb9930
Merge pull request #5352 from PySimpleGUI/Dev-latest
Debug print pause/resume, global setting for custom titlebar, new the…
2022-04-10 14:54:20 -04:00
PySimpleGUI
cb973b97a0 Debug print pause/resume, global setting for custom titlebar, new theme call for custom titlebar, a number of test harness changes, 2022-04-10 14:54:04 -04:00
PySimpleGUI
a12315098c
Merge pull request #5351 from PySimpleGUI/Dev-latest
More exception handling around screen capture
2022-04-10 07:15:14 -04:00
PySimpleGUI
a0e468b0f2 More exception handling around screen capture 2022-04-10 07:14:59 -04:00
PySimpleGUI
5f3a7b2d46
Merge pull request #5350 from PySimpleGUI/Dev-latest
Added exception handling to bind methods
2022-04-10 06:56:12 -04:00
PySimpleGUI
846af285b3 Added exception handling to bind methods 2022-04-10 06:55:53 -04:00
PySimpleGUI
53b01e4009
Merge pull request #5347 from PySimpleGUI/Dev-latest
Fixed the font and Expand X settings on the Editor settings section o…
2022-04-09 22:24:18 -04:00
PySimpleGUI
9971414a2c Fixed the font and Expand X settings on the Editor settings section of Settings window 2022-04-09 22:23:52 -04:00
PySimpleGUI
44cbc1348f
Merge pull request #5346 from PySimpleGUI/Dev-latest
Dev latest
2022-04-09 22:10:29 -04:00
PySimpleGUI
7cb208a407 Removing binding debug print 2022-04-09 22:10:10 -04:00
PySimpleGUI
a2ce8f1e64 EXPERIMENTAL and not yet debugged nor completed screen capture feature added 2022-04-09 22:04:26 -04:00
PySimpleGUI
1e01888fdf
Merge pull request #5344 from PySimpleGUI/Dev-latest
Multiline, Listbox, Table and Tree - new ttk scrollbars replaced the …
2022-04-08 21:33:38 -04:00
PySimpleGUI
02d0358fd6 Multiline, Listbox, Table and Tree - new ttk scrollbars replaced the tk scrollbars. All of these elements got a set of 10 parameters to control the look of these scrollbars 2022-04-08 21:33:21 -04:00
PySimpleGUI
32d5481f50
Merge pull request #5331 from PySimpleGUI/Dev-latest
Addition of  flag to turn off the widget not created errors. Gets aro…
2022-04-06 15:20:18 -04:00
PySimpleGUI
9382772d3f Addition of flag to turn off the widget not created errors. Gets around Debug Print race condition 2022-04-06 15:20:06 -04:00
PySimpleGUI
2041837d87
Merge pull request #5330 from PySimpleGUI/Dev-latest
Addition of blocking parameter to debug printing.  IF True, then exec…
2022-04-06 14:32:26 -04:00
PySimpleGUI
935e430420 Addition of blocking parameter to debug printing. IF True, then execution of your code is stopped until the "Quit" button / "X" is clicked on the Debug Window. 2022-04-06 14:30:34 -04:00
PySimpleGUI
eb2f26d1d5
Merge pull request #5326 from PySimpleGUI/Dev-latest
Release 4.59.0
2022-04-05 21:05:14 -04:00
PySimpleGUI
3261ec15fa Release 4.59.0 2022-04-05 21:02:08 -04:00
PySimpleGUI
d32497b083
Merge pull request #5325 from PySimpleGUI/Dev-latest
Fixed problem when elements went from disabled to enabled but events …
2022-04-05 13:33:07 -04:00
PySimpleGUI
cba19a515e Fixed problem when elements went from disabled to enabled but events were still disabled 2022-04-05 13:32:51 -04:00
PySimpleGUI
96c9e782cb
Merge pull request #5323 from PySimpleGUI/Dev-latest
Release 4.58.0
2022-04-04 17:13:52 -04:00
PySimpleGUI
b04252a864 Release 4.58.0 2022-04-04 17:11:28 -04:00
PySimpleGUI
db7e19650f
Merge pull request #5320 from PySimpleGUI/Dev-latest
Addition of tooltip_offset parm to set_options call (major hack to ge…
2022-04-04 09:50:10 -04:00
PySimpleGUI
07bb93d47f Addition of tooltip_offset parm to set_options call (major hack to get around 8.6.12 problem). Backed out the experiments to try and fix new problem with Ubuntu 2022-04-04 09:49:57 -04:00
PySimpleGUI
4b02326a16
Merge pull request #5319 from PySimpleGUI/Dev-latest
Backed out changes accidently checked in that crash on Linux... was e…
2022-04-03 19:14:45 -04:00
PySimpleGUI
7dc89ee509 Backed out changes accidently checked in that crash on Linux... was experimenting with changes to window creation. The crash was a misspelling of withdraw 2022-04-03 19:14:33 -04:00
PySimpleGUI
0459c9f339
Merge pull request #5318 from PySimpleGUI/Dev-latest
Renamed parameter to altnerate_widget for Element._pack_save_settings…
2022-04-03 14:28:37 -04:00
PySimpleGUI
5f3c4259ed Renamed parameter to altnerate_widget for Element._pack_save_settings and Element.,_pack_restore_settings.. Fix for pack_forget_save_seettings (if widget is already invisible then will get an error trying to get the pack_info). Removed use of tkinter's scrolled_text widget (preparing for better scrollbars in the future!!) 2022-04-03 14:27:51 -04:00
PySimpleGUI
5ac740091a
Merge pull request #5317 from PySimpleGUI/Dev-latest
Fixed bug in Tree and Table when visible changed in the layout.  Adde…
2022-04-02 16:02:13 -04:00
PySimpleGUI
6c4dc01f4a Fixed bug in Tree and Table when visible changed in the layout. Added Canvas.update method 2022-04-02 16:01:59 -04:00
PySimpleGUI
7121c20672
Merge pull request #5316 from PySimpleGUI/Dev-latest
Completed switching all elements over to the new way of handling visi…
2022-04-02 15:04:10 -04:00
PySimpleGUI
ed2bc288ff Completed switching all elements over to the new way of handling visiblity 2022-04-02 15:03:58 -04:00
PySimpleGUI
a1f3946d72
Merge pull request #5315 from PySimpleGUI/Dev-latest
Added propagate parameter to the Element.bind and Window.bind methods…
2022-04-02 13:03:44 -04:00
PySimpleGUI
b3680477c7 Added propagate parameter to the Element.bind and Window.bind methods. Indicates whether tkinter should propagate the event to the corresponding element/window or stop with the user callback 2022-04-02 13:03:31 -04:00
PySimpleGUI
9f495a0af4
Merge pull request #5314 from PySimpleGUI/Dev-latest
Fixed Text.update - crashing when making invisible
2022-04-02 09:31:43 -04:00
PySimpleGUI
b60de0368d Fixed Text.update - crashing when making invisible 2022-04-02 09:31:28 -04:00
PySimpleGUI
94580d10a4
Merge pull request #5313 from PySimpleGUI/Dev-latest
Fixed problem with making elements invisible causing the pack setting…
2022-04-02 08:57:47 -04:00
PySimpleGUI
e575a0b8dc Fixed problem with making elements invisible causing the pack settings to be lost. Converted Text, Input, Multiline, StatusBar, Frame, Combo to see if this is the right approach 2022-04-02 08:57:32 -04:00
PySimpleGUI
daac07a3b2
Merge pull request #5311 from PySimpleGUI/Dev-latest
New coupon (good for 30 days!)
2022-04-01 11:13:12 -04:00
PySimpleGUI
789c6f94d7 New coupon (good for 30 days!) 2022-04-01 11:11:45 -04:00
PySimpleGUI
238937f0b6
Merge pull request #5308 from PySimpleGUI/Dev-latest
New 5-day coupon code that's lower than usual....
2022-03-29 09:19:44 -04:00
PySimpleGUI
eeba57a971 New 5-day coupon code that's lower than usual.... 2022-03-29 09:19:30 -04:00
PySimpleGUI
70bb25c8fc
Merge pull request #5307 from PySimpleGUI/Dev-latest
Switched to using the PySimpleGUI supplied threading capability inste…
2022-03-28 18:28:07 -04:00
PySimpleGUI
53230912a8 Switched to using the PySimpleGUI supplied threading capability instead of manually starting the thread 2022-03-28 18:27:50 -04:00
PySimpleGUI
67ae5dba19
Merge pull request #5305 from PySimpleGUI/Dev-latest
Addition to call reference documentation for new Element focus method…
2022-03-27 10:06:26 -04:00
PySimpleGUI
745f26916d Addition to call reference documentation for new Element focus methods, new Wikndow.widget_to_element, and widget, key properties 2022-03-27 10:06:11 -04:00
PySimpleGUI
a460082c04
Merge pull request #5304 from PySimpleGUI/Dev-latest
Simplified the Radio, Checkbox, Slider creation by moving the command…
2022-03-26 12:02:31 -04:00
PySimpleGUI
632f85dc08 Simplified the Radio, Checkbox, Slider creation by moving the command to a config call rather than having 2 separate widget create calls... determined to learn both Python and tkinter while still living....maybe someday when I grow up I'll be a Python programmer for real.... 2022-03-26 12:02:10 -04:00
PySimpleGUI
7384f7535e
Merge pull request #5303 from PySimpleGUI/Dev-latest
Added back the list of Elements for the Window.__getitem__ docstring.
2022-03-26 11:08:57 -04:00
PySimpleGUI
ebd6e7d2d3 Added back the list of Elements for the Window.__getitem__ docstring. 2022-03-26 11:08:42 -04:00
PySimpleGUI
387b6c3b46
Merge pull request #5302 from PySimpleGUI/Dev-latest
Added key and widget Element properties, new focus methods Element.ge…
2022-03-26 09:43:48 -04:00
PySimpleGUI
9b814f003b Added key and widget Element properties, new focus methods Element.get_next_focus, Element.get_previous_focus. New Window method Window.widget_to_element 2022-03-26 09:43:32 -04:00
PySimpleGUI
a61bd8476c
Merge pull request #5298 from PySimpleGUI/Dev-latest
New coupon for Cookbook and call ref. start_thread alias for perform_long_operation
2022-03-24 13:11:15 -04:00
PySimpleGUI
6f1d1aa673 New coupon for Cookbook and call ref 2022-03-24 13:10:45 -04:00
PySimpleGUI
565978061a
Merge pull request #5297 from PySimpleGUI/Dev-latest
New coupon
2022-03-24 11:40:40 -04:00
PySimpleGUI
110c71f6f9 New coupon 2022-03-24 11:40:24 -04:00
PySimpleGUI
4debb2daf2
Merge pull request #5296 from PySimpleGUI/Dev-latest
New docstring updates.  New Udemy coupon
2022-03-24 11:36:43 -04:00
PySimpleGUI
c3946eb835 New docstring updates. New Udemy coupon 2022-03-24 11:36:28 -04:00
PySimpleGUI
3f27df982e
Merge pull request #5292 from PySimpleGUI/Dev-latest
Addition of image_source to Button element.  Description of mouse up …
2022-03-21 08:58:05 -04:00
PySimpleGUI
8d69771f19 Addition of image_source to Button element. Description of mouse up event in Graph docstring 2022-03-21 08:57:51 -04:00
PySimpleGUI
97a0c02e49
Merge pull request #5289 from PySimpleGUI/Dev-latest
Replaced all temp Tk windows with creating the hidden-master-root
2022-03-19 12:47:09 -04:00
PySimpleGUI
cfc43679ec Replaced all temp Tk windows with creating the hidden-master-root 2022-03-19 12:46:36 -04:00
PySimpleGUI
bf9acd7d42
Merge pull request #5287 from PySimpleGUI/Dev-latest
Updated to match local changes I made a long time ago.
2022-03-18 05:39:11 -04:00
PySimpleGUI
92f7cb8a74 Updated to match local changes I made a long time ago. 2022-03-18 05:38:53 -04:00
PySimpleGUI
cefebe5986
Merge pull request #5281 from PySimpleGUI/Dev-latest
Window-specific code that enables the PySimpleGUI icon to be shown ra…
2022-03-16 16:13:58 -04:00
PySimpleGUI
18cd7f2c7e Window-specific code that enables the PySimpleGUI icon to be shown rather than the python.exe icon on the taskbar 2022-03-16 16:13:46 -04:00
PySimpleGUI
a2fe840aaa
Merge pull request #5280 from PySimpleGUI/Dev-latest
Fixed docstring for Titlebar Element (incorrectly said icon can be an…
2022-03-16 16:03:20 -04:00
PySimpleGUI
dc0a05a21e Fixed docstring for Titlebar Element (incorrectly said icon can be an ICO file) 2022-03-16 16:03:08 -04:00
PySimpleGUI
e34a21ef04
Merge pull request #5279 from PySimpleGUI/Dev-latest
No longer generates an event if a File/Folder browse operation is can…
2022-03-16 11:18:18 -04:00
PySimpleGUI
f801e7da73 No longer generates an event if a File/Folder browse operation is cancelled 2022-03-16 11:17:53 -04:00
PySimpleGUI
ff95a6a8eb
Merge pull request #5278 from PySimpleGUI/Dev-latest
Allow file browse to generate events for disabled elements being filled
2022-03-16 10:55:36 -04:00
PySimpleGUI
f64444e423 Allow file browse to generate events for disabled elements being filled 2022-03-16 10:55:23 -04:00
PySimpleGUI
0f875e2a20
Merge pull request #5277 from PySimpleGUI/Dev-latest
If an element is disabled, then don't generate events for it (specifi…
2022-03-16 10:12:14 -04:00
PySimpleGUI
47047700dd If an element is disabled, then don't generate events for it (specifically for Input element in this case) 2022-03-16 10:12:00 -04:00
PySimpleGUI
be91c46e05
Merge pull request #5274 from PySimpleGUI/Dev-latest
Alias for perform_operation added - start_thread.  Added bind_return_…
2022-03-15 08:42:17 -04:00
PySimpleGUI
4065e0424e Alias for perform_operation added - start_thread. Added bind_return_key option to Spin element. 2022-03-15 08:42:04 -04:00
PySimpleGUI
c59db9b5c0
Merge pull request #5266 from PySimpleGUI/Dev-latest
ButtonMenu.Click aliased added.  Debugger - automatically adds a time…
2022-03-11 13:56:34 -05:00
PySimpleGUI
37c3afc8ca ButtonMenu.Click aliased added. Debugger - automatically adds a timeout to read calls if a debug window is open. Still need to handle user-level multi-window support. 2022-03-11 13:56:18 -05:00
PySimpleGUI
170a44d563
Merge pull request #5263 from PySimpleGUI/Dev-latest
New Demo - Dual Axis bar chart
2022-03-10 08:25:43 -05:00
PySimpleGUI
df0eba2c8b New Demo - Dual Axis bar chart 2022-03-10 08:25:24 -05:00
PySimpleGUI
fc06ec69bd
Merge pull request #5259 from PySimpleGUI/Dev-latest
Fixed up the layout - simplified, use coding standard for key names
2022-03-08 10:17:13 -05:00
PySimpleGUI
44f00ccf43 Fixed up the layout - simplified, use coding standard for key names 2022-03-08 10:16:58 -05:00
PySimpleGUI
5ba5b949b0
Merge pull request #5257 from PySimpleGUI/Dev-latest
Reworked to use the newer PySimpleGUI constructs - save window positi…
2022-03-08 10:03:49 -05:00
PySimpleGUI
4670576430 Reworked to use the newer PySimpleGUI constructs - save window position, thread management, thread communications... it greatly simplified the code cutting the length considerably 2022-03-08 10:03:32 -05:00
PySimpleGUI
7b700d383f
Merge pull request #5255 from PySimpleGUI/Dev-latest
Dev latest
2022-03-07 16:06:48 -05:00
PySimpleGUI
64f7615a25 Added metric units option 2022-03-07 16:06:31 -05:00
PySimpleGUI
186b16e77a Addition of county to the Weather Desktop Widget 2022-03-07 15:25:41 -05:00
PySimpleGUI
ea2988145f
Merge pull request #5251 from PySimpleGUI/Dev-latest
New Demo Program - Wordle GUI
2022-03-05 06:53:21 -05:00
PySimpleGUI
58e0b2c82c New Demo Program - Wordle GUI 2022-03-05 06:53:01 -05:00
PySimpleGUI
4c8abeeb40
Merge pull request #5250 from PySimpleGUI/Dev-latest
Dev latest
2022-03-05 06:18:27 -05:00
PySimpleGUI
3363fa48c0 Fixed simple typo 2022-03-05 06:18:05 -05:00
PySimpleGUI
223cd18964 Removed need for OpenCV and numpy. 2022-03-05 06:17:51 -05:00
PySimpleGUI
67d2fa0cac
Merge pull request #5241 from PySimpleGUI/Dev-latest
Updated User Settings INI Demo with more examples of class interface
2022-03-01 04:39:30 -05:00
PySimpleGUI
5b3c3e5375 Updated User Settings INI Demo with more examples of class interface 2022-03-01 04:39:16 -05:00
PySimpleGUI
6ad9011042
Merge pull request #5233 from PySimpleGUI/Dev-latest
Two new SYMBOL constants.  New Demo Program - Desktop Widget Handwrit…
2022-02-26 12:50:53 -05:00
PySimpleGUI
3fc4002401 Two new SYMBOL constants. New Demo Program - Desktop Widget Handwritten Digits 2022-02-26 12:50:31 -05:00
PySimpleGUI
93b2572d6f
Merge pull request #5232 from PySimpleGUI/Dev-latest
New Demo - Class wrapper
2022-02-26 07:26:50 -05:00
PySimpleGUI
e29acb936e New Demo - Class wrapper 2022-02-26 07:26:31 -05:00
PySimpleGUI
a4b06ee722
Merge pull request #5221 from PySimpleGUI/Dev-latest
Added tab to Open GitHub Issue GUI asking about how found PSG....The …
2022-02-22 13:13:32 -05:00
PySimpleGUI
e6c1a14e9f Added tab to Open GitHub Issue GUI asking about how found PSG....The optional questions have been awesome to read! 2022-02-22 13:13:15 -05:00
PySimpleGUI
84f895af1f
Merge pull request #5220 from PySimpleGUI/Dev-latest
Enhancement - Addition of button_text to the ButtonMenu.update method.
2022-02-22 12:25:13 -05:00
PySimpleGUI
ee2ccaba4c Enhancement - Addition of button_text to the ButtonMenu.update method. 2022-02-22 12:24:49 -05:00
PySimpleGUI
73e2630d8c
Merge pull request #5219 from PySimpleGUI/Dev-latest
Another Demo Program refresh...
2022-02-22 05:35:15 -05:00
PySimpleGUI
8155826734 Another Demo Program refresh... 2022-02-22 05:35:02 -05:00
PySimpleGUI
e7e8501f0d
Merge pull request #5218 from PySimpleGUI/Dev-latest
More "Demo Program Catchup" updates.  Working through them bit by bit…
2022-02-22 05:20:17 -05:00
PySimpleGUI
f1e0c7d03f More "Demo Program Catchup" updates. Working through them bit by bit..... 2022-02-22 05:20:03 -05:00
PySimpleGUI
f27ddc64a3
Merge pull request #5216 from PySimpleGUI/Dev-latest
Getting more Demo Programs synced up.  New demo for VPush too
2022-02-21 14:12:31 -05:00
PySimpleGUI
1eb653d910 Getting more Demo Programs synced up. New demo for VPush too 2022-02-21 14:12:15 -05:00
PySimpleGUI
e66b72ff13
Merge pull request #5213 from PySimpleGUI/Dev-latest
New coupon for next 30 days
2022-02-19 10:45:30 -05:00
PySimpleGUI
409846bd3f New coupon for next 30 days 2022-02-19 10:45:14 -05:00
PySimpleGUI
3306903bdd
Merge pull request #5212 from PySimpleGUI/Dev-latest
Unified the Demo Browser across GitHub and psgdemos PyPI release.
2022-02-19 09:19:43 -05:00
PySimpleGUI
10cce5e17b Unified the Demo Browser across GitHub and psgdemos PyPI release. 2022-02-19 09:19:28 -05:00
PySimpleGUI
f6049e41f9
Merge pull request #5211 from PySimpleGUI/Dev-latest
Removed the "Edit Me (This Program)" button since it caused confusion…
2022-02-18 16:47:51 -05:00
PySimpleGUI
1dbc22c41e Removed the "Edit Me (This Program)" button since it caused confusion. Right click to choose "Edit me". Advanced mode is not on by default. Added PySimpleGUI version checking to warn about edit features 2022-02-18 13:59:10 -05:00
PySimpleGUI
f15a38d123
Merge pull request #5210 from PySimpleGUI/Dev-latest
Cast the default for Checkbox to bool
2022-02-18 12:45:26 -05:00
PySimpleGUI
0d7187f1d2 Cast the default for Checkbox to bool 2022-02-18 12:45:13 -05:00
PySimpleGUI
eb60f9988f
Merge pull request #5205 from PySimpleGUI/Dev-latest
More demo programs updates 🤦‍♂️ wow.....I thought for sure these were…
2022-02-16 19:52:00 -05:00
PySimpleGUI
430d1bc77f More demo programs updates 🤦‍♂️ wow.....I thought for sure these were checked in.... 2022-02-16 19:51:47 -05:00
PySimpleGUI
e8873b61cb
Merge pull request #5204 from PySimpleGUI/Dev-latest
Catching up on the many many demo programs that were not checked in....
2022-02-16 19:39:28 -05:00
PySimpleGUI
cfe2c96a1f Catching up on the many many demo programs that were not checked in.... 2022-02-16 19:39:13 -05:00
PySimpleGUI
6b1f47b9d4
Merge pull request #5203 from PySimpleGUI/Dev-latest
Catching up demos that haven't been checked in... that I thought were…
2022-02-16 18:00:31 -05:00
PySimpleGUI
8fd5a318ee Catching up demos that haven't been checked in... that I thought were....hmmm... there are a LOT of them.... 2022-02-16 18:00:19 -05:00
PySimpleGUI
8d6d3430c2
Merge pull request #5202 from PySimpleGUI/Dev-latest
Update of Demo All Elements Simple... thought this was updated a whil…
2022-02-16 16:57:13 -05:00
PySimpleGUI
8292827b2d Update of Demo All Elements Simple... thought this was updated a while ago! 2022-02-16 16:55:11 -05:00
PySimpleGUI
6767547c5d
Merge pull request #5200 from PySimpleGUI/Dev-latest
Updated the "realtime script launcher" demo to use the Exec APIs.  Ch…
2022-02-15 10:55:57 -05:00
PySimpleGUI
dcd7a3c3e0 Updated the "realtime script launcher" demo to use the Exec APIs. Changed timeout error handling in execute_get_results 2022-02-15 10:55:41 -05:00
PySimpleGUI
2039e7e63f
Merge pull request #5197 from PySimpleGUI/Dev-latest
New Demo - Demo_Fonts_Using_pyglet - adding fonts to tkinter using py…
2022-02-14 13:37:33 -05:00
PySimpleGUI
8f20ef32ca New Demo - Demo_Fonts_Using_pyglet - adding fonts to tkinter using pyglet (thanks Jason!) 2022-02-14 13:37:09 -05:00
PySimpleGUI
2b31f0c3fc
Merge pull request #5195 from PySimpleGUI/Dev-latest
Update Demo_Emoji_Toolbar_PIL.py
2022-02-13 19:35:48 -05:00
PySimpleGUI
d52dd0eb85 Update Demo_Emoji_Toolbar_PIL.py 2022-02-13 19:35:28 -05:00
PySimpleGUI
249291b5ae
Merge pull request #5194 from PySimpleGUI/Dev-latest
Release 4.57.0
2022-02-13 16:49:59 -05:00
PySimpleGUI
e0709b081a Release 4.57.0 2022-02-13 16:41:43 -05:00
PySimpleGUI
e51f7d8ddc
Merge pull request #5193 from PySimpleGUI/Dev-latest
New Demo Program - custom circular Progress Meter
2022-02-13 15:06:33 -05:00
PySimpleGUI
61902de6d0 New Demo Program - custom circular Progress Meter 2022-02-13 15:06:17 -05:00
PySimpleGUI
af1a34b676
Merge pull request #5191 from PySimpleGUI/Dev-latest
Another coupon.... these will slow down in frequency once the next ph…
2022-02-12 10:08:14 -05:00
PySimpleGUI
60557a1e3b Another coupon.... these will slow down in frequency once the next phase of the course is completed this month 2022-02-12 10:08:01 -05:00
PySimpleGUI
9c5bc9d1ee
Merge pull request #5190 from PySimpleGUI/Dev-latest
New coupon code
2022-02-12 10:03:16 -05:00
PySimpleGUI
a614e40d41 New coupon code 2022-02-12 10:02:54 -05:00
PySimpleGUI
27c0c2b276
Merge pull request #5188 from PySimpleGUI/Dev-latest
Started a new "Troubleshooting" section that contains error messages …
2022-02-09 11:15:19 -05:00
PySimpleGUI
fb75b9b832 Started a new "Troubleshooting" section that contains error messages that can be searched for. It's meant for common typo kind of errors like missing a comma in your layout. 2022-02-09 11:14:50 -05:00
PySimpleGUI
a0148e6c8c
Merge pull request #5187 from PySimpleGUI/Dev-latest
Another try at screenshot replacement...
2022-02-07 14:16:37 -05:00
PySimpleGUI
9f8995a6f3 Another try at screenshot replacement... 2022-02-07 14:16:24 -05:00
PySimpleGUI
6f9d00fdf7
Merge pull request #5185 from PySimpleGUI/Dev-latest
New U-code
2022-02-07 09:40:59 -05:00
PySimpleGUI
83a62eee00 New U-code 2022-02-07 09:40:47 -05:00
PySimpleGUI
0f37a379f3
Merge pull request #5184 from PySimpleGUI/Dev-latest
Doc updates - call ref picked up new docstring, coupon codes (they ke…
2022-02-07 09:40:14 -05:00
PySimpleGUI
0797d15dd6 Doc updates - call ref picked up new docstring, coupon codes (they keep expiring... working on a better solution) 2022-02-07 09:39:59 -05:00
PySimpleGUI
dd2b5f68cf
Merge pull request #5182 from PySimpleGUI/Dev-latest
Updated Window.perform_long_operation docstring to warn that Threads …
2022-02-06 17:17:15 -05:00
PySimpleGUI
992c5db3bc Updated Window.perform_long_operation docstring to warn that Threads are used 2022-02-06 17:16:59 -05:00
PySimpleGUI
19dc8baf21
Merge pull request #5181 from PySimpleGUI/Dev-latest
Quick and temp fixup of the demo screenshots until the broader screen…
2022-02-06 17:04:11 -05:00
PySimpleGUI
e787939f16 Quick and temp fixup of the demo screenshots until the broader screenshots gallery is complete (that will hold both PySimpleGUI Demos and USER screenshots) 2022-02-06 17:03:56 -05:00
PySimpleGUI
b3ccc49b0f
Merge pull request #5180 from PySimpleGUI/Dev-latest
Dev latest
2022-02-05 17:09:40 -05:00
PySimpleGUI
c720c042a5 Fixed FileBrowse error. Replaced the "All Elements" demo code with the latest simplified all elements demo. Added info about perform_long_operation 2022-02-05 17:09:02 -05:00
PySimpleGUI
030e023b89 Fixed simple grammar error 2022-02-05 17:07:58 -05:00
PySimpleGUI
2e7181b6c8
Merge pull request #5178 from PySimpleGUI/Dev-latest
PYTHON_COLORED_HEARTS_BASE64 enuf said..
2022-02-04 13:27:51 -05:00
PySimpleGUI
0205f5c913 PYTHON_COLORED_HEARTS_BASE64 enuf said.. 2022-02-04 13:26:46 -05:00
PySimpleGUI
f4a844312a
Merge pull request #5177 from PySimpleGUI/Dev-latest
Option to show custom titlebar and custom menubar. Added version info…
2022-02-04 07:53:58 -05:00
PySimpleGUI
51e2b7059b Option to show custom titlebar and custom menubar. Added version info to right click menu 2022-02-04 07:53:45 -05:00
PySimpleGUI
1e7799d9d6
Merge pull request #5173 from PySimpleGUI/Dev-latest
Removed scrollbar from Listbox for a cleaner look
2022-02-03 09:13:32 -05:00
PySimpleGUI
81ff74ac44 Removed scrollbar from Listbox for a cleaner look 2022-02-03 09:13:16 -05:00
PySimpleGUI
cb12749b26
Merge pull request #5172 from PySimpleGUI/Dev-latest
Added ability to change theme using the example Combo element
2022-02-03 08:24:51 -05:00
PySimpleGUI
7bd8a02e80 Added ability to change theme using the example Combo element 2022-02-03 08:24:36 -05:00
PySimpleGUI
aa611d7b09
Merge pull request #5169 from PySimpleGUI/Dev-latest
Complete list of elements, one per row. Super-simple
2022-02-02 20:39:38 -05:00
PySimpleGUI
eb63e97549 Complete list of elements, one per row. Super-simple 2022-02-02 20:39:18 -05:00
PySimpleGUI
fc69f3b80a
Merge pull request #5167 from PySimpleGUI/Dev-latest
Listbox - fix for scrollbar not working correctly when invisible then…
2022-02-02 11:27:02 -05:00
PySimpleGUI
427a91f9de Listbox - fix for scrollbar not working correctly when invisible then visible 2022-02-02 11:26:41 -05:00
PySimpleGUI
1fa8576c2f
Merge pull request #5162 from PySimpleGUI/Dev-latest
Docs - Updated educational resources, psgdemo package, completed the …
2022-02-01 12:13:44 -05:00
PySimpleGUI
4429446860 Docs - Updated educational resources, psgdemo package, completed the large table of Elements to Widgets. 2022-02-01 12:13:29 -05:00
PySimpleGUI
87c648bde5
Merge pull request #5160 from PySimpleGUI/Dev-latest
Normal titlebar example
2022-02-01 11:10:33 -05:00
PySimpleGUI
8dc9162b77 Normal titlebar example 2022-02-01 11:10:21 -05:00
PySimpleGUI
c0cf0b8ea6
Merge pull request #5159 from PySimpleGUI/Dev-latest
Updated CustomTitlebar demo.  New screenshots for docs
2022-02-01 11:03:54 -05:00
PySimpleGUI
7ddf08b613 Updated CustomTitlebar demo. New screenshots for docs 2022-02-01 11:03:42 -05:00
PySimpleGUI
ffc13fd142
Merge pull request #5158 from PySimpleGUI/Dev-latest
New images for docs
2022-02-01 09:27:16 -05:00
PySimpleGUI
9be24d6241 New images for docs 2022-02-01 09:27:04 -05:00
PySimpleGUI
10a91f0146
Merge pull request #5155 from PySimpleGUI/Dev-latest
Instructions on pip installing the psgdemo package to get the demo pr…
2022-01-31 16:46:08 -05:00
PySimpleGUI
58b5a88057 Instructions on pip installing the psgdemo package to get the demo programs - added to the readme and the Cookbook. 2022-01-31 16:45:56 -05:00
PySimpleGUI
80cc1f0e0a
Merge pull request #5153 from PySimpleGUI/Dev-latest
Changed Input.update - the new paste parm now uses the value instead …
2022-01-31 15:35:46 -05:00
PySimpleGUI
0d27190950 Changed Input.update - the new paste parm now uses the value instead of the clipboard to insert the text. Added another emoji 2022-01-31 15:35:31 -05:00
PySimpleGUI
c423e4ce8e
Merge pull request #5152 from PySimpleGUI/Dev-latest
Updated Bar Char Demo - I thought this update was done long long ago!…
2022-01-31 08:49:05 -05:00
PySimpleGUI
63464d1ecb Updated Bar Char Demo - I thought this update was done long long ago! DOH! 2022-01-31 08:48:50 -05:00
PySimpleGUI
3c173cb2a9
Merge pull request #5151 from PySimpleGUI/Dev-latest
Added paste parm to Input.update
2022-01-31 04:37:08 -05:00
PySimpleGUI
c57f655138 Added paste parm to Input.update 2022-01-31 04:36:49 -05:00
PySimpleGUI
99ce569d9d
Merge pull request #5148 from PySimpleGUI/Dev-latest
New U-Code
2022-01-30 13:01:42 -05:00
PySimpleGUI
92ea038adb New U-Code 2022-01-30 13:01:07 -05:00
PySimpleGUI
b41e6bc848
Merge pull request #5140 from PySimpleGUI/Dev-latest
Added error popup if filename error in Image.update
2022-01-28 14:06:42 -05:00
PySimpleGUI
97a8db5854 Added error popup if filename error in Image.update 2022-01-28 14:06:27 -05:00
PySimpleGUI
b3c897dea1
Merge pull request #5138 from PySimpleGUI/Dev-latest
Fix for popup_get_text - font parameter was not being applied to the …
2022-01-27 17:56:43 -05:00
PySimpleGUI
af713d35c7 Fix for popup_get_text - font parameter was not being applied to the entire window. Updated internal keys to use the -KEY- format instead of the older _KEY_ format 2022-01-27 17:56:26 -05:00
PySimpleGUI
d21e600b18
Merge pull request #5136 from PySimpleGUI/Dev-latest
New Demo Programs - SDK Help used in the Udemy course
2022-01-27 11:56:31 -05:00
PySimpleGUI
63a10659ff New Demo Programs - SDK Help used in the Udemy course 2022-01-27 11:56:16 -05:00
PySimpleGUI
85ae308a2c
Merge pull request #5134 from PySimpleGUI/Dev-latest
Fixed screenshot locations (they're still old screenshots but will do…
2022-01-27 09:25:33 -05:00
PySimpleGUI
7ba9a8694b Fixed screenshot locations (they're still old screenshots but will do for the moment while a new gallery is being built) 2022-01-27 09:25:18 -05:00
PySimpleGUI
f632fdc89e
Merge pull request #5128 from PySimpleGUI/Dev-latest
Horizontal scrollbar for Multiline element
2022-01-25 09:45:35 -05:00
PySimpleGUI
6da458be90 Horizontal scrollbar for Multiline element 2022-01-25 09:45:22 -05:00
PySimpleGUI
5f26b86baa
Merge pull request #5126 from PySimpleGUI/Dev-latest
Removed all code that is now part of PySimpleGUI.  Was duplicating a …
2022-01-24 17:55:22 -05:00
PySimpleGUI
516e9c3928 Removed all code that is now part of PySimpleGUI. Was duplicating a lot of the EXEC APIs in case user is running old PySimpleGUI but better to upgrade to newest PySimpleGUI 2022-01-24 17:55:12 -05:00
PySimpleGUI
f85cbd20ce
Merge pull request #5124 from PySimpleGUI/Dev-latest
More coupon code updates......
2022-01-24 14:34:13 -05:00
PySimpleGUI
0b9482f5ec More coupon code updates...... 2022-01-24 14:33:59 -05:00
PySimpleGUI
b6cbc58e12
Merge pull request #5123 from PySimpleGUI/Dev-latest
Addition of Text.fonts_installed_list to call reference.  New coupon …
2022-01-24 14:22:52 -05:00
PySimpleGUI
13ce12e875 New U-code... 2022-01-24 14:21:26 -05:00
PySimpleGUI
0c38b53db7 Addition of Text.fonts_installed_list to call reference. New coupon code for Udemy course (old one just expired - Udemy forces this to happen, wasn't a choice.) 2022-01-24 14:17:40 -05:00
PySimpleGUI
7ba0ab16bc
Merge pull request #5121 from PySimpleGUI/Dev-latest
Added Text.fonts_installed_list - returns the fonts installed as repo…
2022-01-23 06:40:06 -05:00
PySimpleGUI
81599f643b Added Text.fonts_installed_list - returns the fonts installed as reported by tkinter. 2022-01-23 06:39:46 -05:00
PySimpleGUI
e37810dee3
Merge pull request #5118 from PySimpleGUI/Dev-latest
Added TABLE_CLICKED_INDICATOR so that hardcoded strings are not neede…
2022-01-22 15:42:45 -05:00
PySimpleGUI
c5fae56754 Added TABLE_CLICKED_INDICATOR so that hardcoded strings are not needed in user's code. Value is '+CLICKED+' 2022-01-22 15:42:31 -05:00
PySimpleGUI
7c39256db9
Merge pull request #5117 from PySimpleGUI/Dev-latest
Fixed typo - CICKED should be CLICKED in the able header code.
2022-01-22 15:37:00 -05:00
PySimpleGUI
64bb3f954f Fixed typo - CICKED should be CLICKED in the able header code. 2022-01-22 15:36:19 -05:00
PySimpleGUI
4cf77b584c
Merge pull request #5115 from PySimpleGUI/Dev-latest
renamed to make compatible with variable names
2022-01-20 15:03:53 -05:00
PySimpleGUI
95f7064163 renamed to make compatible with variable names 2022-01-20 15:03:36 -05:00
PySimpleGUI
e03a911a97
Merge pull request #5114 from PySimpleGUI/Dev-latest
Missed the "not understand" emoji from original batch
2022-01-20 11:40:07 -05:00
PySimpleGUI
67a9276946 Missed the "not understand" emoji from original batch 2022-01-20 11:39:52 -05:00
PySimpleGUI
f774ba5c37
Merge pull request #5113 from PySimpleGUI/Dev-latest
Fixed a problem in the release notes part of the docs.
2022-01-19 18:25:29 -05:00
PySimpleGUI
5f80453e75 Fixed a problem in the release notes part of the docs. 2022-01-19 17:11:04 -05:00
PySimpleGUI
8e0215981f
Merge pull request #5112 from PySimpleGUI/Dev-latest
2022 readme update... Udemy course, Announcement subscription, Demo B…
2022-01-19 17:04:43 -05:00
PySimpleGUI
c2295486b0 2022 readme update... Udemy course, Announcement subscription, Demo Browser, psgcompiler 2022-01-19 17:04:29 -05:00
PySimpleGUI
807d3c6e33
Merge pull request #5101 from PySimpleGUI/Dev-latest
New Demo - Emoji Toolbar
2022-01-16 12:04:30 -05:00
PySimpleGUI
d363bd761f New Demo - Emoji Toolbar 2022-01-16 12:04:12 -05:00
PySimpleGUI
9214c8cb44
Merge pull request #5100 from PySimpleGUI/Dev-latest
Corrected "hope" name to "clap"
2022-01-16 06:44:16 -05:00
PySimpleGUI
f11a374cc1 Corrected "hope" name top "clap" 2022-01-16 06:43:59 -05:00
PySimpleGUI
29a0accc2b
Merge pull request #5099 from PySimpleGUI/Dev-latest
New 2022 Emojis
2022-01-16 06:39:50 -05:00
PySimpleGUI
35804b9b10 New 2022 Emojis 2022-01-16 06:39:38 -05:00
PySimpleGUI
46b2c50564
Merge pull request #5098 from PySimpleGUI/Dev-latest
New emojis!
2022-01-16 06:20:03 -05:00
PySimpleGUI
4fa64cd7c9 New emojis! 2022-01-16 06:19:50 -05:00
PySimpleGUI
5d1cc3e75e
Merge pull request #5097 from PySimpleGUI/Dev-latest
Checking in some accumulated changes - Added Sizegrip, window now res…
2022-01-15 17:35:05 -05:00
PySimpleGUI
3aa82075a9 Checking in some accumulated changes - Added Sizegrip, window now resizable, show open files, filter checkbox for Python processes, Edit Me right click menu 2022-01-15 17:34:49 -05:00
PySimpleGUI
d0f341c77e
Merge pull request #5096 from PySimpleGUI/Dev-latest
Fix for enable_events for Spin element. Changed how the event is gene…
2022-01-15 08:56:44 -05:00
PySimpleGUI
40757180b5 Fix for enable_events for Spin element. Changed how the event is generated. Need to determine manual entry of value still 2022-01-15 08:56:08 -05:00
PySimpleGUI
75f788b724
Merge pull request #5094 from PySimpleGUI/Dev-latest
Updated to use the exapand_x and expand_y parms.  Uses a transparent …
2022-01-14 12:40:09 -05:00
PySimpleGUI
3994c03d53 Updated to use the exapand_x and expand_y parms. Uses a transparent color and added "edit me" feature 2022-01-14 12:39:56 -05:00
PySimpleGUI
81dbe26323
Merge pull request #5093 from PySimpleGUI/Dev-latest
Added Window Location Finder code from the demo program
2022-01-14 12:27:27 -05:00
PySimpleGUI
33cb849656 Added Window Location Finder code from the demo program 2022-01-14 12:27:14 -05:00
PySimpleGUI
7c2fab9768
Merge pull request #5092 from PySimpleGUI/Dev-latest
New Justification and Alignment recipe, changed to use the theme call…
2022-01-14 12:13:05 -05:00
PySimpleGUI
7410eadff5 New Justification and Alignment recipe, changed to use the theme calls, mentioned the psgcompiler project 2022-01-14 12:12:46 -05:00
PySimpleGUI
0e11a12c67
Merge pull request #5085 from PySimpleGUI/Dev-latest
Added Udemy info to main().
2022-01-11 11:27:41 -05:00
PySimpleGUI
091db79c56 Added Udemy info to main(). 2022-01-11 11:27:25 -05:00
PySimpleGUI
9972f0bb4b
Merge pull request #5082 from PySimpleGUI/Dev-latest
Changed all element.update methods to inform user that helpful functi…
2022-01-09 21:08:15 -05:00
PySimpleGUI
5468b68a03 Changed all element.update methods to inform user that helpful function "pin" is needed when using visibility. 2022-01-09 21:07:36 -05:00
PySimpleGUI
9cb517b2be
Merge pull request #5080 from PySimpleGUI/Dev-latest
Dev latest
2022-01-09 09:30:11 -05:00
PySimpleGUI
49013fbbbf Slider.update fix... 2022-01-09 09:29:57 -05:00
PySimpleGUI
db87816370 Fixed Slider.update so that the range is applied first 2022-01-09 09:28:48 -05:00
PySimpleGUI
6c0d1fb54f
Merge pull request #5074 from PySimpleGUI/Dev-latest
Added OptionMenu to the list of tkinter Widgets that are ignored for …
2022-01-07 13:07:15 -05:00
PySimpleGUI
209e2d25d0 Added OptionMenu to the list of tkinter Widgets that are ignored for grab anywhere feature 2022-01-07 13:06:58 -05:00
PySimpleGUI
a039df2bfe
Merge pull request #5068 from PySimpleGUI/Dev-latest
Dev latest
2022-01-06 11:32:13 -05:00
PySimpleGUI
f523e511d9 Swapped out Output element for Multiline. Includes the Titilebar, CustomMenubar, Sizegrip and standard "Edit Me" and "Versions" right click setting and numerous smaller changes 2022-01-06 11:31:54 -05:00
PySimpleGUI
ef3746cb06 set_options - new parm disable_modal_windows provides ability to disable modal setting for all windows including popups 2022-01-06 11:29:03 -05:00
PySimpleGUI
0e2aeb3f3d
Merge pull request #5067 from PySimpleGUI/Dev-latest
Release 4.56.0
2022-01-05 16:39:08 -05:00
PySimpleGUI
3c356d31c2 Release 4.56.0 2022-01-05 16:38:48 -05:00
PySimpleGUI
2307862656
Merge pull request #5065 from PySimpleGUI/Dev-latest
Enable Text class methods to be called prior to any windows being cre…
2022-01-04 13:58:30 -05:00
PySimpleGUI
acaae54a1a Enable Text class methods to be called prior to any windows being created: string_width_in_pixels, char_height_in_pixels, char_width_in_pixels. Removed destruction of hidden master root from popup_get_file & popup_get_folder (was old code) 2022-01-04 13:58:13 -05:00
PySimpleGUI
922fb8ae62
Merge pull request #5061 from PySimpleGUI/Dev-latest
Replaced documentation banner
2022-01-03 13:07:46 -05:00
PySimpleGUI
7dd1094c6c Replaced documentation banner 2022-01-03 13:07:36 -05:00
PySimpleGUI
db7e27e451
Merge pull request #5059 from PySimpleGUI/Dev-latest
An additional location for explaining how Element.update works with W…
2022-01-01 13:14:43 -05:00
PySimpleGUI
0623072ecf An additional location for explaining how Element.update works with Window.read and Window.refresh. 2022-01-01 13:14:26 -05:00
PySimpleGUI
b0a00d413e
Merge pull request #5058 from PySimpleGUI/Dev-latest
Design Pattern 2B - point out the update calls are not shown in the w…
2022-01-01 13:00:02 -05:00
PySimpleGUI
02e1cb6ad4 Design Pattern 2B - point out the update calls are not shown in the window until Window.read or Window.refresh are called. 2022-01-01 12:59:43 -05:00
PySimpleGUI
d99bc24b8c
Merge pull request #5057 from PySimpleGUI/Dev-latest
Docstring changes for all Element.update methods to indicate that the…
2022-01-01 12:57:03 -05:00
PySimpleGUI
9c80a060e2 Docstring changes for all Element.update methods to indicate that the change will not be visible until Window.refresh or Window.read is called 2022-01-01 12:56:41 -05:00
PySimpleGUI
1660834083
Merge pull request #5050 from PySimpleGUI/Dev-latest
Fix for set_options - was not checking for True for dpi_awareness
2021-12-25 12:59:31 -05:00
PySimpleGUI
4712041ee1 Fix for set_options - was not checking for True for dpi_awareness 2021-12-25 12:59:12 -05:00
PySimpleGUI
9610a95cb4
Merge pull request #5044 from PySimpleGUI/Dev-latest
Layout reuse error wording change, execute_get_results checks for Val…
2021-12-21 16:17:07 -05:00
PySimpleGUI
745f693901 Layout reuse error wording change, execute_get_results checks for ValueError now 2021-12-21 16:16:49 -05:00
PySimpleGUI
23c5296d81
Merge pull request #5043 from PySimpleGUI/Dev-latest
Added back banners after temp removal....
2021-12-20 16:49:40 -05:00
PySimpleGUI
783d6d4169 Added back banners after temp removal.... 2021-12-20 16:49:24 -05:00
PySimpleGUI
9f7e487ca6
Merge pull request #5042 from PySimpleGUI/Dev-latest
Dev latest - pulling out the banner temporarily to record udemy lesson
2021-12-20 16:23:15 -05:00
PySimpleGUI
d357ba16ac Revert "Addition of banner"
This reverts commit fe195c19c6.
2021-12-20 16:22:33 -05:00
PySimpleGUI
9602473342 Revert "Added banner"
This reverts commit 7b06c24f14.
2021-12-20 16:22:25 -05:00
PySimpleGUI
316c826cdb
Merge pull request #5029 from PySimpleGUI/Dev-latest
Dev latest
2021-12-16 05:46:24 -05:00
PySimpleGUI
7b06c24f14 Added banner 2021-12-16 05:46:05 -05:00
PySimpleGUI
fe195c19c6 Addition of banner 2021-12-16 05:41:34 -05:00
PySimpleGUI
48332b4d3f
Merge pull request #5027 from PySimpleGUI/Dev-latest
Fixed normal (non-ttk) button wraplen
2021-12-15 10:13:55 -05:00
PySimpleGUI
8d21555f28 Fixed normal (non-ttk) button wraplen 2021-12-15 10:13:36 -05:00
PySimpleGUI
c6432eb28f
Merge pull request #5026 from PySimpleGUI/Dev-latest
TTK Button wraplen and padding height changes
2021-12-15 07:01:20 -05:00
PySimpleGUI
9022fd22de TTK Button wraplen and padding height changes 2021-12-15 07:00:59 -05:00
PySimpleGUI
504a6b8ba8
Merge pull request #5023 from PySimpleGUI/Dev-latest
UserSettings.delete_entry - replaced simple print with the standard p…
2021-12-14 10:58:40 -05:00
PySimpleGUI
800e1c84dc UserSettings.delete_entry - replaced simple print with the standard popup error with traceback.... yes, this means I'm working on the UserSettings lesson... 2021-12-14 10:58:19 -05:00
PySimpleGUI
265ff4be35
Merge pull request #5021 from PySimpleGUI/Dev-latest
Deleting old files that are not used and could be confusing
2021-12-11 13:02:45 -05:00
PySimpleGUI
77ab50248b Deleting old files that are not used and could be confusing 2021-12-11 13:02:27 -05:00
PySimpleGUI
838a09831a
Merge pull request #5020 from PySimpleGUI/Dev-latest
Added buy me a coffee to sponsor button
2021-12-10 14:40:03 -05:00
PySimpleGUI
0f32cac724 Added buy me a coffee to sponsor button 2021-12-10 14:39:49 -05:00
PySimpleGUI
aded606c44
Merge pull request #5019 from PySimpleGUI/Dev-latest
Updated sponsor info
2021-12-10 14:37:13 -05:00
PySimpleGUI
047016e633 Updated sponsor info 2021-12-10 14:36:58 -05:00
PySimpleGUI
9bc7b29f06
Merge pull request #5012 from PySimpleGUI/Dev-latest
Fixed logging github issue problem with overall and python years swapped
2021-12-06 08:52:54 -05:00
PySimpleGUI
3845f0de66 Fixed logging github issue problem with overall and python years swapped 2021-12-06 08:52:41 -05:00
PySimpleGUI
9cd77e76f3
Merge pull request #5008 from PySimpleGUI/Dev-latest
Fix in sdk_help - the Titlebar and MenubarCustom caused problems if t…
2021-12-05 15:19:44 -05:00
PySimpleGUI
421b8fddf2 Fix in sdk_help - the Titlebar and MenubarCustom caused problems if trying to view in the summary mode because they're not classes 2021-12-05 15:19:31 -05:00
PySimpleGUI
596503a97a
Merge pull request #5006 from PySimpleGUI/Dev-latest
ButtonMenu - new image_source parm for creation. New update parms - i…
2021-12-04 15:30:30 -05:00
PySimpleGUI
ad6a8a7142 ButtonMenu - new image_source parm for creation. New update parms - image_source, image_size, image_subsample - enables the initial image to be changed to a new one 2021-12-04 15:30:12 -05:00
PySimpleGUI
f80a2246c3
Merge pull request #5004 from PySimpleGUI/Dev-latest
Graph - motion_events parm added as a quick experiment.
2021-12-03 17:33:39 -05:00
PySimpleGUI
668835bb7f Graph - motion_events parm added as a quick experiment. 2021-12-03 17:33:25 -05:00
PySimpleGUI
e429b3d7e8
Merge pull request #5002 from PySimpleGUI/Dev-latest
Addition of col0 heading for Tree element.  Fix for Tables that have …
2021-12-03 14:22:14 -05:00
PySimpleGUI
cd35367c7f Addition of col0 heading for Tree element. Fix for Tables that have more headers specified than actual data 2021-12-03 14:21:54 -05:00
PySimpleGUI
46cc463189
Merge pull request #4999 from PySimpleGUI/Dev-latest
Tree element - always make col 0 be left justified. Better auto-size …
2021-12-02 15:54:34 -05:00
PySimpleGUI
0551835488 Tree element - always make col 0 be left justified. Better auto-size for column widths 2021-12-02 15:54:13 -05:00
PySimpleGUI
bf8d940805
Merge pull request #4996 from PySimpleGUI/Dev-latest
Tree element - set the row height based on the font used in the Tree
2021-12-01 16:20:39 -05:00
PySimpleGUI
2d6d4f6e68 Tree element - set the row height based on the font used in the Tree 2021-12-01 16:20:26 -05:00
PySimpleGUI
95c99b722c
Merge pull request #4993 from PySimpleGUI/Dev-latest
Don't print the error message about wm_overrideredirect while hiding …
2021-11-30 12:11:08 -05:00
PySimpleGUI
f8a8e5bba0 Don't print the error message about wm_overrideredirect while hiding the hidden master root if running on a Mac 2021-11-30 12:10:52 -05:00
PySimpleGUI
8715e36910
Merge pull request #4989 from PySimpleGUI/Dev-latest
Table element - better column width sizing for the row number column …
2021-11-29 18:44:15 -05:00
PySimpleGUI
fe8737dba4 Table element - better column width sizing for the row number column as well as other column when the header is wider than the data. 2021-11-29 18:43:56 -05:00
PySimpleGUI
1b0bbb2d52
Merge pull request #4983 from PySimpleGUI/Dev-latest
New Table Element parm - right_click_selects (see docstring), bug fix…
2021-11-28 17:30:33 -05:00
PySimpleGUI
2162ebcb8a New Table Element parm - right_click_selects (see docstring), bug fix Col elem was not correctly checking background color of None or COLOR_SYSTEM_DEFAULT 2021-11-28 17:30:15 -05:00
PySimpleGUI
2a84d92488
Merge pull request #4980 from PySimpleGUI/Dev-latest
Dev latest
2021-11-25 14:12:40 -05:00
PySimpleGUI
de8e046a18 Fixed docstring for Table, added Text.print but may remove. Checked in the latest documentation for readthedocs 2021-11-25 14:12:25 -05:00
PySimpleGUI
ac0b474ed9 Combo element - addition of button_background_color and button_arrow_color 2021-11-24 19:18:10 -05:00
PySimpleGUI
717940abb2
Merge pull request #4971 from PySimpleGUI/Dev-latest
Refresh of demo to use coding conventions for keys, make portable fil…
2021-11-19 14:35:09 -05:00
PySimpleGUI
46876bdacb Refresh of demo to use coding conventions for keys, make portable filenames. It's an old demo that's not been updated in a couple of years 2021-11-19 14:34:54 -05:00
PySimpleGUI
1b08c99809
Merge pull request #4970 from PySimpleGUI/Dev-latest
Update of section on "settings" to reference the newer User Settings …
2021-11-19 13:58:45 -05:00
PySimpleGUI
f9da3350a5 Update of section on "settings" to reference the newer User Settings APIs 2021-11-19 13:58:23 -05:00
PySimpleGUI
22d5c58c12
Merge pull request #4969 from PySimpleGUI/Dev-latest
Removal of import of site.  Added pad to Sizegrip element.
2021-11-19 09:45:15 -05:00
PySimpleGUI
f2ab3b7c82 Removal of import of site. Added pad to Sizegrip element. 2021-11-19 09:44:59 -05:00
PySimpleGUI
1ed6e56c86
Merge pull request #4966 from PySimpleGUI/Dev-latest
psgresizer demo updated both in Demo Programs and in the new standalo…
2021-11-16 08:47:12 -05:00
PySimpleGUI
f92df8c419 psgresizer demo updated both in Demo Programs and in the new standalone repo as well as on PyPI 2021-11-16 08:46:47 -05:00
PySimpleGUI
d7e6b2db0e
Merge pull request #4961 from PySimpleGUI/Dev-latest
Added Window.move_to_center, disable debugger when pip installing fro…
2021-11-13 14:36:03 -05:00
PySimpleGUI
9b8b33636d Added Window.move_to_center, disable debugger when pip installing from github, better error reporting when a problem with layout detected 2021-11-13 14:35:45 -05:00
PySimpleGUI
c6a175ac5e
Merge pull request #4952 from PySimpleGUI/Dev-latest
A quick "refresh"... user  bsawlor (thank you!) pointed out a float c…
2021-11-10 13:37:27 -05:00
PySimpleGUI
d84ee84caf A quick "refresh"... user bsawlor (thank you!) pointed out a float crash. Sliders return floats now and thus needs casting in this demo. 2021-11-10 13:37:11 -05:00
PySimpleGUI
9c2f547f31
Merge pull request #4951 from PySimpleGUI/Dev-latest
SDK Reference - changed to inspect.getfullargspec because inspect.get…
2021-11-10 12:04:52 -05:00
PySimpleGUI
cf2f99c8d8 SDK Reference - changed to inspect.getfullargspec because inspect.getargspec is not supported in 3.11 2021-11-10 12:04:35 -05:00
PySimpleGUI
db85e48b9f
Merge pull request #4949 from PySimpleGUI/Dev-latest
Added stdin parm to execute_command_subprocess. It sends stdin to DEV…
2021-11-10 06:54:04 -05:00
PySimpleGUI
3621ba71e7 Added stdin parm to execute_command_subprocess. It sends stdin to DEVNULL by default. This enables PySimpleGUI programs that launch other programs to be turned into EXE files. Also set the closed-attempted flag when creating windows so that 8.6.11 MAC-specific (I hope) problem can be tested more easily 2021-11-10 06:53:40 -05:00
PySimpleGUI
6bfdc69e9c
Merge pull request #4943 from PySimpleGUI/Dev-latest
Release 4.55.1
2021-11-07 13:48:54 -05:00
PySimpleGUI
2286e8ac55 Release 4.55.1 2021-11-07 13:48:38 -05:00
PySimpleGUI
27c8fc88ab
Merge pull request #4942 from PySimpleGUI/Dev-latest
Release 4.55.1
2021-11-07 13:43:19 -05:00
PySimpleGUI
cae8cf360a Release 4.55.1 2021-11-07 13:43:03 -05:00
PySimpleGUI
92b1369593
Merge pull request #4941 from PySimpleGUI/Dev-latest
Fixed exec apis - made a mistake in change for github upgrades. The r…
2021-11-07 11:29:54 -05:00
PySimpleGUI
4976de9ef6 Fixed exec apis - made a mistake in change for github upgrades. The result is that the global interpreter was never used. Fixed so that it's now used except for the github upgrades 2021-11-07 11:29:40 -05:00
PySimpleGUI
77632ace64
Merge pull request #4940 from PySimpleGUI/Dev-latest
Bump version so that an upgrade from GitHub can be demonstrated. Be s…
2021-11-07 09:11:51 -05:00
PySimpleGUI
b47b0def42 Bump version so that an upgrade from GitHub can be demonstrated. Be sure an get 4.55.0 from PyPI first! 2021-11-07 09:11:35 -05:00
PySimpleGUI
0cd1e0326a
Merge pull request #4939 from PySimpleGUI/Dev-latest
Release 4.55.0
2021-11-07 05:21:35 -05:00
PySimpleGUI
e078cbe33a Release 4.55.0 2021-11-07 05:21:18 -05:00
PySimpleGUI
f48b8c77c5
Merge pull request #4938 from PySimpleGUI/Dev-latest
Change from pythonw to python in the upgrade from github code for the…
2021-11-07 05:10:01 -05:00
PySimpleGUI
65eebb1b07 Change from pythonw to python in the upgrade from github code for the pip comand 2021-11-07 05:09:47 -05:00
PySimpleGUI
416d26ce9f
Merge pull request #4937 from PySimpleGUI/Dev-latest
If pythonw found in psgmain or psgupgrade, then switch it to python
2021-11-07 05:02:38 -05:00
PySimpleGUI
fb0579af3a If pythonw found in psgmain or psgupgrade, then switch it to python 2021-11-07 05:02:23 -05:00
PySimpleGUI
bee4a2b34b
Merge pull request #4936 from PySimpleGUI/Dev-latest
Changed the execute_py_file and execute_py_get_interpreter to return …
2021-11-07 04:52:51 -05:00
PySimpleGUI
0b3340eecb Changed the execute_py_file and execute_py_get_interpreter to return sys.executable rather than the interpreter stored in the settings file 2021-11-07 04:52:35 -05:00
PySimpleGUI
8b52b8b01e
Merge pull request #4934 from PySimpleGUI/Dev-latest
Release 4.54.0
2021-11-06 17:02:13 -04:00
PySimpleGUI
5c01c523da Release 4.54.0 2021-11-06 17:01:58 -04:00
PySimpleGUI
d454b26b4f
Merge pull request #4933 from PySimpleGUI/Dev-latest
Dev latest
2021-11-06 10:00:35 -04:00
PySimpleGUI
58a5b11913 New Demo Program - a non-PIL version of the image album demo that uses PIL. Demonstrates what PIL can do for your program. 2021-11-06 10:00:18 -04:00
PySimpleGUI
241963a845 Updated to include filename display, dark theme, removed old unused code, called window.refresh instead of window.read (the correct method to call in this situation) 2021-11-06 09:59:08 -04:00
PySimpleGUI
2a910c9c34
Merge pull request #4931 from PySimpleGUI/Dev-latest
Removed the print in _main_entry_point.... having problems with psgma…
2021-11-05 15:00:36 -04:00
PySimpleGUI
eda17c306e Removed the print in _main_entry_point.... having problems with psgmain.exe and psgupgrade.exe being used to perform the upgrade from GitHub..... Thank you for your patience..... 2021-11-05 15:00:20 -04:00
PySimpleGUI
133cd7b746
Merge pull request #4930 from PySimpleGUI/Dev-latest
Changed the upgrade from GitHub code to always use the currently runn…
2021-11-05 14:24:38 -04:00
PySimpleGUI
55f74aad85 Changed the upgrade from GitHub code to always use the currently running interpreter to perform the upgrade. Previously it was possible to use the wrong version because it wasn't explicitly set 2021-11-05 14:24:19 -04:00
PySimpleGUI
6a07306198
Merge pull request #4929 from PySimpleGUI/Dev-latest
Change psgmain and psgupgrade entry points to launch Python using the…
2021-11-05 13:48:23 -04:00
PySimpleGUI
c9f51d8d50 Change psgmain and psgupgrade entry points to launch Python using the same interpreter used to invoke those functions 2021-11-05 13:48:06 -04:00
PySimpleGUI
72baefed1a
Merge pull request #4928 from PySimpleGUI/Dev-latest
Fixed crash in GitHub upgrade thread caused by change to Exec APIs th…
2021-11-05 13:03:54 -04:00
PySimpleGUI
c3b7a5daa9 Fixed crash in GitHub upgrade thread caused by change to Exec APIs that combined stdout and stderr by default.... 2021-11-05 13:03:32 -04:00
PySimpleGUI
cc383b32f9
Merge pull request #4926 from PySimpleGUI/Dev-latest
Version bump to 0.15.  For to with last release.
2021-11-05 11:04:54 -04:00
PySimpleGUI
5c882851b9 Version bump to 0.15. For to with last release. 2021-11-05 11:04:39 -04:00
PySimpleGUI
700e4b1dd4
Merge pull request #4922 from PySimpleGUI/Dev-latest
Automatically fill in the Python interpreter so that a pinnable short…
2021-11-04 16:32:46 -04:00
PySimpleGUI
66569ef2b2 Automatically fill in the Python interpreter so that a pinnable shortcut is created 2021-11-04 16:32:32 -04:00
PySimpleGUI
0728437bcc
Merge pull request #4919 from PySimpleGUI/Dev-latest
More right click menu with Tab/TabGroup work. Needed to handle a coup…
2021-11-03 17:07:31 -04:00
PySimpleGUI
65482339ae More right click menu with Tab/TabGroup work. Needed to handle a couple of special cases, fix for missing ParentForm when adding tabs via add_tab call. 2021-11-03 17:07:13 -04:00
PySimpleGUI
6a7fb1c7ca
Merge pull request #4918 from PySimpleGUI/Dev-latest
Version bump
2021-11-03 14:26:39 -04:00
PySimpleGUI
5e73d30f44 Version bump 2021-11-03 14:26:23 -04:00
PySimpleGUI
1bef5fcc74
Merge pull request #4916 from PySimpleGUI/Dev-latest
Changed how Tab right click menus work!!  Now then TAB's menu is show…
2021-11-02 16:30:30 -04:00
PySimpleGUI
d542a64a85 Changed how Tab right click menus work!! Now then TAB's menu is shown when a Tab is right clicked (THANK YOU to Jason for helping on this) 2021-11-02 16:30:15 -04:00
PySimpleGUI
b3fde6cd28
Merge pull request #4915 from PySimpleGUI/Dev-latest
Changed definition of MENU_RIGHT_CLICK_DISABLED to be in same format …
2021-11-02 15:45:24 -04:00
PySimpleGUI
440cb3c855 Changed definition of MENU_RIGHT_CLICK_DISABLED to be in same format as menus, updated Tab/TabGroup docstrings, made SDK Help window resizable 2021-11-02 15:45:07 -04:00
PySimpleGUI
2d116c195b
Merge pull request #4911 from PySimpleGUI/Dev-latest
Dev latest
2021-10-31 17:21:15 -04:00
PySimpleGUI
51bc8cf5e1 Support for Tabs with Image in TabGroup.add_tab 2021-10-31 17:20:58 -04:00
PySimpleGUI
c003209bb8 Added Window.mouse_location 2021-10-31 14:52:33 -04:00
PySimpleGUI
e458acbe2c
Merge pull request #4910 from PySimpleGUI/Dev-latest
Dev latest
2021-10-31 13:54:00 -04:00
PySimpleGUI
d3012ea16b Fix for bytestring search results 2021-10-31 13:49:20 -04:00
PySimpleGUI
0c3959efb0 Try this? 2021-10-31 13:47:51 -04:00
PySimpleGUI
7193fabe39
Merge pull request #4908 from PySimpleGUI/Dev-latest
Propagate right click menus when used on Container Elements (Column, …
2021-10-30 19:43:43 -04:00
PySimpleGUI
ed5d443682 Propagate right click menus when used on Container Elements (Column, Frame, Tab) 2021-10-30 19:43:24 -04:00
PySimpleGUI
0603b06d6b
Merge pull request #4907 from PySimpleGUI/Dev-latest
Addition of merge_stderr_with_stdout to the execute subprocess and ex…
2021-10-30 17:32:47 -04:00
PySimpleGUI
e6ba6ce62f Addition of merge_stderr_with_stdout to the execute subprocess and execute py file calls in the Exec APIs. Default is True 2021-10-30 17:32:33 -04:00
PySimpleGUI
d6adad7bfe
Merge pull request #4906 from PySimpleGUI/Dev-latest
Added focus_color to TabGroup element
2021-10-30 14:08:37 -04:00
PySimpleGUI
8196de2eaf Added focus_color to TabGroup element 2021-10-30 14:08:22 -04:00
PySimpleGUI
cc1f17e3c8
Merge pull request #4905 from PySimpleGUI/Dev-latest
Added constants for TabGroup's tab location, added visible parameter …
2021-10-30 12:48:32 -04:00
PySimpleGUI
0a3e7926ed Added constants for TabGroup's tab location, added visible parameter to the pre-defined buttons (FileBrowse, FolderBrowse, Exit, Ok, Cancel, etc) 2021-10-30 12:48:17 -04:00
PySimpleGUI
f0d28167ae
Merge pull request #4904 from PySimpleGUI/Dev-latest
Addition of bar_color to the ProgressBar.update method. Fixed Image e…
2021-10-29 17:08:18 -04:00
PySimpleGUI
b41827e76e Addition of bar_color to the ProgressBar.update method. Fixed Image element typo, added relative_location to popup_animated. 2021-10-29 17:08:02 -04:00
PySimpleGUI
aa44f8e84e
Merge pull request #4898 from PySimpleGUI/Dev-latest
More Tab / TabGroup options (can tell when I'm doing a Udemy lesson o…
2021-10-28 18:04:29 -04:00
PySimpleGUI
114b2a2df9 More Tab / TabGroup options (can tell when I'm doing a Udemy lesson on an element by watching the pull requests) 2021-10-28 18:04:11 -04:00
PySimpleGUI
df3d165001
Merge pull request #4896 from PySimpleGUI/Dev-latest
New Dashboard Demo that uses Frames instead of Columns
2021-10-27 16:50:13 -04:00
PySimpleGUI
96f1496b43 New Dashboard Demo that uses Frames instead of Columns 2021-10-27 16:49:56 -04:00
PySimpleGUI
c5ade9d761
Merge pull request #4895 from PySimpleGUI/Dev-latest
relative_location added to all popups. Also added relative_location t…
2021-10-27 16:12:18 -04:00
PySimpleGUI
5aa131fb4e relative_location added to all popups. Also added relative_location to easy_print (sg.Print, etc). New base64 image constants - HEART_FLAT_BASE64, HEART_3D_BASE64, RED_X_BASE64, GREEN_CHECK_BASE64 2021-10-27 16:11:56 -04:00
PySimpleGUI
c9097d4106
Merge pull request #4891 from PySimpleGUI/Dev-latest
Lots of gooColumn and Frame. Better detection of right clicks and gra…
2021-10-26 18:21:32 -04:00
PySimpleGUI
bf7fdad29e Lots of gooColumn and Frame. Better detection of right clicks and grab anywhere. Added grab parm to Frame. Made Listbox no longer a grabanywhere element by default so you can select by dragging. Added background_color parm to Push and VPush. Fixed bug in grab_any_where_on 2021-10-26 18:21:13 -04:00
PySimpleGUI
1324084e0c
Merge pull request #4879 from PySimpleGUI/Dev-latest
Dev latest
2021-10-25 14:48:10 -04:00
PySimpleGUI
be8e11832e Update Demo_Image_Resize_and_Base64_Encode.pyw 2021-10-25 14:47:53 -04:00
PySimpleGUI
d148c3472e More instructions. Added the now standard "File Location" right click menu 2021-10-25 14:47:43 -04:00
PySimpleGUI
4a38a50076
Merge pull request #4878 from PySimpleGUI/Dev-latest
Fix for VSeparator (thank you Jason!)
2021-10-25 14:04:48 -04:00
PySimpleGUI
40ab839d9e Fix for VSeparator (thank you Jason!) 2021-10-25 14:04:22 -04:00
PySimpleGUI
46d4e35ca2
Merge pull request #4875 from PySimpleGUI/Dev-latest
Changed Separator elements expansion logic.  It appears like it was c…
2021-10-24 15:35:51 -04:00
PySimpleGUI
3cf6304b40 Changed Separator elements expansion logic. It appears like it was causing rows to incorrectly expand 2021-10-24 15:35:31 -04:00
PySimpleGUI
5d5b6c8a9c
Merge pull request #4874 from PySimpleGUI/Dev-latest
Rebuild of the Call Reference.  The table of contents had the incorre…
2021-10-24 15:06:45 -04:00
PySimpleGUI
36c8e42803 Rebuild of the Call Reference. The table of contents had the incorrect level set. 2021-10-24 15:06:28 -04:00
PySimpleGUI
0bcd985997
Merge pull request #4873 from PySimpleGUI/Dev-latest
Release 4.53.0
2021-10-24 14:41:22 -04:00
PySimpleGUI
3bf3845542 Release 4.53.0 2021-10-24 14:41:02 -04:00
PySimpleGUI
626b26905d
Merge pull request #4871 from PySimpleGUI/Dev-latest
Refresh the PySimpleGUI global settings in all Exec API calls in case…
2021-10-24 13:30:32 -04:00
PySimpleGUI
712f16e73e Refresh the PySimpleGUI global settings in all Exec API calls in case someone has changed the global settings outside of the currently running program 2021-10-24 13:30:16 -04:00
PySimpleGUI
c03725b286
Merge pull request #4870 from PySimpleGUI/Dev-latest
Better restarting message for psgmain... I think this is actually it!…
2021-10-24 12:05:59 -04:00
PySimpleGUI
7d6870590c Better restarting message for psgmain... I think this is actually it! Testing on Linux, 3.4 Pi, Windows all done! 2021-10-24 12:05:42 -04:00
PySimpleGUI
c49086f704
Merge pull request #4869 from PySimpleGUI/Dev-latest
One last time before the final release (maybe.. let's hope...)
2021-10-24 11:58:34 -04:00
PySimpleGUI
040667750a One last time before the final release (maybe.. let's hope...) 2021-10-24 11:58:15 -04:00
PySimpleGUI
961e231859
Merge pull request #4868 from PySimpleGUI/Dev-latest
Version bump so that install from github will do something
2021-10-24 11:50:40 -04:00
PySimpleGUI
c8372793e9 Version bump so that install from github will do something 2021-10-24 11:50:25 -04:00
PySimpleGUI
701e7494ea
Merge pull request #4867 from PySimpleGUI/Dev-latest
Debug print for the main restart
2021-10-24 11:46:53 -04:00
PySimpleGUI
b00ad7b3dd Debug print for the main restart 2021-10-24 11:46:36 -04:00
PySimpleGUI
8cb809b436
Merge pull request #4866 from PySimpleGUI/Dev-latest
Changed main entry point for pip installs so that psgmain.exe is exited
2021-10-24 11:35:31 -04:00
PySimpleGUI
c1ecc4131d Changed main entry point for pip installs so that psgmain.exe is exited 2021-10-24 11:35:16 -04:00
PySimpleGUI
7b73f4f9ad
Merge pull request #4865 from PySimpleGUI/Dev-latest
Fix for 3.4 subprocess import
2021-10-24 11:24:53 -04:00
PySimpleGUI
2fab2c2c24 Fix for 3.4 subprocess import 2021-10-24 11:24:39 -04:00
PySimpleGUI
e92b7af37c
Merge pull request #4864 from PySimpleGUI/Dev-latest
Version number change so will be > pypi release of 4.51.7
2021-10-23 21:58:00 -04:00
PySimpleGUI
ad1349ac1e Version number change so will be > pypi release of 4.51.7 2021-10-23 21:57:40 -04:00
PySimpleGUI
e9fdf2a2a6
Merge pull request #4863 from PySimpleGUI/Dev-latest
Relaunches PySimpleGUI.py file when psgupgrade.exe is used
2021-10-23 21:42:46 -04:00
PySimpleGUI
741048e95f Relaunches PySimpleGUI.py file when psgupgrade.exe is used 2021-10-23 21:42:28 -04:00
PySimpleGUI
1d2278901d
Merge pull request #4862 from PySimpleGUI/Dev-latest
Added scaling parameter to Window and to set_options
2021-10-23 16:15:35 -04:00
PySimpleGUI
7c5e8321e1 Added scaling parameter to Window and to set_options 2021-10-23 16:15:21 -04:00
PySimpleGUI
de954578ca
Merge pull request #4861 from PySimpleGUI/Dev-latest
Added DPI Aweareness to set_options for Windows.  Added scaling param…
2021-10-23 15:55:47 -04:00
PySimpleGUI
6864401bcd Added DPI Aweareness to set_options for Windows. Added scaling parameter to Window 2021-10-23 15:55:33 -04:00
PySimpleGUI
9a13873d19
Merge pull request #4859 from PySimpleGUI/Dev-latest
Updated Radio Simulation using Image Elements
2021-10-23 08:28:04 -04:00
PySimpleGUI
d79b91c879 Updated Radio Simulation using Image Elements 2021-10-23 08:27:49 -04:00
PySimpleGUI
ce001bc2a1
Merge pull request #4858 from PySimpleGUI/Dev-latest
Changes to Image Element (working in this area due to lesson being re…
2021-10-22 19:09:38 -04:00
PySimpleGUI
ac5ea72e13 Changes to Image Element (working in this area due to lesson being recorded) - New shorter BLANK_BASE64, Added subsample parm so that it's like the Button element, set border depth=0 for all images, now auto-shrinks to 1 pixel when deleting an image by calling update(), FIXED Frame size setting (FINALLY found out to manually set the Frame size!!) 2021-10-22 19:09:10 -04:00
PySimpleGUI
c836d5d0c4
Merge pull request #4857 from PySimpleGUI/Dev-latest
Fix for grab anywhere bug introduced with control key grab anywhere
2021-10-22 08:08:39 -04:00
PySimpleGUI
c22a7dc699 Fix for grab anywhere bug introduced with control key grab anywhere 2021-10-22 08:08:21 -04:00
PySimpleGUI
f1393814eb
Merge pull request #4855 from PySimpleGUI/Dev-latest
Version change to match pypi so that pip will install correctly.
2021-10-21 18:25:12 -04:00
PySimpleGUI
a6944f2ec7 Version change to match pypi so that pip will install correctlfy. 2021-10-21 18:24:52 -04:00
PySimpleGUI
9cd7ab2421
Merge pull request #4854 from PySimpleGUI/Dev-latest
Fix in the Upgrade from GitHub code.
2021-10-21 18:16:12 -04:00
PySimpleGUI
ded8724c40 Fix in the Upgrade from GitHub code. 2021-10-21 18:15:56 -04:00
PySimpleGUI
db657aed1e
Merge pull request #4853 from PySimpleGUI/Dev-latest
Removed debug popup_scrolled
2021-10-21 16:04:34 -04:00
PySimpleGUI
d545918c9f Removed debug popup_scrolled 2021-10-21 16:04:20 -04:00
PySimpleGUI
6742297045
Merge pull request #4852 from PySimpleGUI/Dev-latest
Fix for upgrade from github problem when using psgupgrade.  Loses the…
2021-10-21 15:49:15 -04:00
PySimpleGUI
18320d503e Fix for upgrade from github problem when using psgupgrade. Loses the command without this change. STILL learning how to do these application releases. 2021-10-21 15:48:59 -04:00
PySimpleGUI
a3d5d7f5ac
Merge pull request #4851 from PySimpleGUI/Dev-latest
Release 4.51.4
2021-10-21 15:22:19 -04:00
PySimpleGUI
88fc8dd5fc Release 4.51.4 2021-10-21 15:21:58 -04:00
PySimpleGUI
1e2bdb0d64
Merge pull request #4850 from PySimpleGUI/Dev-latest
Backed out column changes.
2021-10-21 14:14:02 -04:00
PySimpleGUI
6725c21d9b Backed out column changes. 2021-10-21 14:13:47 -04:00
PySimpleGUI
bf0c6a3bfc
Merge pull request #4849 from PySimpleGUI/Dev-latest
Release 4.52.0
2021-10-21 11:05:28 -04:00
PySimpleGUI
96e6e0a178 Release 4.52.0 2021-10-21 11:05:09 -04:00
PySimpleGUI
6ec1dc8efe
Merge pull request #4848 from PySimpleGUI/Dev-latest
Fox for non-blocking windows support of the control click grab anywhere
2021-10-21 10:04:11 -04:00
PySimpleGUI
3543c44758 Fox for non-blocking windows support of the control click grab anywhere 2021-10-21 10:03:54 -04:00
PySimpleGUI
0ff8172f29
Merge pull request #4847 from PySimpleGUI/Dev-latest
Fix for expand_x, expand_y on scrollable columns
2021-10-21 09:42:03 -04:00
PySimpleGUI
a97fe0ebf1 Fix for expand_x, expand_y on scrollable columns 2021-10-21 09:41:41 -04:00
PySimpleGUI
e5e966ba70
Merge pull request #4844 from PySimpleGUI/Dev-latest
New Demo showing how to make a fixed size column that can have the in…
2021-10-20 14:02:13 -04:00
PySimpleGUI
f97f933ed0 New Demo showing how to make a fixed size column that can have the interior justified. 2021-10-20 14:01:55 -04:00
PySimpleGUI
7522e8ed78
Merge pull request #4838 from PySimpleGUI/Dev-latest
New Window parameter grab_anywhere_using_control
2021-10-19 15:28:54 -04:00
PySimpleGUI
f71b6b60db New Window parameter grab_anywhere_using_control 2021-10-19 15:28:38 -04:00
PySimpleGUI
f091207e39
Merge pull request #4835 from PySimpleGUI/Dev-latest
Dev latest
2021-10-19 11:27:12 -04:00
PySimpleGUI
9c8c6a7047 Release 4.51.2 2021-10-19 11:26:57 -04:00
PySimpleGUI
bc985180e3 fix for one_line_progress_meter with no_button=True AND orientation is horizontal 2021-10-19 10:28:13 -04:00
PySimpleGUI
3a02d9c6ea
Merge pull request #4833 from PySimpleGUI/Dev-latest
New right-click-menu constant - Added File Location this time.
2021-10-18 20:46:05 -04:00
PySimpleGUI
f73081fa98 New right-click-menu constant - Added File Location this time. 2021-10-18 20:45:48 -04:00
PySimpleGUI
28ee47f799
Merge pull request #4832 from PySimpleGUI/Dev-latest
Added the File Location menu item, Updated to match the PyPI release …
2021-10-18 20:20:44 -04:00
PySimpleGUI
e8dbf59e70 Added the File Location menu item, Updated to match the PyPI release (psgshortcut) 2021-10-18 20:20:28 -04:00
PySimpleGUI
5d3948bd13
Merge pull request #4831 from PySimpleGUI/Dev-latest
Lots of fixes to the Make Shortcut, checked in icon for shortcut make…
2021-10-18 19:09:44 -04:00
PySimpleGUI
89339c86a4 Lots of fixes to the Make Shortcut, checked in icon for shortcut maker demo 2021-10-18 19:09:26 -04:00
PySimpleGUI
7f850e6fcb
Merge pull request #4829 from PySimpleGUI/Dev-latest
New Demo Program - shows how to use the new Window parameter relative…
2021-10-18 15:28:01 -04:00
PySimpleGUI
75610f9263 New Demo Program - shows how to use the new Window parameter relative_location 2021-10-18 15:27:42 -04:00
PySimpleGUI
2ecffe15e9
Merge pull request #4828 from PySimpleGUI/Dev-latest
Release 4.51.0
2021-10-18 14:28:59 -04:00
PySimpleGUI
a05af0ad97 Release 4.51.0 2021-10-18 14:28:39 -04:00
PySimpleGUI
1b36aaecba
Merge pull request #4826 from PySimpleGUI/Dev-latest
INI File for the User Settings Demo Program
2021-10-17 17:48:39 -04:00
PySimpleGUI
f16eed5b67 INI File for the User Settings Demo Program 2021-10-17 17:33:46 -04:00
PySimpleGUI
942eb399cb
Merge pull request #4825 from PySimpleGUI/Dev-latest
Release 4.50.0
2021-10-17 17:14:13 -04:00
PySimpleGUI
d0f945c74e Release 4.50.0 2021-10-17 17:13:44 -04:00
PySimpleGUI
ba0f905b37
Merge pull request #4824 from PySimpleGUI/Dev-latest
Docstring updates (ALMOST DONE!)
2021-10-17 17:05:11 -04:00
PySimpleGUI
4d8dad1efe Docstring updates (ALMOST DONE!) 2021-10-17 17:04:54 -04:00
PySimpleGUI
a6a7ef7b3a
Merge pull request #4823 from PySimpleGUI/Dev-latest
Dev latest
2021-10-17 16:30:28 -04:00
PySimpleGUI
30ee112c6d Update PySimpleGUI.py 2021-10-17 16:30:12 -04:00
PySimpleGUI
47afad57e6 Commented out the merge_comments_from_file code... it's not done yet.... 2021-10-17 16:29:58 -04:00
PySimpleGUI
cc918d1bd7
Merge pull request #4822 from PySimpleGUI/Dev-latest
Fix for deleting sections in UserSettings, save after the delete if a…
2021-10-17 16:25:28 -04:00
PySimpleGUI
890fb432eb Fix for deleting sections in UserSettings, save after the delete if auto-save enabled 2021-10-17 16:25:11 -04:00
PySimpleGUI
ec5621832b
Merge pull request #4821 from PySimpleGUI/Dev-latest
New Demo Program - User Settings that uses the new Config.ini format …
2021-10-17 14:55:33 -04:00
PySimpleGUI
7df525db08 New Demo Program - User Settings that uses the new Config.ini format instead of JSON 2021-10-17 14:55:18 -04:00
PySimpleGUI
11dad0c984
Merge pull request #4820 from PySimpleGUI/Dev-latest
Changed how settings files are displayed when using INI files.  popup…
2021-10-17 14:44:26 -04:00
PySimpleGUI
3da780ece2 Changed how settings files are displayed when using INI files. popup_scrolled gets 1 extra line per parm. Sometimes isn't high enough currently. 2021-10-17 14:43:54 -04:00
PySimpleGUI
31eb110226
Merge pull request #4819 from PySimpleGUI/Dev-latest
Fixed bad file_type from last checkin.... oy.... too early to be chec…
2021-10-17 09:11:53 -04:00
PySimpleGUI
976b10c670 Fixed bad file_type from last checkin.... oy.... too early to be checking in code on Sunday.... also made into a constant to make it easier to change in the future. 2021-10-17 09:11:39 -04:00
PySimpleGUI
ebfeb5204e
Merge pull request #4818 from PySimpleGUI/Dev-latest
Updated default file_types to include * so that files with no extensi…
2021-10-17 06:53:11 -04:00
PySimpleGUI
cea0b06775 Updated default file_types to include * so that files with no extension are displayed by default. 2021-10-17 06:52:54 -04:00
PySimpleGUI
ca449ec6e5
Merge pull request #4812 from PySimpleGUI/Dev-latest
New Demo - simplest form of a toggle button.
2021-10-15 13:59:50 -04:00
PySimpleGUI
85b0c99782 New Demo - simplest form of a toggle button. 2021-10-15 13:59:34 -04:00
PySimpleGUI
0c0b82ffcc
Merge pull request #4809 from PySimpleGUI/Dev-latest
Better pin implementation. Col element - w or h can be None now. Adde…
2021-10-14 19:35:10 -04:00
PySimpleGUI
2745fc24b5 Better pin implementation. Col element - w or h can be None now. Added friendly error popup to the deprication raise for Window.LayoutAndRead. Yes, working on the Column lesson and thus changes..... 2021-10-14 19:34:55 -04:00
PySimpleGUI
941b380111
Merge pull request #4808 from PySimpleGUI/Dev-latest
An updated version of custom titlebar using new concepts like expand_x
2021-10-14 06:49:44 -04:00
PySimpleGUI
68a07d6d29 An updated version of custom titlebar using new concepts like expand_x 2021-10-14 06:49:29 -04:00
PySimpleGUI
a98cac020c
Merge pull request #4806 from PySimpleGUI/Dev-latest
Addition of horiziontal scrollbar
2021-10-13 06:00:27 -04:00
PySimpleGUI
cbcf1683ae Addition of horiziontal scrollbar 2021-10-13 06:00:03 -04:00
PySimpleGUI
82051e54c0
Merge pull request #4805 from PySimpleGUI/Dev-latest
Addition of horizonal scrollbar to Listbox
2021-10-13 05:56:27 -04:00
PySimpleGUI
f7da5416f1 Addition of horizonal scrollbar to Listbox 2021-10-13 05:56:13 -04:00
PySimpleGUI
d1914bec6a
Merge pull request #4803 from PySimpleGUI/Dev-latest
Added the standard Edit Me and Version right click menu options.
2021-10-12 15:06:40 -04:00
PySimpleGUI
c7700bb4d6 Added the standard Edit Me and Version right click menu options. 2021-10-12 15:05:53 -04:00
PySimpleGUI
498cdcadb7
Merge pull request #4802 from PySimpleGUI/Dev-latest
Improved the formatting of a string version of UserSettings object wh…
2021-10-12 10:35:35 -04:00
PySimpleGUI
c307130f38 Improved the formatting of a string version of UserSettings object when it is INI based 2021-10-12 10:34:48 -04:00
PySimpleGUI
c59c6b2e7a
Merge pull request #4801 from PySimpleGUI/Dev-latest
if a .pyw file is specified, make shortcut launch pythonw instead of …
2021-10-12 07:57:47 -04:00
PySimpleGUI
447d86edfd if a .pyw file is specified, make shortcut launch pythonw instead of python. Get default python interpreter from PySimpleGUI's settings 2021-10-12 07:57:26 -04:00
PySimpleGUI
90e5c60994
Merge pull request #4799 from PySimpleGUI/Dev-latest
Fixed UserSettings docstring
2021-10-11 15:11:29 -04:00
PySimpleGUI
fe023c2b46 Fixed UserSettings docstring 2021-10-11 15:11:14 -04:00
PySimpleGUI
37d4c21abe
Merge pull request #4798 from PySimpleGUI/Dev-latest
UserSettings get support for .ini (config files) in addition to JSON …
2021-10-11 08:40:18 -04:00
PySimpleGUI
d14f110a80 UserSettings get support for .ini (config files) in addition to JSON files 2021-10-11 08:39:59 -04:00
PySimpleGUI
2cf9fcfdc8
Merge pull request #4797 from PySimpleGUI/Dev-latest
Option to fully autoclose - dangerous on non-window systems if using …
2021-10-11 06:44:34 -04:00
PySimpleGUI
3f4f38a849 Option to fully autoclose - dangerous on non-window systems if using the clipboard base64 encoding feature. Named output file to match size setting. 2021-10-11 06:44:19 -04:00
PySimpleGUI
8344607f1a
Merge pull request #4795 from PySimpleGUI/Dev-latest
Fixed so that resizing does a RESCALE rather than absolute resize. Di…
2021-10-10 07:59:48 -04:00
PySimpleGUI
bbd6aa85e8 Fixed so that resizing does a RESCALE rather than absolute resize. Didn't realize PIL wasn't scaling. 2021-10-10 07:59:34 -04:00
PySimpleGUI
433c4a4f68
Merge pull request #4794 from PySimpleGUI/Dev-latest
Removed print on bind callback.  Was a debug print and should have be…
2021-10-08 14:22:31 -04:00
PySimpleGUI
d4747d23df Removed print on bind callback. Was a debug print and should have been commented out before release 2021-10-08 14:22:17 -04:00
PySimpleGUI
7418cca591
Merge pull request #4793 from PySimpleGUI/Dev-latest
Dev latest
2021-10-08 13:55:48 -04:00
PySimpleGUI
f620171f0c New Demo Program - shows how clicking of cells and column headers work 2021-10-08 13:55:30 -04:00
PySimpleGUI
10726a1b8a Fix for bad value returned by tkinter when clicking on some parts of tables. Removed patch of 8.6.9 print. Happens silently now. 2021-10-08 13:55:04 -04:00
PySimpleGUI
c09056c10c
Merge pull request #4791 from PySimpleGUI/Dev-latest
New Demo - Resize image and optionally place Base64 encoded bytestrin…
2021-10-07 20:50:20 -04:00
PySimpleGUI
5c4070bdf9 New Demo - Resize image and optionally place Base64 encoded bytestring on clipboard 2021-10-07 20:50:06 -04:00
PySimpleGUI
8d82ea9b60
Merge pull request #4789 from PySimpleGUI/Dev-latest
Renamed Demo_pyfiglet.py to Demo_pyfiglet.pyw for a console-less launch
2021-10-07 07:15:48 -04:00
PySimpleGUI
c202d9f3e0 Renamed Demo_pyfiglet.py to Demo_pyfiglet.pyw for a console-less launch 2021-10-07 07:15:33 -04:00
PySimpleGUI
046e14c433
Merge pull request #4788 from PySimpleGUI/Dev-latest
Resizable, new icon, preparing for application release
2021-10-07 07:11:48 -04:00
PySimpleGUI
1b5e94675e Resizable, new icon, preparing for application release 2021-10-07 07:11:30 -04:00
PySimpleGUI
d2e2e34c66
Merge pull request #4785 from PySimpleGUI/Dev-latest
Added Window.current_size_accurate (based on the geometry string).  R…
2021-10-06 13:27:18 -04:00
PySimpleGUI
cfde122fb0 Added Window.current_size_accurate (based on the geometry string). Removed moving of the theme swatches window. 2021-10-06 13:26:59 -04:00
PySimpleGUI
d9b6defe2b
Merge pull request #4781 from PySimpleGUI/Dev-latest
Cookbook Recipe - Simple 3-item right click menu
2021-10-04 09:27:52 -04:00
PySimpleGUI
9aa2bd33f3 Cookbook Recipe - Simple 3-item right click menu 2021-10-04 09:27:37 -04:00
PySimpleGUI
6d61943a82
Merge pull request #4779 from PySimpleGUI/Dev-latest
Simplified support to be for local files only
2021-10-03 13:14:10 -04:00
PySimpleGUI
98e7a579a6 Simplified support to be for local files only 2021-10-03 13:13:35 -04:00
PySimpleGUI
a98a2c2ddb
Merge pull request #4778 from PySimpleGUI/Dev-latest
Addition of icon
2021-10-03 04:02:51 -04:00
PySimpleGUI
ad0fc07847 Addition of icon 2021-10-03 04:02:36 -04:00
PySimpleGUI
cc25da38ad
Merge pull request #4777 from PySimpleGUI/Dev-latest
New Demo - Create link to your Python file on Windows
2021-10-03 03:45:03 -04:00
PySimpleGUI
9ff0e041ba New Demo - Create link to your Python file on Windows 2021-10-03 03:44:47 -04:00
PySimpleGUI
4b2bbf63bb
Merge pull request #4776 from PySimpleGUI/Dev-latest
New set_options option - warn_button_key_duplicates
2021-10-03 02:58:45 -04:00
PySimpleGUI
0c4361a6e4 New set_options option - warn_button_key_duplicates 2021-10-03 02:58:30 -04:00
PySimpleGUI
1065b03673
Merge pull request #4772 from PySimpleGUI/Dev-latest
Refreshed with built-in clipboard, friendlier to Trinket
2021-10-02 13:57:32 -04:00
PySimpleGUI
8a9b5328cd Refreshed with built-in clipboard, friendlier to Trinket 2021-10-02 13:57:17 -04:00
PySimpleGUI
2e48a1102b
Merge pull request #4770 from PySimpleGUI/Dev-latest
Recipe - how to launch without a console using pythonw.exe
2021-10-02 11:56:20 -04:00
PySimpleGUI
47724f0654 Recipe - how to launch without a console using pythonw.exe 2021-10-02 11:56:00 -04:00
PySimpleGUI
f6f6d461ac
Merge pull request #4769 from PySimpleGUI/Dev-latest
A .pyw version of the launcher demo (is using in an upcoming Cookbook…
2021-10-02 10:43:31 -04:00
PySimpleGUI
2e0232989c A .pyw version of the launcher demo (is using in an upcoming Cookbook entry) 2021-10-02 10:43:17 -04:00
PySimpleGUI
233d80f2fe
Merge pull request #4767 from PySimpleGUI/Dev-latest
Dev latest
2021-10-01 19:18:03 -04:00
PySimpleGUI
56df7f1872 Added minimize feature, excel custom icon 2021-10-01 19:17:43 -04:00
PySimpleGUI
d176dca6f8 Make the canvas's background color match the element's when using pin function 2021-10-01 19:16:08 -04:00
PySimpleGUI
b1dbf67b5e
Merge pull request #4766 from PySimpleGUI/Dev-latest
Detection of running on the replit environment. Having trouble with s…
2021-10-01 17:47:39 -04:00
PySimpleGUI
08bf91a1f1 Detection of running on the replit environment. Having trouble with settings paths so switching to using '.' when on replit for now. 2021-10-01 17:47:20 -04:00
PySimpleGUI
5d636ce3eb
Merge pull request #4765 from PySimpleGUI/Dev-latest
User Settings Support for Trinket
2021-10-01 13:43:18 -04:00
PySimpleGUI
99eb2b7c6c User Settings Support for Trinket 2021-10-01 13:43:00 -04:00
PySimpleGUI
81a950ac5a
Merge pull request #4764 from PySimpleGUI/Dev-latest
NEW Demo Program - Launcher Bar Desktop Widget
2021-10-01 13:07:06 -04:00
PySimpleGUI
a50bd7b212 NEW Demo Program - Launcher Bar Desktop Widget 2021-10-01 13:06:50 -04:00
PySimpleGUI
2cd30e752b
Merge pull request #4763 from PySimpleGUI/Dev-latest
set_right_click_menu - if no menu specified, use the parent window's …
2021-10-01 09:35:03 -04:00
PySimpleGUI
9db5a764cc set_right_click_menu - if no menu specified, use the parent window's right click menu 2021-10-01 09:34:47 -04:00
PySimpleGUI
f06817d28d
Merge pull request #4762 from PySimpleGUI/Dev-latest
Dev latest
2021-10-01 09:29:55 -04:00
PySimpleGUI
d82f726f79 Merge branch 'Dev-latest' of https://github.com/PySimpleGUI/PySimpleGUI into Dev-latest 2021-10-01 09:29:31 -04:00
PySimpleGUI
476d949941 Added Element.set_right_click_menu 2021-10-01 09:29:25 -04:00
PySimpleGUI
5aea536fb4
Merge pull request #4760 from PySimpleGUI/Dev-latest
mkdocs
2021-09-30 15:13:29 -04:00
PySimpleGUI
647934c39c
Merge branch 'master' into Dev-latest 2021-09-30 15:13:24 -04:00
PySimpleGUI
bacf730d24 mkdocs 2021-09-30 15:12:52 -04:00
PySimpleGUI
20ed7ae0cc
Merge pull request #4759 from PySimpleGUI/Dev-latest
Release 4.49.0
2021-09-30 15:11:34 -04:00
PySimpleGUI
7c406d917e Release 4.49.0 2021-09-30 15:11:14 -04:00
PySimpleGUI
9b14828b42
Merge pull request #4757 from PySimpleGUI/Dev-latest
Addition of Packages Used
2021-09-28 23:32:41 -04:00
PySimpleGUI
79177a2d63 Addition of Packages Used 2021-09-28 23:32:11 -04:00
PySimpleGUI
a9f0e0914d
Merge pull request #4756 from PySimpleGUI/Dev-latest
Added Copy Full Filename feature to Project Browser
2021-09-28 21:13:08 -04:00
PySimpleGUI
81c386e3e0 Added Copy Full Filename feature to Project Browser 2021-09-28 21:12:49 -04:00
PySimpleGUI
7357606805
Update mkdocs.yml 2021-09-28 17:18:39 -04:00
PySimpleGUI
72d721f200
Merge pull request #4754 from PySimpleGUI/Dev-latest
VPush and VP Aliases for VStretch
2021-09-28 14:08:45 -04:00
PySimpleGUI
f3147afca8 VPush and VP Aliases for VStretch 2021-09-28 14:08:28 -04:00
PySimpleGUI
f32978029d
Merge pull request #4751 from PySimpleGUI/Dev-latest
Test harness addition...
2021-09-27 18:59:51 -04:00
PySimpleGUI
919f639c54 Test harness addition... 2021-09-27 18:59:33 -04:00
PySimpleGUI
dc9e37e038
Merge pull request #4750 from PySimpleGUI/Dev-latest
Fix in popup_get_file, chagne Multiline default to Any type and cast …
2021-09-27 17:36:26 -04:00
PySimpleGUI
c190e16954 Fix in popup_get_file, chagne Multiline default to Any type and cast into a string. Used Push element in test harness layout to exercise it. 2021-09-27 17:36:12 -04:00
PySimpleGUI
0691ff07e4
Update mkdocs.yml 2021-09-27 14:03:19 -04:00
PySimpleGUI
12884e2b30
Merge pull request #4748 from PySimpleGUI/Dev-latest
older version of ivory?
2021-09-27 14:01:02 -04:00
PySimpleGUI
e7b36a6f16 older version of ivory? 2021-09-27 14:00:40 -04:00
PySimpleGUI
79f279fa63
Update readthedocs.yml 2021-09-27 13:54:11 -04:00
PySimpleGUI
2d8340eff7
Update mkdocs.yml 2021-09-27 13:52:15 -04:00
PySimpleGUI
69a2c41878
Update readthedocs.yml 2021-09-27 13:50:57 -04:00
PySimpleGUI
d5c178d0ee
Update readthedocs.yml 2021-09-27 13:50:12 -04:00
PySimpleGUI
16a1a96321
Update mkdocs.yml 2021-09-27 13:42:35 -04:00
PySimpleGUI
1512f0070a
Update mkdocs.yml 2021-09-27 13:36:54 -04:00
PySimpleGUI
a2f1860f13
Update mkdocs.yml 2021-09-27 13:35:49 -04:00
PySimpleGUI
2abca04be1 Merge branch 'master' of https://github.com/PySimpleGUI/PySimpleGUI 2021-09-27 13:28:45 -04:00
PySimpleGUI
168810e471 rtd 2021-09-27 13:28:22 -04:00
PySimpleGUI
4131223a41
Update mkdocs.yml 2021-09-27 13:26:25 -04:00
PySimpleGUI
3291fce374
Merge pull request #4747 from PySimpleGUI/Dev-latest
rtd
2021-09-27 13:24:14 -04:00
PySimpleGUI
bb0094a7b7 rtd 2021-09-27 13:23:50 -04:00
PySimpleGUI
5dec5dca5b
Merge pull request #4746 from PySimpleGUI/Dev-latest
another theme
2021-09-27 13:21:41 -04:00
PySimpleGUI
2f41b9a82c another theme 2021-09-27 13:21:27 -04:00
PySimpleGUI
6a35bf3121
Merge pull request #4745 from PySimpleGUI/Dev-latest
rtd
2021-09-27 13:12:00 -04:00
PySimpleGUI
de503b7f58 rtd 2021-09-27 13:11:44 -04:00
PySimpleGUI
203bad688e
Merge pull request #4744 from PySimpleGUI/Dev-latest
rtd
2021-09-27 13:09:34 -04:00
PySimpleGUI
750b3f55eb rtd 2021-09-27 13:09:18 -04:00
PySimpleGUI
2f8058e9f1
Merge pull request #4743 from PySimpleGUI/Dev-latest
Trying new doc theme
2021-09-27 13:04:07 -04:00
PySimpleGUI
9e3aa5fd3d Trying new doc theme 2021-09-27 13:03:50 -04:00
PySimpleGUI
3545f79e26
Merge pull request #4741 from PySimpleGUI/Dev-latest
Added lambda info for the long operations call in case user has param…
2021-09-26 15:41:07 -04:00
PySimpleGUI
e52a67ea85 Added lambda info for the long operations call in case user has parameters in their function call. 2021-09-26 15:40:51 -04:00
PySimpleGUI
ed414d45b4
Merge pull request #4740 from PySimpleGUI/Dev-latest
Addition of Window.perform_long_operation to the Threading recipe
2021-09-26 15:10:18 -04:00
PySimpleGUI
32eeec20d1 Addition of Window.perform_long_operation to the Threading recipe 2021-09-26 15:09:36 -04:00
PySimpleGUI
5af0322f1c
Merge pull request #4739 from PySimpleGUI/Dev-latest
one_line_progress_meter - no longer returns "error-like condition" wh…
2021-09-26 12:15:35 -04:00
PySimpleGUI
5b70dd5d6b one_line_progress_meter - no longer returns "error-like condition" when max count reached. Not liked this one for a while. Don't believe it's doing to be a problem for users. 2021-09-26 12:15:20 -04:00
PySimpleGUI
8395610baa
Merge pull request #4738 from PySimpleGUI/Dev-latest
Fix for Image.update_animation_no_buffering not looking at the time b…
2021-09-26 11:36:23 -04:00
PySimpleGUI
616b4e3586 Fix for Image.update_animation_no_buffering not looking at the time between frames. 2021-09-26 11:36:04 -04:00
PySimpleGUI
56ccdd795d
Merge pull request #4736 from PySimpleGUI/Dev-latest
Release 4.48.0
2021-09-25 19:58:54 -04:00
PySimpleGUI
2c36c4e3c6 Release 4.48.0 2021-09-25 19:57:14 -04:00
PySimpleGUI
9e88f05582
Merge pull request #4735 from PySimpleGUI/Dev-latest
Removed Mac prints at startup.... buttoning up for release
2021-09-25 17:04:08 -04:00
PySimpleGUI
793e828780 Removed Mac prints at startup.... buttoning up for release 2021-09-25 17:03:54 -04:00
PySimpleGUI
f839f00b58
Merge pull request #4734 from PySimpleGUI/Dev-latest
Redefined the Debug button.
2021-09-25 15:59:59 -04:00
PySimpleGUI
8ea9294648 Redefined the Debug button. 2021-09-25 15:59:45 -04:00
PySimpleGUI
555bf791a8
Merge pull request #4733 from PySimpleGUI/Dev-latest
Fix for debugger (checked into wrong branch)
2021-09-25 15:25:15 -04:00
PySimpleGUI
427b32fa5c Fix for debugger (checked into wrong branch) 2021-09-25 15:24:23 -04:00
PySimpleGUI
c70fd25b12
Merge pull request #4727 from PySimpleGUI/Dev-latest
Fixed docstring for Window.read_all_windows (I think), Added right cl…
2021-09-23 17:35:11 -04:00
PySimpleGUI
2df9b74509 Fixed docstring for Window.read_all_windows (I think), Added right click exit menu for SDK reference 2021-09-23 17:34:53 -04:00
PySimpleGUI
7b4bc4af08
Merge pull request #4722 from PySimpleGUI/Dev-latest
New Desktop Widget - Days Until Date Counter
2021-09-21 18:21:59 -04:00
PySimpleGUI
a5b3b3d03d New Desktop Widget - Days Until Date Counter 2021-09-21 18:21:36 -04:00
PySimpleGUI
c4e3bfd011
Merge pull request #4719 from PySimpleGUI/Dev-latest
When enable_click_events is set on Tables, headsers are row==-1.  If …
2021-09-19 20:41:20 -04:00
PySimpleGUI
1cee8a228f When enable_click_events is set on Tables, headsers are row==-1. If display_row_num is True, then col==-1 if Row # is clicked. 2021-09-19 20:40:57 -04:00
PySimpleGUI
521880ec45
Merge pull request #4718 from PySimpleGUI/Dev-latest
Dev latest
2021-09-19 15:20:03 -04:00
PySimpleGUI
4ba1ba788c Merge branch 'Dev-latest' of https://github.com/PySimpleGUI/PySimpleGUI into Dev-latest 2021-09-19 15:19:08 -04:00
PySimpleGUI
cb44bd1d04 Removed the Qt Readme 2021-09-19 15:18:55 -04:00
PySimpleGUI
fecd758ed6
Merge pull request #4717 from PySimpleGUI/Dev-latest
Dev latest
2021-09-19 15:12:31 -04:00
PySimpleGUI
20cd093bde
Merge branch 'master' into Dev-latest 2021-09-19 15:12:02 -04:00
PySimpleGUI
4c0a7f805a Some tests 2021-09-19 15:09:54 -04:00
PySimpleGUI
86456d26c1 Delete Qt Call Ref Test.md 2021-09-19 14:45:18 -04:00
PySimpleGUI
41f0ac0d81
Update index.md 2021-09-19 12:57:32 -04:00
PySimpleGUI
2ed07955ad
Merge pull request #4716 from PySimpleGUI/Dev-latest
removed debug print
2021-09-18 16:09:56 -04:00
PySimpleGUI
7809adc17d removed debug print 2021-09-18 16:09:26 -04:00
PySimpleGUI
eda230be7b
Merge pull request #4715 from PySimpleGUI/Dev-latest
Dev latest
2021-09-18 16:00:12 -04:00
PySimpleGUI
4fa61fcf8a Added Table element parameter enable_click_events. Added code for show_hidden parm in get_files but not sure now if it is working... need to retest 2021-09-18 15:59:54 -04:00
PySimpleGUI
fe39b161ab NEW Push element (alias for the Stretch element) 2021-09-13 17:20:25 -04:00
PySimpleGUI
b51b090a3f
Merge pull request #4711 from PySimpleGUI/Dev-latest
Added bring_to_front... OMG what a HUGE difference it made. Can press…
2021-09-13 10:45:44 -04:00
PySimpleGUI
32602b2316 Added bring_to_front... OMG what a HUGE difference it made. Can press hotkey to run the program and focus remains after launch and can thus begin typing right away 2021-09-13 10:45:26 -04:00
PySimpleGUI
26e531094b
Merge pull request #4709 from PySimpleGUI/Dev-latest
test for read the docs
2021-09-12 13:15:09 -04:00
PySimpleGUI
dea216ac88 test for read the docs 2021-09-12 13:14:53 -04:00
PySimpleGUI
e8aac3cb3f
Merge pull request #4707 from PySimpleGUI/Dev-latest
ProgressBar - new size_px parameter to set the size in pixels... yes,…
2021-09-09 17:55:26 -04:00
PySimpleGUI
2923e8e140 ProgressBar - new size_px parameter to set the size in pixels... yes, the current Udemy lesson bring recorded is the ProgressBar lesson.... 2021-09-09 17:55:10 -04:00
PySimpleGUI
3c58106646
Merge pull request #4706 from PySimpleGUI/Dev-latest
popup docstring - show example of 1-line popup replacement. Added a N…
2021-09-09 16:57:33 -04:00
PySimpleGUI
8c16ab2652 popup docstring - show example of 1-line popup replacement. Added a NEW parameter alias for pad. p == pad for all elements. 2021-09-09 16:57:08 -04:00
PySimpleGUI
024323e648
Merge pull request #4704 from PySimpleGUI/Dev-latest
Better explanation of ProgressMeter size parm
2021-09-09 09:16:09 -04:00
PySimpleGUI
d88f7a32ba Better explanation of ProgressMeter size parm 2021-09-09 09:15:52 -04:00
PySimpleGUI
b9ba151855
Merge pull request #4702 from PySimpleGUI/Dev-latest
Removed pyperclip in the base64 single image encoding. Forgot to remo…
2021-09-07 15:37:35 -04:00
PySimpleGUI
3eea8e3a97 Removed pyperclip in the base64 single image encoding. Forgot to remove when the clipboard functions were added back in release 4.44.0. Changed docstring for clipboard_set to take bytes as well as string 2021-09-07 15:37:03 -04:00
PySimpleGUI
b837b03990
Merge pull request #4698 from PySimpleGUI/Dev-latest
New little section in readme
2021-09-02 14:34:44 -04:00
PySimpleGUI
2c9246ad21 New little section in readme 2021-09-02 14:34:17 -04:00
PySimpleGUI
5960779a4d
Merge pull request #4697 from PySimpleGUI/Dev-latest
Getting over the GUI bar...
2021-09-02 13:59:09 -04:00
PySimpleGUI
ccd5595980 Getting over the GUI bar... 2021-09-02 13:58:55 -04:00
PySimpleGUI
73c32027ad
Merge pull request #4696 from PySimpleGUI/Dev-latest
Fix for problem matching inside of base64 strings.
2021-09-01 15:26:59 -04:00
PySimpleGUI
ab0a04b18a Fix for problem matching inside of base64 strings. 2021-09-01 15:26:43 -04:00
PySimpleGUI
ddf0851209
Merge pull request #4695 from PySimpleGUI/Dev-latest
Dev latest
2021-09-01 11:43:40 -04:00
PySimpleGUI
602f1b305d Update FUNDING.yml 2021-09-01 11:43:24 -04:00
PySimpleGUI
7b69e8e9cf added user_settings_object, added new set_options parm to get keep_on_top globally 2021-09-01 07:25:44 -04:00
PySimpleGUI
e4f83d6a16
Merge pull request #4691 from PySimpleGUI/Dev-latest
Checked Show Settings to use the object for the function interface
2021-08-31 05:36:58 -04:00
PySimpleGUI
282d96c78c Checked Show Settings to use the object for the function interface 2021-08-31 05:36:43 -04:00
PySimpleGUI
addeea14d4
Merge pull request #4689 from PySimpleGUI/Dev-latest
Update to use new 4.47.0 features
2021-08-30 21:27:58 -04:00
PySimpleGUI
14fea18751 Update to use new 4.47.0 features 2021-08-30 21:26:37 -04:00
PySimpleGUI
1458bc4943
Merge pull request #4688 from PySimpleGUI/Dev-latest
Reworked the old "expasion" demo and used Stretch elements instead of…
2021-08-30 16:07:22 -04:00
PySimpleGUI
3d1fe8bf28 Reworked the old "expasion" demo and used Stretch elements instead of expanding Text elements. Renamed the demo to have the word stretch in the name. 2021-08-30 16:06:45 -04:00
PySimpleGUI
947859dcba
Merge pull request #4687 from PySimpleGUI/Dev-latest
Release 4.47.0
2021-08-30 15:26:05 -04:00
PySimpleGUI
9caa0cea92 Release 4.47.0 2021-08-30 15:25:37 -04:00
PySimpleGUI
6e3b39b32a
Merge pull request #4685 from PySimpleGUI/Dev-latest
Added VStretch element. Removed vert parm from Stretch element.  FIXE…
2021-08-30 10:33:39 -04:00
PySimpleGUI
b13eec9263 Added VStretch element. Removed vert parm from Stretch element. FIXED the upgrade from GitHub by creating an init file on the fly. 2021-08-30 10:33:18 -04:00
PySimpleGUI
67ccad1f49
Merge pull request #4684 from PySimpleGUI/Dev-latest
Added vert parm to Stretch element
2021-08-29 19:13:50 -04:00
PySimpleGUI
0d0b7588a0 Added vert parm to Stretch element 2021-08-29 19:13:27 -04:00
PySimpleGUI
437950ca12
Merge pull request #4683 from PySimpleGUI/Dev-latest
Removing the upgrade and no-cache-dir flags that I had added.
2021-08-29 18:41:02 -04:00
PySimpleGUI
ea1d4f4ad0 Removing the upgrade and no-cache-dir flags that I had added. 2021-08-29 18:40:23 -04:00
PySimpleGUI
ee0b8d6635
Merge pull request #4682 from PySimpleGUI/Dev-latest
Changed the install from GitHub using a new technique
2021-08-29 18:29:00 -04:00
PySimpleGUI
a7bc5c271e Changed the install from GitHub using a new technique 2021-08-29 18:28:42 -04:00
PySimpleGUI
b4576a7e52
Merge pull request #4681 from PySimpleGUI/Dev-latest
Adding the init that is normally included with the pip installation
2021-08-29 17:16:06 -04:00
PySimpleGUI
bd41016fa1 Adding the init that is normally included with the pip installation 2021-08-29 17:15:40 -04:00
PySimpleGUI
da2a22a7da
Merge pull request #4680 from PySimpleGUI/Dev-latest
Changed what a Stretch Element does.  Added a nicer looking repr for …
2021-08-29 13:12:24 -04:00
PySimpleGUI
04ffe838e3 Changed what a Stretch Element does. Added a nicer looking repr for the User Settings 2021-08-29 13:12:06 -04:00
PySimpleGUI
64852f0d01
Merge pull request #4679 from PySimpleGUI/Dev-latest
NEW Demo - Using a simple technique to justify elements in a layout
2021-08-29 12:00:45 -04:00
PySimpleGUI
3735719025 NEW Demo - Using a simple technique to justify elements in a layout 2021-08-29 12:00:29 -04:00
PySimpleGUI
a3cdbacd5d
Merge pull request #4677 from PySimpleGUI/Dev-latest
Dev latest
2021-08-29 10:53:07 -04:00
PySimpleGUI
b78106cd63 one more keep on top 2021-08-29 10:52:51 -04:00
PySimpleGUI
196733ce66 added keep_on_top to get sound popup 2021-08-29 10:51:44 -04:00
PySimpleGUI
d82602ba7a
Merge pull request #4676 from PySimpleGUI/Dev-latest
Some fixes
2021-08-29 10:45:08 -04:00
PySimpleGUI
e3ce5e8fd2 Some fixes 2021-08-29 10:44:52 -04:00
PySimpleGUI
d6c2d0cf5b
Merge pull request #4675 from PySimpleGUI/Dev-latest
New Desktop Widget Demo - simple counter
2021-08-29 10:36:23 -04:00
PySimpleGUI
6169c70584 New Desktop Widget Demo - simple counter 2021-08-29 10:36:02 -04:00
PySimpleGUI
71942ea3de
Merge pull request #4674 from PySimpleGUI/Dev-latest
printing out the sys.executable information for github upgrade code. …
2021-08-28 21:11:13 -04:00
PySimpleGUI
15eb9b69d5 printing out the sys.executable information for github upgrade code. Changed docstrings for pad and size to be more descriptive 2021-08-28 21:10:49 -04:00
PySimpleGUI
91c78ca373
Merge pull request #4672 from PySimpleGUI/Dev-latest
Made multiline larger for the pip output when upgrading
2021-08-28 14:48:35 -04:00
PySimpleGUI
b05b3225db Made multiline larger for the pip output when upgrading 2021-08-28 14:48:21 -04:00
PySimpleGUI
604d70d756
Merge pull request #4671 from PySimpleGUI/Dev-latest
Added '___' between unique number and user's key for ttk style.  Use …
2021-08-28 13:40:57 -04:00
PySimpleGUI
a081729def Added '___' between unique number and user's key for ttk style. Use the interpreter specified in Global Settings when upgrading from GitHub 2021-08-28 13:40:30 -04:00
PySimpleGUI
313ef29278
Merge pull request #4670 from PySimpleGUI/Dev-latest
One more fix for ttk names. Need to cast the element's key to be a st…
2021-08-28 12:24:02 -04:00
PySimpleGUI
3c51c54c3e One more fix for ttk names. Need to cast the element's key to be a string 2021-08-28 12:23:47 -04:00
PySimpleGUI
900195100e
Merge pull request #4669 from PySimpleGUI/Dev-latest
Made ttk style names more unique so same keys can be used in multiple…
2021-08-28 11:56:14 -04:00
PySimpleGUI
6f4591cd31 Made ttk style names more unique so same keys can be used in multiple windows 2021-08-28 11:55:57 -04:00
PySimpleGUI
52cdfca740
Merge pull request #4667 from PySimpleGUI/Dev-latest
NEW GitHub Upgrade algorithm and window with status. BIG thank you to…
2021-08-27 18:05:09 -04:00
PySimpleGUI
c0acba89f8 NEW GitHub Upgrade algorithm and window with status. BIG thank you to Israel Dryer! 2021-08-27 18:04:53 -04:00
PySimpleGUI
943b75e298
Merge pull request #4663 from PySimpleGUI/Dev-latest
Change to elements' pad parm and Window's element_padding parm. NOW -…
2021-08-26 18:56:21 -04:00
PySimpleGUI
b12f772c5a Change to elements' pad parm and Window's element_padding parm. NOW - if an int is specified instead of a tuple, then the tuple (int, int) is used. 2021-08-26 18:56:02 -04:00
PySimpleGUI
73e0d2c91f
Merge pull request #4662 from PySimpleGUI/Dev-latest
NEW size setting!! If pass in a size that is an int instead of a tuple, the it's as…
2021-08-26 13:59:51 -04:00
PySimpleGUI
4c331b2a3e NEW size setting!! If pasds in an int instead of a tuple, the it's assumed you want the height to be 1 and a tuple of that size will be used. 2021-08-26 13:59:14 -04:00
PySimpleGUI
3f3486594b
Merge pull request #4658 from PySimpleGUI/Dev-latest
New source parm for Image Element Init & update. Removes need to spec…
2021-08-24 08:38:51 -04:00
PySimpleGUI
b4b0f2c30c New source parm for Image Element Init & update. Removes need to specify a parm when calling. Just indicate what you want the image to be (either a filename OR a base64 byte string) 2021-08-24 08:38:33 -04:00
PySimpleGUI
74f40f023a
Merge pull request #4657 from PySimpleGUI/Dev-latest
New constant BLANK_BASE64 - a 1x1 pixel PNG with alpha=0
2021-08-24 06:59:57 -04:00
PySimpleGUI
31b667f3df New constant BLANK_BASE64 - a 1x1 pixel PNG with alpha=0 2021-08-24 06:59:44 -04:00
PySimpleGUI
3b7043a364
Merge pull request #4656 from PySimpleGUI/Dev-latest
Version with temp methods in case running an old PySimpleGUI.
2021-08-23 12:51:06 -04:00
PySimpleGUI
db1995658b Version with temp methods in case running an old PySimpleGUI. 2021-08-23 12:50:51 -04:00
PySimpleGUI
a6558dab5b
Merge pull request #4655 from PySimpleGUI/Dev-latest
New Demo - Pin window on top. Requires 3.7+ and PySimpleGUI on GitHub…
2021-08-23 12:07:22 -04:00
PySimpleGUI
53f61455e7 New Demo - Pin window on top. Requires 3.7+ and PySimpleGUI on GitHub until Window.keep_on_top_set() is released 2021-08-23 11:58:40 -04:00
PySimpleGUI
3e16737797
Merge pull request #4654 from PySimpleGUI/Dev-latest
Added Window.keep_on_top_set and Window.keep_on_top_clear
2021-08-23 11:36:02 -04:00
PySimpleGUI
8d87f7a959 Added Window.keep_on_top_set and Window.keep_on_top_clear 2021-08-23 11:35:46 -04:00
PySimpleGUI
776ef5caf8
Merge pull request #4652 from PySimpleGUI/Dev-latest
Demo Using the Sizer Element
2021-08-22 15:58:46 -04:00
PySimpleGUI
7b3073f05e Demo Using the Sizer Element 2021-08-22 15:58:31 -04:00
PySimpleGUI
0528565d11
Merge pull request #4651 from PySimpleGUI/Dev-latest
Addition of the PySimpleGUIQt readme to the main docs in prep for the…
2021-08-22 11:14:18 -04:00
PySimpleGUI
9c4f2e3208 Addition of the PySimpleGUIQt readme to the main docs in prep for the PySimpleGUIQt Alpha 2021-08-22 11:14:04 -04:00
PySimpleGUI
9254bf2c6a
Merge pull request #4642 from PySimpleGUI/Dev-latest
new Window.current_location parameter more_accurate.
2021-08-18 10:09:45 -04:00
PySimpleGUI
bbd3ab6341 new Window.current_location parameter more_accurate. 2021-08-18 10:08:17 -04:00
PySimpleGUI
efe5b85945
Merge pull request #4637 from PySimpleGUI/Dev-latest
Fix for default element size - was incorrectly using as the default f…
2021-08-16 14:30:43 -04:00
PySimpleGUI
2b49a36a50 Fix for default element size - was incorrectly using as the default for parm in Window 2021-08-16 14:30:29 -04:00
PySimpleGUI
93033085f6
Merge pull request #4632 from PySimpleGUI/Dev-latest
Shrink the window size to fit on smaller screens.
2021-08-15 18:59:43 -04:00
PySimpleGUI
ef7c7b3096 Shrink the window size to fit on smaller screens. 2021-08-15 18:59:27 -04:00
PySimpleGUI
514684713e
Merge pull request #4631 from PySimpleGUI/Dev-latest
Added Jason's fix for the treemap fix found in _fixed_map
2021-08-15 18:25:43 -04:00
PySimpleGUI
1591003a83 Added Jason's fix for the treemap fix found in _fixed_map 2021-08-15 18:23:54 -04:00
PySimpleGUI
0e0f8433ee
Merge pull request #4630 from PySimpleGUI/Dev-latest
Dev latest
2021-08-15 17:54:39 -04:00
PySimpleGUI
8cef4831e8 Added auto-save of window location upon exit. This is going to be a new design pattern to be applied to all desktop widgets eventually 2021-08-15 17:54:15 -04:00
PySimpleGUI
3b093e1c4a Renamed the user settings key for window location to '-location-' 2021-08-15 17:53:35 -04:00
PySimpleGUI
3ca034963a
Merge pull request #4625 from PySimpleGUI/Dev-latest
Fixed formatting problems in the release notes section. Found a new t…
2021-08-14 11:30:07 -04:00
PySimpleGUI
42a8dc69b2 Fixed formatting problems in the release notes section. Found a new tool to help with markdown (iA Writer)!! 2021-08-14 11:29:53 -04:00
PySimpleGUI
7247a330cc
Merge pull request #4621 from PySimpleGUI/Dev-latest
Dev latest
2021-08-13 17:07:02 -04:00
PySimpleGUI
0d84bf660b Not sure what happened with the checkin 2021-08-13 17:06:46 -04:00
PySimpleGUI
4ca1e2aa4a Version that combines the layout with Window Creation 2021-08-13 17:05:47 -04:00
PySimpleGUI
305f8dae44
Merge pull request #4620 from PySimpleGUI/Dev-latest
Fix so PySimpleGUIWeb runs with Remi 2021.3.2
2021-08-13 09:56:42 -04:00
PySimpleGUI
35050e3ada Fix so PySimpleGUIWeb runs with Remi 2021.3.2 2021-08-13 09:56:29 -04:00
PySimpleGUI
692cbf6857
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md
Added the Watcha Makin? section.  This section is created for you if you're using the built-in GUI and you add something in the GUI.  If using GUI the section won't be added if you don't type anything into the project details section.
2021-08-11 16:33:21 -04:00
PySimpleGUI
a30ddb46f3
Merge pull request #4619 from PySimpleGUI/Dev-latest
Updated docs to use the new docstring for fonts that are not yet rele…
2021-08-11 13:08:09 -04:00
PySimpleGUI
82adab524e Updated docs to use the new docstring for fonts that are not yet released to pypi, but are on GitHub. 2021-08-11 13:07:52 -04:00
PySimpleGUI
2e544eaecf
Merge pull request #4618 from PySimpleGUI/Dev-latest
Changed font in docstrings to be type:  (str or (str, int[, str]) or …
2021-08-11 13:06:51 -04:00
PySimpleGUI
607efc0595 Changed font in docstrings to be type: (str or (str, int[, str]) or None) (BIG thank you to Jason!) 2021-08-11 13:06:37 -04:00
PySimpleGUI
5d95bcf2c5
Merge pull request #4617 from PySimpleGUI/Dev-latest
fixed bug added in 4.45.0 with disabled not working correctly when ca…
2021-08-11 12:50:48 -04:00
PySimpleGUI
552a85aca7 fixed bug added in 4.45.0 with disabled not working correctly when calling update 2021-08-11 12:50:34 -04:00
PySimpleGUI
eafaeb107d
Merge pull request #4616 from PySimpleGUI/Dev-latest
New parm to Multililne... rstrip defaults to True.  If True, the valu…
2021-08-11 12:12:33 -04:00
PySimpleGUI
0cfbf39ebc New parm to Multililne... rstrip defaults to True. If True, the value returned from window.read and Multiline.get will have the whitespace stripped from the right side. 2021-08-11 12:12:17 -04:00
PySimpleGUI
b827cfabc0
Merge pull request #4612 from PySimpleGUI/Dev-latest
Release 4.46.0
2021-08-10 17:41:19 -04:00
PySimpleGUI
69f12cc568 Release 4.46.0 2021-08-10 17:40:53 -04:00
PySimpleGUI
40e020d56c
Merge pull request #4610 from PySimpleGUI/Dev-latest
Addition of Project Details to the GitHub Issue GUI
2021-08-10 14:35:25 -04:00
PySimpleGUI
a129877738 Addition of Project Details to the GitHub Issue GUI 2021-08-10 14:35:08 -04:00
PySimpleGUI
23685cd2e8
Merge pull request #4604 from PySimpleGUI/Dev-latest
New Demo Program - Text Element - new fully autosize
2021-08-09 16:45:40 -04:00
PySimpleGUI
e5e90d5ea6 New Demo Program - Text Element - new fully autosize 2021-08-09 16:45:22 -04:00
PySimpleGUI
b3815068ef
Merge pull request #4603 from PySimpleGUI/Dev-latest
New Demo Program - Auto save position and open window at last location
2021-08-09 13:28:42 -04:00
PySimpleGUI
781bb2a717 New Demo Program - Auto save position and open window at last location 2021-08-09 13:28:12 -04:00
PySimpleGUI
332012cdd2
Merge pull request #4602 from PySimpleGUI/Dev-latest
Automatically save window position.
2021-08-09 13:08:38 -04:00
PySimpleGUI
b4199aa2fb Automatically save window position. 2021-08-09 13:08:21 -04:00
PySimpleGUI
62e55f8e12
Merge pull request #4599 from PySimpleGUI/Dev-latest
Renamed postit to 3-line postit. Added new postit with expanded right…
2021-08-08 13:14:22 -04:00
PySimpleGUI
9d39fad480 Renamed postit to 3-line postit. Added new postit with expanded right click menu (a fuller desktop widget) 2021-08-08 13:14:08 -04:00
PySimpleGUI
e57bcf0d1b
Merge pull request #4592 from PySimpleGUI/Dev-latest
Text element - changed autosize sizing to None, None with wraplen = 0
2021-08-06 18:24:17 -04:00
PySimpleGUI
17fbd31dce Text element - changed autosize sizing to None, None with wraplen = 0 2021-08-06 18:23:58 -04:00
PySimpleGUI
09778b6a21
Merge pull request #4591 from PySimpleGUI/Dev-latest
Fix for a couple of docstrings
2021-08-06 17:40:27 -04:00
PySimpleGUI
1e08105e45 Fix for a couple of docstrings 2021-08-06 17:40:12 -04:00
PySimpleGUI
d8d7b404d9
Merge pull request #4590 from PySimpleGUI/Dev-latest
Exception details for overrideredirect, updated docstrings
2021-08-05 17:55:35 -04:00
PySimpleGUI
bd32b89caa Exception details for overrideredirect, updated docstrings 2021-08-05 17:55:17 -04:00
PySimpleGUI
62198ec9b2
Merge pull request #4589 from PySimpleGUI/Dev-latest
Moved back the set_icon call.  Changed right click menu button bindin…
2021-08-05 15:21:15 -04:00
PySimpleGUI
5386295ad2 Moved back the set_icon call. Changed right click menu button binding to be Button2 for Macs 2021-08-05 15:21:00 -04:00
PySimpleGUI
e3069738a6
Merge pull request #4587 from PySimpleGUI/Dev-latest
Expanded explanation of one_line_progress_meter
2021-08-05 07:42:09 -04:00
PySimpleGUI
d0e8a34d73 Expanded explanation of one_line_progress_meter 2021-08-05 07:41:55 -04:00
PySimpleGUI
24a2baae8a
Merge pull request #4584 from PySimpleGUI/Dev-latest
Call Window.set_icon earlier in the window creation process so that i…
2021-08-04 16:47:14 -04:00
PySimpleGUI
a1d40b5307 Call Window.set_icon earlier in the window creation process so that it is before the update_idletasks call. added no_button parm to one_line_progress_meter 2021-08-04 16:46:56 -04:00
PySimpleGUI
fc8aff2604
Merge pull request #4583 from PySimpleGUI/Dev-latest
Mac no titlebar - If running 8.6.10+ then the patch will NOT be appli…
2021-08-04 14:19:46 -04:00
PySimpleGUI
7db04f627d Mac no titlebar - If running 8.6.10+ then the patch will NOT be applied regardless of setting in global settings. 2021-08-04 14:19:27 -04:00
PySimpleGUI
56810ede59
Merge pull request #4581 from PySimpleGUI/Dev-latest
New Mac option - grab anywhere is disabled if the window has a titlebar
2021-08-03 17:37:18 -04:00
PySimpleGUI
84553000c5 New Mac option - grab anywhere is disabled if the window has a titlebar 2021-08-03 17:36:58 -04:00
PySimpleGUI
6cc1d82184
Merge pull request #4580 from PySimpleGUI/Dev-latest
Still grabbing at straws...... and sometimes actually getting a windo…
2021-08-03 17:09:30 -04:00
PySimpleGUI
38981a291d Still grabbing at straws...... and sometimes actually getting a window... 2021-08-03 17:09:13 -04:00
PySimpleGUI
8318e1a9ae
Merge pull request #4578 from PySimpleGUI/Dev-latest
Experimental change to grab anywhere
2021-08-03 15:58:49 -04:00
PySimpleGUI
2917094fd2 Experimental change to grab anywhere 2021-08-03 15:58:34 -04:00
PySimpleGUI
3ead6a6035
Merge pull request #4577 from PySimpleGUI/Dev-latest
Check for no color setting when changing the cursor color (insertback…
2021-08-03 13:08:55 -04:00
PySimpleGUI
778a027b50 Check for no color setting when changing the cursor color (insertbackground). Removed f-string 2021-08-03 13:08:37 -04:00
PySimpleGUI
b5e2349ce8
Merge pull request #4571 from PySimpleGUI/Dev-latest
Changed if the alpha channel set to 0 during window creation happens …
2021-07-31 16:52:27 -04:00
PySimpleGUI
3c826c70be Changed if the alpha channel set to 0 during window creation happens on the Mac. If the no titlebar patch is enabled, then the alpha won't be set) 2021-07-31 16:52:10 -04:00
PySimpleGUI
f1e7702dca
Merge pull request #4570 from PySimpleGUI/Dev-latest
Added Mac no titlebar patch to Tooltips
2021-07-31 16:41:18 -04:00
PySimpleGUI
4bed4c6a66 Added Mac no titlebar patch to Tooltips 2021-07-31 16:41:02 -04:00
PySimpleGUI
c2b0dff344
Merge pull request #4569 from PySimpleGUI/Dev-latest
Print exception information if problems setting alpha to 0 while maki…
2021-07-31 14:54:10 -04:00
PySimpleGUI
f622a511cd Print exception information if problems setting alpha to 0 while making the window 2021-07-31 14:53:52 -04:00
PySimpleGUI
385c86d9bf
Merge pull request #4568 from PySimpleGUI/Dev-latest
Removed the recently added test for Mac so that the SECOND of the wm_…
2021-07-31 14:46:47 -04:00
PySimpleGUI
6387bb8923 Removed the recently added test for Mac so that the SECOND of the wm_overriderediects is restored like it was last week. 2021-07-31 14:46:26 -04:00
PySimpleGUI
535788a19e
Merge pull request #4567 from PySimpleGUI/Dev-latest
set_size - if a Graph Element, then also set the CanvasSize member va…
2021-07-30 14:44:39 -04:00
PySimpleGUI
0eb0ce0015 set_size - if a Graph Element, then also set the CanvasSize member variable 2021-07-30 14:44:22 -04:00
PySimpleGUI
104aab454c
Merge pull request #4563 from PySimpleGUI/Dev-latest
Set Table Element's treeview widget's stretch setting to be same as t…
2021-07-29 13:35:39 -04:00
PySimpleGUI
35259d58cf Set Table Element's treeview widget's stretch setting to be same as the expand_x paramter. Added a key onto the Sizegrip element. 2021-07-29 13:35:22 -04:00
PySimpleGUI
08ba21eb83
Merge pull request #4560 from PySimpleGUI/Dev-latest
Move all windows (experimental) updated to use new move all windows a…
2021-07-27 13:30:48 -04:00
PySimpleGUI
14cb70ac73 Move all windows (experimental) updated to use new move all windows algorithm 2021-07-27 13:30:31 -04:00
PySimpleGUI
cc0f7d7e03
Merge pull request #4559 from PySimpleGUI/Dev-latest
New grab anywhere movement algorithm.  Right Click menus now work fro…
2021-07-27 13:04:03 -04:00
PySimpleGUI
45769371cc New grab anywhere movement algorithm. Right Click menus now work from mouse button RELEASE 2021-07-27 13:03:47 -04:00
PySimpleGUI
1f4a0e3740
Merge pull request #4558 from PySimpleGUI/Dev-latest
Skip the SECOND no titlebar setup if running on a Mac
2021-07-27 11:24:49 -04:00
PySimpleGUI
29e19579c3 Skip the SECOND no titlebar setup if running on a Mac 2021-07-27 11:24:35 -04:00
PySimpleGUI
e6e2e795b4
Merge pull request #4557 from PySimpleGUI/Dev-latest
Dev latest
2021-07-27 10:54:34 -04:00
PySimpleGUI
d99ee20611 Display mac patches when startup on a Mac 2021-07-27 10:54:14 -04:00
PySimpleGUI
229f2af24c Re-read Mac settings after the Mac patch control window is closed. 2021-07-27 10:52:36 -04:00
PySimpleGUI
ce4f1ffbd9
Merge pull request #4554 from PySimpleGUI/Dev-latest
Added Mac Patch Control Settings and window to change the settings
2021-07-25 18:52:17 -04:00
PySimpleGUI
44ccdbc175 Added Mac Patch Control Settings and window to change the settings 2021-07-25 18:51:57 -04:00
PySimpleGUI
2bb38c2bb9
Merge pull request #4553 from PySimpleGUI/Dev-latest
Shrunk size of Test Harness significantly. It's always a battle to ge…
2021-07-25 08:17:36 -04:00
PySimpleGUI
52c5f43e04 Shrunk size of Test Harness significantly. It's always a battle to get it to fit on small screens. Currently 690x670, down from 770 x 780 2021-07-25 08:17:01 -04:00
PySimpleGUI
db17d92c1d
Merge pull request #4552 from PySimpleGUI/Dev-latest
Added autosave parameter to UserSettings object.
2021-07-25 07:54:16 -04:00
PySimpleGUI
7d2cf157bf Added autosave parameter to UserSettings object. 2021-07-25 07:53:58 -04:00
PySimpleGUI
a6b05c63f3
Merge pull request #4549 from PySimpleGUI/Dev-latest
"Oh... I guess that function was important after all'
2021-07-24 20:02:36 -04:00
PySimpleGUI
4970b0b57c "Oh... I guess that function was important after all' 2021-07-24 20:01:49 -04:00
PySimpleGUI
7b98c926ef
Merge pull request #4548 from PySimpleGUI/Dev-latest
Added a right click menu to the Window class so that portions of the …
2021-07-24 14:57:42 -04:00
PySimpleGUI
568bf6239b Added a right click menu to the Window class so that portions of the window that don't have elements can still be right clicked 2021-07-24 14:57:25 -04:00
PySimpleGUI
df67bab064
Merge pull request #4547 from PySimpleGUI/Dev-latest
Added echo_stdout to Debug Print (Print or easy_print). This option i…
2021-07-24 12:43:11 -04:00
PySimpleGUI
eff3dec028 Added echo_stdout to Debug Print (Print or easy_print). This option is already part of the Multiline element. Adding the parameter simply extends the capability back to the user so that they can use it if desired. Default is False. To use set both do_not_reroute_stdout to False and echo_stdout to True 2021-07-24 12:42:53 -04:00
PySimpleGUI
9cd38a627f
Merge pull request #4546 from PySimpleGUI/Dev-latest
Removed sizegrip so that it can run on older versions of PySimpleGUI.…
2021-07-24 11:18:30 -04:00
PySimpleGUI
52dc961b5a Removed sizegrip so that it can run on older versions of PySimpleGUI. Also removed the change where expand_x, the newly added option on several elements, is removed. 2021-07-24 10:53:20 -04:00
PySimpleGUI
1a57b4c8ef
Merge pull request #4545 from PySimpleGUI/Dev-latest
Sizegrip... one FINAL time.  Realized it was expanding row frame erro…
2021-07-24 08:15:06 -04:00
PySimpleGUI
a940d3bcd4 Sizegrip... one FINAL time. Realized it was expanding row frame erronously. 2021-07-24 08:13:37 -04:00
PySimpleGUI
ee16c0e928
Merge pull request #4544 from PySimpleGUI/Dev-latest
Set cursor color to be the same as the input text color for - Input, …
2021-07-23 16:47:11 -04:00
PySimpleGUI
7718772420 Set cursor color to be the same as the input text color for - Input, Multiline, Output, Combo, Spin elements 2021-07-23 16:43:13 -04:00
PySimpleGUI
1984345b2e
Merge pull request #4543 from PySimpleGUI/Dev-latest
Fixed Text.get() - wasn't getting actual current value.
2021-07-23 13:24:21 -04:00
PySimpleGUI
406c0c0305 Fixed Text.get() - wasn't getting actual current value. 2021-07-23 13:24:01 -04:00
PySimpleGUI
d86f65ef26
Merge pull request #4542 from PySimpleGUI/Dev-latest
Replaced the multithreaded wrapper demo with one that calls Window.pe…
2021-07-23 09:51:54 -04:00
PySimpleGUI
fca99bac39 Replaced the multithreaded wrapper demo with one that calls Window.perform_long_operation 2021-07-23 09:51:38 -04:00
PySimpleGUI
cd96212d7a
Merge pull request #4541 from PySimpleGUI/Dev-latest
Added new Window.perform_long_operation.  Fixed Sizegrip row expansion
2021-07-23 08:59:54 -04:00
PySimpleGUI
b1081f747d Added new Window.perform_long_operation. Fixed Sizegrip row expansion 2021-07-23 08:59:35 -04:00
PySimpleGUI
43722a6528
Merge pull request #4540 from PySimpleGUI/Dev-latest
Updated to include a before/after as an easier to follow example
2021-07-22 16:13:22 -04:00
PySimpleGUI
f1c66feadb Updated to include a before/after as an easier to follow example 2021-07-22 16:13:03 -04:00
PySimpleGUI
91913a3ad9
Merge pull request #4539 from PySimpleGUI/Dev-latest
A "lengthy function call" demo - another approach to using threads
2021-07-22 15:27:24 -04:00
PySimpleGUI
c82516bee6 A "lengthy function call" demo - another approach to using threads 2021-07-22 15:27:06 -04:00
PySimpleGUI
4745094fa5
Merge pull request #4537 from PySimpleGUI/Dev-latest
docstrings: font made clearer by listing all available styles,  descr…
2021-07-22 09:51:54 -04:00
PySimpleGUI
d211bd8977 docstrings: font made clearer by listing all available styles, descriptions and parms line up. ALL ELEMENTS got an expand_x and expand_y parameters in their constructor! No more needing to call expand after window is created. It can now be done entirely in the layout definition. Yeah! GitHub Issue GUI changed to remove calls to expand 2021-07-22 09:51:30 -04:00
PySimpleGUI
dae24aaf22
Merge pull request #4534 from PySimpleGUI/Dev-latest
Made window expandable, keep the filter in place so that refreshes fi…
2021-07-21 10:18:22 -04:00
PySimpleGUI
128b18e4cd Made window expandable, keep the filter in place so that refreshes filter immediately, added edit me option. Sizegrip added. 2021-07-21 10:18:06 -04:00
PySimpleGUI
77d953ecc1
Merge pull request #4531 from PySimpleGUI/Dev-latest
Using Columns to Justify Elements
2021-07-20 15:17:27 -04:00
PySimpleGUI
2907d4bd82 Using Columns to Justify Elements 2021-07-20 15:17:09 -04:00
PySimpleGUI
76851d3ad4
Merge pull request #4529 from PySimpleGUI/Dev-latest
Fixed docstrings that had missing type and rtype lines.
2021-07-19 15:45:41 -04:00
PySimpleGUI
0cb4b4ab61 Fixed docstrings that had missing type and rtype lines. 2021-07-19 15:45:24 -04:00
PySimpleGUI
16f2475e5a
Merge pull request #4528 from PySimpleGUI/Dev-latest
Updated info on icons, fixed problem with missing types causing corru…
2021-07-19 15:38:48 -04:00
PySimpleGUI
6b3d5a1be5 Updated info on icons, fixed problem with missing types causing corrupt entry, changed FindElement to find_element 2021-07-19 15:38:33 -04:00
PySimpleGUI
11ceadfdc0
Merge pull request #4526 from PySimpleGUI/Dev-latest
Reformatted all docstrings so that the parameter description and type…
2021-07-19 10:16:12 -04:00
PySimpleGUI
c424c3c771 Reformatted all docstrings so that the parameter description and type are aligned. The code itself, help output and the sdk reference window look better. 2021-07-19 10:15:53 -04:00
PySimpleGUI
17942c22fb
Merge pull request #4523 from PySimpleGUI/Dev-latest
Added support for right click menus to checkbox, radio, spin, progres…
2021-07-18 13:55:58 -04:00
PySimpleGUI
0e9d5157bd Added support for right click menus to checkbox, radio, spin, progress meter, tabgroup, spin (never noticed they weren't hooked up!) If an element doesn't have the parm on the init, it will now automatically inherit from the Window. Reformatted a couple of the Docstrings to see how they're going to look before doing the entire file. 2021-07-18 13:55:43 -04:00
PySimpleGUI
e0c34bd257
Merge pull request #4522 from PySimpleGUI/Dev-latest
Check for file exists in execute_py_file
2021-07-17 13:23:41 -04:00
PySimpleGUI
4b8757c124 Check for file exists in execute_py_file 2021-07-17 13:23:22 -04:00
PySimpleGUI
08f9bcd39b
Merge pull request #4521 from PySimpleGUI/Dev-latest
Set cwd='.' is dirname is not found when calling execute_py_file
2021-07-16 14:42:31 -04:00
PySimpleGUI
4f4d2879c3 Set cwd='.' is dirname is not found when calling execute_py_file 2021-07-16 14:42:12 -04:00
PySimpleGUI
624894c519
Merge pull request #4515 from PySimpleGUI/Dev-latest
Temporarily enabled Modal Windows on the Mac.  Added size info in Fra…
2021-07-11 09:57:42 -04:00
PySimpleGUI
48b3028a5e Temporarily enabled Modal Windows on the Mac. Added size info in Frame Element's docstring 2021-07-11 09:57:21 -04:00
PySimpleGUI
7986cbd153
Merge pull request #4508 from PySimpleGUI/Dev-latest
Added TabGroup.add_tab
2021-07-08 17:41:56 -04:00
PySimpleGUI
ad708f7176 Added TabGroup.add_tab 2021-07-08 17:41:39 -04:00
PySimpleGUI
818e9342ef
Merge pull request #4506 from PySimpleGUI/Dev-latest
Warning on FindElement to get users to migrate
2021-07-08 08:58:30 -04:00
PySimpleGUI
3c2e3bf0a2 Warning on FindElement to get users to migrate 2021-07-08 08:58:13 -04:00
PySimpleGUI
d8a124b42a
Merge pull request #4505 from PySimpleGUI/Dev-latest
one_line_progress_meter gets keep_on_top parameter
2021-07-07 15:37:54 -04:00
PySimpleGUI
f9a9f8a95b one_line_progress_meter gets keep_on_top parameter 2021-07-07 15:37:36 -04:00
PySimpleGUI
df8308b295
Merge pull request #4501 from PySimpleGUI/Dev-latest
cprint, Multline.print, Debug print all take a color string parm. Add…
2021-07-05 12:54:43 -04:00
PySimpleGUI
5e1f29cf40 cprint, Multline.print, Debug print all take a color string parm. Added ability for the color string to be a single color representing the text color only. 2021-07-05 12:54:22 -04:00
PySimpleGUI
9e76638a3c
Merge pull request #4498 from PySimpleGUI/Dev-latest
Dev latest
2021-07-05 07:35:01 -04:00
PySimpleGUI
9c435e9cbc Added Kill Application button to the popup_error_with_traceback since it's possible to get into loop forcing user kill everything using task manager. Not good... much better now! 2021-07-05 07:34:44 -04:00
PySimpleGUI
0ebf12954e Better docstring description for icon in Window and set_options. Describes a Base64 encoded GIF as the most portable icon. 2021-07-04 15:07:08 -04:00
PySimpleGUI
699bc5233d
Merge pull request #4491 from PySimpleGUI/Dev-latest
Changed Sizegrip to not expand the row that it's on.  Fixed custom ti…
2021-07-03 17:22:37 -04:00
PySimpleGUI
93633b4a95 Changed Sizegrip to not expand the row that it's on. Fixed custom titlebar detection, fixed updating Image with size of None. 2021-07-03 17:22:17 -04:00
PySimpleGUI
624a3c4e8f
Merge pull request #4490 from PySimpleGUI/Dev-latest
Dev latest
2021-07-03 14:29:31 -04:00
PySimpleGUI
e4125886a3 Sort the list of entries 2021-07-03 14:29:14 -04:00
PySimpleGUI
44c020324a New Demo - Combo File Chooser with history and clear button. 2021-07-03 14:25:52 -04:00
PySimpleGUI
d0078e66dd
Merge pull request #4486 from PySimpleGUI/Dev-latest
Dev latest
2021-07-02 15:05:08 -04:00
PySimpleGUI
49bb18e496 Delete Demo_Cursor_Changed_To_Hand.py 2021-07-02 15:04:44 -04:00
PySimpleGUI
3b00016ddb Renamed the cursor demo. Included example of turning off the cursor entirely at the element and the window level. 2021-07-02 15:04:30 -04:00
PySimpleGUI
700d668681
Merge pull request #4481 from PySimpleGUI/Dev-latest
Dev latest
2021-06-30 10:58:59 -04:00
PySimpleGUI
c48968b36d Moved visibility setting out of the drawing function for better performance 2021-06-30 10:58:41 -04:00
PySimpleGUI
35dd8b3df1 New Demos of Matplotlib animated spectrogram - threaded and not threaded 2021-06-30 10:58:12 -04:00
PySimpleGUI
a6d277642e
Merge pull request #4480 from PySimpleGUI/Dev-latest
New Matplotlib using Image Element demo - shows a Spectrogram
2021-06-29 21:06:30 -04:00
PySimpleGUI
3652760508 New Matplotlib using Image Element demo - shows a Spectrogram 2021-06-29 21:06:11 -04:00
PySimpleGUI
65d847a8c2
Merge pull request #4476 from PySimpleGUI/Dev-latest
Fix for Menu item disabled with a shortcut char in the item.  Was off…
2021-06-28 15:15:32 -04:00
PySimpleGUI
30c9241898 Fix for Menu item disabled with a shortcut char in the item. Was off by one (still have off by one bugs?? WHEN will I ever learn if not by now?) 2021-06-28 15:15:13 -04:00
PySimpleGUI
125cf9a2b7
Merge pull request #4470 from PySimpleGUI/Dev-latest
Added class_ parm to the Toplevel windows for the Linux window title …
2021-06-28 08:17:34 -04:00
PySimpleGUI
30be7fea45 Added class_ parm to the Toplevel windows for the Linux window title problems 2021-06-28 08:17:05 -04:00
PySimpleGUI
0b27f28547
Merge pull request #4469 from PySimpleGUI/Dev-latest
ButtonMenu changes and fixes - set default font, allow menu definitio…
2021-06-27 19:36:56 -04:00
PySimpleGUI
7d2201bfed ButtonMenu changes and fixes - set default font, allow menu definition to be not set in update, fixed missing colors when updating menu 2021-06-27 19:36:36 -04:00
PySimpleGUI
10b2c5a9b0
Merge pull request #4467 from PySimpleGUI/Dev-latest
WTG Tanay in polishing up the final parts... Shows matched lines with…
2021-06-26 18:21:49 -04:00
PySimpleGUI
1c1db88f58 WTG Tanay in polishing up the final parts... Shows matched lines with selecting which line to edit. Limits matched line length to 500 chars to weed out the bytestring matches 2021-06-26 18:20:20 -04:00
PySimpleGUI
2a0d953ea5
Merge pull request #4466 from PySimpleGUI/Dev-latest
autoscroll parameter added to Multiline.print and cprint
2021-06-25 18:38:11 -04:00
PySimpleGUI
2015846df9 autoscroll parameter added to Multiline.print and cprint 2021-06-25 18:37:47 -04:00
PySimpleGUI
cd73f54dbd
Merge pull request #4463 from PySimpleGUI/Dev-latest
Option to show a single image
2021-06-23 18:03:41 -04:00
PySimpleGUI
4490407bc6 Option to show a single image 2021-06-23 18:03:23 -04:00
PySimpleGUI
7032554d6e
Merge pull request #4462 from PySimpleGUI/Dev-latest
New Demo - Integrate with notifypy package
2021-06-23 13:52:32 -04:00
PySimpleGUI
5c131cda89 New Demo - Integrate with notifypy package 2021-06-23 13:52:15 -04:00
PySimpleGUI
dab49275d3
Merge pull request #4450 from PySimpleGUI/Dev-latest
Demo program for use with psgtray
2021-06-21 10:08:09 -04:00
PySimpleGUI
8d2b7ee30a Demo program for use with psgtray 2021-06-21 10:07:51 -04:00
PySimpleGUI
6f8ff9e75a
Merge pull request #4449 from PySimpleGUI/Dev-latest
psgtray - a new System Tray Icon feature for use with tkinter port!!
2021-06-21 10:06:42 -04:00
PySimpleGUI
cbb2be3a65 psgtray - a new System Tray Icon feature for use with tkinter port!! 2021-06-21 10:06:25 -04:00
PySimpleGUI
c56bf51f0d
Merge pull request #4448 from PySimpleGUI/Dev-latest
Release 4.45.0
2021-06-21 09:48:35 -04:00
PySimpleGUI
436cb397ce Release 4.45.0 2021-06-21 09:48:10 -04:00
PySimpleGUI
5965654784
Merge pull request #4444 from PySimpleGUI/Dev-latest
Moved *args in one_line_progress_meter
2021-06-20 08:24:17 -04:00
PySimpleGUI
ab9344007a Moved *args in one_line_progress_meter 2021-06-20 08:23:59 -04:00
PySimpleGUI
5d3b7e1f3c
Merge pull request #4443 from PySimpleGUI/Dev-latest
Switched to ppm format.  Changed tkinter specific call to Graph.send_…
2021-06-20 08:06:23 -04:00
PySimpleGUI
5a1cb9c6a5 Switched to ppm format. Changed tkinter specific call to Graph.send_figure_to_back for portability 2021-06-20 08:06:07 -04:00
PySimpleGUI
ba9c74d52e
Merge pull request #4437 from PySimpleGUI/Dev-latest
Change to ppm format from png to get better performance
2021-06-19 18:17:07 -04:00
PySimpleGUI
8823936fc2 Change to ppm format from png to get better performance 2021-06-19 18:16:51 -04:00
PySimpleGUI
9f5a51cbb5
Merge pull request #4432 from PySimpleGUI/Dev-latest
Combo and Input elements - fixed for readonly state use when disable/…
2021-06-18 18:48:05 -04:00
PySimpleGUI
738f2658e4 Combo and Input elements - fixed for readonly state use when disable/enable in update 2021-06-18 18:47:48 -04:00
PySimpleGUI
7f5fdc0e71
Merge pull request #4430 from PySimpleGUI/Dev-latest
Apply no titlebar twice due to a Pi problem that is perhaps on  other…
2021-06-18 17:06:15 -04:00
PySimpleGUI
b3598ccb95 Apply no titlebar twice due to a Pi problem that is perhaps on other platforms too 2021-06-18 17:05:59 -04:00
PySimpleGUI
1a191c7832
Merge pull request #4427 from PySimpleGUI/Dev-latest
Updated Output Element's docstring to explain Multiline is the superi…
2021-06-18 08:19:27 -04:00
PySimpleGUI
1157234d36 Updated Output Element's docstring to explain Multiline is the superior choice. It's a start at getting new users to use the Multiline. The Cookbook needs updating, etc. 2021-06-18 08:19:11 -04:00
PySimpleGUI
fd0bf10a1c
Merge pull request #4425 from PySimpleGUI/Dev-latest
Fix for tearoff menu location after a new menu definition
2021-06-17 18:33:38 -04:00
PySimpleGUI
be32911baf Fix for tearoff menu location after a new menu definition 2021-06-17 18:33:18 -04:00
PySimpleGUI
c28a477577
Merge pull request #4424 from PySimpleGUI/Dev-latest
set the title parm in the docstring for popup_error_with_traceback
2021-06-17 16:17:04 -04:00
PySimpleGUI
7dbb6b4da4 set the title parm in the docstring for popup_error_with_traceback 2021-06-17 16:16:47 -04:00
PySimpleGUI
6109f4b935
Merge pull request #4423 from PySimpleGUI/Dev-latest
Replaced popup_error with traceback error popups when button colors p…
2021-06-17 13:49:34 -04:00
PySimpleGUI
853887edaa Replaced popup_error with traceback error popups when button colors problems are detected 2021-06-17 13:49:11 -04:00
PySimpleGUI
320987f379
Merge pull request #4420 from PySimpleGUI/Dev-latest
New popup - popup_error_with_traceback. Better line length handling i…
2021-06-17 08:10:24 -04:00
PySimpleGUI
ad3ab1e623 New popup - popup_error_with_traceback. Better line length handling in error popup, removed setting active background for button menus (maybe should put it back... we'll see), Set highlight thickness to 0 if pad is 0 for ButtonMenus, copy menu definitions so original isn't modified 2021-06-17 08:10:05 -04:00
PySimpleGUI
82bd910e68
Merge pull request #4406 from PySimpleGUI/Dev-latest
docstring update for Window.current_location - mention the titlebar a…
2021-06-14 08:41:23 -04:00
PySimpleGUI
e29e1d20ee docstring update for Window.current_location - mention the titlebar and menubar can affect accuracy 2021-06-14 08:41:08 -04:00
PySimpleGUI
1b0ed2160a
Merge pull request #4401 from PySimpleGUI/Dev-latest
Release 4.44.0
2021-06-13 12:46:08 -04:00
PySimpleGUI
8a269efc61 Release 4.44.0 2021-06-13 12:45:50 -04:00
PySimpleGUI
9672e577e5
Merge pull request #4400 from PySimpleGUI/Dev-latest
Focus the filter input field when starting. Shows python interpreter …
2021-06-13 08:07:27 -04:00
PySimpleGUI
b8a13bd54e Focus the filter input field when starting. Shows python interpreter version that will be used to launch programs. Added a PANE between the 2 main columns. Set a minimum size for the window. Rerouting cprint directly in the layout now. 2021-06-13 08:07:13 -04:00
PySimpleGUI
9b5469bd3c
Merge pull request #4398 from PySimpleGUI/Dev-latest
Sizegrip auto-expands row and anchors correctly to right side.
2021-06-12 18:45:50 -04:00
PySimpleGUI
a70e030e74 Sizegrip auto-expands row and anchors correctly to right side. 2021-06-12 18:45:32 -04:00
PySimpleGUI
12354b41cf
Merge pull request #4397 from PySimpleGUI/Dev-latest
fix for popup get file and folder without history, support for expand…
2021-06-12 16:18:57 -04:00
PySimpleGUI
d65cd68abf fix for popup get file and folder without history, support for expand for Table and other elements inside a frame 2021-06-12 16:18:42 -04:00
PySimpleGUI
94c53163b0
Merge pull request #4396 from PySimpleGUI/Dev-latest
popup_get_folder also gets a history feature.
2021-06-12 15:08:27 -04:00
PySimpleGUI
95f4ab7ec0 popup_get_folder also gets a history feature. 2021-06-12 15:08:09 -04:00
PySimpleGUI
c39c7460d1
Merge pull request #4395 from PySimpleGUI/Dev-latest
popup_get_file - tooltip for clear button. Show message when clear bu…
2021-06-12 12:02:51 -04:00
PySimpleGUI
25209917df popup_get_file - tooltip for clear button. Show message when clear button clicked. 2021-06-12 12:02:33 -04:00
PySimpleGUI
675fa90387
Merge pull request #4394 from PySimpleGUI/Dev-latest
popup_get_file - HISTORY feature added! Replaced prints in packer fun…
2021-06-12 11:20:11 -04:00
PySimpleGUI
b39da7adad popup_get_file - HISTORY feature added! Replaced prints in packer function because can cause errors if strout has been rerouted, Combo no longer resizes on update if no size if given, combo added to the default focus list of elements 2021-06-12 11:19:52 -04:00
PySimpleGUI
793f0d3e61
Merge pull request #4391 from PySimpleGUI/Dev-latest
Removed print accidently left in debugging tags.  Cleaned up the colo…
2021-06-10 13:29:58 -04:00
PySimpleGUI
e37bfc9861 Removed print accidently left in debugging tags. Cleaned up the color demo. 2021-06-10 13:29:40 -04:00
PySimpleGUI
4e937b7a1e
Merge pull request #4390 from PySimpleGUI/Dev-latest
Fix for missing font on debug print.  Addition of font to Multiline d…
2021-06-10 10:47:48 -04:00
PySimpleGUI
ee2a1ba22c Fix for missing font on debug print. Addition of font to Multiline demo program 2021-06-10 10:47:31 -04:00
PySimpleGUI
de0777218c
Merge pull request #4389 from PySimpleGUI/Dev-latest
Made expanding Tree element a single operation like other elements.
2021-06-10 10:15:01 -04:00
PySimpleGUI
00fa20e13b Made expanding Tree element a single operation like other elements. 2021-06-10 10:14:43 -04:00
PySimpleGUI
65c13b010c
Merge pull request #4388 from PySimpleGUI/Dev-latest
font settings - Multiline update & print, cprint, debug print.  CLIPB…
2021-06-10 08:19:47 -04:00
PySimpleGUI
bf8d124b9b font settings - Multiline update & print, cprint, debug print. CLIPBOARD functions get and set 2021-06-10 08:19:29 -04:00
PySimpleGUI
54783158fa
Merge pull request #4382 from PySimpleGUI/Dev-latest
Fix for Listbox visibility
2021-06-08 06:51:03 -04:00
PySimpleGUI
b7dfe800f1 Fix for Listbox visibility 2021-06-08 06:50:46 -04:00
PySimpleGUI
e3b6d58765
Merge pull request #4377 from PySimpleGUI/Dev-latest
Removed the very old demo programs folder
2021-06-07 08:43:22 -04:00
PySimpleGUI
ec47e6d8ce Removed the very old demo programs folder 2021-06-07 08:43:05 -04:00
PySimpleGUI
a52faa7bb8
Merge pull request #4373 from PySimpleGUI/Dev-latest
Moved clipboard operations to a single function to make event loop cl…
2021-06-06 10:32:48 -04:00
PySimpleGUI
6e7d267583 Moved clipboard operations to a single function to make event loop cleaner 2021-06-06 10:31:54 -04:00
PySimpleGUI
4ff43ebca0
Merge pull request #4372 from PySimpleGUI/Dev-latest
New Demo Program - Multiline Element clipboard operations using a rig…
2021-06-06 10:24:28 -04:00
PySimpleGUI
f2f0ea99a7 New Demo Program - Multiline Element clipboard operations using a right click menu 2021-06-06 10:24:08 -04:00
PySimpleGUI
0a656faf35
Merge pull request #4371 from PySimpleGUI/Dev-latest
New Demo - Threaded Progress Meter
2021-06-05 19:05:25 -04:00
PySimpleGUI
b8111190d4 New Demo - Threaded Progress Meter 2021-06-05 19:05:08 -04:00
PySimpleGUI
98fb88f051
Merge pull request #4369 from PySimpleGUI/Dev-latest
Invert colors of the "Refresh Button" while refresh is happening
2021-06-05 10:49:42 -04:00
PySimpleGUI
f239ab36ba Invert colors of the "Refresh Button" while refresh is happening 2021-06-05 10:49:28 -04:00
PySimpleGUI
6c2532fce1
Merge pull request #4367 from PySimpleGUI/Dev-latest
Comment change
2021-06-05 09:17:54 -04:00
PySimpleGUI
10c03cb689 Comment change 2021-06-05 09:17:39 -04:00
PySimpleGUI
0420580abd
Merge pull request #4366 from PySimpleGUI/Dev-latest
Dev latest
2021-06-05 08:46:23 -04:00
PySimpleGUI
4eada1a704 Forgot a debug print removal 2021-06-05 08:46:06 -04:00
PySimpleGUI
89ae54fa87 Added package description field 2021-06-05 08:45:06 -04:00
PySimpleGUI
98f51866ba
Merge pull request #4361 from PySimpleGUI/Dev-latest
See through test in test harness changed to be a toggle.
2021-06-04 09:08:11 -04:00
PySimpleGUI
cae7d9abe6 See through test in test harness changed to be a toggle. 2021-06-04 09:07:53 -04:00
PySimpleGUI
63804dd3f6
Merge pull request #4360 from PySimpleGUI/Dev-latest
Added collapse button to the the Open GitHub Issue so the upper potio…
2021-06-03 16:34:52 -04:00
PySimpleGUI
4aa0b642c6 Added collapse button to the the Open GitHub Issue so the upper potion of window can be hidden, thus making it not as tall. 2021-06-03 16:34:33 -04:00
PySimpleGUI
46a8223cbc
Merge pull request #4358 from PySimpleGUI/Dev-latest
Better Button error handling when Unicode chars are used or if a bad …
2021-06-03 11:05:20 -04:00
PySimpleGUI
4671509c92 Better Button error handling when Unicode chars are used or if a bad color string is provided. 2021-06-03 11:05:02 -04:00
PySimpleGUI
9ddfcb5223
Merge pull request #4350 from PySimpleGUI/Dev-latest
Changed gauge update
2021-05-31 19:49:08 -04:00
PySimpleGUI
2945202e72 Changed gauge update 2021-05-31 19:48:52 -04:00
PySimpleGUI
2f64962604
Merge pull request #4349 from PySimpleGUI/Dev-latest
A new reworked version of pong!
2021-05-31 17:40:53 -04:00
PySimpleGUI
7cf15a8e6b A new reworked version of pong! 2021-05-31 17:40:38 -04:00
PySimpleGUI
9baaa14ab2
Merge pull request #4348 from PySimpleGUI/Dev-latest
popup_get_file - set parent=None when running on Mac so doesn't gener…
2021-05-31 16:31:51 -04:00
PySimpleGUI
09cf44ccd1 popup_get_file - set parent=None when running on Mac so doesn't generate warning message. 2021-05-31 16:31:34 -04:00
PySimpleGUI
0a92422231
Merge pull request #4347 from PySimpleGUI/Dev-latest
Couple of fixes for getting location of popups
2021-05-31 15:55:05 -04:00
PySimpleGUI
bab87576b2 Set default to be current title 2021-05-31 15:54:06 -04:00
PySimpleGUI
7aa4bb42ff Couple of fixes for getting location of popups 2021-05-31 15:51:26 -04:00
PySimpleGUI
3b2615559a
Merge pull request #4346 from PySimpleGUI/Dev-latest
Dev latest
2021-05-31 15:42:27 -04:00
PySimpleGUI
6349c5d818 Another desktop widget. This one is a simple counter (needed something to count up to a goal and this filled the need) 2021-05-31 15:42:05 -04:00
PySimpleGUI
edfb83c2be Added some whitespace to make things more readable 2021-05-31 15:41:31 -04:00
PySimpleGUI
fd56dbe9fc
Merge pull request #4340 from PySimpleGUI/Dev-latest
Had timeout=1 which is a terrible idea (it's old code)
2021-05-29 16:31:33 -04:00
PySimpleGUI
616ec13c9c Had timeout=1 which is a terrible idea (it's old code) 2021-05-29 16:31:16 -04:00
PySimpleGUI
3e8e999443
Merge pull request #4339 from PySimpleGUI/Dev-latest
cwd is automatically set to the folder of the application being launc…
2021-05-28 15:30:34 -04:00
PySimpleGUI
8dd2bfcdb0 cwd is automatically set to the folder of the application being launched when execute_py_file is called with cwd=None 2021-05-28 15:29:25 -04:00
PySimpleGUI
109ecc28e2
Merge pull request #4332 from PySimpleGUI/Dev-latest
New Japanese versions! (THANK YOU @okajun35!!!)
2021-05-27 18:47:49 -04:00
PySimpleGUI
c612ec6b18 New Japanese versions! (THANK YOU @okajun35!!!) 2021-05-27 18:47:35 -04:00
PySimpleGUI
99b0771ffb
Merge pull request #4331 from PySimpleGUI/Dev-latest
Added back truncated portion
2021-05-27 17:34:04 -04:00
PySimpleGUI
aa95930d04 Added back truncated portion 2021-05-27 17:33:48 -04:00
PySimpleGUI
7504b90c2c
Merge pull request #4326 from PySimpleGUI/Dev-latest
Use Window metadata for count of packages. Better theme use for "X" o…
2021-05-26 10:28:09 -04:00
PySimpleGUI
04853a1873 Use Window metadata for count of packages. Better theme use for "X" on row. Bigger fonts. May be the last polish post. 2021-05-26 10:27:46 -04:00
PySimpleGUI
4a0abfd671
Merge pull request #4323 from PySimpleGUI/Dev-latest
Changed get_versions to be more clear.  Exclude canvas from return va…
2021-05-25 15:20:48 -04:00
PySimpleGUI
d6dbcb7c61 Changed get_versions to be more clear. Exclude canvas from return values. 2021-05-25 15:20:31 -04:00
PySimpleGUI
1f7b6748ba
Merge pull request #4322 from PySimpleGUI/Dev-latest
Added buttons for refresh, add package. Added tooltips
2021-05-25 14:32:47 -04:00
PySimpleGUI
3371d33d08 Added buttons for refresh, add package. Added tooltips 2021-05-25 14:32:32 -04:00
PySimpleGUI
129d8a3dcb
Merge pull request #4320 from PySimpleGUI/Dev-latest
Dev latest
2021-05-25 14:16:36 -04:00
PySimpleGUI
3b00d39c3a Improvements to the newer PIL demos 2021-05-25 14:16:21 -04:00
PySimpleGUI
b670662ead New Demo Program - FedEx Package Tracking Desktop Widget 2021-05-25 14:15:48 -04:00
PySimpleGUI
1dbb1b2d99
Merge pull request #4318 from PySimpleGUI/Dev-latest
Dev latest
2021-05-24 15:01:45 -04:00
PySimpleGUI
a845014317 Minor formatting 2021-05-24 15:01:29 -04:00
PySimpleGUI
9ec0f18607 New simple Sudoku puzzle demo 2021-05-24 14:58:44 -04:00
PySimpleGUI
7dbdc26637
Merge pull request #4316 from PySimpleGUI/Dev-latest
Dev latest
2021-05-24 10:10:29 -04:00
PySimpleGUI
6b17ef7ded Toggle button demo using PIL to draw the button 2021-05-24 10:10:03 -04:00
PySimpleGUI
e68d3005d1 Renamed Postit demo to match others. Use the new multiline expand_x, expand_y. 2021-05-24 10:08:06 -04:00
PySimpleGUI
1260bda762
Merge pull request #4315 from PySimpleGUI/Dev-latest
Fix for ICON_BASE64_LIST having been renamed in PySimpleGUI but not i…
2021-05-24 09:46:39 -04:00
PySimpleGUI
2925d52c69 Fix for ICON_BASE64_LIST having been renamed in PySimpleGUI but not in the demo 2021-05-24 09:46:24 -04:00
PySimpleGUI
7c8463a65a
Merge pull request #4312 from PySimpleGUI/Dev-latest
Release 4.43.0
2021-05-23 20:15:15 -04:00
PySimpleGUI
d3cb3f74c2 Release 4.43.0 2021-05-23 20:14:46 -04:00
PySimpleGUI
4c11f263c3
Merge pull request #4311 from PySimpleGUI/Dev-latest
Multiline new parms expand_x, expand_y removes need to do an expand c…
2021-05-23 20:08:23 -04:00
PySimpleGUI
b8dd1f0c00 Multiline new parms expand_x, expand_y removes need to do an expand call. Debug print window now resizable. popup_scrolled now resizable. A BUNCH of docstring changes. 2021-05-23 20:07:56 -04:00
PySimpleGUI
3433782079
Merge pull request #4310 from PySimpleGUI/Dev-latest
Added Window.ding().  Added more error information when a "Finalize i…
2021-05-23 16:38:57 -04:00
PySimpleGUI
1186dca8ad Added Window.ding(). Added more error information when a "Finalize is needed" error happens. Traceback added to all finalize needed errors so that user can be taken to the error. 2021-05-23 16:38:41 -04:00
PySimpleGUI
d48f6dfa7a
Merge pull request #4309 from PySimpleGUI/Dev-latest
One more try....
2021-05-23 16:00:09 -04:00
PySimpleGUI
5130a135a1 One more try.... 2021-05-23 15:59:55 -04:00
PySimpleGUI
6ae15321bb
Merge pull request #4308 from PySimpleGUI/Dev-latest
Can't believe I left out a significant contributor...  fixed my error…
2021-05-23 15:58:12 -04:00
PySimpleGUI
a2425813f4 Can't believe I left out a significant contributor... fixed my error.... 2021-05-23 15:57:59 -04:00
PySimpleGUI
1fcbc72826
Merge pull request #4307 from PySimpleGUI/Dev-latest
Release 4.42.0
2021-05-23 14:08:05 -04:00
PySimpleGUI
06be391d11 Release 4.42.0 2021-05-23 14:07:50 -04:00
PySimpleGUI
942ab2617a
Merge pull request #4306 from PySimpleGUI/Dev-latest
A little more info about the Demo Programs folder and other project f…
2021-05-23 10:07:10 -04:00
PySimpleGUI
03f57c7979 A little more info about the Demo Programs folder and other project folders.... 2021-05-23 10:06:55 -04:00
PySimpleGUI
0d0bf4e28a
Merge pull request #4304 from PySimpleGUI/Dev-latest
Removed Sizegrip images and uses built-in Sizegrip instead.  This wil…
2021-05-22 16:32:44 -04:00
PySimpleGUI
e49204855e Removed Sizegrip images and uses built-in Sizegrip instead. This will keep things native and is more SIMPLE. Added Element.grab_anywhere_exclude to exclude a specific element from the grab_anywhere feature. Great for Graph elements where you want to capture the drag events. 2021-05-22 16:32:26 -04:00
PySimpleGUI
bd20a9c837
Merge pull request #4302 from PySimpleGUI/Dev-latest
NEW Demos - PIL Rounded Rectangle (thank you     Copyright 2021 PySim…
2021-05-21 15:44:18 -04:00
PySimpleGUI
77dc9041a8 NEW Demos - PIL Rounded Rectangle (thank you Copyright 2021 PySimpleGUI, @jason990420 !), Postit Desktop Widget using Sizegrip Element 2021-05-21 15:44:00 -04:00
PySimpleGUI
cafdc42b3b
Merge pull request #4300 from PySimpleGUI/Dev-latest
Dev latest
2021-05-20 15:07:20 -04:00
PySimpleGUI
a1c1ba463a Replaced old MenubarCustom with the new one built into PySimpleGUI 2021-05-20 15:07:05 -04:00
PySimpleGUI
dd25e39d13 Finishing up the MenubarCustom - docstrings, color settings, etc.... Done is being officially declared.... 2021-05-20 15:06:27 -04:00
PySimpleGUI
373a0ff932
Merge pull request #4299 from PySimpleGUI/Dev-latest
Dev latest
2021-05-20 12:55:10 -04:00
PySimpleGUI
3a0e6c3668 Enable changing the font. Better error checking and settings file delete option. 2021-05-20 12:54:53 -04:00
PySimpleGUI
e41d8ffbd4 New Desktop Widget Demo - Date Display 2021-05-20 12:54:14 -04:00
PySimpleGUI
e6e08412cb
Merge pull request #4296 from PySimpleGUI/Dev-latest
Addition of MenubarCustom "element" for use with the CustomTitlebar. …
2021-05-20 10:59:56 -04:00
PySimpleGUI
ec83092de3 Addition of MenubarCustom "element" for use with the CustomTitlebar. Without this it's not possible to have a custom titlebar and a menubar. It is a must-have thing. Improved the location of menus that are torn off. 2021-05-20 10:42:01 -04:00
PySimpleGUI
2cedb0a37f
Merge pull request #4294 from PySimpleGUI/Dev-latest
Sizegrip element - parm change to grip_image that can be a bytestring…
2021-05-19 20:52:41 -04:00
PySimpleGUI
8d4fc14416 Sizegrip element - parm change to grip_image that can be a bytestring or a filename, new SIZE_GRIP_WHITE_BASE64 constant 2021-05-19 20:52:27 -04:00
PySimpleGUI
4894adb70e
Merge pull request #4293 from PySimpleGUI/Dev-latest
New Sizegrip Element. FIX for grab_anywhere! Now sliders, scrollbars,…
2021-05-19 14:00:27 -04:00
PySimpleGUI
1bb22307f5 New Sizegrip Element. FIX for grab_anywhere! Now sliders, scrollbars, multiline, input elements will no longer move the window. 2021-05-19 14:00:12 -04:00
PySimpleGUI
d7fc715162
Merge pull request #4289 from PySimpleGUI/Dev-latest
Added predefined right click menu for exiting and self-editing.  Remo…
2021-05-18 09:54:29 -04:00
PySimpleGUI
26ef16ca23 Added predefined right click menu for exiting and self-editing. Removed older "RAM_Used" demo. 2021-05-18 09:54:12 -04:00
PySimpleGUI
01c34ffd09
Merge pull request #4285 from PySimpleGUI/Dev-latest
Added bind_return_key to Combo. Note that it works like the Listbox b…
2021-05-15 09:35:55 -04:00
PySimpleGUI
ed11316f18 Added bind_return_key to Combo. Note that it works like the Listbox bind_return_key in that the Combo's key is the event returned. 2021-05-15 09:35:36 -04:00
PySimpleGUI
2702b21f1e
Merge pull request #4284 from PySimpleGUI/Dev-latest
Fix for getting wrong Tab ID in Tab.update
2021-05-14 16:35:28 -04:00
PySimpleGUI
f2a0dddf2d Fix for getting wrong Tab ID in Tab.update 2021-05-14 16:34:58 -04:00
PySimpleGUI
db8d4a533a
Merge pull request #4280 from PySimpleGUI/Dev-latest
Removed very old demo.
2021-05-13 10:04:06 -04:00
PySimpleGUI
46767bb66b Removed very old demo. 2021-05-13 10:03:48 -04:00
PySimpleGUI
df3956137e
Merge pull request #4279 from PySimpleGUI/Dev-latest
Fix for bad table
2021-05-12 19:31:50 -04:00
PySimpleGUI
df428c0526 Fix for bad table 2021-05-12 19:31:33 -04:00
PySimpleGUI
a6b062dc67
Merge pull request #4278 from PySimpleGUI/Dev-latest
Release 4.41.2
2021-05-12 19:14:50 -04:00
PySimpleGUI
32e31946dc Release 4.41.2 2021-05-12 19:14:23 -04:00
PySimpleGUI
bc6396a363
Merge pull request #4277 from PySimpleGUI/Dev-latest
Fix for bad table
2021-05-12 19:09:18 -04:00
PySimpleGUI
8936e24745 Fix for bad table 2021-05-12 19:08:57 -04:00
PySimpleGUI
b429dfc60a
Merge pull request #4276 from PySimpleGUI/Dev-latest
Release 4.41.0
2021-05-12 19:05:13 -04:00
PySimpleGUI
35efc51149 Release 4.41.0 2021-05-12 19:04:51 -04:00
PySimpleGUI
a00215b9e6
Merge pull request #4275 from PySimpleGUI/Dev-latest
New and improved readme!
2021-05-12 14:37:07 -04:00
PySimpleGUI
b0f6ae354f New and improved readme! 2021-05-12 14:36:45 -04:00
PySimpleGUI
6c56d4f5fa
Merge pull request #4274 from PySimpleGUI/Dev-latest
Reworked the readme - fixed spelling, shortened parts, simplified.
2021-05-12 10:09:11 -04:00
PySimpleGUI
f1f5e47fc7 Reworked the readme - fixed spelling, shortened parts, simplified. 2021-05-12 10:08:28 -04:00
PySimpleGUI
dc65448726
Merge pull request #4270 from PySimpleGUI/Dev-latest
Added support for all 4 corners
2021-05-11 10:25:56 -04:00
PySimpleGUI
69bec1018b Added support for all 4 corners 2021-05-11 10:15:04 -04:00
PySimpleGUI
c106bc63e5
Merge pull request #4264 from PySimpleGUI/Dev-latest
Demo - Window Location Finder - Drag this window around your screens
2021-05-10 11:37:55 -04:00
PySimpleGUI
8a308783f6 Demo - Window Location Finder - Drag this window around your screens 2021-05-10 11:37:32 -04:00
PySimpleGUI
a742951b7f
Merge pull request #4262 from PySimpleGUI/Dev-latest
New Demo - Execute Py - shows link between global setting of interpre…
2021-05-09 15:52:20 -04:00
PySimpleGUI
97e72e509e New Demo - Execute Py - shows link between global setting of interpreter and the exec API call execute_py_file 2021-05-09 15:52:04 -04:00
PySimpleGUI
92044a9d30
Merge pull request #4261 from PySimpleGUI/Dev-latest
Some new symbols, docstring updates to better explain the expand layo…
2021-05-08 10:50:43 -04:00
PySimpleGUI
9fa57daba2 Some new symbols, docstring updates to better explain the expand layout and contents_changed calls, text that the Global button setting isn't implemented yet. 2021-05-08 10:50:25 -04:00
PySimpleGUI
3fa12e5d33
Merge pull request #4254 from PySimpleGUI/Dev-latest
Added missing Column.contents_changed method to call reference
2021-05-05 09:08:37 -04:00
PySimpleGUI
862029af52 Added missing Column.contents_changed method to call reference 2021-05-05 09:08:20 -04:00
PySimpleGUI
0534326a83
Merge pull request #4243 from PySimpleGUI/Dev-latest
Dev latest
2021-05-02 10:47:25 -04:00
PySimpleGUI
b0084a2d75 A little cleanup 2021-05-02 10:46:31 -04:00
PySimpleGUI
3ccd004865 New Demo - Dispatchers - from the Udemy course 2021-05-02 10:46:19 -04:00
PySimpleGUI
abf98c4a56 Better doctring for read_all_windows. Some stuff for Custom Titlebars, but not ready yet. Start of some ttk global settings (also partial) 2021-05-01 17:11:42 -04:00
PySimpleGUI
d6a4769fcc
Merge pull request #4236 from PySimpleGUI/Dev-latest
Fix for scrollable column still scrolling despite contents being smal…
2021-04-29 16:21:30 -04:00
PySimpleGUI
48530f123b Fix for scrollable column still scrolling despite contents being smaller than what should require scrollbars 2021-04-29 16:20:38 -04:00
PySimpleGUI
91f6e90814
Merge pull request #4230 from PySimpleGUI/Dev-latest
Added the Window.key_dict property
2021-04-27 15:12:05 -04:00
PySimpleGUI
5625d536cf Added the Window.key_dict property 2021-04-27 15:11:45 -04:00
PySimpleGUI
279f7cabb3
Merge pull request #4229 from PySimpleGUI/Dev-latest
Release 4.40.0
2021-04-26 17:08:00 -04:00
PySimpleGUI
33178fe29f Release 4.40.0 2021-04-26 17:07:31 -04:00
PySimpleGUI
ff83a035dd
Merge pull request #4227 from PySimpleGUI/Dev-latest
Reworked the main() GUI to be smaller. Completely re-worked the Issue…
2021-04-25 20:48:01 -04:00
PySimpleGUI
c9fb11362a Reworked the main() GUI to be smaller. Completely re-worked the Issue GUI Help since it was massive, lots of ttk button changes dealing with color, changes to run on 3.4, docstring fixes, s parm added to TabGroup, using error popup for bad button color (may result in a recursive error), and more fun things.... 2021-04-25 20:47:46 -04:00
PySimpleGUI
f89893e65a
Merge pull request #4226 from PySimpleGUI/Dev-latest
Readme update...
2021-04-25 17:57:18 -04:00
PySimpleGUI
3afe09709a Readme update... 2021-04-25 17:57:04 -04:00
PySimpleGUI
706acf5c91
Merge pull request #4224 from PySimpleGUI/Dev-latest
Dev latest
2021-04-24 16:36:49 -04:00
PySimpleGUI
fc095fadcc Fix for extend_layout when a scrollable column is used. New Right Click Menu constant that is an Exit entry only. 2021-04-24 16:36:30 -04:00
PySimpleGUI
5f6857571d Support for double-clicking filenames - Choose the action from the settings 2021-04-24 13:26:22 -04:00
PySimpleGUI
18a763e7d8
Merge pull request #4222 from PySimpleGUI/Dev-latest
Added back functions accidently removed in recent update - popup_anno…
2021-04-23 23:12:54 -04:00
PySimpleGUI
ada515fa72 Added back functions accidently removed in recent update - popup_annoying popup_no_border popup_no_frame popup_no_wait popup_timed sgprint sgprint_close 2021-04-23 23:12:19 -04:00
PySimpleGUI
aeca0897eb
Merge pull request #4219 from PySimpleGUI/Dev-latest
Fix for another problem with color 123456789.  Added theme GrayGrayGr…
2021-04-23 16:41:47 -04:00
PySimpleGUI
68a86b8163 Fix for another problem with color 123456789. Added theme GrayGrayGray to get a completely gray window. 2021-04-23 16:41:23 -04:00
PySimpleGUI
f275692e22
Merge pull request #4216 from PySimpleGUI/Dev-latest
Fix for duplicate keys when extending layout
2021-04-23 09:12:20 -04:00
PySimpleGUI
9b4054fd7e Fix for duplicate keys when extending layout 2021-04-23 09:12:04 -04:00
PySimpleGUI
feed93043f
Merge pull request #4215 from PySimpleGUI/Dev-latest
Made GUI window smaller
2021-04-23 08:44:01 -04:00
PySimpleGUI
bc16f77564 Made GUI window smaller 2021-04-23 08:43:39 -04:00
PySimpleGUI
20db7c2e9d
Merge pull request #4213 from PySimpleGUI/Dev-latest
Fix for right click menu for SystemDefaultForReal
2021-04-23 06:56:20 -04:00
PySimpleGUI
a22b036958 Fix for right click menu for SystemDefaultForReal 2021-04-23 06:56:06 -04:00
PySimpleGUI
9b59b4b343
Merge pull request #4211 from PySimpleGUI/Dev-latest
Set ColorChooserButton target default to match other chooser buttons
2021-04-22 18:15:14 -04:00
PySimpleGUI
5dc24b5a0c Set ColorChooserButton target default to match other chooser buttons 2021-04-22 18:14:50 -04:00
PySimpleGUI
4933ffc310
Merge pull request #4210 from PySimpleGUI/Dev-latest
Made mouseover color code more readable, changed console message when…
2021-04-22 16:27:31 -04:00
PySimpleGUI
6a98409d82 Made mouseover color code more readable, changed console message when using the word "default" 2021-04-22 16:16:18 -04:00
PySimpleGUI
b1d13bd7f8
Merge pull request #4202 from PySimpleGUI/Dev-latest
Dev latest
2021-04-21 10:46:23 -04:00
PySimpleGUI
482d5f7597 Fixed key error, fixed problem with events from elements with no metadata 2021-04-21 10:33:31 -04:00
PySimpleGUI
d3b9a6b9d4 Addition of mouseover_colors (so TTK buttons don't look so ugly by default) - many weird things about this feature that need to be explained (UGH), Checkbox.get returns bool now, bug fixed with debug window, Dummy button closes window in a better way, 2021-04-21 10:32:56 -04:00
PySimpleGUI
069d1d08dc
Merge pull request #4198 from PySimpleGUI/Dev-latest
One more try for RealtimeButton problem. Needed to handle key not fou…
2021-04-19 17:07:50 -04:00
PySimpleGUI
b6697836e9 One more try for RealtimeButton problem. Needed to handle key not found case 2021-04-19 17:07:36 -04:00
PySimpleGUI
80450b993a
Merge pull request #4197 from PySimpleGUI/Dev-latest
Fix for Graph Element dragging complete that was caused when the Real…
2021-04-19 16:32:06 -04:00
PySimpleGUI
ee93134da3 Fix for Graph Element dragging complete that was caused when the RealtimeButton problem was fixed. Title parameter for popup_menu now correctly used 2021-04-19 16:31:43 -04:00
PySimpleGUI
af671d7e70
Merge pull request #4181 from PySimpleGUI/Dev-latest
Addition of size parm to TabGroup element, changed when butono keys a…
2021-04-14 15:49:03 -04:00
PySimpleGUI
834cfc5051 Addition of size parm to TabGroup element, changed when butono keys are set to fix a problem that happened with RealtimeButtons, error popup added to bad button highlight colors, error popup added for bad button images 2021-04-14 15:48:41 -04:00
PySimpleGUI
ac4d923cc8
Merge pull request #4179 from PySimpleGUI/Dev-latest
Dev latest
2021-04-12 17:53:16 -04:00
PySimpleGUI
3660451c9c Right click menu added as a way to edit the program. 2021-04-12 15:50:52 -04:00
PySimpleGUI
371ff39dcb Removed very old timer demo. The same timer is now in the Demo_Desktop_Widget_Timer.py 2021-04-12 15:46:39 -04:00
PySimpleGUI
21d7746458
Merge pull request #4178 from PySimpleGUI/Dev-latest
Fix for TCL error in Col element (Nice Jason!)
2021-04-12 04:06:31 -04:00
PySimpleGUI
7e8f1cd9f1 Fix for TCL error in Col element (Nice Jason!) 2021-04-12 04:06:13 -04:00
PySimpleGUI
af5bda7d58
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2021-04-11 19:47:45 -04:00
PySimpleGUI
b32e5abe5d
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2021-04-11 19:45:59 -04:00
PySimpleGUI
e0e3b86614
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2021-04-11 19:43:06 -04:00
PySimpleGUI
822de43ef4
Merge pull request #4174 from PySimpleGUI/Dev-latest
Release 4.39.1
2021-04-11 19:22:21 -04:00
PySimpleGUI
9a63522db7 Release 4.39.1 2021-04-11 19:22:05 -04:00
PySimpleGUI
53f66bc341
Merge pull request #4172 from PySimpleGUI/Dev-latest
Release 4.39.0
2021-04-11 18:51:50 -04:00
PySimpleGUI
b408faf0eb Release 4.39.0 2021-04-11 18:51:27 -04:00
PySimpleGUI
7ea4bfc39a
Merge pull request #4170 from PySimpleGUI/Dev-latest
Added GitHub Issue posting GUI
2021-04-11 12:43:27 -04:00
PySimpleGUI
de88e2944d Added GitHub Issue posting GUI 2021-04-11 12:43:05 -04:00
PySimpleGUI
4dec65629d
Merge pull request #4168 from PySimpleGUI/Dev-latest
Right click menus added to Button & ButtonMenu elements MENU_RIGHT_CL…
2021-04-10 21:46:35 -04:00
PySimpleGUI
0e482cd772 Right click menus added to Button & ButtonMenu elements MENU_RIGHT_CLICK_DISABLED constant 2021-04-10 21:46:05 -04:00
PySimpleGUI
e41f836685
Merge pull request #4167 from PySimpleGUI/Dev-latest
Added emojis to repoi
2021-04-10 12:58:17 -04:00
PySimpleGUI
29fe1db2a5 Added emojis to repoi 2021-04-10 12:57:57 -04:00
PySimpleGUI
e81f365514
Merge pull request #4166 from PySimpleGUI/Dev-latest
FIX for Window.write_event_value (THANK YOU @daemon2021), error popup…
2021-04-09 13:17:46 -04:00
PySimpleGUI
2875966ec3 FIX for Window.write_event_value (THANK YOU @daemon2021), error popup for execute_command_subprocess 2021-04-09 13:16:55 -04:00
PySimpleGUI
b8d4fc8499
Merge pull request #4165 from PySimpleGUI/Dev-latest
Accidental imports somehow got coped in!
2021-04-08 23:16:09 -04:00
PySimpleGUI
e4552b222c Accidental imports somehow got coped in! 2021-04-08 23:15:53 -04:00
PySimpleGUI
d801a816e2
Merge pull request #4164 from PySimpleGUI/Dev-latest
New  Window paramter right_click_menu_selected_colors - dual color st…
2021-04-08 23:13:28 -04:00
PySimpleGUI
3d4ac6dc7f New Window paramter right_click_menu_selected_colors - dual color string or tuple to indicate color to be used for the menu_popup., title added to popup_menu 2021-04-08 23:13:00 -04:00
PySimpleGUI
94fa74143d
Merge pull request #4163 from PySimpleGUI/Dev-latest
s parameter, popup_menu, new symbols, some new figlets
2021-04-08 21:07:12 -04:00
PySimpleGUI
fa2415d84f s parameter, popup_menu, new symbols, some new figlets 2021-04-08 21:06:49 -04:00
PySimpleGUI
df160c0e80
Merge pull request #4161 from PySimpleGUI/Dev-latest
Updated instructions, confirmation message, etc.
2021-04-07 21:21:51 -04:00
PySimpleGUI
1fd65cd088 Updated instructions, confirmation message, etc. 2021-04-07 21:21:30 -04:00
PySimpleGUI
e65ec4fd0c
Merge pull request #4160 from PySimpleGUI/Dev-latest
Reworked the demo
2021-04-07 20:39:19 -04:00
PySimpleGUI
aa7ff2516d Reworked the demo 2021-04-07 20:38:59 -04:00
PySimpleGUI
911537d28d
Merge pull request #4157 from PySimpleGUI/Dev-latest
put back __version__
2021-04-06 23:48:44 -04:00
PySimpleGUI
7828e6a7ee put back __version__ 2021-04-06 23:48:26 -04:00
PySimpleGUI
d5caf3ea1f
Merge pull request #4154 from PySimpleGUI/Dev-latest
Removed old Pi Robotics demo.  Added Demo_Buttons_Realtime
2021-04-06 17:46:02 -04:00
PySimpleGUI
c095497fb9 Removed old Pi Robotics demo. Added Demo_Buttons_Realtime 2021-04-06 17:45:41 -04:00
PySimpleGUI
49e31682ec
Merge pull request #4153 from PySimpleGUI/Dev-latest
Fix for RealtimeButton, framework_version - a new variable for all po…
2021-04-06 16:12:04 -04:00
PySimpleGUI
07d1218b75 Fix for RealtimeButton, framework_version - a new variable for all ports, MENU_RIGHT_CLICK_EDITME_EXIT - a pre-defined simple right click menu 2021-04-06 16:10:14 -04:00
PySimpleGUI
2ee30902af
Merge pull request #4152 from PySimpleGUI/Dev-latest
Only put a paste comment in code if < 10 chars of code entered
2021-04-06 08:47:57 -04:00
PySimpleGUI
c83e538b86 Only put a paste comment in code if < 10 chars of code entered 2021-04-06 08:47:41 -04:00
PySimpleGUI
62485598e9
Merge pull request #4146 from PySimpleGUI/Dev-latest
Beta Release of the GitHub Issue Post
2021-04-05 20:45:45 -04:00
PySimpleGUI
46f05cc500 Beta Release of the GitHub Issue Post 2021-04-05 20:45:30 -04:00
PySimpleGUI
b108844731
Merge pull request #4145 from PySimpleGUI/Dev-latest
Double click support
2021-04-05 18:45:12 -04:00
PySimpleGUI
b3cd9b8419 Double click support 2021-04-05 18:44:53 -04:00
PySimpleGUI
e8808b2f7f
Merge pull request #4143 from PySimpleGUI/Dev-latest
Fixed crash problem with image error happened with Image element.
2021-04-04 18:41:34 -04:00
PySimpleGUI
d37da8bc22 Fixed crash problem with image error happened with Image element. 2021-04-04 18:41:12 -04:00
PySimpleGUI
a251ebfd85
Merge pull request #4142 from PySimpleGUI/Dev-latest
Dev latest
2021-04-04 15:35:11 -04:00
PySimpleGUI
e69829b727 Allow the window to be resized and thus expand size of listbox and multiline. 🔥 Addition of hotkeys 🔥 2021-04-04 15:34:53 -04:00
PySimpleGUI
ddb63b4d35 Expand listboxes correctly. 2021-04-04 15:33:34 -04:00
PySimpleGUI
496ff6b98c
Merge pull request #4141 from PySimpleGUI/Dev-latest
Fix window's title
2021-04-04 15:22:52 -04:00
PySimpleGUI
2b7c43cdb7 Fix window's title 2021-04-04 15:22:36 -04:00
PySimpleGUI
5a101d8a0f
Merge pull request #4139 from PySimpleGUI/Dev-latest
New Demo - Edit Me right click menu
2021-04-04 15:21:07 -04:00
PySimpleGUI
be21783a0e New Demo - Edit Me right click menu 2021-04-04 15:20:48 -04:00
PySimpleGUI
1fad9c2f69
Merge pull request #4130 from PySimpleGUI/Dev-latest
right_click_menu_tearoff parm added to Window, expand_x & expand_y ad…
2021-04-02 20:18:34 -04:00
PySimpleGUI
8955b9db77 right_click_menu_tearoff parm added to Window, expand_x & expand_y added to vtop vbottom vcenter, listbox has new listbox_frame member variable needed if wanting listbox to resize with the window, changed print in Image element creation if error happens to an error popup (cannot use stdout/stderr because they've been rerouted and will also cause errors), error popup wraps text better 2021-04-02 20:18:08 -04:00
PySimpleGUI
974bd63486
Merge pull request #4127 from PySimpleGUI/Dev-latest
Cleaned up unnecessary code
2021-04-01 19:14:37 -04:00
PySimpleGUI
c890ba0b63 Cleaned up unnecessary code 2021-04-01 19:14:20 -04:00
PySimpleGUI
1b15dcb81c
Merge pull request #4126 from PySimpleGUI/Dev-latest
New Demo - Desktop Widget (aka Rainmeter) Digital Picture Frame
2021-04-01 18:17:14 -04:00
PySimpleGUI
78e41a8fcf New Demo - Desktop Widget (aka Rainmeter) Digital Picture Frame 2021-04-01 18:16:52 -04:00
PySimpleGUI
6b1d89589f
Merge pull request #4125 from PySimpleGUI/Dev-latest
Hotkeys added for all of the input fields!
2021-03-31 10:24:16 -04:00
PySimpleGUI
2085a6ec3b Hotkeys added for all of the input fields! 2021-03-31 10:23:58 -04:00
PySimpleGUI
e8c57aed55
Merge pull request #4124 from PySimpleGUI/Dev-latest
Macs can force buttons to be tk buttons rather than ttk only (use wit…
2021-03-31 09:48:29 -04:00
PySimpleGUI
5458b64f08 Macs can force buttons to be tk buttons rather than ttk only (use with care and good luck.. hope it works out for you!), listbbox now has highlight controls exposed, Element.block_focus method added but needs to be renamed before final release 2021-03-31 09:47:48 -04:00
PySimpleGUI
d521d29cf7
Merge pull request #4120 from PySimpleGUI/Dev-latest
Much more up to date Demo of Autocomplete. Based on program by @bonklers
2021-03-30 17:56:17 -04:00
PySimpleGUI
a51bca66b7 Much more up to date Demo of Autocomplete. Based on program by @bonklers 2021-03-30 17:55:20 -04:00
PySimpleGUI
e8bdb78018 Set theme jekyll-theme-modernist 2021-03-27 15:08:52 -04:00
PySimpleGUI
aebee259c7
Merge pull request #4115 from PySimpleGUI/Dev-latest
Updated to use WIN_CLOSED constant
2021-03-26 20:19:47 -04:00
PySimpleGUI
06579d678e Updated to use WIN_CLOSED constant 2021-03-26 20:19:23 -04:00
PySimpleGUI
5e04c63af4
Merge pull request #4103 from PySimpleGUI/Dev-latest
Better theme previewing. Better window ordering on Linux
2021-03-23 17:15:49 -04:00
PySimpleGUI
d18b7e6ca1 Better theme previewing. Better window ordering on Linux 2021-03-23 17:15:33 -04:00
PySimpleGUI
d5a56ef035
Merge pull request #4100 from PySimpleGUI/Dev-latest
Dev latest
2021-03-23 16:09:50 -04:00
PySimpleGUI
567c4c124d Quotes around filename needed 2021-03-23 16:09:32 -04:00
PySimpleGUI
294d37e4c7 Added keep_on_top to windows and popups. Needed for Linux version 2021-03-23 16:09:11 -04:00
PySimpleGUI
32918652ba
Merge pull request #4099 from PySimpleGUI/Dev-latest
Added versioning info.  Added button to global settings
2021-03-22 16:46:29 -04:00
PySimpleGUI
3d95bc52e9 Added versioning info. Added button to global settings 2021-03-22 16:46:13 -04:00
PySimpleGUI
d1d70602f2
Merge pull request #4098 from PySimpleGUI/Dev-latest
Demo that uses PyCharm's diff utility to compare 2 files.  Keeps a hi…
2021-03-22 15:45:00 -04:00
PySimpleGUI
58b9f79d33 Demo that uses PyCharm's diff utility to compare 2 files. Keeps a history of previously selected files 2021-03-22 15:44:38 -04:00
PySimpleGUI
8828e823e4
Merge pull request #4096 from PySimpleGUI/Dev-latest
New Demo - how to "reuse" a layout (but not by actually reusing it)
2021-03-22 13:33:48 -04:00
PySimpleGUI
91ab3a9596 New Demo - how to "reuse" a layout (but not by actually reusing it) 2021-03-22 13:33:31 -04:00
PySimpleGUI
a4d7ff89c1
Merge pull request #4095 from PySimpleGUI/Dev-latest
Dev latest
2021-03-22 09:54:52 -04:00
PySimpleGUI
39dcf1c551 Merge branch 'Dev-latest' of https://github.com/PySimpleGUI/PySimpleGUI into Dev-latest 2021-03-22 09:54:33 -04:00
PySimpleGUI
9caa3b3bdb New Demo - A template for Rainmater-style Desktop Widgets - has the majority of the features a widget would need is in this template. 2021-03-22 09:54:27 -04:00
PySimpleGUI
0dd6f3c990
Merge pull request #4092 from PySimpleGUI/Dev-latest
Release 4.38.0
2021-03-21 18:31:17 -04:00
PySimpleGUI
49f47126a0
Merge branch 'master' into Dev-latest 2021-03-21 18:31:10 -04:00
PySimpleGUI
c175416d0b Release 4.,38.0 2021-03-21 18:29:01 -04:00
PySimpleGUI
5f6327fe6e
Merge pull request #4091 from PySimpleGUI/Dev-latest
Better duplicate key error reporting
2021-03-21 18:20:34 -04:00
PySimpleGUI
533af9f3a9 Better duplicate key error reporting 2021-03-21 18:20:17 -04:00
PySimpleGUI
6b75a297e1
Merge pull request #4090 from PySimpleGUI/Dev-latest
Dev latest
2021-03-21 16:14:20 -04:00
PySimpleGUI
28e2f3c687 Added icon parm to popup_scrolled. Fixed old problem with Menus stripping out &'s, saving the old theme in the debugger code 2021-03-21 16:14:02 -04:00
PySimpleGUI
c2e509e097 Removed and replaced debugger logos 2021-03-21 11:47:48 -04:00
PySimpleGUI
7a61d114c3
Merge pull request #4088 from PySimpleGUI/Dev-latest
Added section on handling window closed events.   Now includes descri…
2021-03-21 10:09:44 -04:00
PySimpleGUI
7e822d849e Added section on handling window closed events. Now includes description of how to use the enable_close_attempted_event parameter. 2021-03-21 10:09:29 -04:00
PySimpleGUI
fc2f0d54c4
Merge pull request #4087 from PySimpleGUI/Dev-latest
Demo Browser screenshot
2021-03-21 10:03:07 -04:00
PySimpleGUI
1481ae4446 Demo Browser screenshot 2021-03-21 10:02:55 -04:00
PySimpleGUI
f2755eac6c
Merge pull request #4086 from PySimpleGUI/Dev-latest
Updated demo to confirm both the Exit button and "X" for closing window.
2021-03-21 10:00:00 -04:00
PySimpleGUI
b453207c05 Updated demo to confirm both the Exit button and "X" for closing window. 2021-03-21 09:59:44 -04:00
PySimpleGUI
4c903ba88b
Merge pull request #4085 from PySimpleGUI/Dev-latest
New image
2021-03-21 09:50:36 -04:00
PySimpleGUI
66ff5da9c9 New image 2021-03-21 09:50:23 -04:00
PySimpleGUI
dfa5770c4f
Merge pull request #4084 from PySimpleGUI/Dev-latest
Added image for docs
2021-03-21 09:42:48 -04:00
PySimpleGUI
46621cfb66 Added image for docs 2021-03-21 09:42:34 -04:00
PySimpleGUI
4649436f1a
Merge pull request #4082 from PySimpleGUI/Dev-latest
MENU_SHORTCUT_CHARACTER constant, new icon tests, added Exec API call…
2021-03-20 20:57:49 -04:00
PySimpleGUI
f4d016b9ea MENU_SHORTCUT_CHARACTER constant, new icon tests, added Exec API call execute_find_callers_filename 2021-03-20 20:57:05 -04:00
PySimpleGUI
6bbc79b241
Merge pull request #4081 from PySimpleGUI/Dev-latest
Dev latest
2021-03-20 19:06:44 -04:00
PySimpleGUI
819468129d New 3-window demo. Side by side compare of traditional and custom titlebar and menubar 2021-03-20 19:06:28 -04:00
PySimpleGUI
b3f870da93 Dark Green theme 2021-03-20 19:06:00 -04:00
PySimpleGUI
e2e630a101
Merge pull request #4080 from PySimpleGUI/Dev-latest
Removed the no_scrollbar parm
2021-03-20 10:22:34 -04:00
PySimpleGUI
e30c80e9f9 Removed the no_scrollbar parm 2021-03-20 10:22:23 -04:00
PySimpleGUI
dbcd1d92b3
Merge pull request #4079 from PySimpleGUI/Dev-latest
Added shortcut char
2021-03-20 10:19:06 -04:00
PySimpleGUI
7114bc00ad Added shortcut char 2021-03-20 10:18:56 -04:00
PySimpleGUI
5f3bd567f0
Merge pull request #4078 from PySimpleGUI/Dev-latest
New Demo - a custom Menubar Element
2021-03-20 10:04:35 -04:00
PySimpleGUI
6652082c51 New Demo - a custom Menubar Element 2021-03-20 10:04:22 -04:00
PySimpleGUI
9a5ea1ee07
Merge pull request #4076 from PySimpleGUI/Dev-latest
Better theme previewing. Storing font for later use or manual editing
2021-03-19 15:51:09 -04:00
PySimpleGUI
9d5ee5f18f Better theme previewing. Storing font for later use or manual editing 2021-03-19 15:47:12 -04:00
PySimpleGUI
dc133859a4
Merge pull request #4071 from PySimpleGUI/Dev-latest
Dev latest
2021-03-18 21:35:53 -04:00
PySimpleGUI
88ed763023 Open get title and get date windows at same location as the main window 2021-03-18 21:34:19 -04:00
PySimpleGUI
799ce7c9c1 Most complete "Desktop Widget" design pattern. Can choose the theme, alpha channel, location, and it's all saved in the settings file for the future sessions. 99 lines... not bad for 99 lines..... 2021-03-18 21:31:11 -04:00
PySimpleGUI
2facad40e5
Merge pull request #4070 from PySimpleGUI/Dev-latest
New demo - Desktop Widget that counts days since some date.  Use it a…
2021-03-18 11:03:18 -04:00
PySimpleGUI
ebae350c1f New demo - Desktop Widget that counts days since some date. Use it as a motivational tool 2021-03-18 11:02:31 -04:00
PySimpleGUI
7121b3fa93
Merge pull request #4068 from PySimpleGUI/Dev-latest
Updates with the latest Demo Browser screenshots and instructions
2021-03-17 10:51:28 -04:00
PySimpleGUI
6a30e4d2da Updates with the latest Demo Browser screenshots and instructions 2021-03-17 10:51:11 -04:00
PySimpleGUI
d6f1a9d753
Merge pull request #4067 from PySimpleGUI/Dev-latest
Cookbook image
2021-03-17 10:41:39 -04:00
PySimpleGUI
27aefef8e4 Cookbook image 2021-03-17 10:41:24 -04:00
PySimpleGUI
0b3562cf95
Merge pull request #4066 from PySimpleGUI/Dev-latest
Added ability to use older versions of PySimpleGUI by trying sg.execu…
2021-03-17 10:32:09 -04:00
PySimpleGUI
04379b930d Added ability to use older versions of PySimpleGUI by trying sg.execute_editor and launching manually if it fails. Added quotes around __file__ when self-editing 2021-03-17 10:31:53 -04:00
PySimpleGUI
cfc52da7da
Merge pull request #4065 from PySimpleGUI/Dev-latest
Yes....another cookbook image...
2021-03-17 10:05:35 -04:00
PySimpleGUI
c18c8cc03d Yes....another cookbook image... 2021-03-17 10:05:18 -04:00
PySimpleGUI
acd462e04a
Merge pull request #4064 from PySimpleGUI/Dev-latest
Cookbook image
2021-03-17 10:01:00 -04:00
PySimpleGUI
8366c4640e Cookbook image 2021-03-17 10:00:43 -04:00
PySimpleGUI
40cdd84c47
Merge pull request #4063 from PySimpleGUI/Dev-latest
More cookbook images
2021-03-17 09:53:30 -04:00
PySimpleGUI
2c9b309704 More cookbook images 2021-03-17 09:53:05 -04:00
PySimpleGUI
024a18d6d1
Merge pull request #4062 from PySimpleGUI/Dev-latest
Images for Cookbook update
2021-03-17 09:43:39 -04:00
PySimpleGUI
0d7d33ee4b Images for Cookbook update 2021-03-17 09:43:19 -04:00
PySimpleGUI
f5820423bd
Merge pull request #4061 from PySimpleGUI/Dev-latest
Readme for the readme_creator folder.
2021-03-17 09:22:54 -04:00
PySimpleGUI
fa602367c2 Readme for the readme_creator folder. 2021-03-17 09:22:39 -04:00
PySimpleGUI
d946631992
Merge pull request #4058 from PySimpleGUI/Dev-latest
Multiline scrollbar renamed to no_scrollbar to match the Listbox element
2021-03-16 15:37:17 -04:00
PySimpleGUI
160ce5d1ff Multiline scrollbar renamed to no_scrollbar to match the Listbox element 2021-03-16 15:37:00 -04:00
PySimpleGUI
18b13749d7
Merge pull request #4056 from PySimpleGUI/Dev-latest
Addition of command line used to launch the process.  Updated keys to…
2021-03-16 08:06:42 -04:00
PySimpleGUI
e44943ccee Addition of command line used to launch the process. Updated keys to be compliant with coding guidelines 2021-03-16 08:06:24 -04:00
PySimpleGUI
c601f1a249
Merge pull request #4055 from PySimpleGUI/Dev-latest
Release 4.37.0
2021-03-15 16:39:19 -04:00
PySimpleGUI
bf764aa1e1 Release 4.37.0 2021-03-15 16:39:00 -04:00
PySimpleGUI
c8bf222b4c
Merge pull request #4054 from PySimpleGUI/Dev-latest
Runs on 4.32.1 now.  Added support for the launching of subprocesses …
2021-03-15 16:26:28 -04:00
PySimpleGUI
3e411d9853 Runs on 4.32.1 now. Added support for the launching of subprocesses using functions local to the program in case the user has an older PySimpleGUI. 2021-03-15 16:26:10 -04:00
PySimpleGUI
21056bac24
Merge pull request #4053 from PySimpleGUI/Dev-latest
New function execute_subprocess_still_running. Lots of changes to oth…
2021-03-15 13:34:01 -04:00
PySimpleGUI
a3f841cdbe New function execute_subprocess_still_running. Lots of changes to other Exec APIs to deal with the collection of output (controls if the output should be pipped or sent to Null) 2021-03-15 13:33:43 -04:00
PySimpleGUI
b97cd3097b
Merge pull request #4049 from PySimpleGUI/Dev-latest
Release 4.36.0
2021-03-14 22:14:48 -04:00
PySimpleGUI
002718742a Release 4.36.0 2021-03-14 22:14:30 -04:00
PySimpleGUI
b426b964dc
Merge pull request #4048 from PySimpleGUI/Dev-latest
Removed the re-routing of stdout
2021-03-14 13:58:18 -04:00
PySimpleGUI
968cd8af6c Removed the re-routing of stdout 2021-03-14 13:58:01 -04:00
PySimpleGUI
34049a9562
Merge pull request #4047 from PySimpleGUI/Dev-latest
New Figlet Demo
2021-03-14 13:53:28 -04:00
PySimpleGUI
8336c444c3 New Figlet Demo 2021-03-14 13:53:09 -04:00
PySimpleGUI
f329bfe870
Merge pull request #4043 from PySimpleGUI/Dev-latest
Added python version to list of version numbers shown
2021-03-13 11:54:28 -05:00
PySimpleGUI
1d662e5530 Added python version to list of version numbers shown 2021-03-13 11:54:11 -05:00
PySimpleGUI
6173844e65
Merge pull request #4042 from PySimpleGUI/Dev-latest
Addition of " around commands and changed format of the command parm …
2021-03-13 11:27:57 -05:00
PySimpleGUI
938be932ae Addition of " around commands and changed format of the command parm sent to Popen 2021-03-13 11:27:43 -05:00
PySimpleGUI
ba806985a7
Merge pull request #4041 from PySimpleGUI/Dev-latest
Fix in execute_command_subprocess - bug caused problems on 3,8, 3.9, …
2021-03-13 09:15:51 -05:00
PySimpleGUI
659d550441 Fix in execute_command_subprocess - bug caused problems on 3,8, 3.9, 3.10 but not 3.6, 3.7. 2021-03-13 09:15:39 -05:00
PySimpleGUI
75f5dc8749
Merge pull request #4039 from PySimpleGUI/Dev-latest
Dev latest
2021-03-12 13:08:39 -05:00
PySimpleGUI
01af23431c Added a window-level bind 2021-03-12 13:08:20 -05:00
PySimpleGUI
9d4d6d42cc New demo to show how to use 1 line of code to add a hotkey to your program 2021-03-12 13:07:57 -05:00
PySimpleGUI
31eaaec236
Merge pull request #4038 from PySimpleGUI/Dev-latest
scrollbar parm added to Multiline Element
2021-03-12 11:55:47 -05:00
PySimpleGUI
501b175c34 scrollbar parm added to Multiline Element 2021-03-12 11:55:31 -05:00
PySimpleGUI
0f575b191b
Merge pull request #4037 from PySimpleGUI/Dev-latest
execute_editor will add " " around filenames if there are spaces in t…
2021-03-12 11:41:51 -05:00
PySimpleGUI
63098232a4 execute_editor will add " " around filenames if there are spaces in the filename and if running on windows and there are no quotes 2021-03-12 11:41:35 -05:00
PySimpleGUI
9351054956
Merge pull request #4035 from PySimpleGUI/Dev-latest
Themes - replace user requested name "gray" with "grey" (FINALLY I ca…
2021-03-12 08:36:38 -05:00
PySimpleGUI
0a802852e8 Themes - replace user requested name "gray" with "grey" (FINALLY I can stop guessing wrong by making both right!) 2021-03-12 08:36:20 -05:00
PySimpleGUI
911ee7e4b3
Merge pull request #4034 from PySimpleGUI/Dev-latest
plus logo
2021-03-11 13:24:24 -05:00
PySimpleGUI
f746068d16 plus logo 2021-03-11 13:24:08 -05:00
PySimpleGUI
a383b9d579
Merge pull request #4033 from PySimpleGUI/Dev-latest
Added a custom titlebar
2021-03-11 09:07:57 -05:00
PySimpleGUI
8a3e33c70e Added a custom titlebar 2021-03-11 09:07:42 -05:00
PySimpleGUI
a91ba7fef6
Merge pull request #4032 from PySimpleGUI/Dev-latest
Added ability to change light/dark. Image changed to be nothing when …
2021-03-11 08:57:17 -05:00
PySimpleGUI
eb0ec49ef4 Added ability to change light/dark. Image changed to be nothing when animation isn't playing. Made the buttons 1/2 the size using subsample. 2021-03-11 08:57:00 -05:00
PySimpleGUI
753b4d6964
Merge pull request #4031 from PySimpleGUI/Dev-latest
Change how bind events modify tuple keys. Fixed subsample problem in …
2021-03-11 08:28:32 -05:00
PySimpleGUI
0279a53b81 Change how bind events modify tuple keys. Fixed subsample problem in button update. fixed update_animation to get frame count correct. popup_animated returns False if problem updating the popup happened 2021-03-11 08:28:17 -05:00
PySimpleGUI
f2cb8a4411
Merge pull request #4028 from PySimpleGUI/Dev-latest
New Demo - Material "feel".  Very simple window that's has elements c…
2021-03-10 11:55:24 -05:00
PySimpleGUI
6a546330f8 New Demo - Material "feel". Very simple window that's has elements centered 2021-03-10 11:55:09 -05:00
PySimpleGUI
3834faffc3
Merge pull request #4025 from PySimpleGUI/Dev-latest
More checks for COLOR_SYSTEM_DEFAULT, changed GreenTan theme to use b…
2021-03-09 12:59:12 -05:00
PySimpleGUI
ce80b7d0b3 More checks for COLOR_SYSTEM_DEFAULT, changed GreenTan theme to use black rather than the system default value, some cleanup of debugger 2021-03-09 12:58:53 -05:00
PySimpleGUI
7656d105c9
Merge pull request #4024 from PySimpleGUI/Dev-latest
Removed note about ignore case not working... it is working now.  Add…
2021-03-09 09:14:59 -05:00
PySimpleGUI
369f6d9818 Removed note about ignore case not working... it is working now. Added code to enable user to Cancel from choosing a line to edit 2021-03-09 09:14:40 -05:00
PySimpleGUI
30f0c70be0
Merge pull request #4021 from PySimpleGUI/Dev-latest
Renaming the demo browser to be more obvious
2021-03-09 07:12:55 -05:00
PySimpleGUI
2301652dd9 Renaming the demo browser to be more obvious 2021-03-09 07:12:31 -05:00
PySimpleGUI
aa03d3e72b
Merge pull request #4017 from PySimpleGUI/Dev-latest
Better global theme support. Moved the line number to the front of th…
2021-03-07 18:48:43 -05:00
PySimpleGUI
d27b337902 Better global theme support. Moved the line number to the front of the output 2021-03-07 18:48:26 -05:00
PySimpleGUI
adcaa2280c
Merge pull request #4016 from PySimpleGUI/Dev-latest
Updated demo to use newer coding guidelines, better key format
2021-03-07 13:02:00 -05:00
PySimpleGUI
923723f7a7 Updated demo to use newer coding guidelines, better key format 2021-03-07 13:01:42 -05:00
PySimpleGUI
f3d9566e21
Merge pull request #4014 from PySimpleGUI/Dev-latest
Emojis
2021-03-07 02:50:20 -05:00
PySimpleGUI
62fbb19bbd Emojis 2021-03-07 02:49:26 -05:00
PySimpleGUI
ab77fcfe9d
Merge pull request #4013 from PySimpleGUI/Dev-latest
Removed the importing of individual elements. Simplified and added mo…
2021-03-06 23:53:40 -05:00
PySimpleGUI
55424278ba Removed the importing of individual elements. Simplified and added more comments 2021-03-06 23:53:21 -05:00
PySimpleGUI
96f343c725
Merge pull request #4006 from PySimpleGUI/Dev-latest
Updated Theme addition, Buttons with images, Script launcher, Progres…
2021-03-04 14:44:05 -05:00
PySimpleGUI
42a7f5999b Updated Theme addition, Buttons with images, Script launcher, ProgressBar, Math, Compound Element, removed calling Finalize 2021-03-04 14:43:49 -05:00
PySimpleGUI
3874d9d821
Merge pull request #4005 from PySimpleGUI/Dev-latest
For cookbook
2021-03-04 14:35:43 -05:00
PySimpleGUI
91a16084fb For cookbook 2021-03-04 14:35:28 -05:00
PySimpleGUI
d6412a3b60
Merge pull request #4004 from PySimpleGUI/Dev-latest
Cookbook image
2021-03-04 14:32:47 -05:00
PySimpleGUI
3bb3878ed2 Cookbook image 2021-03-04 14:32:31 -05:00
PySimpleGUI
17f8a6f327
Merge pull request #4003 from PySimpleGUI/Dev-latest
Cookbook image
2021-03-04 14:10:51 -05:00
PySimpleGUI
bba3f9df3c Cookbook image 2021-03-04 14:10:33 -05:00
PySimpleGUI
5634b14736
Merge pull request #4002 from PySimpleGUI/Dev-latest
Cookbook image
2021-03-04 14:03:34 -05:00
PySimpleGUI
458b218e56 Cookbook image 2021-03-04 14:03:19 -05:00
PySimpleGUI
5480e7cef6
Merge pull request #4001 from PySimpleGUI/Dev-latest
new image for cookbook
2021-03-04 13:32:35 -05:00
PySimpleGUI
5b6a8fa6e7 new image for cookbook 2021-03-04 13:32:15 -05:00
PySimpleGUI
78f916928f
Merge pull request #4000 from PySimpleGUI/Dev-latest
New demo on how to add your own custom theme and then use it
2021-03-04 12:31:59 -05:00
PySimpleGUI
8dcfed8bc9 New demo on how to add your own custom theme and then use it 2021-03-04 12:31:42 -05:00
PySimpleGUI
17faff6f47
Merge pull request #3998 from PySimpleGUI/Dev-latest
Dev latest
2021-03-03 16:10:53 -05:00
PySimpleGUI
e2c98a26ac Release 4.35.0 2021-03-03 16:10:27 -05:00
PySimpleGUI
6401ef34dd New Demo with the PySimpleGUI Helpers 2021-03-03 16:07:08 -05:00
PySimpleGUI
62f7b39602 Release 4.35.0 2021-03-03 16:06:54 -05:00
PySimpleGUI
f629505170
Merge pull request #3997 from PySimpleGUI/Dev-latest
Immediately apply global theme changes (for all future window creations)
2021-03-03 11:51:17 -05:00
PySimpleGUI
72c4484629 Immediately apply global theme changes (for all future window creations) 2021-03-03 11:50:56 -05:00
PySimpleGUI
eff46ad319
Merge pull request #3996 from PySimpleGUI/Dev-latest
Added keep on top to the theme swatches window
2021-03-03 10:13:12 -05:00
PySimpleGUI
31a65ddf18 Added keep on top to the theme swatches window 2021-03-03 10:12:31 -05:00
PySimpleGUI
8aa6490e0d
Merge pull request #3995 from PySimpleGUI/Dev-latest
Theme swatch previewer copies color to clipboard correctly now. Previ…
2021-03-03 09:29:11 -05:00
PySimpleGUI
65a2dfc85b Theme swatch previewer copies color to clipboard correctly now. Previously only printed it. Also set the window size to a fixed size. 2021-03-03 09:28:54 -05:00
PySimpleGUI
b859d423ff
Merge pull request #3994 from PySimpleGUI/Dev-latest
Dev latest
2021-03-03 07:20:28 -05:00
PySimpleGUI
a020214fb6 Bump ver for last fix 2021-03-03 07:20:12 -05:00
PySimpleGUI
2b2a9ba079 Fixed bug in the execute_editor call 2021-03-03 07:19:26 -05:00
PySimpleGUI
b97effb22b
Merge pull request #3993 from PySimpleGUI/Dev-latest
Use global settings for the editor and the explorer if set.  Also has…
2021-03-03 07:01:16 -05:00
PySimpleGUI
e096a2f0fb Fix for leaving settings blank 2021-03-03 07:00:37 -05:00
PySimpleGUI
1927caafd8 Use global settings for the editor and the explorer if set. Also has the latest searching code for faster searches. 2021-03-03 06:54:33 -05:00
PySimpleGUI
1bedfbfc15
Merge pull request #3992 from PySimpleGUI/Dev-latest
New traceback error handling & messages, The Exec APIs exec command, …
2021-03-02 17:39:21 -05:00
PySimpleGUI
4b79c54237 New traceback error handling & messages, The Exec APIs exec command, exec py, exec editor, exec file explorer, more global settings, buttoning up the release.... 2021-03-02 17:39:02 -05:00
PySimpleGUI
427cf350ef
Merge pull request #3988 from PySimpleGUI/Dev-latest
Simple change to test git
2021-03-01 15:26:23 -05:00
PySimpleGUI
f435629d9a Simple change to test git 2021-03-01 15:25:54 -05:00
PySimpleGUI
f1a3cbb3d8
Merge pull request #3985 from PySimpleGUI/Dev-latest
Cleaning up demos so local changes get rolled in.  Old demos removed.…
2021-03-01 07:00:01 -05:00
PySimpleGUI
0ec79ce4b4 Cleaning up demos so local changes get rolled in. Old demos removed. There is a significant effort underway 2021-03-01 06:59:36 -05:00
PySimpleGUI
f83227ab3c
Merge pull request #3984 from PySimpleGUI/Dev-latest
Added OptionMenu element, cleaned up TabGroup layout.
2021-03-01 05:45:12 -05:00
PySimpleGUI
724d6ae7a9 Added OptionMenu element, cleaned up TabGroup layout. 2021-03-01 05:44:40 -05:00
PySimpleGUI
27aa2ffb04
Merge pull request #3982 from PySimpleGUI/Dev-latest
Removed extra read
2021-03-01 04:27:45 -05:00
PySimpleGUI
4491798db2 Removed extra read 2021-03-01 04:27:26 -05:00
PySimpleGUI
8c01860696
Merge pull request #3979 from PySimpleGUI/Dev-latest
Addition of Thonny to editor strings, fix in button color conversion …
2021-02-28 15:29:15 -05:00
PySimpleGUI
3613701c11 Addition of Thonny to editor strings, fix in button color conversion code. 2021-02-28 15:28:58 -05:00
PySimpleGUI
2b7024762a
Merge pull request #3977 from PySimpleGUI/Dev-latest
Happy emojis, internal error popup stays open after launching user's …
2021-02-28 10:32:34 -05:00
PySimpleGUI
59842c5ddd Happy emojis, internal error popup stays open after launching user's IDE so error remains visible, auto-fill the editor launch string when user fills in the editor (10 IDEs are supported) 2021-02-28 10:32:18 -05:00
PySimpleGUI
370fee1f7b
Merge pull request #3975 from PySimpleGUI/Dev-latest
more button color fixups, tooltips for editor strings
2021-02-27 20:04:21 -05:00
PySimpleGUI
41afd70ca7 more button color fixups, tooltips for editor strings 2021-02-27 20:04:05 -05:00
PySimpleGUI
be5b906c02
Merge pull request #3974 from PySimpleGUI/Dev-latest
removed debug info that was in a popup, renamed an emoji
2021-02-27 17:34:46 -05:00
PySimpleGUI
cad426da41 removed debug info that was in a popup, renamed an emoji 2021-02-27 17:31:40 -05:00
PySimpleGUI
91a79095ac
Merge pull request #3973 from PySimpleGUI/Dev-latest
Dev latest
2021-02-27 13:17:14 -05:00
PySimpleGUI
47069358b3 Addition of the execute_editor code but not used at this point. 2021-02-27 13:16:54 -05:00
PySimpleGUI
0856ce3fcd Key errors no long raised by default. You can change this easily. Needed so that editor can be launched instead of crashing. 2021-02-27 13:16:27 -05:00
PySimpleGUI
aee6021945
Merge pull request #3971 from PySimpleGUI/Dev-latest
Frist Exec functions added - need to test on Linux before releasing w…
2021-02-27 11:14:44 -05:00
PySimpleGUI
31433e75a2 Frist Exec functions added - need to test on Linux before releasing widely. 2021-02-27 11:13:43 -05:00
PySimpleGUI
7967d5ba8d
Merge pull request #3970 from PySimpleGUI/Dev-latest
Support for Exec APIs.  New Error Message for Keys... many more are c…
2021-02-27 08:25:14 -05:00
PySimpleGUI
685965411f Support for Exec APIs. New Error Message for Keys... many more are coming! :-) 2021-02-27 08:24:56 -05:00
PySimpleGUI
2b045ee4dc
Merge pull request #3969 from PySimpleGUI/Dev-latest
Make backwards compatible (again)
2021-02-27 08:18:35 -05:00
PySimpleGUI
aadcf3a772 Make backwards compatible (again) 2021-02-27 08:18:20 -05:00
PySimpleGUI
1df325616c
Merge pull request #3968 from PySimpleGUI/Dev-latest
Dev latest
2021-02-27 07:34:34 -05:00
PySimpleGUI
8c653861f7 Cleanup demo browser 2021-02-27 07:34:00 -05:00
PySimpleGUI
d627c2246d Unified Demo & Project Browsers - now uses the new PySimpleGUI Exec APIs to launch everything 2021-02-27 07:32:51 -05:00
PySimpleGUI
45df3d393f
Merge pull request #3966 from PySimpleGUI/Dev-latest
Debug Print auto refreshes the multiline now. Addition of start of th…
2021-02-26 13:15:02 -05:00
PySimpleGUI
10db88a88d Debug Print auto refreshes the multiline now. Addition of start of the "EXEC" APIs. Added execute_editor and execute_command_subprocess (BETA) 2021-02-26 13:14:43 -05:00
PySimpleGUI
2317a31b66
Merge pull request #3965 from PySimpleGUI/Dev-latest
Button Colors reworked considerably. Better error checks. Can specify…
2021-02-26 12:17:02 -05:00
PySimpleGUI
287e8a6668 Button Colors reworked considerably. Better error checks. Can specify a single color, etc. Addition of new EMOJIS!! Happy release adds happy ones too! Removed commented out f-strings so seaches for them will find none (not allowed in 3.4) 2021-02-26 12:16:40 -05:00
PySimpleGUI
dabc2de49d
Merge pull request #3964 from PySimpleGUI/Dev-latest
Demo of the IGNORE setting when disabling buttons.
2021-02-25 19:25:54 -05:00
PySimpleGUI
7fc79d8470 Demo of the IGNORE setting when disabling buttons. 2021-02-25 19:25:34 -05:00
PySimpleGUI
1ab6853579
Merge pull request #3963 from PySimpleGUI/Dev-latest
BUTTON_DISABLED_MEANS_IGNORE setting for disabled parameter.  Causes …
2021-02-25 19:18:01 -05:00
PySimpleGUI
433da2b9fa BUTTON_DISABLED_MEANS_IGNORE setting for disabled parameter. Causes button to not generate events. 2021-02-25 19:17:40 -05:00
PySimpleGUI
eae4ad28a2
Merge pull request #3960 from PySimpleGUI/Dev-latest
Added call to tkroot.update when closing windows. Was needed on Linux…
2021-02-25 13:55:48 -05:00
PySimpleGUI
62deb3aa0b Added call to tkroot.update when closing windows. Was needed on Linux to close a debug print window for some weird reason 2021-02-25 13:55:26 -05:00
PySimpleGUI
603b8f9e64
Merge pull request #3958 from PySimpleGUI/Dev-latest
Disable modal windows entirely for Macs
2021-02-24 17:20:26 -05:00
PySimpleGUI
7aa031741e Disable modal windows entirely for Macs 2021-02-24 17:20:10 -05:00
PySimpleGUI
babbb9b360
Merge pull request #3957 from PySimpleGUI/Dev-latest
Merged with the "Project Browser" so now only 1 program.
2021-02-24 12:59:45 -05:00
PySimpleGUI
a2598828a1 Merged with the "Project Browser" so now only 1 program. 2021-02-24 12:59:02 -05:00
PySimpleGUI
d8ad329b85
Merge pull request #3956 from PySimpleGUI/Dev-latest
Advanced mode so will have a single demo browser now.  Will delete th…
2021-02-24 12:54:55 -05:00
PySimpleGUI
c88fdc8d2c Advanced mode so will have a single demo browser now. Will delete this one shortly. 2021-02-24 12:54:36 -05:00
PySimpleGUI
f781b514df
Update PySimpleGUIQt.py
Not sure why there is a bad import at the top. Manually fixing it.
2021-02-24 12:49:21 -05:00
PySimpleGUI
6bc3a15d73
Merge pull request #3954 from PySimpleGUI/Dev-latest
Check for disabled button in button callbacks.  Set TRANSPARENT_BUTTO…
2021-02-23 15:12:12 -05:00
PySimpleGUI
b06127b397 Check for disabled button in button callbacks. Set TRANSPARENT_BUTTON_COLOR when theme changes (not recommended to use, but in case someone is then this is correct way to update), fixes for 3.4 syntax errors, fix for race condition that tried to close a window set to None 2021-02-23 15:11:49 -05:00
PySimpleGUI
9f43706398
Merge pull request #3944 from PySimpleGUI/Dev-latest
Trying to fix the problem with bullet points on ReadTheDocs
2021-02-21 11:27:57 -05:00
PySimpleGUI
f6c2756c6c Trying to fix the problem with bullet points on ReadTheDocs 2021-02-21 11:27:43 -05:00
PySimpleGUI
4ab140f8de
Merge pull request #3943 from PySimpleGUI/Dev-latest
One more Linux change.... invoke using python3 rather than python
2021-02-21 10:51:57 -05:00
PySimpleGUI
375dba6071 One more Linux change.... invoke using python3 rather than python 2021-02-21 10:51:01 -05:00
PySimpleGUI
8d6216d2ef
Merge pull request #3942 from PySimpleGUI/Dev-latest
Added the Demo and Project browsers
2021-02-21 10:32:51 -05:00
PySimpleGUI
bc68795148 Added the Demo and Project browsers 2021-02-21 10:32:36 -05:00
PySimpleGUI
719e98c92d
Merge pull request #3941 from PySimpleGUI/Dev-latest
More Cookbook Screenshots
2021-02-21 10:16:37 -05:00
PySimpleGUI
e463bfe248 More Cookbook Screenshots 2021-02-21 10:16:25 -05:00
PySimpleGUI
2b919af1b9
Merge pull request #3940 from PySimpleGUI/Dev-latest
Dev latest
2021-02-21 10:02:41 -05:00
PySimpleGUI
bfee78a127 Fixes for Linux, Addition of "Open Folder" feature. GUI for a couple of other features added but not yet fully implemented, use full path for default demo programs location 2021-02-21 10:02:23 -05:00
PySimpleGUI
208eb55e3f Fixes for Linux. Uses full path for demo folder default now 2021-02-21 10:01:10 -05:00
PySimpleGUI
f136babc3e
Merge pull request #3939 from PySimpleGUI/Dev-latest
Fixes so runs correctly on Linux
2021-02-21 08:51:54 -05:00
PySimpleGUI
645dda81ed Fixes so runs correctly on Linux 2021-02-21 08:51:41 -05:00
PySimpleGUI
a6f6738e5f
Merge pull request #3938 from PySimpleGUI/Dev-latest
Cookbook image
2021-02-21 08:19:32 -05:00
PySimpleGUI
2a8a2ef3e3 Cookbook image 2021-02-21 08:19:18 -05:00
PySimpleGUI
86421d554a
Merge pull request #3936 from PySimpleGUI/Dev-latest
Demo one_line_progress_meter - a standalone demo for this capability
2021-02-20 07:52:19 -05:00
PySimpleGUI
2974a2353e Demo one_line_progress_meter - a standalone demo for this capability 2021-02-20 07:51:57 -05:00
PySimpleGUI
48a4d9fa20
Merge pull request #3935 from PySimpleGUI/Dev-latest
Added multiple thread window locations
2021-02-19 22:29:39 -05:00
PySimpleGUI
0295d6d761 Added multiple thread window locations 2021-02-19 22:29:25 -05:00
PySimpleGUI
1b38a57c21
Merge pull request #3934 from PySimpleGUI/Dev-latest
New Demo - indirectly call sg.popup from a thread
2021-02-19 22:20:37 -05:00
PySimpleGUI
4daa0a6a52 New Demo - indirectly call sg.popup from a thread 2021-02-19 22:20:20 -05:00
PySimpleGUI
b58627926b
Merge pull request #3932 from PySimpleGUI/Dev-latest
Super Simple 2-windows in 25 lines of code
2021-02-19 21:43:07 -05:00
PySimpleGUI
95b2d104e6 Super Simple 2-windows in 25 lines of code 2021-02-19 21:40:49 -05:00
PySimpleGUI
c37687f9ca
Merge pull request #3931 from PySimpleGUI/Dev-latest
Width parm added to update for both Combo and Option menu.  This is b…
2021-02-19 19:30:20 -05:00
PySimpleGUI
d9f123c884 Width parm added to update for both Combo and Option menu. This is because the values can be changed, then the width may need to be changed, better coloring of OptionMenu, fixed docstrings to reflect size parm correctly for both elements 2021-02-19 19:30:02 -05:00
PySimpleGUI
044e14ac2c
Merge pull request #3930 from PySimpleGUI/Dev-latest
Combo - bug fix in update when default previously specified, OptionMe…
2021-02-19 16:52:44 -05:00
PySimpleGUI
440b8cf8a4 Combo - bug fix in update when default previously specified, OptionMenu no longer sets a default unless explicitly set by user 2021-02-19 16:52:13 -05:00
PySimpleGUI
2e43dc16d7
Merge pull request #3928 from PySimpleGUI/Dev-latest
New Demo - Progress meter simulation
2021-02-19 15:07:15 -05:00
PySimpleGUI
fb861d2b0c New Demo - Progress meter simulation 2021-02-19 15:06:54 -05:00
PySimpleGUI
54818afd27
Merge pull request #3922 from PySimpleGUI/Dev-latest
Fix in Spin.update with disabled & readonly, added erase_all option t…
2021-02-17 15:39:46 -05:00
PySimpleGUI
ce2dabc42f Fix in Spin.update with disabled & readonly, added erase_all option to Print, Output element no longer used by Debug Print, fixed popup bug with custom buttons, moved path_stem to be private 2021-02-17 15:39:14 -05:00
PySimpleGUI
d18b80de27
Merge pull request #3920 from PySimpleGUI/Dev-latest
Demo showing how to generate a popup from a thread
2021-02-17 09:44:27 -05:00
PySimpleGUI
a6560f0cea Demo showing how to generate a popup from a thread 2021-02-17 09:43:49 -05:00
PySimpleGUI
a72031f2ec
Merge pull request #3910 from PySimpleGUI/Dev-latest
Demo - Change your window's theme
2021-02-14 23:25:49 -05:00
PySimpleGUI
0a85cda909 Demo - Change your window's theme 2021-02-14 23:25:19 -05:00
PySimpleGUI
cd4bd819d5
Merge pull request #3909 from PySimpleGUI/Dev-latest
New Demo - Changing Window theme on the fly
2021-02-14 23:22:14 -05:00
PySimpleGUI
4b4eca79ae New Demo - Changing Window theme on the fly 2021-02-14 23:21:52 -05:00
PySimpleGUI
6705e5382d
Merge pull request #3908 from PySimpleGUI/Dev-latest
password_char added to Input.update. Emojis new EMOJI_BASE64 variables
2021-02-14 20:11:00 -05:00
PySimpleGUI
33a3d6d77e password_char added to Input.update. Emojis new EMOJI_BASE64 variables 2021-02-14 20:10:39 -05:00
PySimpleGUI
8724b03368
Merge pull request #3905 from PySimpleGUI/Dev-latest
Removed online processing instructions
2021-02-13 21:42:35 -05:00
PySimpleGUI
b844ac8179 Removed online processing instructions 2021-02-13 21:42:18 -05:00
PySimpleGUI
dda5a8c490
Merge pull request #3904 from PySimpleGUI/Dev-latest
docstring fix... some new characters....
2021-02-13 18:15:18 -05:00
PySimpleGUI
6964fcb2c2 docstring fix... some new characters.... 2021-02-13 18:14:53 -05:00
PySimpleGUI
32e2151b21
Merge pull request #3900 from PySimpleGUI/Dev-latest
Added trough_color parm to Slider
2021-02-12 19:54:27 -05:00
PySimpleGUI
e8f1cbfe0f Added trough_color parm to Slider 2021-02-12 19:54:05 -05:00
PySimpleGUI
344a260f65
Merge pull request #3892 from PySimpleGUI/Dev-latest
Moved global into a function property, changed the verbose output.
2021-02-11 16:36:11 -05:00
PySimpleGUI
d19c92ef83 Moved global into a function property, changed the verbose output. 2021-02-11 16:35:49 -05:00
PySimpleGUI
7cd18e47eb
Merge pull request #3889 from PySimpleGUI/Dev-latest
Added ability to set the circle color for Radio Buttons
2021-02-10 18:26:37 -05:00
PySimpleGUI
7adbc3c742 Added ability to set the circle color for Radio Buttons 2021-02-10 18:26:16 -05:00
PySimpleGUI
0d1c76a34b
Merge pull request #3887 from PySimpleGUI/Dev-latest
Regular expression searching, verbose mode to see the matches.  It's …
2021-02-10 11:01:29 -05:00
PySimpleGUI
c35c626953 Regular expression searching, verbose mode to see the matches. It's a SOLID tool now! 2021-02-10 11:01:07 -05:00
PySimpleGUI
a2cdbcebef
Merge pull request #3884 from PySimpleGUI/Dev-latest
Added ability to set / modify the color of the background of the chec…
2021-02-09 17:57:45 -05:00
PySimpleGUI
df203e709c Added ability to set / modify the color of the background of the checkbox itself. Was previously only computed and not settable by user. The parm checkbox_color added to the init and update method. 2021-02-09 17:57:24 -05:00
PySimpleGUI
e7719dc210
Merge pull request #3883 from PySimpleGUI/Dev-latest
Regular expression searching, faster find in file. GREAT tool now!
2021-02-09 07:27:03 -05:00
PySimpleGUI
a9bb73ece7 Regular expression searching, faster find in file. GREAT tool now! 2021-02-09 07:26:45 -05:00
PySimpleGUI
d8b7dd96e7
Merge pull request #3879 from PySimpleGUI/Dev-latest
Turned off ehcoing stdout. Was slowing things down a bit too much.
2021-02-05 19:47:13 -05:00
PySimpleGUI
5381042d48 Turned off ehcoing stdout. Was slowing things down a bit too much. 2021-02-05 19:46:55 -05:00
PySimpleGUI
74535f0287
Merge pull request #3878 from PySimpleGUI/Dev-latest
Out with the old, in with the new!  Thanks to a new PySimpleGUI team …
2021-02-05 18:51:12 -05:00
PySimpleGUI
3e4b1a73b3 Out with the old, in with the new! Thanks to a new PySimpleGUI team member, Tanay, for help with this one! 2021-02-05 18:50:53 -05:00
PySimpleGUI
a72c9ddf51
Merge pull request #3875 from PySimpleGUI/Dev-latest
Custom icon added
2021-02-05 10:48:24 -05:00
PySimpleGUI
8a859c9e37 Custom icon added 2021-02-05 10:48:00 -05:00
PySimpleGUI
a34377d847
Merge pull request #3874 from PySimpleGUI/Dev-latest
Added live links to online help in SDK help window (awesome feature)
2021-02-04 18:37:09 -05:00
PySimpleGUI
23d9c900a9 Added live links to online help in SDK help window (awesome feature) 2021-02-04 18:36:46 -05:00
PySimpleGUI
9a7eef2f6b
Merge pull request #3873 from PySimpleGUI/Dev-latest
Dev latest
2021-02-04 13:33:31 -05:00
PySimpleGUI
a9d6d5913a Added a right click menu that has an "Erase" item. When selected will erase all figures under mouse 2021-02-04 13:33:13 -05:00
PySimpleGUI
e8d43a89a4 Update the graph x,y location when a right click menu item selected. 2021-02-04 13:30:46 -05:00
PySimpleGUI
59775b847f
Merge pull request #3872 from PySimpleGUI/Dev-latest
Dev latest
2021-02-03 15:49:19 -05:00
PySimpleGUI
14b868caf2 Corrected key name to use coding conventions. Added right click info. Display the mouse position in text for all graph events. 2021-02-03 15:48:59 -05:00
PySimpleGUI
ed877df74b Fixed graph with user bound events. Was treating the event as a button down which caused drag events. Added a method to only update the coordinates without triggering the drag event 2021-02-03 15:48:23 -05:00
PySimpleGUI
12cb5ae501
Merge pull request #3871 from PySimpleGUI/Dev-latest
c & colors parm added to debug print, update graph coordinates if get…
2021-02-03 15:23:10 -05:00
PySimpleGUI
34e2b3cebf c & colors parm added to debug print, update graph coordinates if get any user bound events 2021-02-03 15:22:50 -05:00
PySimpleGUI
08823baf07
Merge pull request #3870 from PySimpleGUI/Dev-latest
Dev latest
2021-02-03 13:18:09 -05:00
PySimpleGUI
04a2825854 New demo to show how to make Multline element input justification correct 2021-02-03 13:17:51 -05:00
PySimpleGUI
9d4e56dd3b More clear instructions 2021-02-03 13:04:06 -05:00
PySimpleGUI
08df30b898
Merge pull request #3869 from PySimpleGUI/Dev-latest
Expand the row a column is on if the Column has Expand Y set to True
2021-02-02 15:37:25 -05:00
PySimpleGUI
e71d0077b5 Expand the row a column is on if the Column has Expand Y set to True 2021-02-02 15:37:07 -05:00
PySimpleGUI
4e7d4c3e66
Merge pull request #3867 from PySimpleGUI/Dev-latest
Convert Combo values into a list in case the user passed something th…
2021-02-02 11:31:38 -05:00
PySimpleGUI
be259860da Convert Combo values into a list in case the user passed something that wasn't a list 2021-02-02 11:31:21 -05:00
PySimpleGUI
8d6abcaa7d
Merge pull request #3866 from PySimpleGUI/Dev-latest
Fixed a number of things with changing the list of files.  Includes .…
2021-02-02 11:29:42 -05:00
PySimpleGUI
2c68c2fc55 Fixed a number of things with changing the list of files. Includes .pyw files now 2021-02-02 11:29:26 -05:00
PySimpleGUI
b73da4ed09
Merge pull request #3864 from PySimpleGUI/Dev-latest
Fixed bad call
2021-02-01 20:38:19 -05:00
PySimpleGUI
56640fc11d Fixed bad call 2021-02-01 20:37:56 -05:00
PySimpleGUI
02939d92a3
Merge pull request #3863 from PySimpleGUI/Dev-latest
Faster search within files, keep history of previously chosen folders.
2021-02-01 18:21:05 -05:00
PySimpleGUI
763347ea15 Faster search within files, keep history of previously chosen folders. 2021-02-01 18:20:46 -05:00
PySimpleGUI
11ed2d91f5
Merge pull request #3862 from PySimpleGUI/Dev-latest
Dev latest
2021-02-01 17:19:54 -05:00
PySimpleGUI
525af97ad9 Match the current code on GitHub so that new features and parameters are documented. Note that it may differ from what's currently on PyPI 2021-02-01 17:17:30 -05:00
PySimpleGUI
4c62d703e9 Addition of available bindings. Removed old popup calls 2021-02-01 17:16:25 -05:00
PySimpleGUI
c4b31a2dfd
Merge pull request #3861 from PySimpleGUI/Dev-latest
Added missing make_square function... big ooops.
2021-02-01 15:08:48 -05:00
PySimpleGUI
5332b056fe Added missing make_square function... big ooops. 2021-02-01 15:08:13 -05:00
PySimpleGUI
74df7abc7b
Merge pull request #3860 from PySimpleGUI/Dev-latest
Dev latest
2021-01-31 22:47:09 -05:00
Chr0nicT
3997cb9151 Add extension. 2021-01-31 22:40:21 -05:00
Chr0nicT
9a287180cf Upload screenshots and README 2021-01-31 22:37:47 -05:00
PySimpleGUI
ef7b146596 Getting up to date.... 2021-01-31 13:27:17 -05:00
PySimpleGUI
55119433dc
Merge pull request #3856 from PySimpleGUI/Dev-latest
Indicate when stdout/stderr restored in Multilne.restore, added the a…
2021-01-30 19:16:16 -05:00
PySimpleGUI
9efd1a44aa Indicate when stdout/stderr restored in Multilne.restore, added the alias parms b,t,c, colors to the multiline.print so that it matches cprint 2021-01-30 19:15:53 -05:00
PySimpleGUI
6a90390f44
Merge pull request #3855 from PySimpleGUI/Dev-latest
Make backwards compatible with older PySimpleGUI versions
2021-01-30 19:10:25 -05:00
PySimpleGUI
921bed7832 Make backwards compatible with older PySimpleGUI versions 2021-01-30 19:09:20 -05:00
PySimpleGUI
2d76ec8c54
Merge pull request #3854 from PySimpleGUI/Dev-latest
Dev latest
2021-01-30 18:28:58 -05:00
PySimpleGUI
f9b3c9aa49 NEW demo - Project File Searcher Launcher - point to the top of a project tree and it'll find all py files, can search the names and the contents, edit and run. 2021-01-30 18:28:09 -05:00
PySimpleGUI
9b656d35e7 set encoding="utf8" so that can have special chars in files. ..otherwhise reads fail, Added quotes around strings to run, 2021-01-30 18:24:45 -05:00
PySimpleGUI
2b6ce7590e set encoding="utf8" so that can have special chars in files. ..otherwhise reads fail 2021-01-30 18:23:56 -05:00
PySimpleGUI
a5f074d235
Merge pull request #3853 from PySimpleGUI/Dev-latest
Catching up the readme creator stuff
2021-01-30 16:37:56 -05:00
PySimpleGUI
f883506703 Catching up the readme creator stuff 2021-01-30 16:37:27 -05:00
PySimpleGUI
9040d9df60
Merge pull request #3852 from PySimpleGUI/Dev-latest
Addition of tkinter events, catching up with the generated version
2021-01-30 15:11:04 -05:00
PySimpleGUI
0a6b64dc11 Addition of tkinter events, catching up with the generated version 2021-01-30 15:10:08 -05:00
PySimpleGUI
5066cbbc69
Merge pull request #3851 from PySimpleGUI/Dev-latest
Dev latest
2021-01-30 14:42:39 -05:00
PySimpleGUI
108d5308dc Fixed up indentation problems... merged back from Jason 2021-01-30 14:42:09 -05:00
PySimpleGUI
d42a0ccfc4 Fixed syntax error 2021-01-30 14:34:42 -05:00
PySimpleGUI
39695563d1
Merge pull request #3848 from PySimpleGUI/Dev-latest
Fixed bug in execute_subprocess_nonblocking when bad command passed in
2021-01-28 22:38:40 -05:00
PySimpleGUI
9dbbd60c0c Fixed bug in execute_subprocess_nonblocking when bad command passed in 2021-01-28 22:38:17 -05:00
PySimpleGUI
ffd86889e0
Merge pull request #3847 from PySimpleGUI/Dev-latest
Dev latest
2021-01-28 14:38:40 -05:00
PySimpleGUI
9d5c37c00b Global settings window, theme_global(), new set_options parm 2021-01-28 14:38:20 -05:00
PySimpleGUI
c1f0f558b6 Refactor... get defaults for theme and editor from global PySimpleGUI settings 2021-01-28 14:37:14 -05:00
PySimpleGUI
4fc3d10f05
Merge pull request #3844 from PySimpleGUI/Dev-latest
Moved user_settings API default paths to top. Added set_option parm f…
2021-01-27 21:38:55 -05:00
PySimpleGUI
0673d71ae5 Moved user_settings API default paths to top. Added set_option parm for user_settings default path to override OS default, global PySimpleGUI settings path for truly global settings 2021-01-27 21:38:18 -05:00
PySimpleGUI
df3e2b9286
Merge pull request #3841 from PySimpleGUI/Dev-latest
Dev latest
2021-01-27 11:58:00 -05:00
PySimpleGUI
6366e1f0ed Clear fileter, find fields 2021-01-27 11:57:36 -05:00
PySimpleGUI
0a1f515937 Remove unused program 2021-01-27 11:57:18 -05:00
PySimpleGUI
25e7f0364b Fix for Debug button color, addition of execute_subprocess_nonblocking(), 2021-01-27 11:56:53 -05:00
Jason Yang
4dfdfe9eaa
Update for some code not indented correctly. 2021-01-26 17:57:05 +08:00
Jason Yang
4378dfece7
Update sample codes not indented correctly. 2021-01-26 17:39:12 +08:00
PySimpleGUI
bea372f51d
Merge pull request #3830 from PySimpleGUI/Dev-latest
Added message that window will take a few moments to create.
2021-01-24 15:33:30 -05:00
PySimpleGUI
b59c52029f Added message that window will take a few moments to create. 2021-01-24 13:34:00 -05:00
PySimpleGUI
c036f5cef4
Merge pull request #3829 from PySimpleGUI/Dev-latest
New icon so can tell diff between the "Demo Copy" from the "Demo Browse"
2021-01-24 13:25:03 -05:00
PySimpleGUI
30af17a137 New icon so can tell diff between the "Demo Copy" from the "Demo Browse" 2021-01-24 13:24:45 -05:00
PySimpleGUI
7e02a75113
Merge pull request #3828 from PySimpleGUI/Dev-latest
Display number of files found
2021-01-24 13:08:47 -05:00
PySimpleGUI
9e3837cb86 Display number of files found 2021-01-24 13:08:24 -05:00
PySimpleGUI
c2d72439df
Merge pull request #3827 from PySimpleGUI/Dev-latest
Initial checkin of PIL Demo
2021-01-24 11:20:28 -05:00
PySimpleGUI
58687eded9 Initial checkin of PIL Demo 2021-01-24 11:20:11 -05:00
PySimpleGUI
078c414a2e
Merge pull request #3826 from PySimpleGUI/Dev-latest
Allow theme names to have spaces
2021-01-23 21:49:55 -05:00
PySimpleGUI
ef280e95af Allow theme names to have spaces 2021-01-23 21:49:38 -05:00
PySimpleGUI
721b38e998
Merge pull request #3825 from PySimpleGUI/Dev-latest
Fix for popup_get_file - wasn't passing the default_extension correctly
2021-01-23 18:41:41 -05:00
PySimpleGUI
20cc794029 Fix for popup_get_file - wasn't passing the default_extension correctly 2021-01-23 18:40:50 -05:00
PySimpleGUI
46954e6aec
Merge pull request #3824 from PySimpleGUI/Dev-latest
SDK help function sorting
2021-01-23 16:10:07 -05:00
PySimpleGUI
75ad75cfd2 SDK help function sorting 2021-01-23 16:09:47 -05:00
PySimpleGUI
cd4f1a02f1
Merge pull request #3820 from PySimpleGUI/Dev-latest
files_delimiter added to FilesBrowse button & popup_get_file, metadat…
2021-01-21 20:25:36 -05:00
PySimpleGUI
75ce508be7 files_delimiter added to FilesBrowse button & popup_get_file, metadata docstring addedf to several button and a few more docstring fixups, call popup instead of Popup in the variant forms of popup 2021-01-21 20:24:42 -05:00
PySimpleGUI
588d8f6f06
Merge pull request #3817 from PySimpleGUI/Dev-latest
Shifted ordering so that the PEP8 compliant functions are presented f…
2021-01-20 19:58:14 -05:00
PySimpleGUI
85a2531888 Shifted ordering so that the PEP8 compliant functions are presented first 2021-01-20 19:57:57 -05:00
PySimpleGUI
3656b78a81
Merge pull request #3816 from PySimpleGUI/Dev-latest
Expanded SDK Help with function search - find all functions containin…
2021-01-20 16:46:04 -05:00
PySimpleGUI
307c2eedbc Expanded SDK Help with function search - find all functions containing a string 2021-01-20 16:45:41 -05:00
PySimpleGUI
560fa24e1f
Merge pull request #3815 from PySimpleGUI/Dev-latest
Dev latest
2021-01-19 13:34:54 -05:00
PySimpleGUI
8a795264f6 Minor typo 2021-01-19 13:34:28 -05:00
PySimpleGUI
92291b0094 SDK Help - detailed parms & defaults for init & update shown in summary view. "help" command line option to how the sdk help window 2021-01-19 13:34:16 -05:00
PySimpleGUI
c4cc3297dd
Merge pull request #3809 from PySimpleGUI/Dev-latest
Copied buy me a coffee to the top.... need more visibility.  It DOES …
2021-01-18 15:13:38 -05:00
PySimpleGUI
560e9d7be3 Copied buy me a coffee to the top.... need more visibility. It DOES HELP... the project has quite a negative cashflow and all donations go right into the project. 2021-01-18 15:13:16 -05:00
PySimpleGUI
e37978bdbf
Merge pull request #3808 from PySimpleGUI/Dev-latest
Set the default demo programs path to "." since likely running from t…
2021-01-18 15:08:53 -05:00
PySimpleGUI
f56b1e7fd1 Set the default demo programs path to "." since likely running from the folder with all the demos in it 2021-01-18 15:08:34 -05:00
PySimpleGUI
1bb571776f
Merge pull request #3807 from PySimpleGUI/Dev-latest
Release 4.34.0
2021-01-18 14:43:53 -05:00
PySimpleGUI
be146822c2 Release 4.34.0 2021-01-18 14:43:33 -05:00
PySimpleGUI
b8d68e32a6
Merge pull request #3802 from PySimpleGUI/Dev-latest
New demo program - Demo Program Browser - Browser, launch, edit demo …
2021-01-17 16:30:44 -05:00
PySimpleGUI
020532c8fb New demo program - Demo Program Browser - Browser, launch, edit demo programs 2021-01-17 16:30:27 -05:00
PySimpleGUI
e8bfec1cd2
Merge pull request #3800 from PySimpleGUI/Dev-latest
Metadata property added to call ref.  Checkin of the latest readme_cr…
2021-01-17 13:04:34 -05:00
PySimpleGUI
fcb3cc7bde Metadata property added to call ref. Checkin of the latest readme_creator files 2021-01-17 13:04:15 -05:00
PySimpleGUI
0fee135a86
Merge pull request #3799 from PySimpleGUI/Dev-latest
Dev latest
2021-01-17 12:45:28 -05:00
PySimpleGUI
faa701e3de Made Window.metadata and SystemTray.metadata also properties 2021-01-17 12:45:06 -05:00
PySimpleGUI
55871d89bf Element.metadata turned into a property so that it's documented property 2021-01-17 12:38:35 -05:00
PySimpleGUI
d161ef4f8c
Merge pull request #3798 from PySimpleGUI/Dev-latest
Reorganization of the call reference document.  Non-PEP8 compliant me…
2021-01-16 17:42:11 -05:00
PySimpleGUI
5510fad39e Reorganization of the call reference document. Non-PEP8 compliant methods moved to end of elment method list along with a message to not use them. 2021-01-16 17:41:56 -05:00
PySimpleGUI
6fd8fb84f2
Merge pull request #3797 from PySimpleGUI/Dev-latest
FINALLY swapped the PEP8 and non-PEP8 names so that the definitions ar…
2021-01-16 16:26:12 -05:00
PySimpleGUI
64e5e27646 FINALLY swapped the PEP8 and non-PEP8 names so that the defintions are PEP8. Thanks for Chr0nic for the consulting assistance 2021-01-16 16:25:15 -05:00
PySimpleGUI
b38e69fc18
Merge pull request #3796 from PySimpleGUI/Dev-latest
Added summary mode for SDK help window. Changed font size to fit onto…
2021-01-15 19:45:11 -05:00
PySimpleGUI
b42890ec19 Added summary mode for SDK help window. Changed font size to fit onto smaller screens 2021-01-15 19:44:50 -05:00
PySimpleGUI
69e51bed03
Merge pull request #3790 from PySimpleGUI/Dev-latest
popup_scrolled fix
2021-01-12 15:42:44 -05:00
PySimpleGUI
7309527b05 popup_scrolled fix 2021-01-12 15:42:13 -05:00
PySimpleGUI
2aa3e36525
Merge pull request #3789 from PySimpleGUI/Dev-latest
Aliases shown in the SDK quick reference
2021-01-12 13:45:36 -05:00
PySimpleGUI
a0a2ff8e67 Aliases shown in the SDK quick reference 2021-01-12 13:45:17 -05:00
PySimpleGUI
cf7d539124
Merge pull request #3785 from PySimpleGUI/Dev-latest
Addition of Cursor list and calls. Fix for return types in call refer…
2021-01-11 14:54:50 -05:00
PySimpleGUI
e4a9b59ca5 Addition of Cursor list and calls. Fix for return types in call reference doc 2021-01-11 14:54:14 -05:00
PySimpleGUI
e179df2257
Merge pull request #3782 from PySimpleGUI/Dev-latest
Fix so that it updates font correctly
2021-01-10 11:40:13 -05:00
PySimpleGUI
8c8a0504ad Fix so that it updates font correctly 2021-01-10 11:39:56 -05:00
PySimpleGUI
f859cc4b12
Merge pull request #3770 from PySimpleGUI/Dev-latest
Close attempted demo
2021-01-04 10:02:13 -05:00
PySimpleGUI
bddfac2745 Close attempted demo 2021-01-04 10:01:54 -05:00
PySimpleGUI
e6251daa53
Merge pull request #3766 from PySimpleGUI/Dev-latest
Release 4.33.0 (Welcome 2021!!)
2021-01-02 16:42:20 -05:00
PySimpleGUI
ea445e126b Release 4.33.0 (Welcome 2021!!) 2021-01-02 16:41:51 -05:00
PySimpleGUI
24ebbcca10
Merge pull request #3765 from PySimpleGUI/Dev-latest
Added code and comments to show all 3 ways to create a custom titlebar
2021-01-02 13:21:26 -05:00
PySimpleGUI
b54c6dd8ec Added code and comments to show all 3 ways to create a custom titlebar 2021-01-02 13:21:08 -05:00
PySimpleGUI
3a21051421
Merge pull request #3761 from PySimpleGUI/Dev-latest
Spin - fix in update.  Changed bad state (enable) to normal.
2021-01-01 08:25:52 -05:00
PySimpleGUI
c279172224 Spin - fix in update. Changed bad state (enable) to normal. 2021-01-01 08:25:34 -05:00
PySimpleGUI
5191dc8dd5
Merge pull request #3747 from PySimpleGUI/Dev-latest
Custom titlebar (OK, officially sick of this feature). Added Window-l…
2020-12-26 16:36:43 -05:00
PySimpleGUI
5ad73534dd Custom titlebar (OK, officially sick of this feature). Added Window-level controls, added set_option controls for colors font and icon. I think ALL bases are now covered. PLEASE don't screw up 2020-12-26 16:36:19 -05:00
PySimpleGUI
23b0d374b2
Merge pull request #3746 from PySimpleGUI/Dev-latest
New image
2020-12-26 14:14:37 -05:00
PySimpleGUI
150f837767 New image 2020-12-26 14:12:08 -05:00
PySimpleGUI
f0a5c16a43
Merge pull request #3743 from PySimpleGUI/Dev-latest
Demo for the Titlebar element
2020-12-26 10:29:46 -05:00
PySimpleGUI
92e78ba665 Demo for the Titlebar element 2020-12-26 10:29:28 -05:00
PySimpleGUI
7045040873
Delete Demo Screenshots.md 2020-12-25 17:03:18 -05:00
PySimpleGUI
3e990180e3
Merge pull request #3742 from PySimpleGUI/Dev-latest
Merry Christmas to the invisible wishers - element.visible added to a…
2020-12-25 11:34:19 -05:00
PySimpleGUI
1bda4e7186 Merry Christmas to the invisible wishers - element.visible added to all elements (note, no longer .Visible). 2020-12-25 11:34:00 -05:00
PySimpleGUI
95b636d915
Merge pull request #3740 from PySimpleGUI/Dev-latest
Update screenshots_demos.md
2020-12-24 18:48:59 -05:00
PySimpleGUI
655af37326 Update screenshots_demos.md 2020-12-24 18:48:42 -05:00
PySimpleGUI
597dcaad2a
Merge pull request #3739 from PySimpleGUI/Dev-latest
Update screenshots_demos.md
2020-12-24 18:46:12 -05:00
PySimpleGUI
68b3fae058 Update screenshots_demos.md 2020-12-24 18:45:56 -05:00
PySimpleGUI
6c437ea6d3
Merge pull request #3738 from PySimpleGUI/Dev-latest
Demo Screenshots (nice job Chr0nic)
2020-12-24 18:33:48 -05:00
PySimpleGUI
343db87ae4 Demo Screenshots (nice job Chr0nic) 2020-12-24 18:33:30 -05:00
PySimpleGUI
42991271fb
Merge pull request #3737 from PySimpleGUI/Dev-latest
More custom titlebar. Finally can minimize and restore on Linux. Fina…
2020-12-24 14:17:43 -05:00
PySimpleGUI
afbd02b551 More custom titlebar. Finally can minimize and restore on Linux. Finally.... 2020-12-24 14:17:23 -05:00
PySimpleGUI
d68ce73119
Merge pull request #3733 from PySimpleGUI/Dev-latest
Custom Titlebar, the big docstring Union fix (thank you NNGOGOL!!!), …
2020-12-23 15:37:43 -05:00
PySimpleGUI
e52fa57900 Custom Titlebar, the big docstring Union fix (thank you NNGOGOL!!!), new upgrade function 2020-12-23 15:36:40 -05:00
PySimpleGUI
2eddefbbdc
Merge pull request #3730 from PySimpleGUI/Dev-latest
Update Logo with text for GitHub Top.png
2020-12-22 15:10:42 -05:00
PySimpleGUI
a0a4bc7ab5 Update Logo with text for GitHub Top.png 2020-12-22 15:10:17 -05:00
PySimpleGUI
dad670b240
Merge pull request #3729 from PySimpleGUI/Dev-latest
Coimment about installing pymunk
2020-12-20 17:45:31 -05:00
PySimpleGUI
225eada259 Coimment about installing pymunk 2020-12-20 17:45:16 -05:00
PySimpleGUI
e0f36a84b7
Merge pull request #3728 from PySimpleGUI/Dev-latest
needed for demo
2020-12-20 17:42:58 -05:00
PySimpleGUI
3717b318b0 needed for demo 2020-12-20 17:42:42 -05:00
PySimpleGUI
04ba97236a
Merge pull request #3727 from PySimpleGUI/Dev-latest
Dev latest
2020-12-20 17:16:39 -05:00
PySimpleGUI
bc4f73510d Updated readme for readthe docs 2020-12-20 17:16:23 -05:00
PySimpleGUI
9c5d49d7b4 Fixed to work with latest PySimpleGUI. Used really old code! Still needs version 0.8.7 of Chatterbot 2020-12-20 17:15:37 -05:00
PySimpleGUI
5fffa09443
Merge pull request #3718 from PySimpleGUI/Dev-latest
Update Demo Screenshots.md
2020-12-17 20:30:52 -05:00
PySimpleGUI
e84ef76b36 Update Demo Screenshots.md 2020-12-17 20:30:30 -05:00
PySimpleGUI
b318f6810c
Merge pull request #3716 from PySimpleGUI/Dev-latest
Update Demo Screenshots.md
2020-12-17 11:11:05 -05:00
PySimpleGUI
768ec9fe9e Update Demo Screenshots.md 2020-12-17 11:10:49 -05:00
PySimpleGUI
16e99d1d24
Merge pull request #3715 from PySimpleGUI/Dev-latest
New screenshots doc
2020-12-17 09:59:42 -05:00
PySimpleGUI
97b0b05d6f New screenshots doc 2020-12-17 09:59:26 -05:00
PySimpleGUI
8a9a43c4d0 Set theme jekyll-theme-minimal 2020-12-12 21:04:51 -05:00
PySimpleGUI
424109dae7
Merge pull request #3696 from PySimpleGUI/Dev-latest
Adding Japanexe readme to readthedocs as a tab
2020-12-09 08:14:17 -05:00
PySimpleGUI
e76fb137bd Adding Japanexe readme to readthedocs as a tab 2020-12-09 08:13:58 -05:00
PySimpleGUI
99d4400e3c
Merge pull request #3694 from PySimpleGUI/Dev-latest
Not needed.
2020-12-07 10:02:09 -05:00
PySimpleGUI
fc18adecd1 Not needed. 2020-12-07 10:01:48 -05:00
PySimpleGUI
12edd9ae5e
Merge pull request #3677 from PySimpleGUI/Dev-latest
Window margin variable supported but tricky, margin default changed t…
2020-11-29 16:43:09 -05:00
PySimpleGUI
de4c48fea2 Window margin variable supported but tricky, margin default changed to (0,0), fix in DrawCircle, styles change for ComboBox, frame color now defaults to light gray (gainsboro), 2020-11-29 16:42:53 -05:00
PySimpleGUI
af44f73640
Merge pull request #3673 from PySimpleGUI/Dev-latest
Settings window location. Moved settings file to OS settings folder, …
2020-11-28 07:26:59 -05:00
PySimpleGUI
a013ad6f14 Settings window location. Moved settings file to OS settings folder, right click menu 2020-11-28 07:18:18 -05:00
PySimpleGUI
b4a92aede9
Merge pull request #3671 from SokichiFujita/patch-1
Fix typo for Japanese readme
2020-11-28 07:01:26 -05:00
PySimpleGUI
b17cc50cab
Merge pull request #3672 from PySimpleGUI/Dev-latest
Rollback of None changes
2020-11-28 06:12:00 -05:00
PySimpleGUI
3f3b98d951 Rollback of None changes 2020-11-28 06:11:35 -05:00
Sokichi Fujita
9c3625d951
Fix typo 2020-11-28 10:17:35 +09:00
PySimpleGUI
ed6f70f386
Merge pull request #3670 from PySimpleGUI/Dev-latest
Frame with padding.  Frame now has frame_color parameter.
2020-11-27 17:23:07 -05:00
PySimpleGUI
a1f5d9571d Frame with padding. Frame now has frame_color parameter. 2020-11-27 17:22:45 -05:00
PySimpleGUI
5d9ba5b4b8
Merge pull request #3664 from PySimpleGUI/Dev-latest
Fixed compare with (None, JNone) and type comparisons
2020-11-25 13:43:47 -05:00
PySimpleGUI
d826038b2e Fixed compare with (None, JNone) and type comparisons 2020-11-25 13:43:29 -05:00
PySimpleGUI
af9c67a8cc
Merge pull request #3659 from PySimpleGUI/Dev-latest
Funding section in readme.
2020-11-24 07:44:10 -05:00
PySimpleGUI
570251a3d7 Funding section in readme. 2020-11-24 07:43:48 -05:00
PySimpleGUI
8b0c681be2
Merge pull request #3656 from PySimpleGUI/Dev-latest
Make gauge update immediately in 1 jump
2020-11-23 16:43:44 -05:00
PySimpleGUI
dac6b73045 Make gauge update immediately in 1 jump 2020-11-23 16:43:26 -05:00
PySimpleGUI
be550079b1
Merge pull request #3655 from PySimpleGUI/Dev-latest
Initial Checkin - A desktop widget that is the same as grid of bar gr…
2020-11-23 15:39:20 -05:00
PySimpleGUI
1b4c63e15c Initial Checkin - A desktop widget that is the same as grid of bar graphs but done with Gauges 2020-11-23 15:39:00 -05:00
PySimpleGUI
b8aa722061
Merge pull request #3654 from PySimpleGUI/Dev-latest
fill_color added to draw_arv
2020-11-23 14:46:58 -05:00
PySimpleGUI
0d611430ca fill_color added to draw_arv 2020-11-23 14:46:37 -05:00
PySimpleGUI
38891e6f64
Merge pull request #3653 from PySimpleGUI/Dev-latest
Demos using Gauge class
2020-11-23 09:50:01 -05:00
PySimpleGUI
e6ba93e3a8 Demos using Gauge class 2020-11-23 09:49:41 -05:00
PySimpleGUI
913258230c
Merge pull request #3652 from PySimpleGUI/Dev-latest
Addition of CLOSE_ATTEMPTED_EVENT, WIN_X_EVENT and enable_close_attem…
2020-11-23 09:41:51 -05:00
PySimpleGUI
5d026e972e Addition of CLOSE_ATTEMPTED_EVENT, WIN_X_EVENT and enable_close_attempted_event addd to Window. 2020-11-23 09:40:57 -05:00
PySimpleGUI
5e671dc792
Merge pull request #3647 from PySimpleGUI/Dev-latest
Added key_dict property.
2020-11-21 16:55:40 -05:00
PySimpleGUI
9e3efbd082 Added key_dict property. 2020-11-21 16:55:18 -05:00
PySimpleGUI
8ea1077994
Merge pull request #3643 from PySimpleGUI/Dev-latest
Added "Register" button to setup window.  Will open a browser so you …
2020-11-18 16:17:45 -05:00
PySimpleGUI
dcc557c642 Added "Register" button to setup window. Will open a browser so you can register 2020-11-18 16:15:32 -05:00
PySimpleGUI
0ccb45d911
Merge pull request #3642 from PySimpleGUI/Dev-latest
Dev latest
2020-11-18 15:28:08 -05:00
PySimpleGUI
9e073de007 Removed "faking timeout" print as it can happen when auto-close window closes. Changed how a couple Windows methods are renamed. 2020-11-18 15:27:46 -05:00
PySimpleGUI
b9a28a74b7 Weather Widget released as a demo (previously only available in another Repo) 2020-11-18 15:25:54 -05:00
PySimpleGUI
c7ef9902f7
Merge pull request #3639 from PySimpleGUI/Dev-latest
Release 4.32.1
2020-11-17 14:06:56 -05:00
PySimpleGUI
aa08b84187 Release 4.32.1 2020-11-17 14:06:37 -05:00
PySimpleGUI
2782601701
Merge pull request #3638 from PySimpleGUI/Dev-latest
Release 4.32.0
2020-11-17 13:49:34 -05:00
PySimpleGUI
47e2322684 Release 4.32.0 2020-11-17 13:49:15 -05:00
PySimpleGUI
cd93d3ff9f
Merge pull request #3637 from PySimpleGUI/Dev-latest
Release 4.32.0
2020-11-17 13:46:15 -05:00
PySimpleGUI
e397f9707a Release 4.32.0 2020-11-17 13:45:54 -05:00
PySimpleGUI
fe814d425a
Merge pull request #3636 from PySimpleGUI/Dev-latest
If window is autoclose and being finalize, then don't start the autoc…
2020-11-17 13:14:43 -05:00
PySimpleGUI
d85a9b74da If window is autoclose and being finalize, then don't start the autoclose until finalize is complete 2020-11-17 13:14:24 -05:00
PySimpleGUI
f23e24cb18
Merge pull request #3635 from PySimpleGUI/Dev-latest
UserSettings initialized check
2020-11-17 09:04:16 -05:00
PySimpleGUI
136469d382 UserSettings initialized check 2020-11-17 09:03:52 -05:00
PySimpleGUI
cc6ed9c2cd
Merge pull request #3628 from PySimpleGUI/Dev-latest
Right Click Menu colors and font parameters added to Window
2020-11-16 13:29:56 -05:00
PySimpleGUI
4f07076d28 Right Click Menu colors and font parameters added to Window 2020-11-16 13:29:36 -05:00
PySimpleGUI
f4603367ce
Merge pull request #3624 from PySimpleGUI/Dev-latest
Refactored adding right click menu, sped up reads with timeouts, fix …
2020-11-15 19:51:05 -05:00
PySimpleGUI
d67a999d05 Refactored adding right click menu, sped up reads with timeouts, fix for right click menus 2020-11-15 19:50:43 -05:00
PySimpleGUI
89aadb5572
Merge pull request #3623 from PySimpleGUI/Dev-latest
Check for COLOR_SYSTEM_DEFAULT in Button.update
2020-11-15 18:57:02 -05:00
PySimpleGUI
80cfdbcf3d Check for COLOR_SYSTEM_DEFAULT in Button.update 2020-11-15 18:56:40 -05:00
PySimpleGUI
8dd4d2a61b
Merge pull request #3622 from PySimpleGUI/Dev-latest
Fix for case-mismatch. Made search string all lower.  Changed how Lin…
2020-11-15 15:20:02 -05:00
PySimpleGUI
4b79837cb7 Fix for case-mismatch. Made search string all lower. Changed how Linux python command is launched. Added defaults to User Settings. 2020-11-15 15:19:17 -05:00
PySimpleGUI
0a1526b07a
Merge pull request #3621 from PySimpleGUI/Dev-latest
Changed Menu and ButtonMenu default colors & font. Changed names in C…
2020-11-15 13:52:03 -05:00
PySimpleGUI
a4d86304a8 Changed Menu and ButtonMenu default colors & font. Changed names in ConvertFlexToTK 2020-11-15 13:51:42 -05:00
PySimpleGUI
51c3eeef5a
Merge pull request #3617 from PySimpleGUI/Dev-latest
Changed (significantly) to use the new User Settings API to store all…
2020-11-13 14:48:02 -05:00
PySimpleGUI
382cfc4157 Changed (significantly) to use the new User Settings API to store all of the credentials and search history 2020-11-13 14:47:41 -05:00
PySimpleGUI
946d9771e6
Merge pull request #3616 from PySimpleGUI/Dev-latest
Dev latest
2020-11-13 11:57:37 -05:00
PySimpleGUI
1ec6e6b1ff Release 4.31.0 2020-11-13 11:57:13 -05:00
PySimpleGUI
9e4bf95b33 Added last value chosen for combo, popup with dictionary info. 2020-11-13 11:54:39 -05:00
PySimpleGUI
3ef927cdfe New Demo showing class interface for User Settings 2020-11-13 11:54:04 -05:00
PySimpleGUI
dd8421650a
Merge pull request #3610 from PySimpleGUI/Dev-latest
Changed adding key and saving behavior for User Settings.
2020-11-12 20:31:44 -05:00
PySimpleGUI
ba01cb31c5 Changed adding key and saving behavior for User Settings. 2020-11-12 20:31:25 -05:00
PySimpleGUI
34183ce46e
Merge pull request #3609 from PySimpleGUI/Dev-latest
Added UserSettings delete item interface... makes interface look much…
2020-11-12 18:35:26 -05:00
PySimpleGUI
de5783cdb7 Added UserSettings delete item interface... makes interface look much more like a dictionary by allowing syntax ---> del settings['item'] 2020-11-12 18:35:07 -05:00
PySimpleGUI
c90205160f
Merge pull request #3608 from PySimpleGUI/Dev-latest
Renamed UserSettings singleton variable. Added _ to UserSettings.comp…
2020-11-12 18:08:27 -05:00
PySimpleGUI
9611a4fd08 Renamed UserSettings singleton variable. Added _ to UserSettings.compute_filename to make it private. 2020-11-12 18:08:09 -05:00
PySimpleGUI
05928ef70b
Merge pull request #3607 from PySimpleGUI/Dev-latest
Added option for enabling the Mac no_titlebar patch (err... hack)
2020-11-12 17:19:42 -05:00
PySimpleGUI
d53fdcbfc8 Added option for enabling the Mac no_titlebar patch (err... hack) 2020-11-12 17:18:52 -05:00
PySimpleGUI
1d7ce6a8f9
Merge pull request #3603 from PySimpleGUI/Dev-latest
Window.read() check to see if queued thread event prior to doing anyt…
2020-11-11 15:34:22 -05:00
PySimpleGUI
3e1a24671c Window.read() check to see if queued thread event prior to doing anything else. 2020-11-11 15:34:00 -05:00
PySimpleGUI
89f3d127fd
Merge pull request #3602 from PySimpleGUI/Dev-latest
Multline docstring fix for stderr
2020-11-11 11:39:35 -05:00
PySimpleGUI
a131e53c2a Multline docstring fix for stderr 2020-11-11 11:38:52 -05:00
PySimpleGUI
f33efc5cee
Merge pull request #3601 from PySimpleGUI/Dev-latest
Added readme to docs folder so that readthedocs will pick it up.
2020-11-11 10:04:31 -05:00
PySimpleGUI
6be471e8af Added readme to docs folder so that readthedocs will pick it up. 2020-11-11 10:04:13 -05:00
PySimpleGUI
31437e00f5
Merge pull request #3600 from PySimpleGUI/Dev-latest
Initial check-in of multi-threaded & multi-window write_event_value c…
2020-11-11 09:44:21 -05:00
PySimpleGUI
3f9a296987 Initial check-in of multi-threaded & multi-window write_event_value call. 2020-11-11 09:43:59 -05:00
PySimpleGUI
b8e9f86bcf
Merge pull request #3597 from PySimpleGUI/Dev-latest
Check event_values thread Queue first in read_all_windows
2020-11-10 14:36:49 -05:00
PySimpleGUI
4d42356103 Check event_values thread Queue first in read_all_windows 2020-11-10 14:36:28 -05:00
PySimpleGUI
5bba7cd22b
Merge pull request #3593 from PySimpleGUI/Dev-latest
Added color paramters for ButtonMenu. Can now set colors like recentl…
2020-11-09 10:59:07 -05:00
PySimpleGUI
160ed35e13 Added color paramters for ButtonMenu. Can now set colors like recently added to MenuBar 2020-11-09 10:58:50 -05:00
PySimpleGUI
5bdd08e46d
Merge pull request #3592 from PySimpleGUI/Dev-latest
Menubar colors
2020-11-09 08:41:49 -05:00
PySimpleGUI
f97bb3ade2 Menubar colors 2020-11-09 08:41:29 -05:00
PySimpleGUI
56f8949757
Merge pull request #3589 from PySimpleGUI/Dev-latest
Renamed UserSettings get_entry and set_entry to just get and set like…
2020-11-08 11:03:52 -05:00
PySimpleGUI
ba552e31bd Renamed UserSettings get_entry and set_entry to just get and set like dictionaries. 2020-11-08 11:03:34 -05:00
PySimpleGUI
e135571a34
Merge pull request #3588 from PySimpleGUI/Dev-latest
User Setting fix for initial load
2020-11-08 10:04:01 -05:00
PySimpleGUI
43a26779f3 User Setting fix for initial load 2020-11-08 10:03:43 -05:00
PySimpleGUI
850175f9ef
Merge pull request #3587 from PySimpleGUI/Dev-latest
Added UserSettings.set_default_value().  Added more docstrings.
2020-11-08 09:00:50 -05:00
PySimpleGUI
bf086ebdb6 Added UserSettings.set_default_value(). Added more docstrings. 2020-11-08 09:00:28 -05:00
PySimpleGUI
a4744c149a
Merge pull request #3584 from PySimpleGUI/Dev-latest
Opened up the UserSettings object for users
2020-11-07 12:58:39 -05:00
PySimpleGUI
397137e455 Opened up the UserSettings object for users 2020-11-07 12:57:53 -05:00
PySimpleGUI
07907b6872
Merge pull request #3582 from PySimpleGUI/Dev-latest
Added readonly option to Spin.  Added default_extension to FileSaveAs…
2020-11-06 14:51:18 -05:00
PySimpleGUI
658534c82a Added readonly option to Spin. Added default_extension to FileSaveAs button. Now behaves like the popup_get_file. Defaults to '' so should have no impact on existing code. 2020-11-06 14:50:55 -05:00
PySimpleGUI
8d098a8f24
Merge pull request #3579 from PySimpleGUI/Dev-latest
Fixed Spin.get not returning correct type
2020-11-06 09:53:30 -05:00
PySimpleGUI
2aee4aae59 Fixed Spin.get not returning corrct type 2020-11-06 09:52:43 -05:00
PySimpleGUI
c8dabfbc88
Merge pull request #3573 from PySimpleGUI/Dev-latest
New demo - center a column in the window
2020-11-03 11:11:43 -05:00
PySimpleGUI
81daafb613 New demo - center a column in the window 2020-11-03 11:11:22 -05:00
PySimpleGUI
ecdfffa6ac
Merge pull request #3572 from PySimpleGUI/Dev-latest
added get_stylesheet and set_stylesheet.  Worked on Frames with littl…
2020-11-02 16:18:56 -05:00
PySimpleGUI
ad1cbe81e8 added get_stylesheet and set_stylesheet. Worked on Frames with little success 2020-11-02 16:18:37 -05:00
PySimpleGUI
563725d523
Merge pull request #3570 from PySimpleGUI/Dev-latest
Remove line per suggested
2020-11-02 08:34:51 -05:00
PySimpleGUI
30b95a72fb Remove line per suggested 2020-11-02 08:34:33 -05:00
PySimpleGUI
489a2ffd3c
Merge pull request #3567 from PySimpleGUI/Dev-latest
Renamed Styles class and member variable.  QtStyle and qt_styles are …
2020-11-01 15:45:54 -05:00
PySimpleGUI
a62b9d8f92 Renamed Styles class and member variable. QtStyle and qt_styles are now used. Added margin to elements that were missing it. 2020-11-01 15:45:31 -05:00
PySimpleGUI
4a17c242b8
Merge pull request #3566 from PySimpleGUI/Dev-latest
Updates generously provided by @okajun35 !  (THANK YOU SO VERY MUCH)
2020-11-01 12:12:02 -05:00
PySimpleGUI
ea96f74e8f Updates generously provided by @okajun35 ! (THANK YOU SO VERY MUCH) 2020-11-01 12:11:41 -05:00
PySimpleGUI
bae0142a4a
Merge pull request #3565 from PySimpleGUI/Dev-latest
Patch for no titlebar on Mac - EXPERIMENTAL!
2020-11-01 11:47:33 -05:00
PySimpleGUI
86c1647b87 Patch for no titlebar on Mac - EXPERIMENTAL! 2020-11-01 11:45:14 -05:00
PySimpleGUI
30010255c9
Merge pull request #3564 from PySimpleGUI/Dev-latest
Align elements on center across rows
2020-10-31 16:21:05 -04:00
PySimpleGUI
63d9451cc2 Align elements on center across rows 2020-10-31 16:20:47 -04:00
PySimpleGUI
dce834b6ce
Merge pull request #3563 from PySimpleGUI/Dev-latest
Huge Styles Update.  Reworked how text is wrapped in popup so that it…
2020-10-31 15:38:24 -04:00
PySimpleGUI
c4df53acdb Huge Styles Update. Reworked how text is wrapped in popup so that it's the same as tkinterj port. Copied over themes from tkinter port. 2020-10-31 15:37:57 -04:00
PySimpleGUI
91f1f5bac4
Merge pull request #3562 from PySimpleGUI/Dev-latest
Changed so that Linux version works the same as Windows
2020-10-30 18:18:46 -04:00
PySimpleGUI
977bc66196 Changed so that Linux version works the same as Windows 2020-10-30 18:18:26 -04:00
PySimpleGUI
7e85c98bc4 Set theme jekyll-theme-leap-day 2020-10-27 07:10:26 -04:00
PySimpleGUI
665b6d7979 Set theme jekyll-theme-hacker 2020-10-27 07:06:57 -04:00
PySimpleGUI
1618ae7a9a Set theme jekyll-theme-minimal 2020-10-27 07:05:03 -04:00
PySimpleGUI
f378997151
Merge pull request #3547 from PySimpleGUI/Dev-latest
Updates from okajun35
2020-10-26 15:04:57 -04:00
PySimpleGUI
9ef9e28603 Updates from okajun35 2020-10-26 15:02:07 -04:00
PySimpleGUI
4fe20bb901
Merge pull request #3541 from PySimpleGUI/Dev-latest
Dev latest
2020-10-25 14:50:34 -04:00
PySimpleGUI
b957d3e757 Removed default value parameter from several user_settings_get_entry to simplify. 2020-10-25 14:49:37 -04:00
PySimpleGUI
9d6275bf0a Convert None default text for Input element to be '' 2020-10-25 14:48:44 -04:00
PySimpleGUI
c8923f9cd1
Merge pull request #3540 from PySimpleGUI/Dev-latest
Replaced all globals with user settings
2020-10-25 11:06:00 -04:00
PySimpleGUI
63ecca6a2f Replaced all globals with user settings 2020-10-25 11:05:40 -04:00
PySimpleGUI
a8036472f0
Merge pull request #3538 from PySimpleGUI/Dev-latest
Added theme to settings
2020-10-24 19:54:42 -04:00
PySimpleGUI
9a4cbbccf8 Added theme to settings 2020-10-24 19:54:18 -04:00
PySimpleGUI
2f5008ee1e
Merge pull request #3537 from PySimpleGUI/Dev-latest
Make everything "settings driven".  Has a settings window to set the …
2020-10-24 19:43:11 -04:00
PySimpleGUI
71f121b949 Make everything "settings driven". Has a settings window to set the folders and the programs information 2020-10-24 19:42:37 -04:00
PySimpleGUI
d2ae072aa4
Merge pull request #3536 from PySimpleGUI/Dev-latest
Copied over latest themes from the tkinter port
2020-10-24 17:12:58 -04:00
PySimpleGUI
948f25c0e1 Copied over latest themes from the tkinter port 2020-10-24 17:12:37 -04:00
PySimpleGUI
0507501185
Merge pull request #3534 from PySimpleGUI/Dev-latest
Fixed supress spelling error :-(
2020-10-24 13:54:23 -04:00
PySimpleGUI
849a4014ed Fixed supress spelling error :-( 2020-10-24 13:54:06 -04:00
PySimpleGUI
e579ce1afc
Merge pull request #3533 from PySimpleGUI/Dev-latest
Repaired Multiline docstring, new main_get_debug_data function, refor…
2020-10-24 13:15:58 -04:00
PySimpleGUI
acfa42a27a Repaired Multiline docstring, new main_get_debug_data function, reformatted look and feel table (shortened code by 930 lines of code!) 2020-10-24 13:15:12 -04:00
PySimpleGUI
0a2e352a73
Merge pull request #3532 from PySimpleGUI/Dev-latest
A new "silent" command line option will kill all python programs with…
2020-10-24 11:24:20 -04:00
PySimpleGUI
4ed30d1a0a A new "silent" command line option will kill all python programs with no window opened except for an auto-closing popup at the end. 2020-10-24 11:24:03 -04:00
PySimpleGUI
1da1934b71
Merge pull request #3530 from PySimpleGUI/Dev-latest
Hooked up the k parameter of elements.  Forgot to assign it to keys
2020-10-23 15:28:34 -04:00
PySimpleGUI
732c0bf723 Hooked up the k parameter of elements. Forgot to assign it to keys 2020-10-23 15:28:12 -04:00
PySimpleGUI
1d19307d4c
Merge pull request #3520 from PySimpleGUI/Dev-latest
Added official "Thank you" to @okajun35
2020-10-21 10:53:34 -04:00
PySimpleGUI
56c282538b Added official "Thank you" to @okajun35 2020-10-21 10:53:17 -04:00
PySimpleGUI
35ca3fdefd
Merge pull request #3518 from PySimpleGUI/Dev-latest
Addition of link to Japanese version
2020-10-21 10:29:24 -04:00
PySimpleGUI
8d4d743bfa Addition of link to Japanese version 2020-10-21 10:29:07 -04:00
PySimpleGUI
3b8a10e47f
Merge pull request #3517 from PySimpleGUI/Dev-latest
Thank you to @okajun35 for the changes!!! WOW THANK YOU!
2020-10-21 10:25:31 -04:00
PySimpleGUI
fea999dfc7 Thank you to @okajun35 for the changes!!! WOW THANK YOU! 2020-10-21 10:25:14 -04:00
PySimpleGUI
4b542e33d5
Merge pull request #3514 from PySimpleGUI/Dev-latest
New user settings coding convention
2020-10-20 09:50:22 -04:00
PySimpleGUI
645ab655a5 New user settings coding convention 2020-10-20 09:50:02 -04:00
PySimpleGUI
b109dc6d41
Merge pull request #3513 from PySimpleGUI/Dev-latest
Replaced combo user settings demo with one that uses input and combobox
2020-10-20 09:34:59 -04:00
PySimpleGUI
88564dcb67 Replaced combo user settings demo with one that uses input and combobox 2020-10-20 09:34:42 -04:00
PySimpleGUI
1d52d88452
Merge pull request #3512 from PySimpleGUI/Dev-latest
Added parms to Multline.update docstring
2020-10-20 07:58:03 -04:00
PySimpleGUI
0b7b0cc340 Added parms to Multline.update docstring 2020-10-20 07:57:43 -04:00
PySimpleGUI
7868ad3cf0
Merge pull request #3510 from PySimpleGUI/Dev-latest
Allow Combo.update to set both readonly and clear disable in same call.
2020-10-19 18:37:29 -04:00
PySimpleGUI
d34f2cccad Allow Combo.update to set both readonly and clear disable in same call. 2020-10-19 18:37:10 -04:00
PySimpleGUI
71e181201b
Merge pull request #3508 from PySimpleGUI/Dev-latest
cprint, mutline.print now autoscrolls
2020-10-19 14:11:24 -04:00
PySimpleGUI
7b7afc2dc2 cprint, mutline.print now autoscrolls 2020-10-19 14:11:04 -04:00
PySimpleGUI
e7f7089b0e
Merge pull request #3503 from PySimpleGUI/Dev-latest
Another __version__ change
2020-10-18 17:08:21 -04:00
PySimpleGUI
a63a0c327a Another __version__ change 2020-10-18 17:08:00 -04:00
PySimpleGUI
0abfad28f3
Merge pull request #3502 from PySimpleGUI/Dev-latest
New Demo Program!  Tkinter colors as swatches
2020-10-18 15:26:47 -04:00
PySimpleGUI
f7d2ac04f3 New Demo Program! Tkinter colors as swatches 2020-10-18 15:26:02 -04:00
PySimpleGUI
04cdcf79ea
Merge pull request #3500 from PySimpleGUI/Dev-latest
Rolled back to original version statement
2020-10-18 12:38:04 -04:00
PySimpleGUI
90b02c25e2 Rolled back to original versoin statement 2020-10-18 12:37:39 -04:00
PySimpleGUI
919b509ea2
Merge pull request #3499 from PySimpleGUI/Dev-latest
Dev latest
2020-10-18 12:35:05 -04:00
PySimpleGUI
138d905283 Switched __version__ 2020-10-18 12:34:47 -04:00
PySimpleGUI
a40a0bdeca Swiched back __version__ in upgrade code too 2020-10-18 12:34:20 -04:00
PySimpleGUI
f4eb7b4112
Merge pull request #3498 from PySimpleGUI/Dev-latest
Switched __version__ back to old definition
2020-10-18 12:25:21 -04:00
PySimpleGUI
64e3ba11d5 Switched __version__ back to old definition 2020-10-18 12:25:02 -04:00
PySimpleGUI
8887eb811d
Merge pull request #3497 from PySimpleGUI/Dev-latest
Changed install to use version instead of __version__.. may take a co…
2020-10-18 12:15:29 -04:00
PySimpleGUI
1a956a0e12 Changed install to use version instead of __version__.. may take a couple tries.... 2020-10-18 12:15:11 -04:00
PySimpleGUI
27c8db63d3
Merge pull request #3496 from PySimpleGUI/Dev-latest
Added Window.set_cursor
2020-10-18 11:32:12 -04:00
PySimpleGUI
40bee69a36 Added Window.set_cursor 2020-10-18 11:31:52 -04:00
PySimpleGUI
70b8072ca5
Merge pull request #3494 from PySimpleGUI/Dev-latest
__version__ is now the shortened version string
2020-10-17 14:25:34 -04:00
PySimpleGUI
adfeac2d41 Update PySimpleGUI.py 2020-10-17 14:25:02 -04:00
PySimpleGUI
6231e5876a Redefined __version__ to be the shortened version string 2020-10-17 14:24:24 -04:00
PySimpleGUI
5f17aa7d20
Merge pull request #3493 from PySimpleGUI/Dev-latest
Abliilty to set the icon for popup_get_file when no window option set.
2020-10-17 13:38:41 -04:00
PySimpleGUI
b6e972c601 Abliilty to set the icon for popup_get_file when no window option set. 2020-10-17 13:38:14 -04:00
PySimpleGUI
9c63421588
Merge pull request #3492 from PySimpleGUI/Dev-latest
New Demo - users settings to save prior selections
2020-10-17 10:35:41 -04:00
PySimpleGUI
159f8cc92b New Demo - users settings to save prior selections 2020-10-17 10:35:22 -04:00
PySimpleGUI
7fcb8b5c7d
Merge pull request #3488 from PySimpleGUI/Dev-latest
Window title change, sorted the entries before displaying
2020-10-16 14:30:15 -04:00
PySimpleGUI
2652701540 Window title change, sorted the entries before displaying 2020-10-16 14:28:31 -04:00
PySimpleGUI
90dadf433b
Merge pull request #3487 from PySimpleGUI/Dev-latest
Demo - Saving previously entered Combobox entries
2020-10-16 14:07:00 -04:00
PySimpleGUI
5843f33d28 Demo - Saving previously entered Combobox entries 2020-10-16 14:06:34 -04:00
PySimpleGUI
953f757464
Merge pull request #3485 from PySimpleGUI/Dev-latest
New Demo - Design pattern for main func, window create, and saving th…
2020-10-16 10:07:31 -04:00
PySimpleGUI
dbf0bfc297 New Demo - Design pattern for main func, window create, and saving theme from one run to the next 2020-10-16 10:07:10 -04:00
PySimpleGUI
aedfe27dcc
Merge pull request #3482 from PySimpleGUI/Dev-latest
Release 4.30.0
2020-10-15 16:43:54 -04:00
PySimpleGUI
7e05146400 Release 4.30.0 2020-10-15 16:43:32 -04:00
PySimpleGUI
b5fc8c86ab
Merge pull request #3478 from PySimpleGUI/Dev-latest
Added theme swatch previewer so that seeing the color values and gett…
2020-10-14 19:09:23 -04:00
PySimpleGUI
f45c18e697 Added theme swatch previewer so that seeing the color values and getting hex values is easier 2020-10-14 19:09:03 -04:00
PySimpleGUI
60d2e1c253
Merge pull request #3476 from PySimpleGUI/Dev-latest
New Demo Program - Theme Color Swatches
2020-10-14 09:10:42 -04:00
PySimpleGUI
6aad056e0f New Demo Program - Theme Color Swatches 2020-10-14 09:10:19 -04:00
PySimpleGUI
8b83e9deff
Merge pull request #3473 from PySimpleGUI/Dev-latest
Added a "Pause/Resume" button.
2020-10-13 12:04:28 -04:00
PySimpleGUI
28eafd6a1a Added a "Pause/Resume" button. 2020-10-13 12:03:25 -04:00
PySimpleGUI
f734558527
Merge pull request #3472 from PySimpleGUI/Dev-latest
Dev latest
2020-10-12 17:24:47 -04:00
PySimpleGUI
930747a324 New Demo Program - GitHub file copier 2020-10-12 17:24:29 -04:00
PySimpleGUI
ea03abb6d0 Changed demo to directly call user_settings within the layout 2020-10-12 17:24:14 -04:00
PySimpleGUI
608314ac50
Merge pull request #3471 from PySimpleGUI/Dev-latest
Added Window to SDK reference window
2020-10-12 17:20:31 -04:00
PySimpleGUI
13ad1c27b1 Update PySimpleGUI.py 2020-10-12 17:19:56 -04:00
PySimpleGUI
99dc0e2727
Merge pull request #3470 from PySimpleGUI/Dev-latest
Added simple filename save example
2020-10-11 15:49:25 -04:00
PySimpleGUI
8a85024080 Added simple filename save example 2020-10-11 15:49:07 -04:00
PySimpleGUI
0688d05f0c
Merge pull request #3469 from PySimpleGUI/Dev-latest
Focus indicators for Buttons, Checkbox, Radio buttons. Colors are onl…
2020-10-10 17:56:19 -04:00
PySimpleGUI
92559530bf Focus indicators for Buttons, Checkbox, Radio buttons. Colors are only used in Linux but outline used by all of them. Was disabled months ago. 2020-10-10 17:56:01 -04:00
PySimpleGUI
c3176ae6cf
Merge pull request #3468 from PySimpleGUI/Dev-latest
Moved Example 5B inside of Try/Except block in case unpacking isn't s…
2020-10-10 12:52:04 -04:00
PySimpleGUI
dc2f55dc96 Moved Example 5B inside of Try/Except block in case unpacking isn't supported. 2020-10-10 12:51:44 -04:00
PySimpleGUI
e046412f1d
Merge pull request #3467 from PySimpleGUI/Dev-latest
Dev latest
2020-10-10 11:17:36 -04:00
PySimpleGUI
52c8dbf034 New User Settings Demo 2020-10-10 11:17:12 -04:00
PySimpleGUI
b90c6baa5d Added examples of combining layout helper function with other elements on a single row 2020-10-10 11:17:00 -04:00
PySimpleGUI
74f47faa50
Merge pull request #3465 from PySimpleGUI/Dev-latest
New vertical layout demo program
2020-10-09 16:15:54 -04:00
PySimpleGUI
f061422898 New vertical layout demo program 2020-10-09 16:15:36 -04:00
PySimpleGUI
4b621f5633
Merge pull request #3463 from PySimpleGUI/Dev-latest
Japanese version of Readme
2020-10-08 16:30:34 -04:00
PySimpleGUI
56803ec992 Japanese version of Readme 2020-10-08 16:30:14 -04:00
PySimpleGUI
f9e740de68
Merge pull request #3462 from PySimpleGUI/Dev-latest
For Japanese version of Readme
2020-10-08 16:28:53 -04:00
PySimpleGUI
98a60d8aee For Japanese version of Readme 2020-10-08 16:28:35 -04:00
PySimpleGUI
dd9a08198c
Merge pull request #3461 from PySimpleGUI/Dev-latest
For Japanese version of Readme
2020-10-08 16:20:12 -04:00
PySimpleGUI
d21fa74cff For Japanese version of Readme 2020-10-08 16:19:42 -04:00
PySimpleGUI
17ae363491
Merge pull request #3460 from PySimpleGUI/Dev-latest
For Japanese version of readme
2020-10-08 16:16:54 -04:00
PySimpleGUI
b431d300ee For Japanese version of readme 2020-10-08 16:16:35 -04:00
PySimpleGUI
b6271d8ba8
Merge pull request #3459 from PySimpleGUI/Dev-latest
Images for Japanese version of readme
2020-10-08 16:10:33 -04:00
PySimpleGUI
82e23e6b01 Images for Japanese version of readme 2020-10-08 16:10:11 -04:00
PySimpleGUI
7316996f1e
Merge pull request #3458 from PySimpleGUI/Dev-latest
Quick little demo of buttons and user_settings to store theme
2020-10-08 09:27:49 -04:00
PySimpleGUI
7d2644ef1a Quick little demo of buttons and user_settings to store theme 2020-10-08 09:27:23 -04:00
PySimpleGUI
16714a140b
Merge pull request #3455 from PySimpleGUI/Dev-latest
Added Sponsorship info
2020-10-07 12:22:57 -04:00
PySimpleGUI
24cfdf213c Added Sponsorship info 2020-10-07 12:22:23 -04:00
PySimpleGUI
a1adb41ab2
Merge pull request #3453 from PySimpleGUI/Dev-latest
More error handling for user_settings APIs. Re-arranged test GUI so t…
2020-10-06 16:48:32 -04:00
PySimpleGUI
ac3847a23d More error handling for user_settings APIs. Re-arranged test GUI so that the popups tests are in their own tab. Added "Buy me a coffee" button, docstring updates for user settings. 2020-10-06 16:47:04 -04:00
PySimpleGUI
5a45837994
Merge pull request #3450 from PySimpleGUI/Dev-latest
Grammar fixes
2020-10-04 13:55:44 -04:00
PySimpleGUI
3722a09863 Grammar fixes 2020-10-04 13:55:25 -04:00
PySimpleGUI
17f62e40ad
Merge pull request #3446 from PySimpleGUI/Dev-latest
Removed blank section
2020-10-03 19:45:39 -04:00
PySimpleGUI
53147ee936 Removed blank section 2020-10-03 19:45:21 -04:00
PySimpleGUI
2eb8cf381f
Merge pull request #3445 from PySimpleGUI/Dev-latest
The new Readme
2020-10-03 19:41:37 -04:00
PySimpleGUI
21ab49a22d The new Readme 2020-10-03 19:41:18 -04:00
PySimpleGUI
1520ad0c3a
Merge pull request #3444 from PySimpleGUI/Dev-latest
Icons for readme
2020-10-02 22:01:23 -04:00
PySimpleGUI
83b8b0483b Icons for readme 2020-10-02 22:00:46 -04:00
PySimpleGUI
a823c2cb4c
Merge pull request #3443 from PySimpleGUI/Dev-latest
More image uploads
2020-10-02 13:25:38 -04:00
PySimpleGUI
5212decd80 More image uploads 2020-10-02 13:25:20 -04:00
PySimpleGUI
113986c05f
Merge pull request #3440 from PySimpleGUI/Dev-latest
More images
2020-10-01 14:26:28 -04:00
PySimpleGUI
caf5ac6f52 More images 2020-10-01 14:26:10 -04:00
PySimpleGUI
4a04bbbe67
Merge pull request #3439 from PySimpleGUI/Dev-latest
Color fixup
2020-10-01 14:06:29 -04:00
PySimpleGUI
c2595609ad Color fixup 2020-10-01 14:06:11 -04:00
PySimpleGUI
5e9ebd5426
Merge pull request #3438 from PySimpleGUI/Dev-latest
new GUI gap
2020-10-01 13:58:14 -04:00
PySimpleGUI
ee371be0f5 new GUI gap 2020-10-01 13:56:49 -04:00
PySimpleGUI
aa8fe95874
Merge pull request #3436 from PySimpleGUI/Dev-latest
Renamed images
2020-09-30 10:17:07 -04:00
PySimpleGUI
e38a768df3 Renamed images 2020-09-30 10:16:27 -04:00
PySimpleGUI
17147614b4
Merge pull request #3435 from PySimpleGUI/Dev-latest
More readme images
2020-09-30 09:57:26 -04:00
PySimpleGUI
3c1d4bc36a More readme images 2020-09-30 09:54:48 -04:00
PySimpleGUI
f66a9ab2ed
Merge pull request #3432 from PySimpleGUI/Dev-latest
Jump Cutter screenshot
2020-09-29 17:31:13 -04:00
PySimpleGUI
a925a8218b Jump Cutter screenshot 2020-09-29 17:30:55 -04:00
PySimpleGUI
a75fddfd9b
Merge pull request #3431 from PySimpleGUI/Dev-latest
Dark Grey Theme
2020-09-29 17:13:29 -04:00
PySimpleGUI
e0c66a33d2 Dark Grey Theme 2020-09-29 17:13:11 -04:00
PySimpleGUI
5c5515c4a3
Merge pull request #3430 from PySimpleGUI/Dev-latest
Replaced list comprehension example
2020-09-29 17:07:48 -04:00
PySimpleGUI
301f1aa742 Replaced list comprehension example 2020-09-29 17:07:29 -04:00
PySimpleGUI
1c9c0a5c00
Merge pull request #3429 from PySimpleGUI/Dev-latest
Grid of buttons example
2020-09-29 16:39:19 -04:00
PySimpleGUI
a440794d04 Grid of buttons example 2020-09-29 16:39:01 -04:00
PySimpleGUI
2d7bf40dd0
Merge pull request #3428 from PySimpleGUI/Dev-latest
Example 2 image
2020-09-29 16:17:18 -04:00
PySimpleGUI
a999f17ce6 Example 2 image 2020-09-29 16:16:50 -04:00
PySimpleGUI
f0988c6f96
Merge pull request #3427 from PySimpleGUI/Dev-latest
Readme image text update
2020-09-29 15:15:06 -04:00
PySimpleGUI
057339480c Readme image text update 2020-09-29 15:14:47 -04:00
PySimpleGUI
14e6bcfe0f
Merge pull request #3426 from PySimpleGUI/Dev-latest
More screenshots
2020-09-29 14:55:32 -04:00
PySimpleGUI
0d3b7f4891 More screenshots 2020-09-29 14:55:15 -04:00
PySimpleGUI
7765ecf4dd
Merge pull request #3425 from PySimpleGUI/Dev-latest
More readme images
2020-09-29 14:19:53 -04:00
PySimpleGUI
6c7e44daef More readme images 2020-09-29 14:19:34 -04:00
PySimpleGUI
502235c5e4
Merge pull request #3424 from PySimpleGUI/Dev-latest
More screenshots for readme
2020-09-29 12:41:45 -04:00
PySimpleGUI
1ea4bff9bf More screenshots for readem 2020-09-29 12:41:21 -04:00
PySimpleGUI
eb1e358b37
Merge pull request #3422 from PySimpleGUI/Dev-latest
Fixed docstring error
2020-09-27 08:11:01 -04:00
PySimpleGUI
6b3484b975 Fixed docstring error 2020-09-27 08:10:41 -04:00
PySimpleGUI
4140e71481
Merge pull request #3421 from PySimpleGUI/Dev-latest
Dev latest
2020-09-27 08:04:14 -04:00
PySimpleGUI
50e1a1f550 Window.set_min_size docstring warning 2020-09-27 08:03:53 -04:00
PySimpleGUI
9d2af2240a Added Window.set_min_size 2020-09-27 08:03:03 -04:00
PySimpleGUI
53e83c9880
Merge pull request #3417 from PySimpleGUI/Dev-latest
Dev latest
2020-09-26 12:39:40 -04:00
PySimpleGUI
adce90b322 New Matplotlib demo based on Template that allows changing Matplotlib Style and PySimpleGUI Theme to see what matches 2020-09-26 12:39:21 -04:00
PySimpleGUI
957fd84055 Added ability to change Matplotlib Style 2020-09-26 12:38:49 -04:00
PySimpleGUI
626f941d54
Merge pull request #3413 from PySimpleGUI/Dev-latest
Spelling errors. Changed to dark theme
2020-09-25 18:12:45 -04:00
PySimpleGUI
6f9a92ba75 Spelling errors. Changed to dark theme 2020-09-25 18:12:21 -04:00
PySimpleGUI
7431d4b141
Merge pull request #3411 from PySimpleGUI/Dev-latest
Dev latest
2020-09-25 14:11:55 -04:00
PySimpleGUI
073ae115eb More images 2020-09-25 14:11:24 -04:00
PySimpleGUI
8d987a7d3d New Demo - Base64 Shaded Buttons 2020-09-25 14:11:14 -04:00
PySimpleGUI
99e496a393
Merge pull request #3410 from PySimpleGUI/Dev-latest
More readme images
2020-09-24 11:04:27 -04:00
PySimpleGUI
2bab46c1bf More readme images 2020-09-24 10:59:48 -04:00
PySimpleGUI
ceca49b0b9
Merge pull request #3409 from PySimpleGUI/Dev-latest
Fixed preview search string. "Python" theme added.  Added images for …
2020-09-23 15:19:25 -04:00
PySimpleGUI
ea730ff41e Fixed preview search string. "Python" theme added. Added images for readme 2020-09-23 15:17:00 -04:00
PySimpleGUI
35144cc612
Merge pull request #3408 from PySimpleGUI/Dev-latest
Rows labelled
2020-09-22 20:09:32 -04:00
PySimpleGUI
798f33f949 Rows labelled 2020-09-22 19:15:02 -04:00
PySimpleGUI
09a4211eda
Merge pull request #3407 from PySimpleGUI/Dev-latest
Screenshots for Readme
2020-09-22 17:01:19 -04:00
PySimpleGUI
c6d8c07f56 Screenshots for Readme 2020-09-22 17:00:59 -04:00
PySimpleGUI
967b58cb3c
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2020-09-21 15:37:42 -04:00
PySimpleGUI
363d677b8c
Merge pull request #3404 from PySimpleGUI/Dev-latest
Logo checkin
2020-09-21 09:25:36 -04:00
PySimpleGUI
052a34e32d Logo checkin 2020-09-21 09:25:15 -04:00
PySimpleGUI
10d6fb79d8
Merge pull request #3402 from PySimpleGUI/Dev-latest
Added a tuple example for button right click
2020-09-20 15:54:57 -04:00
PySimpleGUI
7232fd2337 Added a tuple example for button right click 2020-09-20 15:54:37 -04:00
PySimpleGUI
1b17077742
Merge pull request #3400 from PySimpleGUI/Dev-latest
Removed unused parms from Image.DrawText.  Added user_settings_file_exists
2020-09-19 14:47:34 -04:00
PySimpleGUI
2d1f704ccc Update PySimpleGUI.py 2020-09-19 14:46:39 -04:00
PySimpleGUI
6dd9236f5b
Merge pull request #3397 from PySimpleGUI/Dev-latest
Added user_settings_delete_filename, tweaked a few other user_setting…
2020-09-19 06:25:21 -04:00
PySimpleGUI
5ca53d7825 Added user_settings_delete_filename, tweaked a few other user_settings behaviors... it's getting there.... 2020-09-19 06:24:57 -04:00
PySimpleGUI
de62db17ad
Merge pull request #3394 from PySimpleGUI/Dev-latest
Dark Grey 9 theme, slight change to error display when trying to kill…
2020-09-18 13:04:22 -04:00
PySimpleGUI
e48dabe7f2 Dark Grey 9 theme, slight change to error display when trying to kill self. 2020-09-18 13:04:01 -04:00
PySimpleGUI
c008327dbf
Merge pull request #3389 from PySimpleGUI/Dev-latest
Added background color and text color to Radio.update
2020-09-17 08:00:25 -04:00
PySimpleGUI
55112a8d28 Added background color and text color to Radio.update 2020-09-17 08:00:06 -04:00
PySimpleGUI
1884d0d2fb
Merge pull request #3388 from PySimpleGUI/Dev-latest
Fixed modal default in docstrings for several popups. Hooked up the i…
2020-09-17 07:47:59 -04:00
PySimpleGUI
c3bf7c5375 Fixed modal default in docstrings for several popups. Hooked up the image parameter to popup_scrolled 2020-09-17 07:47:39 -04:00
PySimpleGUI
b5a299f91b
Merge pull request #3386 from PySimpleGUI/Dev-latest
user settings delete function, ver shortened version string
2020-09-16 10:10:12 -04:00
PySimpleGUI
f145b4ff36 user settings delete function, ver shortened version string 2020-09-16 10:09:46 -04:00
PySimpleGUI
742f1a7180
Merge pull request #3381 from PySimpleGUI/Dev-latest
echo_stdout_stderr parm added to multiline and output, added Dark Bro…
2020-09-15 07:21:25 -04:00
PySimpleGUI
51b5de94ee echo_stdout_stderr parm added to multiline and output, added Dark Brown 7 theme, changed getting filename 2020-09-15 07:08:46 -04:00
PySimpleGUI
8138118fda
Merge pull request #3376 from PySimpleGUI/Dev-latest
A "Table Driven" version.  Uses a single dictionary to define all of …
2020-09-12 08:54:00 -04:00
PySimpleGUI
4c2ad59eca A "Table Driven" version. Uses a single dictionary to define all of the details needed to make the GUI and launch the commandline program 2020-09-12 08:53:40 -04:00
PySimpleGUI
1d9a1c1c89
Merge pull request #3375 from PySimpleGUI/Dev-latest
jumpcutter initial checkin
2020-09-11 06:49:51 -04:00
PySimpleGUI
bc78af7436 jumpcutter initial checkin 2020-09-11 06:49:22 -04:00
PySimpleGUI
75dbf84cb5
Merge pull request #3370 from PySimpleGUI/Dev-latest
Added text parameter to Radio.update
2020-09-08 12:11:51 -04:00
PySimpleGUI
06052565f8 Added text parameter to Radio.update 2020-09-08 12:11:30 -04:00
PySimpleGUI
2133f2486c
Merge pull request #3369 from PySimpleGUI/Dev-latest
"user_settings" API calls!  New DarkGrey14 theme
2020-09-08 11:58:18 -04:00
PySimpleGUI
01ba7cac28 "user_settings" API calls! New DarkGrey14 theme 2020-09-08 11:57:26 -04:00
PySimpleGUI
c2c11cbc65
Merge pull request #3364 from PySimpleGUI/Dev-latest
Removed highlight thickness for buttons so that focus can be seen, ne…
2020-09-05 06:45:51 -04:00
PySimpleGUI
ce5310b00d Removed highlight thickness for buttons so that focus can be seen, new themes DarkGrey10 11 12 13, sdk help window now named main_sdk_help() 2020-09-05 06:45:02 -04:00
PySimpleGUI
9f02957718
Merge pull request #3358 from PySimpleGUI/Dev-latest
Added Window.maximize to get status of maximize, added main_sdk_help_…
2020-09-02 06:36:55 -04:00
PySimpleGUI
e6e6d7ec3d Added Window.maximize to get status of maximize, added main_sdk_help_window 2020-09-02 06:36:32 -04:00
PySimpleGUI
2bd082724d
Merge pull request #3349 from PySimpleGUI/Dev-latest
Demo of "PyCharm Me" Button
2020-08-27 18:16:30 -04:00
PySimpleGUI
7e4af56bdf Demo of "PyCharm Me" Button 2020-08-27 18:16:11 -04:00
PySimpleGUI
f4465d9354
Merge pull request #3348 from PySimpleGUI/Dev-latest
shrink parameter added to pin function
2020-08-27 16:05:14 -04:00
PySimpleGUI
f62051ae01 shrink parameter added to pin function 2020-08-27 16:04:54 -04:00
PySimpleGUI
6249e3788c
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2020-08-26 16:56:14 -04:00
PySimpleGUI
dff4149f76
Merge pull request #3341 from PySimpleGUI/Dev-latest
Removed f-strings so can run on the Pi (3.4)
2020-08-25 17:26:02 -04:00
PySimpleGUI
2bd81e5d9f Removed f-strings so can run on the Pi (3.4) 2020-08-25 17:25:40 -04:00
PySimpleGUI
5132525cb8
Merge pull request #3340 from PySimpleGUI/Dev-latest
Release 4.29.0
2020-08-25 16:57:27 -04:00
PySimpleGUI
154ea792ae Release 4.29.0 2020-08-25 16:56:55 -04:00
PySimpleGUI
4e574fdbac
Merge pull request #3338 from PySimpleGUI/Dev-latest
Changed toplevel create to not have a parent (was changed a couple of…
2020-08-25 11:53:11 -04:00
PySimpleGUI
b086edb26d Changed toplevel create to not have a parent (was changed a couple of releases ago and causes problems now), made 1-line progress meter windows no closable usintg X 2020-08-25 11:52:50 -04:00
PySimpleGUI
6d8a080a8e
Merge pull request #3336 from PySimpleGUI/Dev-latest
Do not close the hidden master window when no other windows left open…
2020-08-25 06:40:42 -04:00
PySimpleGUI
6b7e875b7b Do not close the hidden master window when no other windows left open. Always keep around after first created. 2020-08-25 06:40:19 -04:00
PySimpleGUI
cff282e52e
Merge pull request #3332 from PySimpleGUI/Dev-latest
Added Window.force_focus. Force focus when no-titlebar window, change…
2020-08-23 17:22:25 -04:00
PySimpleGUI
ef3a54a8b1 Added Window.force_focus. Force focus when no-titlebar window, changed how main test window is created, New test harness features - collapse tabs and change theme 2020-08-23 17:22:05 -04:00
PySimpleGUI
8f240186fe
Merge pull request #3330 from PySimpleGUI/Dev-latest
Added Window.set_title
2020-08-23 10:24:55 -04:00
PySimpleGUI
ab2984bc1d Added Window.set_title 2020-08-23 10:24:34 -04:00
PySimpleGUI
dc51367cb5
Merge pull request #3326 from PySimpleGUI/Dev-latest
Uses new grab and expand parameters.  Requires 4.28.0.20 and later
2020-08-22 16:16:50 -04:00
PySimpleGUI
c97234af84 Uses new grab and expand parameters. Requires 4.28.0.20 and later 2020-08-22 16:16:31 -04:00
PySimpleGUI
0f4358f74a
Merge pull request #3325 from PySimpleGUI/Dev-latest
Dev latest
2020-08-22 15:27:34 -04:00
PySimpleGUI
8066b0edd5 Fix for Calendar Button 2020-08-22 15:27:07 -04:00
PySimpleGUI
bac5a938eb Theme progress bar bug fix when swapping themes. Now uses DEFAULT_PROGRESS_BAR_COMPUTE to indicate colors will be made from other parts of the theme. Hopefully little side effects but may have bigger effect than desired. Added expand_x & expand_y to Column to more easily justify elements. 2020-08-22 07:57:27 -04:00
PySimpleGUI
c37d227772
Merge pull request #3322 from PySimpleGUI/Dev-latest
Added back left arrow symbol, tclversion_detailed exposed
2020-08-21 13:54:02 -04:00
PySimpleGUI
56c30e4933 Added back left arrow symbol, tclversion_detailed exposed 2020-08-21 13:53:41 -04:00
PySimpleGUI
4466b4d117
Merge pull request #3321 from PySimpleGUI/Dev-latest
Added the custom titlebar so that the window can be moved by that tit…
2020-08-21 13:12:05 -04:00
PySimpleGUI
b8344a5778 Added the custom titlebar so that the window can be moved by that titlebar. 2020-08-21 13:11:36 -04:00
PySimpleGUI
b70b3362d1
Merge pull request #3319 from PySimpleGUI/Dev-latest
Right click menu for StatusBar.  grab parameter for Column element
2020-08-20 19:27:05 -04:00
PySimpleGUI
52a1f78047 Right click menu for StatusBar. grab parameter for Column element 2020-08-20 19:26:43 -04:00
PySimpleGUI
3af08ebc27
Merge pull request #3318 from PySimpleGUI/Dev-latest
grab parameter added to Text element
2020-08-20 18:15:23 -04:00
PySimpleGUI
0180c3a80e grab parameter added to Text element 2020-08-20 18:15:02 -04:00
PySimpleGUI
359711972b
Merge pull request #3316 from PySimpleGUI/Dev-latest
Made vtop, vcenter, vbottom capable of taking a single element or an …
2020-08-20 14:35:00 -04:00
PySimpleGUI
ccfcb8f063 Made vtop, vcenter, vbottom capable of taking a single element or an entire row. 2020-08-20 14:34:33 -04:00
PySimpleGUI
ee7b59e0d8
Create config.yml 2020-08-20 10:42:13 -04:00
PySimpleGUI
e0af9ffe58
Merge pull request #3314 from PySimpleGUI/Dev-latest
New Custom Titlebar showing multiple color combinations
2020-08-20 07:42:12 -04:00
PySimpleGUI
4806dacf48 New Custom Titlebar showing multiple color combinations 2020-08-20 07:41:52 -04:00
PySimpleGUI
d6d7123f20
Merge pull request #3307 from PySimpleGUI/Dev-latest
Added a LOT of popup tests to help test features that may have troubl…
2020-08-18 08:50:09 -04:00
PySimpleGUI
46ec413811 Added a LOT of popup tests to help test features that may have trouble on Mac or Linux 2020-08-18 08:49:00 -04:00
PySimpleGUI
1d94ecc3ea
Merge pull request #3306 from PySimpleGUI/Dev-latest
Fixed error in grab anywhere. Was setting root.x to none and then lat…
2020-08-18 07:24:14 -04:00
PySimpleGUI
f1ab730d3d Fixed error in grab anywhere. Was setting root.x to none and then later trying to perform subtraction when moving causing exception 2020-08-18 07:22:39 -04:00
PySimpleGUI
0885e340de
Merge pull request #3305 from PySimpleGUI/Dev-latest
Added disabled button to theme previewer in case you're using disable…
2020-08-18 06:47:36 -04:00
PySimpleGUI
d868227145 Added disabled button to theme previewer in case you're using disabled buttons in your GUI 2020-08-18 06:47:15 -04:00
PySimpleGUI
fae8d89b20
Merge pull request #3304 from PySimpleGUI/Dev-latest
Added a "Kill All & Exit" so you can click once and all Python progra…
2020-08-18 06:38:20 -04:00
PySimpleGUI
e4781e2a6f Added a "Kill All & Exit" so you can click once and all Python programs go away, including this one. 2020-08-18 06:37:59 -04:00
PySimpleGUI
623a39c448
Merge pull request #3301 from PySimpleGUI/Dev-latest
New statusbar demo to accompany change to StatusBar element.
2020-08-17 11:49:29 -04:00
PySimpleGUI
d051a22a89 New statusbar demo to accompany change to StatusBar element. 2020-08-17 11:48:56 -04:00
PySimpleGUI
17b3b48309
Merge pull request #3300 from PySimpleGUI/Dev-latest
Dev latest
2020-08-17 10:52:06 -04:00
PySimpleGUI
068a881662 Statusbar now fills the row correctly. 2020-08-17 10:51:38 -04:00
PySimpleGUI
804b968b68 vtop, vcenter, vbottom - pin-like layout helper functions that will align the element to the top, center, or bottom of the row it is on 2020-08-17 06:48:12 -04:00
PySimpleGUI
f84330ef30
Merge pull request #3299 from PySimpleGUI/Dev-latest
Added vertical_alignment to pin func.  Can use to align elements easi…
2020-08-17 06:25:11 -04:00
PySimpleGUI
413a521c89 Added vertical_alignment to pin func. Can use to align elements easier than Column but with a 1-pixel penalty 2020-08-17 06:24:48 -04:00
PySimpleGUI
c5f9fabaa2
Merge pull request #3297 from PySimpleGUI/Dev-latest
Added vertical_alignment parameter to Frame
2020-08-16 16:10:06 -04:00
PySimpleGUI
17ae59bc9c Added vertical_alignment parameter to Frame 2020-08-16 16:09:48 -04:00
PySimpleGUI
bf960bd250
Merge pull request #3296 from PySimpleGUI/Dev-latest
Fix for element justification in columns.  New Column parameter - ver…
2020-08-16 15:27:56 -04:00
PySimpleGUI
a48810db73 Fix for element justification in columns. New Column parameter - vertical_alignment 2020-08-16 15:27:38 -04:00
PySimpleGUI
a855a0d2de
Merge pull request #3292 from PySimpleGUI/Dev-latest
Changed the overrideredirect check for darwin to a try/except instead…
2020-08-15 14:30:15 -04:00
PySimpleGUI
bcc0e62538 Changed the overrideredirect check for darwin to a try/except instead. Added DarkGrey9 theme 2020-08-15 14:29:54 -04:00
PySimpleGUI
c48f6bccb6
Merge pull request #3291 from PySimpleGUI/Dev-latest
New demo - custom titlebar running as async
2020-08-14 12:57:31 -04:00
PySimpleGUI
4f2ec52c26 New demo - custom titlebar running as async 2020-08-14 12:57:10 -04:00
PySimpleGUI
afeebe2157
Merge pull request #3287 from PySimpleGUI/Dev-latest
Changed use of keyword "k" to key for better portability to older ver…
2020-08-13 20:03:04 -04:00
PySimpleGUI
3261b96d46 Changed use of keyword "k" to key for better portability to older versions of PySimpleGUI. More example titlebar color setups 2020-08-13 19:58:48 -04:00
PySimpleGUI
ba6f45abf0
Merge pull request #3285 from PySimpleGUI/Dev-latest
New demo - restart a window(recreates a window)
2020-08-13 15:00:30 -04:00
PySimpleGUI
1b1ca99275 New demo - restart a window(recreates a window) 2020-08-13 15:00:08 -04:00
PySimpleGUI
31db6f4034
Merge pull request #3284 from PySimpleGUI/Dev-latest
No longer delete the tkroot and rows variable when closing window. In…
2020-08-13 10:23:59 -04:00
PySimpleGUI
7a1fcc10be No longer delete the tkroot and rows variable when closing window. Instead set to None 2020-08-13 10:23:37 -04:00
PySimpleGUI
91eb5b1317
Merge pull request #3283 from PySimpleGUI/Dev-latest
Changed titlebar to use the theme's button colors
2020-08-13 09:27:10 -04:00
PySimpleGUI
07c56e9ada Changed titlebar to use the theme's button colors 2020-08-13 09:26:52 -04:00
PySimpleGUI
91cf26925d Revert "Changed to use the theme's button colors for the titlebar"
This reverts commit 76c7685841.
2020-08-13 09:26:15 -04:00
PySimpleGUI
76c7685841 Changed to use the theme's button colors for the titlebar 2020-08-13 09:25:38 -04:00
PySimpleGUI
11e6429eb3 Revert "Update _config.yml"
This reverts commit 8ec3fd6b56.
2020-08-12 16:42:34 -04:00
PySimpleGUI
8ec3fd6b56
Update _config.yml 2020-08-12 16:37:15 -04:00
PySimpleGUI
65522ecc47
Merge pull request #3278 from PySimpleGUI/Dev-latest
Dev latest
2020-08-12 11:02:37 -04:00
PySimpleGUI
7a5cfcd251 Docstrings, comments 2020-08-12 11:02:17 -04:00
PySimpleGUI
005c18f775 Support for titles in the taskbar icon 2020-08-12 10:58:09 -04:00
PySimpleGUI
c51bef5d47
Merge pull request #3277 from PySimpleGUI/Dev-latest
Addition of minimize
2020-08-12 10:28:22 -04:00
PySimpleGUI
29fb6fc76d Addition of minimize 2020-08-12 10:28:03 -04:00
PySimpleGUI
62ba8e874e
Merge pull request #3276 from PySimpleGUI/Dev-latest
Dev latest
2020-08-12 07:57:44 -04:00
PySimpleGUI
091b42fcd8 New demo showing a custom titlebar, uses new dark grey 9 theme 2020-08-12 07:57:24 -04:00
PySimpleGUI
023d41eccf Added X symbol and the Dark Grey 8 theme 2020-08-12 07:51:27 -04:00
PySimpleGUI
27be46ecab Set button background colors correctly so they blend with theme. 2020-08-11 09:12:51 -04:00
PySimpleGUI
b6e49fabfa
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2020-08-10 09:50:23 -04:00
PySimpleGUI
70d52b3503
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2020-08-10 09:49:45 -04:00
PySimpleGUI
1717a6f645
Merge pull request #3271 from PySimpleGUI/Dev-latest
New demo - Image Viewer
2020-08-10 08:38:15 -04:00
PySimpleGUI
15dce8d14b New demo - Image Viewer 2020-08-10 08:37:57 -04:00
PySimpleGUI
49a98bfd1a
Merge pull request #3270 from PySimpleGUI/Dev-latest
Dev latest
2020-08-10 08:22:38 -04:00
PySimpleGUI
dcf5a371ce Ver bump 2020-08-10 08:22:19 -04:00
PySimpleGUI
7b56d6011f Expand separators correctly. Added some "symbols" 2020-08-10 08:21:52 -04:00
PySimpleGUI
e5a8f0ff44
Merge pull request #3265 from PySimpleGUI/Dev-latest
More options and feedback.
2020-08-09 09:15:16 -04:00
PySimpleGUI
b30ab55d97 More options and feedback. 2020-08-09 09:14:55 -04:00
PySimpleGUI
0a3c9f9876
Merge pull request #3261 from PySimpleGUI/Dev-latest
Fixed formatting
2020-08-07 08:03:52 -04:00
PySimpleGUI
59933be714 Fixed formatting 2020-08-07 08:03:32 -04:00
PySimpleGUI
1d93cb7e26
Merge pull request #3260 from PySimpleGUI/Dev-latest
Dev latest
2020-08-07 07:35:33 -04:00
PySimpleGUI
63cd2e6659 New read_all_windows Recipe 2020-08-07 07:35:14 -04:00
PySimpleGUI
e785dc79a4 Fixed comment about checking for window closed 2020-08-07 07:34:51 -04:00
PySimpleGUI
f0b590098e Added ablity to re-open window 2 if closed. Also made windows use input events so updates are made as soon as characters entered 2020-08-07 07:32:28 -04:00
PySimpleGUI
ee544a3783
Merge pull request #3259 from PySimpleGUI/Dev-latest
Multiple windows active & visible at the same time
2020-08-07 07:15:17 -04:00
PySimpleGUI
54924e017d Multiple windows active & visible at the same time 2020-08-07 07:14:58 -04:00
PySimpleGUI
3c03054910
Merge pull request #3258 from PySimpleGUI/Dev-latest
Fixed crash when Window2 is closed.
2020-08-07 06:48:34 -04:00
PySimpleGUI
9f1d609bd6 Fixed crash when Window2 is closed. 2020-08-07 06:48:14 -04:00
PySimpleGUI
34bab119e2
Merge pull request #3252 from PySimpleGUI/Dev-latest
Collapsible sections recipe
2020-08-05 16:56:59 -04:00
PySimpleGUI
d0e5505c25 Collapsible sections recipe 2020-08-05 16:56:41 -04:00
PySimpleGUI
e637054b5d
Merge pull request #3250 from PySimpleGUI/Dev-latest
Cleanup selection collapse demo
2020-08-05 08:44:20 -04:00
PySimpleGUI
68f99f6bae Cleanup selection collapse demo 2020-08-05 08:43:19 -04:00
PySimpleGUI
1c106b159a
Merge pull request #3245 from PySimpleGUI/Dev-latest
Renamed Collapsible Section Demo
2020-08-04 12:17:49 -04:00
PySimpleGUI
32f1e46b0c Renamed Collapsible Section Demo 2020-08-04 12:17:32 -04:00
PySimpleGUI
0fa1329d4f
Merge pull request #3244 from PySimpleGUI/Dev-latest
New demo - collapsible sections
2020-08-04 12:15:22 -04:00
PySimpleGUI
faf62e136c New demo - collapsable sections 2020-08-04 12:14:50 -04:00
PySimpleGUI
b5c19c294d
Merge pull request #3243 from PySimpleGUI/Dev-latest
Added code to Window.visibility_changed and Column.contents_changed()
2020-08-04 08:37:00 -04:00
PySimpleGUI
143714335d Added code to Window.visibility_changed and Column.contents_changed() 2020-08-04 07:37:17 -04:00
PySimpleGUI
75b9f6e583
Merge pull request #3242 from PySimpleGUI/Dev-latest
Pin demo update
2020-08-03 16:01:24 -04:00
PySimpleGUI
82baa86150 Pin demo update 2020-08-03 16:01:05 -04:00
PySimpleGUI
b85e6ad36c
Merge pull request #3241 from PySimpleGUI/Dev-latest
Demo of element pinning capability
2020-08-03 15:59:28 -04:00
PySimpleGUI
92c15169ca Demo of element pinning capability 2020-08-03 15:59:10 -04:00
PySimpleGUI
54abff96d2
Merge pull request #3240 from PySimpleGUI/Dev-latest
Release 4.28.0
2020-08-03 15:54:11 -04:00
PySimpleGUI
523af47883 Release 4.28.0 2020-08-03 15:53:50 -04:00
PySimpleGUI
7334e78933
Merge pull request #3239 from PySimpleGUI/Dev-latest
Added pin function to pin an element's location in a layout
2020-08-03 15:29:11 -04:00
PySimpleGUI
0669a6d62a Added pin function to pin an element's location in a layout 2020-08-03 15:28:50 -04:00
PySimpleGUI
e9e533270b
Merge pull request #3238 from PySimpleGUI/Dev-latest
NEW Technique... add a 1 pixel size(0,0) canvas to a row and the row …
2020-08-03 15:24:26 -04:00
PySimpleGUI
00c9e37300 NEW Technique... add a 1 pixel size(0,0) canvas to a row and the row will shrink when others made invisible 2020-08-03 15:24:07 -04:00
PySimpleGUI
4431b6bca3
Merge pull request #3237 from PySimpleGUI/Dev-latest
border_width parameter for Graph, Canvas. Normally should be 0
2020-08-03 15:22:43 -04:00
PySimpleGUI
271ca7d662 border_width parameter for Graph, Canvas. Normally should be 0 2020-08-03 15:22:23 -04:00
PySimpleGUI
a69dcc1583
Merge pull request #3236 from PySimpleGUI/Dev-latest
Fix for background color not set when combo is readonly
2020-08-03 14:06:13 -04:00
PySimpleGUI
61fc824625 Fix for background color not set when combo is readonly 2020-08-03 14:05:53 -04:00
PySimpleGUI
42b674c5e9
Merge pull request #3231 from PySimpleGUI/Dev-latest
Changed color of spinner button to match the background of the spinne…
2020-08-03 08:39:20 -04:00
PySimpleGUI
1f1f1ecd29 Changed color of spinner button to match the background of the spinner (arrow defaults to text color), fix for error reporting of bad element keyt lookups (thanks Ruud!) 2020-08-03 08:39:01 -04:00
PySimpleGUI
5cdb1ff471
Merge pull request #3230 from PySimpleGUI/Dev-latest
Set the combobox's button colors to be the same as the theme's button…
2020-08-03 08:27:35 -04:00
PySimpleGUI
a9f1609f44 Set the combobox's button colors to be the same as the theme's button colors 2020-08-03 08:27:16 -04:00
PySimpleGUI
48ce6c669f
Merge pull request #3228 from PySimpleGUI/Dev-latest
Release 4.27.4
2020-08-03 06:02:40 -04:00
PySimpleGUI
6f8b276f42 Release 4.27.4 2020-08-03 06:02:09 -04:00
PySimpleGUI
dbb8973c00
Merge pull request #3227 from PySimpleGUI/Dev-latest
Release 4.27.1
2020-08-03 05:35:32 -04:00
PySimpleGUI
a629760ce8 Release 4.27.1 2020-08-03 05:35:10 -04:00
PySimpleGUI
89f3905d7a
Merge pull request #3222 from PySimpleGUI/Dev-latest
New Demo that shows bouncing balls on your desktop.  Uses the latest …
2020-08-02 08:18:15 -04:00
PySimpleGUI
a93e600b4f New Demo that shows bouncing balls on your desktop. Uses the latest GitHub release of PySimpleGUI 2020-08-02 08:17:55 -04:00
PySimpleGUI
4a6acdbf2e
Merge pull request #3221 from PySimpleGUI/Dev-latest
Support for timeout=0 on read_all_windows (YES!!)
2020-08-02 06:39:27 -04:00
PySimpleGUI
be31a0ad80 Support for timeout=0 on read_all_windows (YES!!) 2020-08-02 06:39:05 -04:00
PySimpleGUI
105fbfaa66
Merge pull request #3220 from PySimpleGUI/Dev-latest
Dev latest
2020-08-01 11:14:09 -04:00
PySimpleGUI
e20cbab042 New version of the drawing and dragging demo that uses 2 windows. One is a floating palette of operations 2020-08-01 11:13:45 -04:00
PySimpleGUI
9e9f83c730 Added get_globals function. Added Widget member variable for Column elements 2020-08-01 11:13:11 -04:00
PySimpleGUI
2057c33515
Merge pull request #3218 from PySimpleGUI/Dev-latest
Direction correction for mousewheel on Linux
2020-08-01 07:22:57 -04:00
PySimpleGUI
9a54ec9a50 Direction correction for mousewheel on Linux 2020-08-01 07:22:40 -04:00
PySimpleGUI
b99199a16a
Merge pull request #3216 from PySimpleGUI/Dev-latest
Addition of mousewheel for Linux when return keyboard events. Fix for …
2020-08-01 06:59:41 -04:00
PySimpleGUI
7b986d5c85 Addtion of mousewheel for Linux when return keyboard events. Fix for not getting keyboard / mouse events when read all windows 2020-08-01 06:59:14 -04:00
PySimpleGUI
0c019f1605
Merge pull request #3211 from PySimpleGUI/Dev-latest
New Python-only process killer demo program
2020-07-30 14:02:26 -04:00
PySimpleGUI
a72c48ecc2 New Python-only process killer demo program 2020-07-30 14:02:05 -04:00
PySimpleGUI
787e3f7f2a
Merge pull request #3210 from PySimpleGUI/Dev-latest
All multi-window design patterns updated to use the new read_all_wind…
2020-07-30 08:14:15 -04:00
PySimpleGUI
b8289c7360 All multi-window design patterns updated to use the new read_all_windows() call. 2020-07-30 08:13:54 -04:00
PySimpleGUI
bd28824907
Merge pull request #3207 from PySimpleGUI/Dev-latest
Added PySimpleGUIQt as the secondary (commented out) import
2020-07-29 10:22:09 -04:00
PySimpleGUI
102e61cdab Added PySimpleGUIQt as the secondary (commented out) import 2020-07-29 10:21:02 -04:00
PySimpleGUI
485cd5f3cb
Merge pull request #3203 from PySimpleGUI/Dev-latest
Documented the new Window.write_event_value, new key error recovery
2020-07-28 14:36:45 -04:00
PySimpleGUI
b5c0bd735d Documented the new Window.write_event_value, new key error recovery 2020-07-28 14:36:23 -04:00
PySimpleGUI
7c036b1b4a
Merge pull request #3200 from PySimpleGUI/Dev-latest
New justification parameter for Multiline, Multiline.update, cprint
2020-07-28 07:31:35 -04:00
PySimpleGUI
fc69d73377 New justification parameter for Multiline, Multiline.update, cprint 2020-07-28 07:30:54 -04:00
PySimpleGUI
4926a7d38b
Merge pull request #3198 from PySimpleGUI/Dev-latest
Recipe - Multiple monitor setup... locating windows on non-primary di…
2020-07-28 04:48:12 -04:00
PySimpleGUI
2d94a7c736 Recipe - Multiple monitor setup... locating windows on non-primary displays. 2020-07-28 04:47:51 -04:00
PySimpleGUI
33ae9b34c8
Merge pull request #3197 from PySimpleGUI/Dev-latest
Added location parameter so that launchers can place these widgets at…
2020-07-28 04:11:45 -04:00
PySimpleGUI
d2102c8b17 Added location parameter so that launchers can place these widgets at any location on multiple screens 2020-07-28 04:11:25 -04:00
PySimpleGUI
7a03f4671a
Merge pull request #3191 from PySimpleGUI/Dev-latest
Replaced one multi-window design pattern with new read_all_windows
2020-07-27 06:58:38 -04:00
PySimpleGUI
8fc47b964a Replaced one multi-window design pattern with new read_all_windows 2020-07-27 06:58:17 -04:00
PySimpleGUI
e207adcb3e
Merge pull request #3190 from PySimpleGUI/Dev-latest
Close window and added try when reading multiple windows with X found
2020-07-26 13:24:47 -04:00
PySimpleGUI
a3357df30a Close window and added try when reading multiple windows with X found 2020-07-26 13:24:25 -04:00
PySimpleGUI
82bb38e271
Merge pull request #3189 from PySimpleGUI/Dev-latest
Find the closest match for a key window performing element lookups.  …
2020-07-26 10:01:52 -04:00
PySimpleGUI
5b1fe16e58 Find the closest match for a key window performing element lookups. More behind the scenes work on multi-window locked moves 2020-07-26 10:01:31 -04:00
PySimpleGUI
be33dc58e8
Merge pull request #3188 from PySimpleGUI/Dev-latest
New demo showing multiple windows to achieve a background image effect
2020-07-25 22:38:21 -04:00
PySimpleGUI
c89fbc271f New demo showing multiple windows to achieve a background image effect 2020-07-25 22:37:41 -04:00
PySimpleGUI
1678576eb3
Merge pull request #3187 from PySimpleGUI/Dev-latest
changed convert_to_bytes function to use a context manager for better…
2020-07-25 17:45:38 -04:00
PySimpleGUI
7731b07f1f changed convert_to_bytes function to use a context manager for better memory management 2020-07-25 17:45:19 -04:00
PySimpleGUI
21459019bd
Merge pull request #3186 from PySimpleGUI/Dev-latest
Added up/down arrows to event bindings for spinner when enabling even…
2020-07-25 17:11:26 -04:00
PySimpleGUI
50c7903aa9 Added up/down arrows to event bindings for spinner when enabling events. Multiwindow - Move windows together when locked - controlled via class variable 2020-07-25 17:11:09 -04:00
PySimpleGUI
8177887495
Merge pull request #3184 from PySimpleGUI/Dev-latest
Key error formatting. Raise by default
2020-07-25 14:26:44 -04:00
PySimpleGUI
4d67b08c2e Key error formatting. Raise by default 2020-07-25 14:26:07 -04:00
PySimpleGUI
b30e31d91f
Merge pull request #3183 from PySimpleGUI/Dev-latest
Removed the extra try block. Not needed as cases double exception
2020-07-25 13:11:36 -04:00
PySimpleGUI
a24f2a3dac Removed the extra try block. Not needed as cases double exception 2020-07-25 13:10:09 -04:00
PySimpleGUI
6aa4d7e1f5
Merge pull request #3181 from PySimpleGUI/Dev-latest
Turned off raising exception for bad keys by default and make it chan…
2020-07-25 10:52:17 -04:00
PySimpleGUI
78b9239e12 Turned off raising exception for bad keys by default and make it changeable through set_options. The code is in the popup error now 2020-07-25 10:51:58 -04:00
PySimpleGUI
1722de9bad
Merge pull request #3180 from PySimpleGUI/Dev-latest
Traceback info added to key error popups
2020-07-25 10:02:06 -04:00
PySimpleGUI
76cfae8351 Traceback info added to key error popups 2020-07-25 10:01:47 -04:00
PySimpleGUI
d422d49953
Merge pull request #3178 from PySimpleGUI/Dev-latest
Replaced file with in-file base64 image
2020-07-24 19:20:05 -04:00
PySimpleGUI
c2eda23948 Replaced file with in-file base64 image 2020-07-24 19:19:41 -04:00
PySimpleGUI
c67e2d1f81
Merge pull request #3177 from PySimpleGUI/Dev-latest
Raise KeyError when key not found in find_element
2020-07-24 17:47:05 -04:00
PySimpleGUI
77c6dc7a13 Raise KeyError when key not found in find_element 2020-07-24 17:46:41 -04:00
PySimpleGUI
e2a21f4294
Merge pull request #3175 from PySimpleGUI/Dev-latest
Made Titles of Recipes easier to find by decreasing indent level to o…
2020-07-24 07:02:20 -04:00
PySimpleGUI
940bdb26a0 Made Titles of Recipes easier to find by decreasing indent level to one # 2020-07-24 07:02:01 -04:00
PySimpleGUI
200ef7329a
Merge pull request #3174 from PySimpleGUI/Dev-latest
Cookbook - Recipe with PIL converter function - VERY VERY useful func…
2020-07-24 06:44:39 -04:00
PySimpleGUI
ab8e8b4a54 Cookbook - Recipe with PIL converter function - VERY VERY useful function 2020-07-24 06:44:22 -04:00
PySimpleGUI
a206f44c47
Merge pull request #3173 from PySimpleGUI/Dev-latest
Simple demo to launch the "sg.main()" function. Good for getting to t…
2020-07-24 06:02:07 -04:00
PySimpleGUI
f6e60b31b3 Simple demo to launch the "sg.main()" function. Good for getting to the upgrade and other utilities 2020-07-24 06:01:48 -04:00
PySimpleGUI
cddb496e36
Merge pull request #3172 from PySimpleGUI/Dev-latest
theme_preview - restore previous theme when exiting
2020-07-23 17:34:46 -04:00
PySimpleGUI
cbd4d0d8b3 theme_preview - restore previous theme when exiting 2020-07-23 17:34:23 -04:00
PySimpleGUI
c552f9a0c7
Merge pull request #3171 from PySimpleGUI/Dev-latest
Dev latest
2020-07-23 17:27:28 -04:00
PySimpleGUI
0b13ae8ed0 ProgressBar - can use new color format, combined update_bar with update, search option for theme_preview, theme button in main 2020-07-23 17:26:15 -04:00
PySimpleGUI
5a2d1a6c77 Renamed the dark theme previewer demo 2020-07-23 17:25:38 -04:00
PySimpleGUI
796b69e755
Merge pull request #3170 from PySimpleGUI/Dev-latest
Updated the Toggle-Button demo to use new color formats
2020-07-23 16:14:48 -04:00
PySimpleGUI
432603bd82 Updated the Toggle-Button demo to use new color formats 2020-07-23 16:14:24 -04:00
PySimpleGUI
212362ebaf
Merge pull request #3167 from PySimpleGUI/Dev-latest
Dev latest
2020-07-22 14:27:27 -04:00
PySimpleGUI
ab1e305e13 Docstrings for read_all_windows 2020-07-22 14:27:02 -04:00
PySimpleGUI
807fd88223 read_all_windows experimental release 4.26.0.2 2020-07-22 07:00:33 -04:00
PySimpleGUI
a0d45d5fe3 Highly experimental read_all_windows version 2020-07-22 06:59:07 -04:00
PySimpleGUI
94a67c0915
Merge pull request #3165 from PySimpleGUI/Dev-latest
Alias recipe
2020-07-20 21:02:09 -04:00
PySimpleGUI
6ef69c49f8 Alias recipe 2020-07-20 21:01:33 -04:00
PySimpleGUI
6ab080487b
Merge pull request #3164 from PySimpleGUI/Dev-latest
Added the missing reroute_stdout_to_here, restore, etc call references.
2020-07-19 16:41:25 -04:00
PySimpleGUI
4ac42af3ce Added the missing reroute_stdout_to_here, restore, etc call references. 2020-07-19 16:40:47 -04:00
PySimpleGUI
a7463974a6
Merge pull request #3163 from PySimpleGUI/Dev-latest
Dev latest
2020-07-19 16:13:14 -04:00
PySimpleGUI
1836526787 Updatges to the cprint / printing recipes. New Recipte for "long running operations". Hows how ot use the new Window.write_event_value 2020-07-19 16:12:49 -04:00
PySimpleGUI
d3eb5686be sponsor support 2020-07-19 15:49:21 -04:00
PySimpleGUI
141df2b778
Merge pull request #3162 from PySimpleGUI/Dev-latest
Dev latest
2020-07-18 19:53:19 -04:00
PySimpleGUI
3feadf4448 Col alias, added theme_add_new, 2020-07-18 19:52:58 -04:00
PySimpleGUI
ef52d9b54f New k parm for all elements, new button color format "on", expand dummy method for portability, Multiline write_only parm, error popup for widget not finalized,cprint(need to update again however), popup removed use of older CloseButton, image added to popups, docstring fix for *args, 2020-07-18 19:52:19 -04:00
PySimpleGUI
2684d7834a Added theme_add_new, added Multiline write_only parm 2020-07-18 19:46:30 -04:00
PySimpleGUI
5624f8ae14
Merge pull request #3160 from PySimpleGUI/Dev-latest
Dev latest
2020-07-18 15:37:15 -04:00
PySimpleGUI
110e5a0daf Removed cprint from thread. Added dummy button 2020-07-18 15:36:12 -04:00
PySimpleGUI
e6d0eca440 Release 4.26.0 2020-07-18 15:34:48 -04:00
PySimpleGUI
8b809bde2e
Merge pull request #3159 from PySimpleGUI/Dev-latest
Dev latest
2020-07-18 13:43:28 -04:00
PySimpleGUI
530e28a048 Moved creation of the thread strvar to window create time instead of being done by the thread itself. 2020-07-18 13:43:02 -04:00
PySimpleGUI
04dfa364d5 Changed multi-threaded demos to use new Window.write_event_value method 2020-07-18 13:42:32 -04:00
PySimpleGUI
2fa210ec2d
Merge pull request #3156 from PySimpleGUI/Dev-latest
Release 4.25.0
2020-07-17 14:24:09 -04:00
PySimpleGUI
934cea5881 Release 4.25.0 2020-07-17 14:23:47 -04:00
PySimpleGUI
89f5a8d7a7
Merge pull request #3152 from PySimpleGUI/Dev-latest
Force previous tooltip to close when new one is shown
2020-07-17 08:09:42 -04:00
PySimpleGUI
e8e7104477 Force previous tooltip to close when new one is shown 2020-07-17 08:09:22 -04:00
PySimpleGUI
df55893298
Merge pull request #3151 from PySimpleGUI/Dev-latest
New Multi-threaded demo - requires GitHub version of PySimpleGUI.py
2020-07-16 16:22:01 -04:00
PySimpleGUI
d7f062f77c New Multi-threaded demo - requires GitHub version of PySimpleGUI.py 2020-07-16 16:21:40 -04:00
PySimpleGUI
083c98de38
Merge pull request #3150 from PySimpleGUI/Dev-latest
NEW Window.write_event_value method - use for thread communications w…
2020-07-16 15:27:09 -04:00
PySimpleGUI
07e8c0737b NEW Window.write_event_value method - use for thread communications with Windows (consider it a beta) 2020-07-16 15:26:47 -04:00
PySimpleGUI
7485f1d191
Merge pull request #3144 from PySimpleGUI/Dev-latest
Removed selecting the first entry for combo if updated with new values
2020-07-13 13:56:57 -04:00
PySimpleGUI
492468f0cb Removed selecting the first entry for combo if updated with new values 2020-07-13 13:56:35 -04:00
PySimpleGUI
cc49d75251
Merge pull request #3142 from PySimpleGUI/Dev-latest
modal option added to Window.  New parameters for theme_previewer
2020-07-13 09:25:03 -04:00
PySimpleGUI
bc23667d55 modal option added to Window. New parameters for theme_previewer 2020-07-13 09:24:41 -04:00
PySimpleGUI
e300ac7199
Merge pull request #3139 from PySimpleGUI/Dev-latest
Made all popups modal by default.  Added modal parameter to all of th…
2020-07-12 13:44:09 -04:00
PySimpleGUI
af81d67046 Made all popups modal by default. Added modal parameter to all of them except non-blocking (animations) 2020-07-12 13:43:48 -04:00
PySimpleGUI
d7dd9f4541
Merge pull request #3137 from PySimpleGUI/Dev-latest
Added Window.make_modal, modal parm added to popup
2020-07-12 12:58:16 -04:00
PySimpleGUI
59c713c9df Added Window.make_modal, modal parm added to popup 2020-07-12 12:57:57 -04:00
PySimpleGUI
4b1039568f
Merge pull request #3136 from PySimpleGUI/Dev-latest
New version of the _fixed_map function that handles previously define…
2020-07-12 12:45:57 -04:00
PySimpleGUI
887863c481 New version of the _fixed_map function that handles previously defined styles better 2020-07-12 12:45:38 -04:00
PySimpleGUI
50ba1d9811
Merge pull request #3135 from PySimpleGUI/Dev-latest
New table and tree selected row colors based on the theme.
2020-07-12 10:08:23 -04:00
PySimpleGUI
dfd15dd8b9 New table and tree selected row colors based on the theme. 2020-07-12 10:08:04 -04:00
PySimpleGUI
b400445e84
Merge pull request #3134 from PySimpleGUI/Dev-latest
Dev latest
2020-07-11 12:16:50 -04:00
PySimpleGUI
a5c40a71b9 Version bump... forgot 2020-07-11 12:16:27 -04:00
PySimpleGUI
8f97c5bf4a Table & Tree Elements - new parameter selected_row_color. Table & Tree Color fix for 8.6.9 is now enabled by default again. 2020-07-11 12:16:03 -04:00
PySimpleGUI
18b59aa7ab
Merge pull request #3131 from PySimpleGUI/Dev-latest
Made Multiline print, cprint, and re-routed print use the autoscroll …
2020-07-10 10:57:40 -04:00
PySimpleGUI
5b998af8d5 Made Multiline print, cprint, and re-routed print use the autoscroll setting for the Multiline element 2020-07-10 10:57:18 -04:00
PySimpleGUI
91aabdee18
Merge pull request #3130 from PySimpleGUI/Dev-latest
Added reroute_cprint parameter to Multiline
2020-07-09 13:44:14 -04:00
PySimpleGUI
cb5c0cc69f Added reroute_cprint parameter to Multiline 2020-07-09 13:43:50 -04:00
PySimpleGUI
d7dc261d41
Merge pull request #3129 from PySimpleGUI/Dev-latest
Multiline Element - 2 new parameters to reroute stdout and stderr to …
2020-07-09 10:28:04 -04:00
PySimpleGUI
34700fc3c5 Multiline Element - 2 new parameters to reroute stdout and stderr to this element 2020-07-09 10:27:44 -04:00
PySimpleGUI
1886621fb7
Merge pull request #3128 from PySimpleGUI/Dev-latest
Output element will now automatically refresh the parent window after…
2020-07-09 10:08:46 -04:00
PySimpleGUI
ff2fe2a7ab Output element will now automatically refresh the parent window after every write. Added refresh to Multiline Update if elment has refresh configured 2020-07-09 09:55:32 -04:00
PySimpleGUI
66f026fbe2
Merge pull request #3126 from PySimpleGUI/Dev-latest
New PIL Image Viewer that will also resize images and runs on Qt too
2020-07-09 05:47:00 -04:00
PySimpleGUI
78917db9bc New PIL Image Viewer that will also resize images and runs on Qt too 2020-07-09 05:46:41 -04:00
PySimpleGUI
a48b1fb34e
Merge pull request #3125 from PySimpleGUI/Dev-latest
Dev latest
2020-07-09 05:32:19 -04:00
PySimpleGUI
e89f479125 shortcut for cprint rather than using sg.cprint. 2020-07-09 05:31:15 -04:00
PySimpleGUI
b9a7bfe237 Fix for missing k paramter in FileBrowse button 2020-07-09 05:30:44 -04:00
PySimpleGUI
587cb5f3a5 Multiline - new auto_refresh parameter, new reroute_stdout_to_here, reroute_stderr_to_here, restore_stdout, restore_stderr methods. 2020-07-08 17:01:23 -04:00
PySimpleGUI
54f3d7400e
Merge pull request #3122 from PySimpleGUI/Dev-latest
A new way to generate Matplotlib graphs. Uses PIL to resize drawings …
2020-07-08 09:01:36 -04:00
PySimpleGUI
c724cf9d63 A new way to generate Matplotlib graphs. Uses PIL to resize drawings so a grid of graphs can be displayed easily. 2020-07-08 09:01:13 -04:00
PySimpleGUI
49599ace05
Merge pull request #3118 from PySimpleGUI/Dev-latest
Updated Matplotlib Template Program
2020-07-07 17:53:06 -04:00
PySimpleGUI
c48dd18d5e Updated Matplotlib Template Program 2020-07-07 17:52:39 -04:00
PySimpleGUI
fed615efdc
Merge pull request #3117 from PySimpleGUI/Dev-latest
Dev latest
2020-07-07 14:42:23 -04:00
PySimpleGUI
871f601e10 NMew Matplotlib demo that's universal. It works on 3 PySimpleGUI port without any changes 2020-07-07 14:41:57 -04:00
PySimpleGUI
af6b1d36c3 Argument order change 2020-07-07 14:41:30 -04:00
PySimpleGUI
a40dbccaa2
Merge pull request #3115 from PySimpleGUI/Dev-latest
New Matplotlib Demo Programs for PySimpleGUIWeb
2020-07-06 16:25:20 -04:00
PySimpleGUI
97061b3614 New Matplotlib Demo Programs for PySimpleGUIWeb 2020-07-06 16:25:00 -04:00
PySimpleGUI
f7094f468b
Merge pull request #3114 from PySimpleGUI/Dev-latest
New Web Demo - Matplotlib Browser - shows plotting of a bunch of exam…
2020-07-06 15:13:46 -04:00
PySimpleGUI
9435bb6393 New Web Demo - Matplotlib Browser - shows plotting of a bunch of examples 2020-07-06 15:13:22 -04:00
PySimpleGUI
23d76f6118
Merge pull request #3112 from PySimpleGUI/Dev-latest
NEW Matplotlib Demos for Web port
2020-07-06 11:19:21 -04:00
PySimpleGUI
5e42607a57 NEW Matplotlib Demos for Web port 2020-07-06 11:18:59 -04:00
PySimpleGUI
8ad60f8031
Merge pull request #3111 from PySimpleGUI/Dev-latest
New button color definition using "on" string. Rewrote cprint to no l…
2020-07-06 09:21:54 -04:00
PySimpleGUI
5cfc59fe56 New button color definition using "on" string. Rewrote cprint to no longer use kwargs... all parms are shown. Multiline can be set to write_only when defined, All button_color doc strings changed. Caching of Tree images done on a per element basis rather than globally. 2020-07-06 09:21:35 -04:00
PySimpleGUI
8218ed2698
Merge pull request #3109 from PySimpleGUI/Dev-latest
Added cprint, Multiline added write_only parameter, changed Graph.dra…
2020-07-05 18:12:23 -04:00
PySimpleGUI
83ec23b428 Added cprint, Multiline added write_only parameter, changed Graph.draw_image to use image_data property instead of calling set_image 2020-07-05 18:12:03 -04:00
PySimpleGUI
ddc30310fb
Merge pull request #3107 from PySimpleGUI/Dev-latest
Dev latest
2020-07-05 10:50:58 -04:00
PySimpleGUI
2a1031448b New format for button colors - single string with format "text on background" 2020-07-05 10:50:39 -04:00
PySimpleGUI
a148751404 Changed window title to be more descriptive 2020-07-05 10:50:12 -04:00
PySimpleGUI
1f8ad01942 Renamed demo 2020-07-05 10:49:54 -04:00
PySimpleGUI
8c3676b7be NEW demo that saves screenshot of one or more windows 2020-07-05 10:49:24 -04:00
PySimpleGUI
c66771a166
Merge pull request #3104 from PySimpleGUI/Dev-latest
New Demo - Saves any window as an image file
2020-07-04 18:20:38 -04:00
PySimpleGUI
6fcb4293ee New Demo - Saves any window as an image file 2020-07-04 18:20:20 -04:00
PySimpleGUI
8c0f03072f
Merge pull request #3102 from PySimpleGUI/Dev-latest
Parm k added to shortcut buttons. New text wrapping for popups. New d…
2020-07-04 17:07:17 -04:00
PySimpleGUI
f6a4440c15 Parm k added to shortcut buttons. New text wrapping for popups. New docstring for keys showing objects are OK. 2020-07-04 17:06:54 -04:00
PySimpleGUI
439c19fdf5
Merge pull request #3100 from PySimpleGUI/Dev-latest
Release 4.24.0 - addition of new set_options parameter to control pat…
2020-07-03 15:05:51 -04:00
PySimpleGUI
3fbdf1ffe4 Release 4.24.0 - addition of new set_options parameter to control patching of treeview color problem for tk 8.6.9 2020-07-03 15:05:26 -04:00
PySimpleGUI
4706daa8b3
Merge pull request #3096 from PySimpleGUI/Dev-latest
Release 4.23.0
2020-07-03 09:27:10 -04:00
PySimpleGUI
10ec39bc85 Release 4.23.0 2020-07-03 09:26:51 -04:00
PySimpleGUI
2bec860bb9
Merge pull request #3095 from PySimpleGUI/Dev-latest
Added back hidden window withdraw call. Was deleted by mistake and ca…
2020-07-03 08:09:53 -04:00
PySimpleGUI
d80957e899 Added back hidden window withdraw call. Was deleted by mistake and caused problems with the hidden window remaining visible. 2020-07-03 08:09:32 -04:00
PySimpleGUI
cf0443ddca
Merge pull request #3094 from PySimpleGUI/Dev-latest
More error checks for widget creation, error icons
2020-07-02 18:03:20 -04:00
PySimpleGUI
632f9e3a18 More error checks for widget creation, error icons 2020-07-02 18:02:58 -04:00
PySimpleGUI
63695b1d1b
Merge pull request #3093 from PySimpleGUI/Dev-latest
Added image parameter to popups.  Added caching of icons for Trees
2020-07-02 07:45:19 -04:00
PySimpleGUI
b9b2080047 Added image parameter to popups. Added caching of icons for Trees 2020-07-02 07:44:59 -04:00
PySimpleGUI
a6619711e3
Merge pull request #3092 from PySimpleGUI/Dev-latest
image parameter added to popup, popup_error. New base64 image constan…
2020-07-01 14:07:49 -04:00
PySimpleGUI
3e9072649e image parameter added to popup, popup_error. New base64 image constant. Error checking added for widget usage before init completed. 2020-07-01 14:07:28 -04:00
PySimpleGUI
f8ed89d2f5
Merge pull request #3091 from PySimpleGUI/Dev-latest
addition of any_key_closes to popup
2020-07-01 07:35:01 -04:00
PySimpleGUI
6a4d510f82 addition of any_key_closes to popup 2020-07-01 07:34:40 -04:00
PySimpleGUI
a2ddc76307
Merge pull request #3090 from PySimpleGUI/Dev-latest
Changed location of 8.6.9 Treeview color patch
2020-07-01 06:18:12 -04:00
PySimpleGUI
60177a4cd2 Changed location of 8.6.9 Treeview color patch 2020-07-01 06:17:54 -04:00
PySimpleGUI
0ccd078004
Merge pull request #3089 from PySimpleGUI/Dev-latest
Added cprint to the coookbook
2020-06-30 10:22:05 -04:00
PySimpleGUI
d6837f8872 Added cprint to the coookbook 2020-06-30 10:21:42 -04:00
PySimpleGUI
c3951cde65
Merge pull request #3087 from PySimpleGUI/Dev-latest
NEw parameter "k" added to al Elements. Will be used as key just like…
2020-06-29 23:13:52 -04:00
PySimpleGUI
c7e8db4982 NEw parameter "k" added to al Elements. Will be used as key just like key can be used. The iehy is ano fohee 2020-06-29 23:13:34 -04:00
PySimpleGUI
2c06bd1a87
Merge pull request #3086 from PySimpleGUI/Dev-latest
Removed calls to wm_overrideredirect if platform is a Mac
2020-06-29 21:38:33 -04:00
PySimpleGUI
dd3992b549 Removed calls to wm_overrideredirect if platform is a Mac 2020-06-29 21:38:14 -04:00
PySimpleGUI
c44903b77e
Merge pull request #3084 from PySimpleGUI/Dev-latest
Added work-around code for the tkinter 8.6.9 treeview color bug
2020-06-29 14:29:47 -04:00
PySimpleGUI
0e33955b2c Added work-around code for the tkinter 8.6.9 treeview color bug 2020-06-29 14:29:24 -04:00
PySimpleGUI
cb50cc68a1
Merge pull request #3082 from PySimpleGUI/Dev-latest
Check for window not yet created in window methods and show error popup
2020-06-29 09:51:08 -04:00
PySimpleGUI
5423588bb0 Check for window not yet created in window methods and show error popup 2020-06-29 09:50:45 -04:00
PySimpleGUI
5985733af4
Merge pull request #3081 from PySimpleGUI/Dev-latest
Added warnings in several Windows methods to check to see if finalized.
2020-06-29 07:18:22 -04:00
PySimpleGUI
89269893ce Added warnings in several Windows methods to check to see if finalized. 2020-06-29 07:18:00 -04:00
PySimpleGUI
b1fb791ffb
Merge pull request #3079 from PySimpleGUI/Dev-latest
Dev latest
2020-06-28 10:34:06 -04:00
PySimpleGUI
46c030875e Upated cprint demo with more options 2020-06-28 10:33:45 -04:00
PySimpleGUI
6ed8a4d429 Release 4.22.0 2020-06-28 10:33:02 -04:00
PySimpleGUI
7cc9e5f894
Merge pull request #3078 from PySimpleGUI/Dev-latest
New readme_creator release - some pretty big changes overall
2020-06-28 09:59:28 -04:00
PySimpleGUI
0ae9f88396 New readme_creator release - some pretty big changes overall 2020-06-28 09:59:09 -04:00
PySimpleGUI
0af1a31409
Merge pull request #3077 from PySimpleGUI/Dev-latest
Docstring fixes.  More cprint fun! Can have optional window and key p…
2020-06-28 09:26:38 -04:00
PySimpleGUI
3441c740a4 Docstring fixes. More cprint fun! Can have optional window and key parameters 2020-06-28 09:26:19 -04:00
PySimpleGUI
faf4a00931
Merge pull request #3076 from PySimpleGUI/Dev-latest
Added button to demonstrate the "on" string
2020-06-27 16:00:52 -04:00
PySimpleGUI
a33be3f99d Added button to demonstrate the "on" string 2020-06-27 16:00:33 -04:00
PySimpleGUI
cc69e323b1
Merge pull request #3075 from PySimpleGUI/Dev-latest
Release 4.21.0
2020-06-27 15:38:41 -04:00
PySimpleGUI
c42d957329 Release 4.21.0 2020-06-27 15:38:17 -04:00
PySimpleGUI
6f99e60f92
Merge pull request #3074 from PySimpleGUI/Dev-latest
Demo of new color format "fg on bg"
2020-06-27 12:40:23 -04:00
PySimpleGUI
a63d274b91 Demo of new color format "fg on bg" 2020-06-27 12:40:03 -04:00
PySimpleGUI
e0dd55b052
Merge pull request #3073 from PySimpleGUI/Dev-latest
cprint - c / colors parameter can be tuple or a string with format "t…
2020-06-27 12:38:45 -04:00
PySimpleGUI
baf339ad4e cprint - c / colors parameter can be tuple or a string with format "text on text" 2020-06-27 12:38:21 -04:00
PySimpleGUI
b69ef3d61a
Merge pull request #3072 from PySimpleGUI/Dev-latest
Dev latest
2020-06-27 11:57:22 -04:00
PySimpleGUI
81ccd9d54e Addition of cprint functionality! Fun stuff!! 2020-06-27 11:56:25 -04:00
PySimpleGUI
d8149cd817 New demo program that shows how to use the new cprint function 2020-06-27 11:55:35 -04:00
PySimpleGUI
2f563e9394
Merge pull request #3071 from PySimpleGUI/Dev-latest
Updated Input Element to match new border width, readonly, disabled/r…
2020-06-27 06:49:32 -04:00
PySimpleGUI
3092388b36 Made an LED User Defined Element, compated the code for updating to a single line 2020-06-27 06:49:10 -04:00
PySimpleGUI
0dd5e7900d Updated Input Element to match new border width, readonly, disabled/readonly color capabilities recently added to the tkinter port. 2020-06-27 06:47:59 -04:00
PySimpleGUI
4ce4a32eff
Merge pull request #3070 from PySimpleGUI/Dev-latest
InputText - new paramters - border_width, readonly, disabled_readonly…
2020-06-27 06:22:53 -04:00
PySimpleGUI
3a9e8683d7 InputText - new paramters - border_width, readonly, disabled_readonly_background_color, disabled_readonly_text_color 2020-06-27 06:22:32 -04:00
PySimpleGUI
1dacd8de84
Merge pull request #3069 from PySimpleGUI/Dev-latest
Simplified demo by removing sizes
2020-06-26 16:59:36 -04:00
PySimpleGUI
4d4e256a79 Simplified demo by removing sizes 2020-06-26 16:59:05 -04:00
PySimpleGUI
7f88ba8cab
Merge pull request #3068 from PySimpleGUI/Dev-latest
New Demo - LED Inidicators using Unicode Text
2020-06-26 15:49:48 -04:00
PySimpleGUI
223002f804 New Demo - LED Inidicators using Unicode Text 2020-06-26 15:49:28 -04:00
PySimpleGUI
a299f8a1a5
Merge pull request #3066 from PySimpleGUI/Dev-latest
Removed old Python 2 imports.  Excluded Separator elements from havin…
2020-06-26 08:53:49 -04:00
PySimpleGUI
7b4586f91d Removed old Python 2 imports. Excluded Separator elements from having keys autoassigned 2020-06-26 08:53:31 -04:00
PySimpleGUI
796836e983
Merge pull request #3065 from PySimpleGUI/Dev-latest
New PyCharm launcher demo
2020-06-26 08:35:59 -04:00
PySimpleGUI
4442970aab New PyCharm launcher demo 2020-06-26 08:35:16 -04:00
PySimpleGUI
0bed9cbe10
Merge pull request #3063 from PySimpleGUI/Dev-latest
New Demo that shows how to "pin" a location of an element in a layout…
2020-06-25 12:53:54 -04:00
PySimpleGUI
57b95d3ab6 New Demo that shows how to "pin" a location of an element in a layout so that it can be returned to the correct location when changing from invisible to visible 2020-06-25 12:53:22 -04:00
PySimpleGUI
5c2af9d0d6
Merge pull request #3061 from PySimpleGUI/Dev-latest
Changed Graph Element's "UP" event to add either a string or a new me…
2020-06-25 08:19:52 -04:00
PySimpleGUI
5e0810dced Changed Graph Element's "UP" event to add either a string or a new member if a tuple is the graph's key 2020-06-25 08:19:28 -04:00
PySimpleGUI
ec3f21e141
Merge pull request #3055 from PySimpleGUI/Dev-latest
Fix in GitHub upgrade code. Only deletes repositories with "-" at end…
2020-06-24 06:59:06 -04:00
PySimpleGUI
9c0cbd4360 Fix in GitHub upgrade code. Only deletes repositories with "-" at end of name. Was deleting ALL packages that started with pysimplegui. 2020-06-24 06:58:46 -04:00
PySimpleGUI
43ecf1fa37
Merge pull request #3053 from PySimpleGUI/Dev-latest
New Demo that displays any image format in the GUI window.  Uses PIL
2020-06-24 05:44:23 -04:00
PySimpleGUI
91a813f5f4 New Demo that displays any image format in the GUI window. Uses PIL 2020-06-24 05:44:04 -04:00
PySimpleGUI
e93be84e75
Merge pull request #3052 from PySimpleGUI/Dev-latest
Removed extra copy of VisibilityChanged method.
2020-06-24 05:07:22 -04:00
PySimpleGUI
73aa0676b6 Removed extra copy of VisibilityChanged method. 2020-06-24 05:06:59 -04:00
PySimpleGUI
7c34406e3c
Merge pull request #3047 from PySimpleGUI/Dev-latest
Automatically add keys for Tables and Trees
2020-06-23 06:51:22 -04:00
PySimpleGUI
3c0a851cd5 Automatically add keys for Tables and Trees 2020-06-23 06:51:03 -04:00
PySimpleGUI
92200f578a
Merge pull request #3046 from PySimpleGUI/Dev-latest
one_line_progress_meter - key parameter now defaults. No need to spec…
2020-06-23 06:08:33 -04:00
PySimpleGUI
8a86b566ef one_line_progress_meter - key parameter now defaults. No need to specify if you have only ONE meter going. 2020-06-23 06:08:13 -04:00
PySimpleGUI
888d6d9d22
Merge pull request #3045 from PySimpleGUI/Dev-latest
Replaced button click demo. It seems to have been overwritten by some…
2020-06-22 04:28:49 -04:00
PySimpleGUI
bf9b702770 Replaced button click demo. It seems to have been overwritten by something completely different so found an old version and updated it a bit. 2020-06-22 04:28:29 -04:00
PySimpleGUI
63de7b25c5
Merge pull request #3042 from PySimpleGUI/Dev-latest
Dev latest
2020-06-21 08:52:01 -04:00
PySimpleGUI
ed0fd5fbbb Code cleanup 2020-06-21 08:51:42 -04:00
PySimpleGUI
bf687f114d Make sure bar is behind the text 2020-06-21 08:48:56 -04:00
PySimpleGUI
a56ac02b8f
Merge pull request #3041 from PySimpleGUI/Dev-latest
More info on Window.get_screen_size added to docstring.  Changed Tupl…
2020-06-21 07:27:07 -04:00
PySimpleGUI
54ecaf8acf More info on Window.get_screen_size added to docstring. Changed Tuple[int, int] to (int,int) in docstrings. 2020-06-21 07:26:48 -04:00
PySimpleGUI
f2dd67f202
Merge pull request #3040 from PySimpleGUI/Dev-latest
New Desktop Widget - CPU Square (like the RAM square that shades show…
2020-06-21 06:57:13 -04:00
PySimpleGUI
6a357ffbdb New Desktop Widget - CPU Square (like the RAM square that shades showing %) 2020-06-21 06:56:54 -04:00
PySimpleGUI
b6b9aa9ca1
Merge pull request #3035 from PySimpleGUI/Dev-latest
Acciently checked in a version importing the wrong PySimpleGUI
2020-06-19 08:08:36 -04:00
PySimpleGUI
0af8ecf283 Acciently checked in a version importing the wrong PySimpleGUI 2020-06-19 08:08:00 -04:00
PySimpleGUI
c8f5bbc3a0
Merge pull request #3034 from PySimpleGUI/Dev-latest
New Demo for the Vertical and (new) Horizontal separator elements
2020-06-19 07:26:19 -04:00
PySimpleGUI
9f8404ffd3 New Demo for the Vertical and (new) Horizontal separator elements 2020-06-19 07:25:59 -04:00
PySimpleGUI
6a1cc14b1e
Merge pull request #3032 from PySimpleGUI/Dev-latest
Removed very old template because it used the CloseButton that's not …
2020-06-18 11:17:29 -04:00
PySimpleGUI
de8e29f1cf Removed very old template because it used the CloseButton that's not something suggested to use now. 2020-06-18 11:17:12 -04:00
PySimpleGUI
e35559305a
Merge pull request #3028 from PySimpleGUI/Dev-latest
Added color parameter to Separator elements. Defaults to theme's text…
2020-06-17 11:01:43 -04:00
PySimpleGUI
6505a3b9d5 Added color parameter to Separator elements. Defaults to theme's text color 2020-06-17 11:01:23 -04:00
PySimpleGUI
b412f94bc5
Merge pull request #3027 from PySimpleGUI/Dev-latest
Added keys to separators
2020-06-17 10:18:15 -04:00
PySimpleGUI
578ccf90ad Added keys to separators 2020-06-17 10:17:56 -04:00
PySimpleGUI
577aac6938
Merge pull request #3026 from PySimpleGUI/Dev-latest
Added Element.set_vscroll_position, NEW HorizontalSeparator element, …
2020-06-17 09:59:46 -04:00
PySimpleGUI
347bacc316 Added Element.set_vscroll_position, NEW HorizontalSeparator element, initial folder used for no_window popup_get_folder, default path used now in no-window version of popup_get_file 2020-06-17 09:59:26 -04:00
PySimpleGUI
147a44227d
Merge pull request #3022 from PySimpleGUI/Dev-latest
New Demo - simulated radio buttons.  Get the same behavior of radio b…
2020-06-16 13:30:41 -04:00
PySimpleGUI
98ed25fb04 New Demo - simulated radio buttons. Get the same behavior of radio buttons but using real buttons instead of RadioButtons 2020-06-16 13:30:21 -04:00
PySimpleGUI
7209280bc5
Merge pull request #3021 from PySimpleGUI/Dev-latest
Dev latest
2020-06-16 13:20:13 -04:00
PySimpleGUI
fbf1a627fa Changed Radio.update (again) so that clearing only clears the individual radio button. (Forgot about reset_group) 2020-06-16 13:19:53 -04:00
PySimpleGUI
1f95394a9d Added Radio.reset_group 2020-06-16 13:19:09 -04:00
PySimpleGUI
50cf19a502
Merge pull request #3020 from PySimpleGUI/Dev-latest
Changed the exit button to use clickable text for a cleaner look
2020-06-16 12:39:26 -04:00
PySimpleGUI
6b9d616839 Changed the exit button to use clickable text for a cleaner look 2020-06-16 12:38:56 -04:00
PySimpleGUI
c047e34d52
Merge pull request #3018 from PySimpleGUI/Dev-latest
Dev latest
2020-06-16 10:56:36 -04:00
PySimpleGUI
3da7c7b0da Created a single convert_to_bytes function that will take both filename and bytes as input 2020-06-16 10:54:40 -04:00
PySimpleGUI
0cfd770b1a New Widget Added! 2020-06-16 10:54:13 -04:00
PySimpleGUI
91107cae5c
Merge pull request #3016 from PySimpleGUI/Dev-latest
Fix for image resizing algorithm.  Was only resizing to square images.
2020-06-16 07:58:48 -04:00
PySimpleGUI
e3185a22ae Fix for image resizing algorithm. Was only resizing to square images. 2020-06-16 07:58:24 -04:00
PySimpleGUI
885b6c9761
Merge pull request #3012 from PySimpleGUI/Dev-latest
Switched to clickable Text X
2020-06-15 18:00:36 -04:00
PySimpleGUI
ac6623b6e5 Switched to clickable Text X 2020-06-15 18:00:14 -04:00
PySimpleGUI
410a45ecc8
Merge pull request #3010 from PySimpleGUI/Dev-latest
New Demo - Desktop widget - disk usage
2020-06-15 11:19:41 -04:00
PySimpleGUI
f566bba0cb New Demo - Desktop widget - disk usage 2020-06-15 11:19:17 -04:00
PySimpleGUI
096198b082
Merge pull request #3008 from PySimpleGUI/Dev-latest
New Demo to display images using Graph Element
2020-06-14 20:37:28 -04:00
PySimpleGUI
de689acdfc New Demo to display images using Graph Element 2020-06-14 20:37:08 -04:00
PySimpleGUI
c6d9293f98
Merge pull request #3006 from PySimpleGUI/Dev-latest
Added VSeparator (VSeperator was a spelling error... both are availab…
2020-06-14 05:00:03 -04:00
PySimpleGUI
46ee5a17e9 Added VSeparator (VSeperator was a spelling error... both are available so take your pick) 2020-06-14 04:59:05 -04:00
PySimpleGUI
53d01fd41a
Merge pull request #3002 from PySimpleGUI/Dev-latest
Added margins parameter to Window but only a dummy parameter at the m…
2020-06-11 17:03:38 -04:00
PySimpleGUI
57ec3dee16 Added margins parameter to Window but only a dummy parameter at the moment for porting purposes. Changed Table headings docstring. 2020-06-11 17:03:16 -04:00
PySimpleGUI
0a099e9f04
Merge pull request #3001 from PySimpleGUI/Dev-latest
Removed requirement of new theme_add_new function (added theme using …
2020-06-11 16:44:42 -04:00
PySimpleGUI
012702429a Removed requirement of new theme_add_new function (added theme using old way for now) 2020-06-11 16:44:25 -04:00
PySimpleGUI
b0fa66959b
Merge pull request #3000 from PySimpleGUI/Dev-latest
Big docstring update (thanks nngogol!!!!), slider tick interval set t…
2020-06-11 16:20:17 -04:00
PySimpleGUI
1af4fdf6fb Big docstring update (thanks nngogol!!!!), slider tick interval set to be range max//10, cleaned up imports, import typing 2020-06-11 16:19:57 -04:00
PySimpleGUI
95400b753b
Merge pull request #2999 from PySimpleGUI/Dev-latest
LOTS of docstring updates (thank you nngogol!!!!)
2020-06-11 11:10:09 -04:00
PySimpleGUI
1516dd3bc7 LOTS of docstring updates (thank you nngogol!!!!) 2020-06-11 11:09:51 -04:00
PySimpleGUI
b069c37042
Merge pull request #2998 from PySimpleGUI/Dev-latest
Fixed bad import bug.  Dunno how the code got in there
2020-06-11 09:41:35 -04:00
PySimpleGUI
aa9e918df0 Fixed bad import bug. Dunno how the code got in there 2020-06-11 09:38:39 -04:00
PySimpleGUI
870b76b5e8
Merge pull request #2994 from PySimpleGUI/Dev-latest
Dashboard Demo
2020-06-09 15:21:44 -04:00
PySimpleGUI
24dac33257 Dashboard Demo 2020-06-09 15:21:26 -04:00
PySimpleGUI
f63215986f
Merge pull request #2993 from PySimpleGUI/Dev-latest
theme_add_new - can add your own themes easier
2020-06-09 15:18:19 -04:00
PySimpleGUI
92684054ba theme_add_new - can add your own themes easier 2020-06-09 15:17:54 -04:00
PySimpleGUI
cec43e7d35
Merge pull request #2990 from PySimpleGUI/Dev-latest
Clarification
2020-06-09 05:58:34 -04:00
PySimpleGUI
0676274923 Clarification 2020-06-09 05:57:41 -04:00
PySimpleGUI
5d71725909
Merge pull request #2988 from PySimpleGUI/Dev-latest
Dev latest
2020-06-08 06:56:19 -04:00
PySimpleGUI
995d0b3cdf Recipe on adding screenshots, more WIN_CLOSED fixes. 2020-06-08 06:55:59 -04:00
PySimpleGUI
c272f1e29d Fixed (I hope) terribly written parageraph about reading the documentation. 2020-06-08 06:55:32 -04:00
PySimpleGUI
b9aa019744
Merge pull request #2987 from PySimpleGUI/Dev-latest
Release 0.17.1
2020-06-07 21:11:16 -04:00
PySimpleGUI
d2d87158ad Release 0.17.1 2020-06-07 21:10:14 -04:00
PySimpleGUI
35d8d2700e
Merge pull request #2986 from PySimpleGUI/Dev-latest
Multiline.update changed to use SetValue just like when intially crea…
2020-06-07 21:04:45 -04:00
PySimpleGUI
113b28394c Multiline.update changed to use SetValue just like when intially created. 2020-06-07 21:04:25 -04:00
PySimpleGUI
06af5811fb
Merge pull request #2985 from PySimpleGUI/Dev-latest
Initial check-in of System Tray with  GUI design pattern
2020-06-07 08:19:38 -04:00
PySimpleGUI
ef650e67a6 Initial check-in of System Tray with GUI design pattern 2020-06-07 08:19:20 -04:00
PySimpleGUI
439ca4587c
Merge pull request #2983 from PySimpleGUI/Dev-latest
Release 0.39.0
2020-06-06 17:14:24 -04:00
PySimpleGUI
5b4b1cfe49 Release 0.39.0 2020-06-06 17:14:05 -04:00
PySimpleGUI
5de7035bfc
Merge pull request #2982 from PySimpleGUI/Dev-latest
Release 4.20.0
2020-06-06 16:46:39 -04:00
PySimpleGUI
fdbd8d700a Release 4.20.0 2020-06-06 16:46:09 -04:00
PySimpleGUI
051e817f2d
Merge pull request #2981 from PySimpleGUI/Dev-latest
Release 0.17.0
2020-06-06 13:32:26 -04:00
PySimpleGUI
08e77912d9 Release 0.17.0 2020-06-06 13:31:59 -04:00
PySimpleGUI
ccc7f6097b
Merge pull request #2979 from PySimpleGUI/Dev-latest
Dev latest
2020-06-06 10:23:56 -04:00
PySimpleGUI
205e7b297b Release 0.35.0 2020-06-06 10:23:32 -04:00
PySimpleGUI
d77f660ac6 Frame support (but no label yet). Display Remi version in the main() teest harness 2020-06-04 15:29:52 -04:00
PySimpleGUI
306b1d86cb
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2020-06-04 13:36:30 -04:00
PySimpleGUI
58eefc22f3
Merge pull request #2963 from PySimpleGUI/Dev-latest
Correctly padding table and trees (was 0,0), Added detailed tkinter v…
2020-06-02 21:01:54 -04:00
PySimpleGUI
e469e67cca Correctly padding table and trees (was 0,0), Added detailed tkinter version number display to test harness 2020-06-02 21:01:29 -04:00
PySimpleGUI
ab43946b00 Set theme jekyll-theme-leap-day 2020-06-01 11:09:41 -04:00
PySimpleGUI
212ea170ec
Merge pull request #2956 from PySimpleGUI/Dev-latest
Fixed text cut off, delete lines, compact code, bytes instead of stri…
2020-05-30 00:29:47 -04:00
PySimpleGUI
a6c64f671e Fixed text cut off, delete lines, compact code, bytes instead of string for button image 2020-05-30 00:29:27 -04:00
PySimpleGUI
a477ca20c2
Merge pull request #2948 from PySimpleGUI/Dev-latest
Addition of header and colors to Table element.
2020-05-27 10:48:36 -04:00
PySimpleGUI
b33e3d9e19 Addition of header and colors to Table element. 2020-05-27 10:28:34 -04:00
PySimpleGUI
4e11953aed
Merge pull request #2945 from PySimpleGUI/Dev-latest
If RadioButton updated to False, all buttons in the group are set to …
2020-05-26 18:15:33 -04:00
PySimpleGUI
559a37c16e If RadioButton updated to False, all buttons in the group are set to False 2020-05-26 18:14:26 -04:00
PySimpleGUI
bafd006e57
Merge pull request #2944 from PySimpleGUI/Dev-latest
Radio.update - Can set value to False which will reset all choices to…
2020-05-26 16:23:13 -04:00
PySimpleGUI
9cc087990c Radio.update - Can set value to False which will reset all choices to unchecked 2020-05-26 16:22:45 -04:00
PySimpleGUI
8d85c8204e
Merge pull request #2938 from PySimpleGUI/Dev-latest
Added Pane support to Window.find_element_with_focus
2020-05-25 09:07:24 -04:00
PySimpleGUI
9037c60dec Added Pane support to Window.find_element_with_focus 2020-05-25 09:06:58 -04:00
PySimpleGUI
8eebe2bf8b
Merge pull request #2936 from PySimpleGUI/Dev-latest
Fix for Menu.update losing the original font setting.
2020-05-25 06:44:32 -04:00
PySimpleGUI
f24300a1fc Fix for Menu.update losing the original font setting. 2020-05-25 06:44:11 -04:00
PySimpleGUI
22d2749fe4
Merge pull request #2935 from PySimpleGUI/Dev-latest
Set ButtonMenu font for menus to be same as the button font
2020-05-25 06:30:03 -04:00
PySimpleGUI
a511bb8688 Set ButtonMenu font for menus to be same as the button font 2020-05-25 06:29:37 -04:00
PySimpleGUI
c780fde21a
Merge pull request #2932 from PySimpleGUI/Dev-latest
Ability to have multiple different progress bar styles, fix tearoff m…
2020-05-24 19:06:42 -04:00
PySimpleGUI
a95fccad69 Ability to have multiple different progress bar styles, fix tearoff menu problem, added title to Tab.update, Combox drop-down now sets font 2020-05-24 19:06:24 -04:00
PySimpleGUI
bcd9bc20ce
Merge pull request #2931 from PySimpleGUI/Dev-latest
Element Justification! FINALLY all ports have the same justification …
2020-05-24 14:21:44 -04:00
PySimpleGUI
31af6eec96 Element Justification! FINALLY all ports have the same justification mechanism 2020-05-24 14:18:37 -04:00
PySimpleGUI
336578abf1
Merge pull request #2925 from PySimpleGUI/Dev-latest
Dev latest
2020-05-23 05:38:01 -04:00
PySimpleGUI
9e7ef6cceb Removed PIL 2020-05-23 05:37:41 -04:00
PySimpleGUI
cdd802e2e8 Fixed Multline.get, MultilineOutput.get 2020-05-23 05:36:53 -04:00
PySimpleGUI
d7f4935a29 Set theme jekyll-theme-leap-day 2020-05-22 13:17:06 -04:00
PySimpleGUI
24fdcec194 Set theme jekyll-theme-architect 2020-05-22 13:13:35 -04:00
PySimpleGUI
0d91b42bce Set theme jekyll-theme-hacker 2020-05-22 13:10:35 -04:00
PySimpleGUI
dae6d5ab07 Set theme jekyll-theme-leap-day 2020-05-22 13:05:32 -04:00
PySimpleGUI
c5ef28d00a
Merge pull request #2916 from PySimpleGUI/Dev-latest
Cleanup
2020-05-20 07:27:44 -04:00
PySimpleGUI
ba10e1dccd Cleanup 2020-05-20 07:27:25 -04:00
PySimpleGUI
bd413800b8
Merge pull request #2915 from PySimpleGUI/Dev-latest
Docstring fixup
2020-05-20 07:24:43 -04:00
PySimpleGUI
b06d460e2d Docstring fixup 2020-05-20 07:24:24 -04:00
PySimpleGUI
30085c29f7
Merge pull request #2911 from PySimpleGUI/Dev-latest
New demo - splash screen
2020-05-19 22:37:07 -04:00
PySimpleGUI
d5e0dc887e New demo - splash screen 2020-05-19 21:22:19 -04:00
PySimpleGUI
71ddeaebc6
Merge pull request #2910 from PySimpleGUI/Dev-latest
Dev latest
2020-05-19 20:05:12 -04:00
PySimpleGUI
21aefacec3 Made typing module optional so Raspberry Pi users are not forced to install it 2020-05-19 20:04:51 -04:00
PySimpleGUI
ff494a9564 Updated docs to include link over to the new Call Reference 2020-05-19 20:04:27 -04:00
PySimpleGUI
250823c88a
Merge pull request #2909 from PySimpleGUI/Dev-latest
Removed old docs
2020-05-19 19:44:55 -04:00
PySimpleGUI
afba5c9a89 Removed old docs 2020-05-19 19:44:38 -04:00
PySimpleGUI
a495982caa
Merge pull request #2907 from PySimpleGUI/Dev-latest
Option added to set_options to change the default tooltip font. If no…
2020-05-19 11:25:03 -04:00
PySimpleGUI
8a94d6a143 Option added to set_options to change the default tooltip font. If not specified, no font is added when tooltip is created. 2020-05-19 11:24:43 -04:00
PySimpleGUI
c0ca902fcf
Merge pull request #2906 from PySimpleGUI/Dev-latest
Fix for Multiline color tags bug.  Changed logic to not use any tags …
2020-05-18 22:08:57 -04:00
PySimpleGUI
9a16b766c4 Fix for Multiline color tags bug. Changed logic to not use any tags when no colors. 2020-05-18 22:07:40 -04:00
PySimpleGUI
43c241205d
Merge pull request #2901 from PySimpleGUI/Dev-latest
Addition of element_justification to Window. Column, Frame, Tab - wor…
2020-05-17 12:51:25 -04:00
PySimpleGUI
ca5b5ddd78 Addition of element_justification to Window. Column, Frame, Tab - works like the tkinter and Qt ports now! 2020-05-17 12:50:51 -04:00
PySimpleGUI
e050eacd74
Merge pull request #2899 from PySimpleGUI/Dev-latest
Better start for call reference doc... much more work to do like addi…
2020-05-17 06:43:38 -04:00
PySimpleGUI
8d99afbdc0 Better start for call reference doc... much more work to do like adding link over to it in the readme 2020-05-17 06:43:16 -04:00
PySimpleGUI
a74768d6cf
Merge pull request #2898 from PySimpleGUI/Dev-latest
Fixed get folder dialog for Mac users. Removed parent window.
2020-05-17 05:51:41 -04:00
PySimpleGUI
96bd7b3064 Fixed get folder dialog for Mac users. Removed parent window. 2020-05-17 05:51:19 -04:00
PySimpleGUI
f1fbc08329
Merge pull request #2897 from PySimpleGUI/Dev-latest
Dev latest
2020-05-16 12:55:05 -04:00
PySimpleGUI
e00a427556 New super-simple form Demo 2020-05-16 12:54:45 -04:00
PySimpleGUI
a46fde5e46 Split Readme (YES!) New Call Reference document. Readme changed to use WIN_CLOSED constant 2020-05-16 12:54:28 -04:00
PySimpleGUI
c7bcf22911
Merge pull request #2896 from PySimpleGUI/Dev-latest
The new readme creator and proposed new call reference file
2020-05-15 21:16:23 -04:00
PySimpleGUI
048131d199 The new readme creator and proposed new call reference file 2020-05-15 21:15:57 -04:00
PySimpleGUI
7288a3acc4
Merge pull request #2895 from PySimpleGUI/Dev-latest
Forgot to bump version....
2020-05-15 14:43:48 -04:00
PySimpleGUI
4c7e7ee10e Forgot to bump version.... 2020-05-15 14:43:29 -04:00
PySimpleGUI
c742b3c65a
Merge pull request #2894 from PySimpleGUI/Dev-latest
Dev latest
2020-05-15 14:01:06 -04:00
PySimpleGUI
71cc2df719 Added element_justification parameter to Window, Column, Frame, Tab just like the tkinter port has!! FINALLY! 2020-05-15 14:00:37 -04:00
PySimpleGUI
4f3566915c New Demo - Playback animated GIFs using PIL 2020-05-15 07:20:23 -04:00
PySimpleGUI
7d8c5d0b0d
Merge pull request #2890 from PySimpleGUI/Dev-latest
Dev latest
2020-05-14 22:45:43 -04:00
PySimpleGUI
8d5b59af66 Simplified 2020-05-14 22:45:21 -04:00
PySimpleGUI
269ffbe91f Fixed menu tearoff not working (weird no one reported... dunno what happened) 2020-05-14 22:45:08 -04:00
PySimpleGUI
84cb5bbdc7
Merge pull request #2887 from PySimpleGUI/Dev-latest
Cleanup of EXE Maker.  Biggest potential impact is the --clean flag w…
2020-05-13 12:20:35 -04:00
PySimpleGUI
cb38f818e1 Cleanup of EXE Maker. Biggest potential impact is the --clean flag when calling pyinstaller 2020-05-13 08:19:43 -04:00
PySimpleGUI
8f3abbc494
Merge pull request #2882 from PySimpleGUI/Dev-latest
Super simple System Tray Icon demo program
2020-05-12 12:14:15 -04:00
PySimpleGUI
1c74af8d5d Super simple System Tray Icon demo program 2020-05-12 12:13:55 -04:00
PySimpleGUI
198a9ac76f
Merge pull request #2881 from PySimpleGUI/Dev-latest
Fixed layout undefined error due to window created at wrong location …
2020-05-12 10:39:39 -04:00
PySimpleGUI
6f55c367db Fixed layout undefined error due to window created at wrong location in file. 2020-05-12 10:39:17 -04:00
PySimpleGUI
b5fef1065e
Merge pull request #2879 from PySimpleGUI/Dev-latest
Removed resetting of stdout if a flush is performed
2020-05-11 15:43:23 -04:00
PySimpleGUI
da4305a352 Removed resetting of stdout if a flush is performed 2020-05-11 15:43:01 -04:00
PySimpleGUI
7d0c6fa122
Merge pull request #2875 from PySimpleGUI/Dev-latest
Version 0.34.0
2020-05-10 12:25:17 -04:00
PySimpleGUI
0fcccb4b33 Version 0.34.0 2020-05-10 12:24:55 -04:00
PySimpleGUI
5dc69278e3
Merge pull request #2870 from PySimpleGUI/Dev-latest
Added Window.set_title
2020-05-08 05:16:26 -04:00
PySimpleGUI
1f0344824c Added Window.set_title 2020-05-08 05:16:06 -04:00
PySimpleGUI
0e8b2511a2
Merge pull request #2866 from PySimpleGUI/Dev-latest
WIN_CLOSED bulk update. No more test for event is None, use WIN_CLOSE…
2020-05-07 06:23:20 -04:00
PySimpleGUI
0076b461f5 WIN_CLOSED bulk update. No more test for event is None, use WIN_CLOSED instead 2020-05-07 06:22:59 -04:00
PySimpleGUI
7f9d50bf9a
Merge pull request #2865 from PySimpleGUI/Dev-latest
Updated to latest coding conventions
2020-05-07 05:50:02 -04:00
PySimpleGUI
6174b355a6 Updated to latest coding conventions 2020-05-07 05:49:44 -04:00
PySimpleGUI
dc8ea92570
Merge pull request #2864 from PySimpleGUI/Dev-latest
Dev latest
2020-05-06 16:00:22 -04:00
PySimpleGUI
47e594e6de Release 0.16.0 2020-05-06 15:59:46 -04:00
PySimpleGUI
7fdb34d338 Release 0.38.0 2020-05-06 15:59:29 -04:00
PySimpleGUI
312d425feb Release 0.33.0 2020-05-06 15:59:14 -04:00
PySimpleGUI
be9e72f14e
Merge pull request #2860 from PySimpleGUI/Dev-latest
Dev latest
2020-05-06 07:12:06 -04:00
PySimpleGUI
6369d25620 Release 4.19.0's readme creator files 2020-05-06 07:11:33 -04:00
PySimpleGUI
8173d384e4 Release 4.19.0 2020-05-05 08:45:19 -04:00
PySimpleGUI
855f196c3f
Merge pull request #2857 from PySimpleGUI/Dev-latest
Better multiline multi-colored tag handling, addition of WIN_CLOSE & …
2020-05-04 20:50:20 -04:00
PySimpleGUI
6aabbe5432 Better multiline multi-colored tag handling, addition of WIN_CLOSE & WINDOW_CLOSED 2020-05-04 20:49:45 -04:00
PySimpleGUI
56658d1864
Merge pull request #2856 from PySimpleGUI/Dev-latest
Dev latest
2020-05-04 19:45:34 -04:00
PySimpleGUI
10577019b6 Fix for bad key. Added Recipe text. 2020-05-04 19:45:11 -04:00
PySimpleGUI
59a8d7bf0c Clearer description 2020-05-04 19:44:28 -04:00
PySimpleGUI
ee7d476126
Merge pull request #2847 from PySimpleGUI/Dev-latest
Docstring changes, constanct variables for window closed event, check…
2020-05-01 10:10:00 -04:00
PySimpleGUI
1ffd8b41d6 Docstring changes, constanct variables for window closed event, check for valid theme names 2020-05-01 10:09:23 -04:00
PySimpleGUI
6f75c3a0c4
Merge pull request #2846 from PySimpleGUI/Dev-latest
Dev latest
2020-04-29 11:55:58 -04:00
PySimpleGUI
a58b95ab51 Addition of member variables to access row_frame and column's vbox 2020-04-29 11:55:11 -04:00
PySimpleGUI
106d8b83d9 Save the ParentRowFrame like in the tkinter port 2020-04-29 11:35:10 -04:00
PySimpleGUI
92ec7145f5
Update FUNDING.yml 2020-04-27 17:26:00 -04:00
PySimpleGUI
45da57597b
Initial creation
Giving people a mechanism
2020-04-27 17:25:35 -04:00
PySimpleGUI
91697164e2 Changed theme to Dark Red for testing 2020-04-25 23:13:01 -04:00
PySimpleGUI
a491b3c048
Merge pull request #2840 from PySimpleGUI/Dev-latest
Initial Check-in - Demo of the date chooser now user internally
2020-04-25 14:49:10 -04:00
PySimpleGUI
3ec092696c Initial Checkin - Demo of the date chooser now user internally 2020-04-25 14:48:38 -04:00
PySimpleGUI
618aec9f71
Merge pull request #2838 from PySimpleGUI/Dev-latest
Source file #1 for sample code for 2020 lessons
2020-04-24 20:16:08 -04:00
PySimpleGUI
9e549c4600 Source file #1 for sample cofe for 2020 lessons 2020-04-24 20:15:35 -04:00
PySimpleGUI
20dba17cc2
Merge pull request #2837 from PySimpleGUI/Dev-latest
Dev latest
2020-04-24 20:09:00 -04:00
PySimpleGUI
1ada355f2b The PySimpleGUI 2020 L:esson Text - Accompanies YouTube Video 2020-04-24 20:08:32 -04:00
PySimpleGUI
f4394b2c21 Added close parameter to Window.read 2020-04-21 12:41:38 -04:00
PySimpleGUI
0b6c4c5b00
Merge pull request #2829 from PySimpleGUI/Dev-latest
New demo - Base64 single image encode
2020-04-18 20:50:26 -04:00
PySimpleGUI
0ef13e6a6d New demo - Base64 single image encode 2020-04-18 20:49:53 -04:00
PySimpleGUI
b0eca3b489
Merge pull request #2826 from PySimpleGUI/Dev-latest
Enabled window to be resized. When it does, the image also resizes!  …
2020-04-17 11:34:32 -04:00
PySimpleGUI
5a6d35d590 Enabled window to be resized. When it does, the image also resizes! Very nice!! 2020-04-17 11:34:07 -04:00
PySimpleGUI
85a383dd30
Merge pull request #2825 from PySimpleGUI/Dev-latest
New Demo - Sudoku
2020-04-16 19:07:24 -04:00
PySimpleGUI
3fc153229b New Demo - Sudoku 2020-04-16 19:06:43 -04:00
PySimpleGUI
cbc3e8f5d0
Merge pull request #2822 from PySimpleGUI/Dev-latest
Release 0.37.0
2020-04-15 20:46:59 -04:00
PySimpleGUI
0f92dc6252 Release 0.37.0 2020-04-15 20:46:32 -04:00
PySimpleGUI
0a2bc0c235
Merge pull request #2821 from PySimpleGUI/Dev-latest
Better window management.  Show popup when exiting so doesn't appear …
2020-04-15 19:37:17 -04:00
PySimpleGUI
a487610c56 Better window management. Show popup when exiting so doesn't appear to crash. 2020-04-15 19:36:48 -04:00
PySimpleGUI
ac9fa484be
Merge pull request #2818 from PySimpleGUI/Dev-latest
Fix for Graph element.  Struggled after adding the new SvgSubcontaine…
2020-04-14 15:39:50 -04:00
PySimpleGUI
1d81aac839 Fix for Graph element. Struggled after adding the new SvgSubcontainer widget 2020-04-14 15:39:25 -04:00
PySimpleGUI
36c41c2b15
Merge pull request #2817 from PySimpleGUI/Dev-latest
typo
2020-04-14 12:57:52 -04:00
PySimpleGUI
b190c364d4 typo 2020-04-14 12:57:26 -04:00
PySimpleGUI
54a708a727
Merge pull request #2816 from PySimpleGUI/Dev-latest
Slider default value set to 100
2020-04-14 12:43:21 -04:00
PySimpleGUI
fe4e39171a Slider default value set to 100 2020-04-14 12:42:44 -04:00
PySimpleGUI
cc82a88420
Merge pull request #2815 from PySimpleGUI/Dev-latest
Dev latest
2020-04-14 07:29:12 -04:00
PySimpleGUI
1db1da0152 Coupole of docstring fixes 2020-04-14 07:28:27 -04:00
PySimpleGUI
e7b5e5b528 Latest readme creator flies 2020-04-14 07:27:51 -04:00
PySimpleGUI
2417319e3e
Merge pull request #2810 from PySimpleGUI/Dev-latest
New Demo - System Tray reminder.  Shows a reminder message every X mi…
2020-04-13 11:30:59 -04:00
PySimpleGUI
314d6e42b0 New Demo - System Tray reminder. Shows a reminder message every X minutes 2020-04-13 11:29:57 -04:00
PySimpleGUI
0e09afcee5
Merge pull request #2807 from PySimpleGUI/Dev-latest
Removed f-string, try block around subprocess import - needed for 3.4…
2020-04-12 21:27:57 -04:00
PySimpleGUI
9cdd2b0e54 Removed f-string, try block around subprocess import - needed for 3.4 support on the Pi 2020-04-12 21:27:05 -04:00
PySimpleGUI
0d03d16524
Merge pull request #2804 from PySimpleGUI/Dev-latest
Fix for extra tab.  Changed SvgGroup for SvgSubcontainer
2020-04-12 12:08:25 -04:00
PySimpleGUI
ec1212526b Fix for extra tab. Changed SvgGroup for SvgSubcontainer 2020-04-12 12:08:03 -04:00
PySimpleGUI
814ab5e139
Merge pull request #2802 from PySimpleGUI/Dev-latest
import typing.  Docstrings now showing up correctly in PyCharm
2020-04-10 14:12:04 -04:00
PySimpleGUI
71306dc46c import typing. Docstrings now showing up correctly in PyCharm 2020-04-10 14:11:41 -04:00
PySimpleGUI
4e15162a6f
Merge pull request #2790 from PySimpleGUI/Dev-latest
Incorrectly setting spin DefaultValue variable if not set in Update.
2020-04-07 19:32:52 -04:00
PySimpleGUI
a714157d8a Incorrectly setting spin DefaultValue variable if not set in Update. 2020-04-07 19:32:28 -04:00
PySimpleGUI
d9db48e130
Merge pull request #2786 from PySimpleGUI/Dev-latest
Fix for scollable columns when scrolling over ComboBoxes
2020-04-07 16:13:30 -04:00
PySimpleGUI
9352a8425c Fix for scollable columns when scrolling over ComboBoxes 2020-04-07 16:13:02 -04:00
PySimpleGUI
41b6396021
Merge pull request #2780 from PySimpleGUI/Dev-latest
Newest version of Ruud's upgrade from GitHub
2020-04-06 16:30:29 -04:00
PySimpleGUI
08aa764b9b Newest version of Ruud's upgrade from GitHub 2020-04-06 16:30:03 -04:00
PySimpleGUI
7a9807dffb
Merge pull request #2779 from PySimpleGUI/Dev-latest
Made import use PySimpleGUI instead of web, removed the shortcut from…
2020-04-06 14:59:43 -04:00
PySimpleGUI
f7f3fc915a Made import use PySimpleGUI instead of web, removed the shortcut from menus for easier reading 2020-04-06 14:59:23 -04:00
PySimpleGUI
204e5b2edd
Update Demo_OpenCV_4_Line_Program.py 2020-04-06 14:57:25 -04:00
PySimpleGUI
99915bbfdc
Merge pull request #2778 from PySimpleGUI/Dev-latest
Added a menubar with a setting item
2020-04-06 11:08:36 -04:00
PySimpleGUI
0c9b691780 Added a menubar with a setting item 2020-04-06 10:41:53 -04:00
PySimpleGUI
42ef5529f5
Merge pull request #2777 from PySimpleGUI/Dev-latest
Removed very old tutorial
2020-04-05 21:14:32 -04:00
PySimpleGUI
1642d5d14e Removed very old tutorial 2020-04-05 21:14:10 -04:00
PySimpleGUI
3fb01d4534
Merge pull request #2776 from PySimpleGUI/Dev-latest
New Recipe - Settings Load / Save
2020-04-05 17:52:27 -04:00
PySimpleGUI
1843cd5d40 New Recipe - Settings Load / Save 2020-04-05 17:51:59 -04:00
PySimpleGUI
e09d5834a3
Merge pull request #2775 from PySimpleGUI/Dev-latest
Initial settings demo program check-in
2020-04-05 15:34:27 -04:00
PySimpleGUI
08387b91e3 Initial settings demo program check-in 2020-04-05 15:33:57 -04:00
PySimpleGUI
52acec4799
Merge pull request #2774 from PySimpleGUI/Dev-latest
Scrollable Column Experimental Changes
2020-04-05 12:39:07 -04:00
PySimpleGUI
3f4734c102 Scrollable Column Experimental Changes 2020-04-05 12:38:41 -04:00
PySimpleGUI
f3f981828b
Merge pull request #2773 from PySimpleGUI/Dev-latest
Fixed TabGroup border width
2020-04-04 11:54:52 -04:00
PySimpleGUI
8342019002 Fixed TabGroup border width 2020-04-04 11:54:12 -04:00
PySimpleGUI
9715a4a874
Merge pull request #2772 from PySimpleGUI/Dev-latest
Release 0.32.0
2020-04-04 10:51:11 -04:00
PySimpleGUI
5816ebc59e Release 0.32.0 2020-04-04 10:50:43 -04:00
PySimpleGUI
a3c6c6a27b
Merge pull request #2770 from PySimpleGUI/Dev-latest
Printing section
2020-04-03 20:56:50 -04:00
PySimpleGUI
5434c7e0c7 Printing section 2020-04-03 20:56:32 -04:00
PySimpleGUI
bff20d3508
Merge pull request #2769 from PySimpleGUI/Dev-latest
Another go at the scollable column (this time for sure!)
2020-04-03 18:13:04 -04:00
PySimpleGUI
7530ed0a89 Another go at the scollable column (this time for sure!) 2020-04-03 18:12:32 -04:00
PySimpleGUI
1b5828a37f
Merge pull request #2767 from PySimpleGUI/Dev-latest
back out part of scrolled column fix as it was scrolling everything i…
2020-04-03 15:31:00 -04:00
PySimpleGUI
20435d98b1 back out part of scrolled column fix as it was scrolling everything in the window when wheel used 2020-04-03 15:23:06 -04:00
PySimpleGUI
7e431993ef
Merge pull request #2766 from PySimpleGUI/Dev-latest
New autoscroll parameter added to Multiline.print.  FIX FOR SCOLLING …
2020-04-03 15:11:06 -04:00
PySimpleGUI
52547ec58b New autoscroll parameter added to Multiline.print. FIX FOR SCOLLING COLUMNS 2020-04-03 15:10:35 -04:00
PySimpleGUI
c8afbb6708 Fixed tkiner misspelling 2020-04-02 21:16:43 -04:00
PySimpleGUI
b440e70186
Merge pull request #2763 from PySimpleGUI/Dev-latest
Set the parent window in call to askcolor (color chooser)
2020-04-02 12:57:27 -04:00
PySimpleGUI
2d3d09ad44 Set the parent window in call to askcolor (color chooser) 2020-04-02 12:57:02 -04:00
PySimpleGUI
16e36ea88b
Merge pull request #2761 from PySimpleGUI/Dev-latest
Removed check for 'Exit'
2020-04-02 10:58:12 -04:00
PySimpleGUI
070cc6ebcc Removed check for 'Exit' 2020-04-02 10:57:47 -04:00
PySimpleGUI
9cd0a12bd7
Merge pull request #2760 from PySimpleGUI/Dev-latest
enable_events recipe updated
2020-04-02 10:54:50 -04:00
PySimpleGUI
74bc125992 enable_events recipe updated 2020-04-02 10:54:15 -04:00
PySimpleGUI
868e9e49b6
Merge pull request #2759 from PySimpleGUI/Dev-latest
Picking back up the updates.... more recipes
2020-04-02 10:48:08 -04:00
PySimpleGUI
026d91fde1 Picking back up the updates.... more recipes 2020-04-02 10:47:42 -04:00
PySimpleGUI
a22c4b688d
Merge pull request #2757 from PySimpleGUI/Dev-latest
Added year up/down to calendar popup (Thanks Ruud!!)
2020-04-01 12:11:18 -04:00
PySimpleGUI
9d992d4175 Added year up/down to calendar popup (Thanks Ruud!!) 2020-04-01 12:10:36 -04:00
PySimpleGUI
693c069011
Merge pull request #2753 from PySimpleGUI/Dev-latest
Removed finalize... not needed
2020-03-31 19:03:35 -04:00
PySimpleGUI
2fe3c047fe Removed finalize... not needejd 2020-03-31 18:50:45 -04:00
PySimpleGUI
629cdafb22
Merge pull request #2752 from PySimpleGUI/Dev-latest
NEW demo program - Fourier Transform.  Updated Calendar demo
2020-03-31 18:17:03 -04:00
PySimpleGUI
3c7525dd3b NEW demo program - Fourier Transform. Updated Calendar demo 2020-03-31 18:16:37 -04:00
PySimpleGUI
a47a6eb78b
Merge pull request #2751 from PySimpleGUI/Dev-latest
More date popup work... will eventually get there....
2020-03-31 14:36:08 -04:00
PySimpleGUI
feacb6103b More date popup work... will eventually get there.... 2020-03-31 14:35:41 -04:00
PySimpleGUI
ae512572c1
Merge pull request #2749 from PySimpleGUI/Dev-latest
Made DrawLines more efficient
2020-03-31 09:22:49 -04:00
PySimpleGUI
f758357d8d Made DrawLines more efficient 2020-03-31 09:22:28 -04:00
PySimpleGUI
d282613147
Merge pull request #2748 from PySimpleGUI/Dev-latest
Added Graph.DrawLines (draw_lines)
2020-03-31 09:16:43 -04:00
PySimpleGUI
63d24b81ae Added Graph.DrawLines (draw_lines) 2020-03-31 09:16:17 -04:00
PySimpleGUI
80c9174d95
Merge pull request #2746 from PySimpleGUI/Dev-latest
Quick switch back to previous way of getting month & day names for ge…
2020-03-31 08:26:02 -04:00
PySimpleGUI
194c053f12 Quick switch back to previous way of getting month & day names for get_date 2020-03-31 08:25:38 -04:00
PySimpleGUI
79505ca6f1
Merge pull request #2745 from PySimpleGUI/Dev-latest
Added an icon for testing
2020-03-30 19:13:31 -04:00
PySimpleGUI
dd4aabf61c Added an icon for testing 2020-03-30 19:13:08 -04:00
PySimpleGUI
10c0f23ac9
Merge pull request #2744 from PySimpleGUI/Dev-latest
Location parameter added to CalendarButton
2020-03-30 10:23:47 -04:00
PySimpleGUI
a29d8488c7 Location parameter added to CalendarButton 2020-03-30 10:23:22 -04:00
PySimpleGUI
0581489d06
Merge pull request #2743 from PySimpleGUI/Dev-latest
Updated Calendar Demo to use new calendar chooser
2020-03-30 10:13:37 -04:00
PySimpleGUI
8fd075f21e Updated Calendar Demo to use new calendar chooser 2020-03-30 10:13:06 -04:00
PySimpleGUI
2fa50baef4
Merge pull request #2742 from PySimpleGUI/Dev-latest
popup_get_date - allow leaving out initial date parameters
2020-03-30 10:08:52 -04:00
PySimpleGUI
ff51642ee7 popup_get_date - allow leaving out initial date parameters 2020-03-30 10:08:19 -04:00
PySimpleGUI
9b95407926
Merge pull request #2741 from PySimpleGUI/Dev-latest
Integrated new date chooser!!  (FINALLY)
2020-03-30 09:57:09 -04:00
PySimpleGUI
08e11e860c Integrated new date chooser!! (FINALLY) 2020-03-30 09:56:42 -04:00
PySimpleGUI
abe99d2a38
Merge pull request #2740 from PySimpleGUI/Dev-latest
popup button size resized from (5,1) to (6,1)
2020-03-30 05:28:13 -04:00
PySimpleGUI
81c021332d popup button size resized from (5,1) to (6,1) 2020-03-30 05:27:46 -04:00
PySimpleGUI
8e4eb8d9e3
Merge pull request #2736 from PySimpleGUI/Dev-latest
More popup_get_date parms. icon parm for popup_animated
2020-03-29 10:08:17 -04:00
PySimpleGUI
2850b9888f More popup_get_date parms. icon parm for popup_animated 2020-03-29 10:07:50 -04:00
PySimpleGUI
e33cd9139c
Merge pull request #2734 from PySimpleGUI/Dev-latest
Dev latest
2020-03-28 14:08:47 -04:00
PySimpleGUI
90d8808884 NEW popup_get_date, fixed print sep char handling 2020-03-28 14:08:21 -04:00
PySimpleGUI
f220d749de Corrected sep string handling for Print and Multiline.print 2020-03-27 16:45:35 -04:00
PySimpleGUI
0411fc4bf9
Merge pull request #2729 from PySimpleGUI/Dev-latest
Changed animated GIFs into PNGs to try and speed up loading
2020-03-27 13:21:17 -04:00
PySimpleGUI
807cd4e8f2 Changed animated GIFs into PNGs to try and speed up loading 2020-03-27 13:20:46 -04:00
PySimpleGUI
056475cabc
Merge pull request #2725 from PySimpleGUI/Dev-latest
Release 4.18.0
2020-03-26 09:43:26 -04:00
PySimpleGUI
6d141100c5 Release 4.18.0 2020-03-26 09:42:58 -04:00
PySimpleGUI
1ec184e274
Merge pull request #2724 from PySimpleGUI/Dev-latest
Fixed bug in table element- computing bad width, added 10 pixels to t…
2020-03-26 08:38:50 -04:00
PySimpleGUI
689833b040 Fixed bug in table element- computing bad width, added 10 pixels to tree column sizes, moved block of Image layout code so executes even if no image specified 2020-03-26 08:38:23 -04:00
PySimpleGUI
dafd166470
Merge pull request #2720 from PySimpleGUI/Dev-latest
Checkbox.update - ability to change text
2020-03-25 10:35:21 -04:00
PySimpleGUI
e55b9a3e72 Checkbox.update - ability to change text 2020-03-25 10:34:53 -04:00
PySimpleGUI
bc4d8d9bd9
Merge pull request #2719 from PySimpleGUI/Dev-latest
Dev latest
2020-03-24 22:43:12 -04:00
PySimpleGUI
282ba3e3b0 popup_animated - added title parameter 2020-03-24 22:42:42 -04:00
PySimpleGUI
6abf9515a0 Delete test file 2020-03-24 20:33:39 -04:00
PySimpleGUI
09fa169412
Merge pull request #2718 from PySimpleGUI/Dev-latest
Release 4.17.0
2020-03-24 20:32:12 -04:00
PySimpleGUI
fad3dfb1d3 Release 4.17.0 2020-03-24 20:26:23 -04:00
PySimpleGUI
5de2396139
Merge pull request #2714 from PySimpleGUI/Dev-latest
Dev latest
2020-03-23 23:19:04 -04:00
PySimpleGUI
5b7e8991cf Versoin bump for last checkin 2020-03-23 23:18:28 -04:00
PySimpleGUI
d480899721 More docstring fixes. no_titlebar parameter for one_line_progress_meter, renamed demo file 2020-03-23 23:17:04 -04:00
PySimpleGUI
c732d90266
Merge pull request #2711 from PySimpleGUI/Dev-latest
Test to see how new readme looks
2020-03-22 17:00:06 -04:00
PySimpleGUI
b21de56c99 Test to see how new readme looks 2020-03-22 16:59:44 -04:00
PySimpleGUI
8465fb7224
Merge pull request #2689 from PySimpleGUI/Dev-latest
Changes for newest docstrings
2020-03-08 19:29:28 -04:00
PySimpleGUI
a53c04e0cf Changes for newest docstrings 2020-03-08 19:29:03 -04:00
PySimpleGUI
0252c089d4
Merge pull request #2685 from PySimpleGUI/Dev-latest
MORE DocStrings
2020-03-06 19:49:22 -05:00
PySimpleGUI
03aaa144a3 MORE DocStrings 2020-03-06 19:48:44 -05:00
PySimpleGUI
e135d3a161
Merge pull request #2684 from PySimpleGUI/Dev-latest
print methods for Multiline elements, fix in move figure.
2020-03-06 13:16:40 -05:00
PySimpleGUI
b5925a987d print methods for Multiline elements, fix in move figure. 2020-03-06 13:16:18 -05:00
PySimpleGUI
d7c9cd52b6
Merge pull request #2683 from PySimpleGUI/Dev-latest
Check for image is bytes in Image.Update. Was crashing trying to get …
2020-03-06 13:10:03 -05:00
PySimpleGUI
d750afcdbf Check for image is bytes in Image.Update. Was crashing trying to get width. Changed upgrade code to use utllib version! Nice! 2020-03-06 13:09:19 -05:00
PySimpleGUI
35d8321c7d
Merge pull request #2681 from PySimpleGUI/Dev-latest
upgrade parameter
2020-03-05 21:06:38 -05:00
PySimpleGUI
8b9ddf404c upgrade parameter 2020-03-05 21:06:18 -05:00
PySimpleGUI
c85ce326bf
Merge pull request #2680 from PySimpleGUI/Dev-latest
"upgrade" command line parameter
2020-03-05 20:54:09 -05:00
PySimpleGUI
af4a76f763 "upgrade" command line parameter 2020-03-05 20:53:37 -05:00
PySimpleGUI
6487f2bed1
Merge pull request #2679 from PySimpleGUI/Dev-latest
Debugger stack frame changed (still not working most likely).  The la…
2020-03-05 20:32:43 -05:00
PySimpleGUI
84cafb1397 Debugger stack frame changed (still not working most likely). The last of the docstring changes 2020-03-05 20:32:05 -05:00
PySimpleGUI
31b175460a
Merge pull request #2678 from PySimpleGUI/Dev-latest
More upgrade utility changes
2020-03-05 17:22:08 -05:00
PySimpleGUI
70cc3cba76 More upgrade utility changes 2020-03-05 17:21:29 -05:00
PySimpleGUI
3639dfc33c
Merge pull request #2677 from PySimpleGUI/Dev-latest
New version of upgrade utility.  LOTS more doctrings from my good fri…
2020-03-05 16:59:30 -05:00
PySimpleGUI
b7986234e0 New version of upgrade utility. LOTS more doctrings from my good friend nngogol 2020-03-05 16:59:03 -05:00
PySimpleGUI
337ba2bc17
Merge pull request #2676 from PySimpleGUI/Dev-latest
Simplified the code. Removed need for at a flag.  Shortened quite a bit.
2020-03-05 16:18:50 -05:00
PySimpleGUI
4f7fd7b643 Simplified the code. Removed need for at a flag. Shortened quite a bit. 2020-03-05 16:18:28 -05:00
PySimpleGUI
6532e78ee6
Merge pull request #2675 from PySimpleGUI/Dev-latest
fix for missing padding on invisible elems, STARTED lots of docstring…
2020-03-05 08:35:58 -05:00
PySimpleGUI
79e00db4cc fix for missing padding on invisible elems, STARTED lots of docstrings changes. Renamed print_to_element 2020-03-05 08:34:25 -05:00
PySimpleGUI
f5ccb0e522
Merge pull request #2672 from PySimpleGUI/Dev-latest
Multiline colors fixed (broke when fixing another problem), added Mul…
2020-03-04 19:08:54 -05:00
PySimpleGUI
305ce7529b Multiline colors fixed (broke when fixing another problem), added Multiline, MultilineOutput print method. Renamed print_to_element to be internal only 2020-03-04 19:08:24 -05:00
PySimpleGUI
dac3e6698e
Merge pull request #2668 from PySimpleGUI/Dev-latest
Dev latest
2020-03-03 17:58:57 -05:00
PySimpleGUI
8895fe7876 Typo 2020-03-03 17:58:34 -05:00
PySimpleGUI
4dc9f5c438 Multiline.update - readonly parameter addition 2020-03-03 17:55:37 -05:00
PySimpleGUI
79286bb5b2
Merge pull request #2667 from PySimpleGUI/Dev-latest
NEW Multiline.print method - same as print_to_element.  More tweaks t…
2020-03-03 11:52:02 -05:00
PySimpleGUI
76053a7a17 NEW Multiline.print method - same as print_to_element. More tweaks to the upgrade from GitHub function 2020-03-03 11:51:13 -05:00
PySimpleGUI
f04cbc98b1
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2020-03-03 10:18:58 -05:00
PySimpleGUI
d0e52a6276
Update issue-form---must-fill-in-this-form-with-every-new-issue-submitted.md 2020-03-03 10:15:23 -05:00
PySimpleGUI
b75f501ce7
Merge pull request #2662 from PySimpleGUI/Dev-latest
Dev latest
2020-03-01 16:09:00 -05:00
PySimpleGUI
efbe687c27 More upgrade utility work 2020-03-01 16:08:36 -05:00
PySimpleGUI
bf1ae9942c Addition of an upgrade from GitHub button to the test harness 2020-03-01 16:06:46 -05:00
PySimpleGUI
1596b8ee13
Merge pull request #2661 from PySimpleGUI/Dev-latest
Table - measure row height if one isn't specified
2020-03-01 15:29:45 -05:00
PySimpleGUI
b945be6680 Table - measure row height if one isn't specified 2020-03-01 15:29:18 -05:00
PySimpleGUI
d75d4be10a
Merge pull request #2660 from PySimpleGUI/Dev-latest
Table - better column sizing based on font used
2020-03-01 15:24:10 -05:00
PySimpleGUI
0356c3e260 Table - better column sizing based on font used 2020-03-01 15:23:30 -05:00
PySimpleGUI
15445538e8
Merge pull request #2659 from PySimpleGUI/Dev-latest
Multiline - moved cursor to end  before appending when updating and a…
2020-03-01 13:48:37 -05:00
PySimpleGUI
45c58c57e8 Multiline - moved cursor to end before appending when updating and appending 2020-03-01 13:48:10 -05:00
PySimpleGUI
ba7fdeaee5
Merge pull request #2658 from PySimpleGUI/Dev-latest
Move cursor to end when default text added to Multiline
2020-03-01 13:45:09 -05:00
PySimpleGUI
e01a720a5f Move cursor to end when default text added to Multline 2020-03-01 13:44:42 -05:00
PySimpleGUI
97d62bdba3
Merge pull request #2657 from PySimpleGUI/Dev-latest
Dev latest
2020-03-01 13:32:36 -05:00
PySimpleGUI
501dd59194 Graph.draw_text - Convert Text to string, fix for flickering when using Image element 2020-03-01 13:32:14 -05:00
PySimpleGUI
c656a4542e TabGroup - add autonumbered key, timeit_summary decorator, more info added about versions 2020-03-01 13:31:14 -05:00
PySimpleGUI
7d4aa67084
Merge pull request #2645 from PySimpleGUI/Dev-latest
Window.read with close parameter
2020-02-26 11:22:03 -05:00
PySimpleGUI
0f5182c576 Window.read with close parameter 2020-02-26 11:21:40 -05:00
PySimpleGUI
b341a6638f
Merge pull request #2644 from PySimpleGUI/Dev-latest
Update readme.md
2020-02-26 11:12:59 -05:00
PySimpleGUI
29e8e0c239 Update readme.md 2020-02-26 11:09:05 -05:00
PySimpleGUI
8069d4f62a
Merge pull request #2636 from PySimpleGUI/Dev-latest
Correctly adjust the output from the shell output by trimming off the…
2020-02-24 15:41:34 -05:00
PySimpleGUI
cbe60e7da5 Correctly adjust the output from the shell output by trimming off the beginning and ending chars 2020-02-24 15:40:38 -05:00
PySimpleGUI
7b4784bd0b
Merge pull request #2634 from PySimpleGUI/Dev-latest
Changed how the parameter list works
2020-02-24 14:57:14 -05:00
PySimpleGUI
136ac37d42 Changed how the parameter list works 2020-02-24 14:56:53 -05:00
PySimpleGUI
801d27b3c0
Merge pull request #2633 from PySimpleGUI/Dev-latest
Fixed how args are built with lists
2020-02-24 14:54:02 -05:00
PySimpleGUI
9f0159c546 Fixed how args are built with lists 2020-02-24 14:53:34 -05:00
PySimpleGUI
242c340210
Merge pull request #2632 from PySimpleGUI/Dev-latest
Demo program to show how shell_with_animation works
2020-02-24 14:16:09 -05:00
PySimpleGUI
8406758d1c Demo program to show how shell_with_animation works 2020-02-24 14:15:48 -05:00
PySimpleGUI
95f26c8c17
Merge pull request #2631 from PySimpleGUI/Dev-latest
New shell_with_animation function to help long-running operations
2020-02-24 14:12:52 -05:00
PySimpleGUI
6982c4078d New shell_with_animation function to help long-running operations 2020-02-24 14:12:09 -05:00
PySimpleGUI
4c37c32d58
Merge pull request #2630 from PySimpleGUI/Dev-latest
popup_notify, removed TRANSPARENT_BUTTON
2020-02-24 10:33:49 -05:00
PySimpleGUI
40e823e2dd popup_notify, removed TRANSPARENT_BUTTON 2020-02-24 10:33:17 -05:00
PySimpleGUI
63be01993a
Merge pull request #2629 from PySimpleGUI/Dev-latest
New multithreaded demo
2020-02-24 09:11:37 -05:00
PySimpleGUI
5b89f08714 New multithreaded demo 2020-02-24 09:10:42 -05:00
PySimpleGUI
23f42c7840
Merge pull request #2626 from PySimpleGUI/Dev-latest
Added Image.update_animation_no_buffering
2020-02-23 12:24:26 -05:00
PySimpleGUI
ec77e94358 Added Image.update_animation_no_buffering 2020-02-23 12:23:57 -05:00
PySimpleGUI
4ab6dd892a
Merge pull request #2625 from PySimpleGUI/Dev-latest
Fix for MultilineOutput not autoscrolling. Added print_to_element fun…
2020-02-22 19:08:16 -05:00
PySimpleGUI
8336bf3519 Fix for MultilineOutput not autoscrolling. Added print_to_element function. 2020-02-22 19:07:28 -05:00
PySimpleGUI
d8f0155aee
Merge pull request #2622 from PySimpleGUI/Dev-latest
Release 0.36.0
2020-02-20 20:18:38 -05:00
PySimpleGUI
336ebe1070 Release 0.36.0 2020-02-20 20:18:14 -05:00
PySimpleGUI
c0d1c992e3
Merge pull request #2620 from PySimpleGUI/Dev-latest
Dev latest
2020-02-20 16:09:24 -05:00
PySimpleGUI
f4e488061a Release 4.16.0 2020-02-20 16:08:55 -05:00
PySimpleGUI
b2c39d77d7 Release 4.16.0 2020-02-20 16:08:12 -05:00
PySimpleGUI
4139a54425
Merge pull request #2618 from PySimpleGUI/Dev-latest
Element.set_size - retry height failure using length instead
2020-02-19 15:32:40 -05:00
PySimpleGUI
7ea32009d7 Element.set_size - retry height failure using length instead 2020-02-19 15:32:14 -05:00
PySimpleGUI
4cabafc115
Merge pull request #2616 from PySimpleGUI/Dev-latest
Fix for Image element not loading following a finalize.
2020-02-19 14:05:13 -05:00
PySimpleGUI
23ce1bb6af Fix for Image element not loading following a finalize. 2020-02-19 14:03:54 -05:00
PySimpleGUI
46d04512de
Merge pull request #2615 from PySimpleGUI/Dev-latest
Restructured window.read so that the close is done extrnally to the m…
2020-02-19 13:13:35 -05:00
PySimpleGUI
85cef1713b Restructured window.read so that the close is done extrnally to the main read call. 2020-02-19 13:13:07 -05:00
PySimpleGUI
109b874712
Merge pull request #2613 from PySimpleGUI/Dev-latest
Dev latest
2020-02-18 20:44:35 -05:00
PySimpleGUI
b62ad7cc1b Removed set_layout_orientation call from Text element. Was crashing following Remi update. 2020-02-18 20:43:42 -05:00
PySimpleGUI
0cbddfc980 New Checkbox.Update parameters for setting the colors 2020-02-13 20:17:11 -05:00
PySimpleGUI
5959bcecce
Merge pull request #2595 from PySimpleGUI/Dev-latest
Added test to show using Tab.select()
2020-02-10 12:06:40 -05:00
PySimpleGUI
9308bb3504 Added test to show using Tab.select() 2020-02-10 12:06:15 -05:00
PySimpleGUI
3dd0aa3c09
Merge pull request #2594 from PySimpleGUI/Dev-latest
Fix for visible being ignored when creating Text Element
2020-02-10 10:50:13 -05:00
PySimpleGUI
6a9dc696c0 Fix for visible being ignored when creatring Text Element 2020-02-10 10:49:49 -05:00
PySimpleGUI
15f3ed6383
Merge pull request #2593 from PySimpleGUI/Dev-latest
Addition of font to Menu - sets the font inside the menu itself
2020-02-10 10:44:01 -05:00
PySimpleGUI
99c32cff27 Addition of font to Menu - sets the font inside the menu itself 2020-02-10 10:43:41 -05:00
PySimpleGUI
594fac65b1
Merge pull request #2590 from PySimpleGUI/Dev-latest
System Tray feature addition
2020-02-09 16:00:05 -05:00
PySimpleGUI
174176daf4 System Tray feature addition 2020-02-09 15:59:38 -05:00
PySimpleGUI
8c910188b1
Merge pull request #2588 from PySimpleGUI/Dev-latest
Window.read gets a new "close" parameter (thinking of renaming to clo…
2020-02-08 14:09:59 -05:00
PySimpleGUI
c64c689d20 Window.read gets a new "close" parameter (thinking of renaming to close_window) 2020-02-08 14:09:39 -05:00
PySimpleGUI
751abed990
Merge pull request #2581 from PySimpleGUI/Dev-latest
Window.element_list added. Image defaults to filename='' if nothing s…
2020-02-07 14:03:10 -05:00
PySimpleGUI
9f0299375f Window.element_list added. Image defaults to filename='' if nothing specified 2020-02-07 14:02:43 -05:00
PySimpleGUI
42fc3c1cd8
Merge pull request #2572 from PySimpleGUI/Dev-latest
Added Element.unbind - removes a previously bound event from an Element
2020-02-03 15:29:44 -05:00
PySimpleGUI
d289de61f9 Added Element.unbind - removes a previously bound event from an Element 2020-02-03 15:29:20 -05:00
PySimpleGUI
a3402a5be6
Merge pull request #2563 from PySimpleGUI/Dev-latest
Addition of select_mode parameter to Listbox.,update
2020-02-01 11:57:07 -05:00
PySimpleGUI
ce1cc28295 Addition of select_mode parameter to Listbox.,update 2020-02-01 11:56:46 -05:00
PySimpleGUI
d8919b44cb
Merge pull request #2562 from PySimpleGUI/Dev-latest
Listbox.get
2020-02-01 11:46:10 -05:00
PySimpleGUI
c1f87f3825 Listbox.get 2020-02-01 11:45:49 -05:00
PySimpleGUI
f32888a9c7
Merge pull request #2561 from PySimpleGUI/Dev-latest
Listbox.get
2020-02-01 11:36:36 -05:00
PySimpleGUI
0b7ca7d294 Listboix.get 2020-02-01 11:35:42 -05:00
PySimpleGUI
ab65c65711
Merge pull request #2558 from PySimpleGUI/Dev-latest
Columns are now scrollable
2020-01-31 09:23:42 -05:00
PySimpleGUI
acef3604c2 Columns are now scrollable 2020-01-31 09:22:17 -05:00
PySimpleGUI
3695584920
Merge pull request #2554 from PySimpleGUI/Dev-latest
Checked for autoscroll
2020-01-30 10:18:31 -05:00
PySimpleGUI
e5dd64ad57 Checked for autoscroll 2020-01-30 10:18:08 -05:00
PySimpleGUI
1cd63198ad
Merge pull request #2553 from PySimpleGUI/Dev-latest
Multiline.update - move cursor to end if appending new data.  This is…
2020-01-30 10:13:44 -05:00
PySimpleGUI
8d868523ec Multiline.update - move cursor to end if appending new data. This is the same as an "autoscroll". 2020-01-30 10:13:23 -05:00
PySimpleGUI
1689b66456
Merge pull request #2550 from PySimpleGUI/Dev-latest
Added print_to_element
2020-01-28 09:57:06 -05:00
PySimpleGUI
d83e723502 Added print_to_element 2020-01-28 09:56:42 -05:00
PySimpleGUI
ef3eb81a0e
Merge pull request #2549 from PySimpleGUI/Dev-latest
print_to_element - used to "print" to a multiline element
2020-01-28 09:51:37 -05:00
PySimpleGUI
808866c443 print_to_element - used to "print" to a multiline element 2020-01-28 09:51:13 -05:00
PySimpleGUI
33f713f098
Merge pull request #2545 from PySimpleGUI/Dev-latest
Demo - Matplotlib with toolbar embedded into GUI
2020-01-27 06:47:18 -05:00
PySimpleGUI
1bf54c3d27 Demo - Matplotlib with toolbar embedded into GUI 2020-01-27 06:46:54 -05:00
PySimpleGUI
0c6bc9784c
Merge pull request #2544 from PySimpleGUI/Dev-latest
New Demo showing using invisble input elements as target
2020-01-27 06:19:53 -05:00
PySimpleGUI
094622e5be New Demo showing using invisble input elements as target 2020-01-27 06:19:32 -05:00
PySimpleGUI
65c5f06e62
Merge pull request #2541 from PySimpleGUI/Dev-latest
Addd Image.Widget, return correct value when manual entry into ComboBox
2020-01-24 17:00:43 -05:00
PySimpleGUI
4590dbc7ff Addd Image.Widget, return correct value when manual entry into ComboBox 2020-01-24 17:00:21 -05:00
PySimpleGUI
ed544bc9c1
Merge pull request #2535 from PySimpleGUI/Dev-latest
Fixed wasn't returning window when creating popup. Made a main func i…
2020-01-22 16:22:10 -05:00
PySimpleGUI
7a7513e00d Fixed wasn't returning window when creating popup. Made a main func instead of a flat program structure 2020-01-22 16:21:46 -05:00
PySimpleGUI
6fedd0e7d5
Merge pull request #2528 from PySimpleGUI/Dev-latest
Graph.draw_polygon added
2020-01-20 10:05:07 -05:00
PySimpleGUI
fa103b7246 Graph.draw_polygon added 2020-01-20 10:04:46 -05:00
PySimpleGUI
2f8494ce4a
Merge pull request #2523 from PySimpleGUI/Dev-latest
Dev latest
2020-01-18 08:21:23 -05:00
PySimpleGUI
576c453e3e Added a new line/wall with caused some interesting interactions 2020-01-18 08:21:01 -05:00
PySimpleGUI
0e0a6c437c Made fade-in-duration a parameter. Added docstrings 2020-01-17 15:28:28 -05:00
PySimpleGUI
0cd8712b35
Merge pull request #2522 from PySimpleGUI/Dev-latest
Multiprocessing version of notification window demo
2020-01-17 13:18:13 -05:00
PySimpleGUI
b0cf64d485 Multiprocessing version of notification window demo 2020-01-17 13:17:52 -05:00
PySimpleGUI
252a97cad7
Merge pull request #2521 from PySimpleGUI/Dev-latest
Updated to use newest methods such as setting cursor and removing all…
2020-01-17 12:49:11 -05:00
PySimpleGUI
9093da4795 Updated to use newest methods such as setting cursor and removing all sleeps. 2020-01-17 12:48:51 -05:00
PySimpleGUI
be2c5d5224
Merge pull request #2517 from PySimpleGUI/Dev-latest
Release 0.35.0
2020-01-16 22:36:04 -05:00
PySimpleGUI
564e12a871 Release 0.35.0 2020-01-16 22:35:27 -05:00
PySimpleGUI
2e972bd6e0
Merge pull request #2513 from PySimpleGUI/Dev-latest
Removed f-string for 3.5 compat. Added lots of popuperrors for bad la…
2020-01-15 11:15:09 -05:00
PySimpleGUI
023c158a6c Removed f-string for 3.5 compat. Added lots of popuperrors for bad layout detection of container elements. 2020-01-15 11:14:45 -05:00
PySimpleGUI
b2feb736de
Merge pull request #2508 from PySimpleGUI/Dev-latest
Fix for sliders, etc
2020-01-14 12:26:16 -05:00
PySimpleGUI
0ef4bdab7b Fix for sliders, etc 2020-01-14 12:25:51 -05:00
PySimpleGUI
75ec3f360d
Merge pull request #2505 from PySimpleGUI/Dev-latest
All justification parameters can be shortned to 1 character, Fixed de…
2020-01-13 23:32:18 -05:00
PySimpleGUI
2d9c690353 All justification parameters can be shortned to 1 character, Fixed debug window not closing with quit button correctly 2020-01-13 23:31:53 -05:00
PySimpleGUI
09287afefe
Merge pull request #2503 from PySimpleGUI/Dev-latest
Fix for Multiline update with no value parameter specified
2020-01-13 16:10:49 -05:00
PySimpleGUI
4a048efdb0 Fix for Multline update with no value parameter specified 2020-01-13 16:10:23 -05:00
PySimpleGUI
56ef311581
Merge pull request #2497 from PySimpleGUI/Dev-latest
Correctly scale draw_pixel
2020-01-10 12:24:47 -05:00
PySimpleGUI
3ef369cc58 Correctly scale draw_pixel 2020-01-10 12:24:23 -05:00
PySimpleGUI
85d24298b9
Merge pull request #2495 from PySimpleGUI/Dev-latest
Demo showing how to extend a layout
2020-01-10 10:50:25 -05:00
PySimpleGUI
80b1f5fc4d Demo showing how to extend a layout 2020-01-10 10:43:09 -05:00
PySimpleGUI
75abaa3948
Merge pull request #2493 from PySimpleGUI/Dev-latest
Release 4.15.1
2020-01-09 23:26:15 -05:00
PySimpleGUI
76e2ec49d9 Release 4.15.1 2020-01-09 23:25:54 -05:00
PySimpleGUI
398ae76575
Merge pull request #2490 from PySimpleGUI/Dev-latest
fix for Listbox.Update not using string version of values, Graph.chan…
2020-01-09 11:59:40 -05:00
PySimpleGUI
14b661648e fix for Listbox.Update not using string version of values, Graph.change_coordinates addition 2020-01-09 11:59:21 -05:00
PySimpleGUI
f1713e53f8
Merge pull request #2489 from PySimpleGUI/Dev-latest
Release 4.15.0
2020-01-08 23:01:34 -05:00
PySimpleGUI
9543c68d1a Release 4.15.0 2020-01-08 23:01:05 -05:00
PySimpleGUI
ca66dcbf23
Merge pull request #2486 from PySimpleGUI/Dev-latest
New theme_text_element_background_color function, Fix for closing deb…
2020-01-08 17:36:28 -05:00
PySimpleGUI
c51edc7719 New theme_text_element_background_color function, Fix for closing debug window with an X when running a non-blocking window, added keep on top to internal calls to popup_error, 2020-01-08 17:36:04 -05:00
PySimpleGUI
9798d8ea5b
Merge pull request #2474 from PySimpleGUI/Dev-latest
Changed warning about layout reuse to indicate Element Reuse instead.…
2020-01-04 23:23:25 -05:00
PySimpleGUI
370c01e783 Changed warning about layout reuse to indicate Element Reuse instead. Added a delete method for Output Element 2020-01-04 23:23:00 -05:00
PySimpleGUI
479d588b0f
Merge pull request #2472 from PySimpleGUI/Dev-latest
extend_layout
2020-01-03 20:51:36 -05:00
PySimpleGUI
b4529f80af extend_layout 2020-01-03 20:51:13 -05:00
PySimpleGUI
d959f4ff27
Merge pull request #2471 from PySimpleGUI/Dev-latest
extend_layout method. _timeit decorator
2020-01-03 19:47:35 -05:00
PySimpleGUI
2f8d90efd4 extend_layout method. _timeit decorator 2020-01-03 19:45:40 -05:00
PySimpleGUI
ded9bdbd20
Merge pull request #2465 from PySimpleGUI/Dev-latest
Updated to use actual arrows.  Much cleaner looking now.
2020-01-02 19:08:24 -05:00
PySimpleGUI
962cd61fdc Updated to use actual arrows. Much cleaner looking now. 2020-01-02 19:07:59 -05:00
PySimpleGUI
82ee4c9f79
Merge pull request #2464 from PySimpleGUI/Dev-latest
NEW DEMO - PyLab integration
2020-01-02 13:28:48 -05:00
PySimpleGUI
1504cb8d44 NEW DEMO - PyLab integration 2020-01-02 13:28:28 -05:00
PySimpleGUI
c20cd8a556
Merge pull request #2463 from PySimpleGUI/Dev-latest
NEW DEMO!  Reddit Searcher
2020-01-02 13:09:47 -05:00
PySimpleGUI
090c850eff NEW DEMO! Reddit Searcher 2020-01-02 13:09:25 -05:00
PySimpleGUI
e7076e41ee
Merge pull request #2459 from PySimpleGUI/Dev-latest
Goodbye Python 2.7.  Hello 3!
2020-01-01 09:22:45 -05:00
PySimpleGUI
bde1b6dc2c Goodbye Python 2.7. Hello 3! 2020-01-01 09:22:26 -05:00
PySimpleGUI
cb21036adb
Merge pull request #2457 from PySimpleGUI/Dev-latest
Changed theme's "black" and "white" values to hex values.
2019-12-31 20:00:16 -05:00
PySimpleGUI
1da920a1e9 Changed theme's "black" and "white" values to hex values. 2019-12-31 19:59:55 -05:00
PySimpleGUI
661f3da75c
Merge pull request #2456 from PySimpleGUI/Dev-latest
Compute the background color of checkbox's box and radio button's circle
2019-12-31 19:27:33 -05:00
PySimpleGUI
da14e3517e Compute the background color of checkbox's box and radio button's circle 2019-12-31 19:27:10 -05:00
PySimpleGUI
2a388e096c
Merge pull request #2454 from PySimpleGUI/Dev-latest
Removed restriction that progress bar value cannot be > max
2019-12-31 18:42:27 -05:00
PySimpleGUI
68cf528a3a Removed restriction that progress bar value cannot be > max 2019-12-31 18:42:06 -05:00
PySimpleGUI
13ac058f84
Merge pull request #2449 from PySimpleGUI/Dev-latest
Added an extra call to tkroot.update when closing window to fix Linux…
2019-12-30 15:57:41 -05:00
PySimpleGUI
1fbe91a561 Added an extra call to tkroot.update when closing window to fix Linux problem. Added line witdth to DrawArc 2019-12-30 15:57:19 -05:00
PySimpleGUI
55b8487956
Merge pull request #2444 from PySimpleGUI/Dev-latest
New Column Element Demo - "Swap In/Out" entire window
2019-12-28 19:09:08 -05:00
PySimpleGUI
3d7b6227fb New Column Element Demo - "Swap In/Out" entire window 2019-12-28 19:08:47 -05:00
PySimpleGUI
5e1641c94c
Merge pull request #2438 from PySimpleGUI/Dev-latest
new Graph.change_coordinates
2019-12-26 16:19:33 -05:00
PySimpleGUI
2fe1d9a25b new Graph.change_coordinates 2019-12-26 16:19:14 -05:00
PySimpleGUI
83b5d52f2f
Merge pull request #2436 from PySimpleGUI/Dev-latest
Changed over to using theme instead of look and feel
2019-12-26 10:24:18 -05:00
PySimpleGUI
37a03fba0a Changed over to using theme instead of look and feel 2019-12-26 10:23:57 -05:00
PySimpleGUI
cfbf055dba
Merge pull request #2435 from PySimpleGUI/Dev-latest
Changed how window.bring_to_front is implemented on Windows
2019-12-25 19:14:41 -05:00
PySimpleGUI
a0ffc7a1b1 Changed how window.bring_to_front is implemented on Windows 2019-12-25 19:14:19 -05:00
PySimpleGUI
69eb845eb3
Merge pull request #2434 from PySimpleGUI/Dev-latest
Back out the row padding change.  Fixed crash in set_icon
2019-12-25 18:29:08 -05:00
PySimpleGUI
351bcfa170 Back out the row padding change. Fixed crash in set_icon 2019-12-25 18:28:50 -05:00
PySimpleGUI
c845b4292e
Merge pull request #2431 from PySimpleGUI/Dev-latest
Dev latest
2019-12-25 10:50:40 -05:00
PySimpleGUI
abe4451709 Removed dictionary of parms for "user defined element" instead 2019-12-25 10:50:19 -05:00
PySimpleGUI
5aeead54a6 Removed the css variable. 2019-12-25 09:55:22 -05:00
PySimpleGUI
4c2e6a06b9
Merge pull request #2430 from PySimpleGUI/Dev-latest
Removed x-margin from Row Frame.  blank Text element sized to be defa…
2019-12-25 09:48:37 -05:00
PySimpleGUI
3a6b7c5ed8 Removed x-margin from Row Frame. blank Text element sized to be default element size, enable_events for calendary button (likely to be removed) 2019-12-25 09:48:14 -05:00
PySimpleGUI
0f161c399a
Merge pull request #2428 from PySimpleGUI/Dev-latest
Demo updates with new theme calls
2019-12-24 18:53:11 -05:00
PySimpleGUI
5484b047c0 Demo updates with new theme calls 2019-12-24 18:52:47 -05:00
PySimpleGUI
8b3a085276
Merge pull request #2427 from PySimpleGUI/Dev-latest
Dev latest
2019-12-24 17:37:12 -05:00
PySimpleGUI
52700b0780 Releasee 0.15.0 2019-12-24 17:36:52 -05:00
PySimpleGUI
04ab2f5d1c Release 0.34.0 2019-12-24 15:09:37 -05:00
PySimpleGUI
5a29d8eee2
Merge pull request #2425 from PySimpleGUI/Dev-latest
Release 0.31.0
2019-12-24 12:58:36 -05:00
PySimpleGUI
5404c2f91e Release 0.31.0 2019-12-24 12:58:11 -05:00
PySimpleGUI
b1d6996dda
Merge pull request #2424 from PySimpleGUI/Dev-latest
New demo program using new function save_element_as_file . Added save…
2019-12-24 11:33:22 -05:00
PySimpleGUI
9be47c5df5 New demo program using new function save_element_as_file . Added save to the Graph drawing demo 2019-12-24 11:33:06 -05:00
PySimpleGUI
4d7eac3a0a
Merge pull request #2422 from PySimpleGUI/Dev-latest
Addition of Save feature
2019-12-24 09:52:47 -05:00
PySimpleGUI
4727781614 Addition of Save feature 2019-12-24 09:52:26 -05:00
PySimpleGUI
21c30bf38c
Merge pull request #2420 from PySimpleGUI/Dev-latest
Release 4.14.0  - Themes!
2019-12-23 09:37:03 -05:00
PySimpleGUI
922c6a99bb Release 4.14.0 - Themes! 2019-12-23 09:36:29 -05:00
PySimpleGUI
93190a8636
Merge pull request #2419 from PySimpleGUI/Dev-latest
Moved from this repo to its own repo so that the clone isn't so HUGE
2019-12-22 20:10:51 -05:00
PySimpleGUI
b9a3a118f5 Moved from this repo to its own repo so that the clone isn't so HUGE 2019-12-22 20:10:25 -05:00
PySimpleGUI
23d826cd94
Merge pull request #2415 from PySimpleGUI/Dev-latest
Removed Macs being forced to system default.  Checked in the latest r…
2019-12-21 13:24:01 -05:00
PySimpleGUI
0d7473eedb Removed Macs being forced to system default. Checked in the latest readme components 2019-12-21 13:23:38 -05:00
PySimpleGUI
0c105dc6a3
Merge pull request #2411 from PySimpleGUI/Dev-latest
theme() and associated other functions! New default theme of Dark Blu…
2019-12-20 15:40:39 -05:00
PySimpleGUI
9cc43153b5 theme() and associated other functions! New default theme of Dark Blue 3. My new bookmarks - placement 2019-12-20 15:40:17 -05:00
PySimpleGUI
0bef56dc87
Merge pull request #2405 from PySimpleGUI/Dev-latest
Dev latest
2019-12-19 12:53:23 -05:00
PySimpleGUI
234776e871 New version number 2019-12-19 12:53:02 -05:00
PySimpleGUI
da09264616 New Element.set_cursor method. New Look and Feel function "theme()", Combo.update now allows value to be set that is not in the values list. Table and Tree headings font now defaults to window font 2019-12-19 12:50:57 -05:00
PySimpleGUI
15e2def34f
Merge pull request #2402 from PySimpleGUI/Dev-latest
Lots of new features!
2019-12-19 11:00:38 -05:00
PySimpleGUI
c1e171d681 Lots of new features! 2019-12-19 11:00:17 -05:00
PySimpleGUI
399e35c4b5
Merge pull request #2400 from PySimpleGUI/Dev-latest
Added a bunch more options for drawing stuff and move abililties to m…
2019-12-18 22:44:08 -05:00
PySimpleGUI
8420ac99fb Added a bunch more options for drawing stuff and move abililties to move things around 2019-12-18 22:43:45 -05:00
PySimpleGUI
2ea11c3444
Merge pull request #2399 from PySimpleGUI/Dev-latest
Removed calls remaining direct tkinter method calls so only PySimpleGU…
2019-12-18 22:37:49 -05:00
PySimpleGUI
f31978aa60 Removed calls remaining direc tkinter method calls so only PySimpleGUI calls are used. 2019-12-18 22:37:23 -05:00
PySimpleGUI
5a6b09e231
Merge pull request #2398 from PySimpleGUI/Dev-latest
Release 4.13.0
2019-12-18 22:20:24 -05:00
PySimpleGUI
577a492673 Release 4.13.0 2019-12-18 22:19:00 -05:00
PySimpleGUI
d73e524744
Merge pull request #2397 from PySimpleGUI/Dev-latest
Demo of binding tkinter events to extend PySimpleGUI
2019-12-18 16:28:24 -05:00
PySimpleGUI
73516abfb1 Demo of binding tkinter events to extend PySimpleGUI 2019-12-18 16:27:59 -05:00
PySimpleGUI
621f19ace8
Merge pull request #2396 from PySimpleGUI/Dev-latest
Dev latest
2019-12-18 14:32:05 -05:00
PySimpleGUI
18152ac402 New Demo to show how to drag stuff around on a Graph 2019-12-18 14:31:43 -05:00
PySimpleGUI
9d55ebaa9a Fix? for circle radius not being set correctly, NEW Graph primitives - get_figures_at_location, get_bounding_box 2019-12-18 14:30:24 -05:00
PySimpleGUI
0a3f98ac48
Merge pull request #2392 from PySimpleGUI/Dev-latest
Table & Tree Element - Header text & background colors, header font
2019-12-17 21:52:22 -05:00
PySimpleGUI
5d3db45d9a Table & Tree Element - Header text & background colors, header font 2019-12-17 21:52:00 -05:00
PySimpleGUI
c20e46aff2
Merge pull request #2390 from PySimpleGUI/Dev-latest
use math.floor instead of int when converting for Graph Element, initial check-in of code counter
2019-12-17 17:52:38 -05:00
PySimpleGUI
24d7e6bab2 use math.floor instead of int when converting for Graph Element 2019-12-17 17:51:48 -05:00
PySimpleGUI
4cac51bfea
Merge pull request #2384 from PySimpleGUI/Dev-latest
Buttons are now 3D and animate (why did it take SO long to discover t…
2019-12-16 11:52:43 -05:00
PySimpleGUI
4f7a53bbf8 Buttons are now 3D and animate (why did it take SO long to discover this problem?) 2019-12-16 11:52:24 -05:00
PySimpleGUI
7af14ce08d
Merge pull request #2382 from PySimpleGUI/Dev-latest
Dev latest
2019-12-15 21:55:47 -05:00
PySimpleGUI
fa7178850f Expand_row should default to true 2019-12-15 21:55:21 -05:00
PySimpleGUI
e790b938ed Spinbox skip setting default is None provided, expand_row = True by default in Element.expand 2019-12-15 21:54:16 -05:00
PySimpleGUI
ead90bb7a9
Merge pull request #2381 from PySimpleGUI/Dev-latest
Changed "green" to match the color tiles.  Initial check-in for multi…
2019-12-15 17:15:35 -05:00
PySimpleGUI
c126e8fd7e Changed "green" to match the color tiles. Initial check-in for multi-colored numbers version 2019-12-15 17:15:16 -05:00
PySimpleGUI
0d1c84efcb
Merge pull request #2379 from PySimpleGUI/Dev-latest
new expand_row parameter to Element.expand
2019-12-15 14:57:00 -05:00
PySimpleGUI
7492d3cbc7 new expand_row parameter to Element.expand 2019-12-15 14:56:37 -05:00
PySimpleGUI
814d88fb59
Merge pull request #2378 from PySimpleGUI/Dev-latest
Draws Axis, moves the individual lines instead of the graph.
2019-12-15 12:15:16 -05:00
PySimpleGUI
54f53991a0 Draws Axis, moves the individual lines instead of the graph. 2019-12-15 12:14:55 -05:00
PySimpleGUI
b00011a213
Merge pull request #2375 from PySimpleGUI/Dev-latest
Dev latest
2019-12-14 23:34:22 -05:00
PySimpleGUI
fad54cf29a Initial Check-in 2019-12-14 23:33:57 -05:00
PySimpleGUI
3022748ec7 Release 4.12 2019-12-14 23:33:44 -05:00
PySimpleGUI
bae9516930
Merge pull request #2372 from PySimpleGUI/Dev-latest
Accidently reformatted code, Fixed highlighting around all elements (…
2019-12-14 14:36:16 -05:00
PySimpleGUI
749529a04f Accidently reformatted code, Fixed highlighting around all elements (almost) on Linux (was highlightthickness), Disabled Button Colors 2019-12-14 14:35:57 -05:00
PySimpleGUI
6c0c19289d
Merge pull request #2368 from PySimpleGUI/Dev-latest
Buttons can set disabled_button_color initially and in update for bot…
2019-12-13 19:56:09 -05:00
PySimpleGUI
3aa0416275 Buttons can set disabled_button_color initially and in update for both tk and ttk buttons 2019-12-13 19:55:45 -05:00
PySimpleGUI
0f905ad488
Merge pull request #2367 from PySimpleGUI/Dev-latest
Comboboxes don't have to be disabled before making readonly in update…
2019-12-13 15:17:13 -05:00
PySimpleGUI
06d398b931 Comboboxes don't have to be disabled before making readonly in update, fix for file/folder browse cancel on Linux 2019-12-13 15:16:53 -05:00
PySimpleGUI
2e567b2102
Merge pull request #2364 from PySimpleGUI/Dev-latest
Removed ctypes stuff so can run on Linux
2019-12-12 21:52:38 -05:00
PySimpleGUI
acfbcd8e58 Removed ctypes stuff so can run on Linux 2019-12-12 21:52:16 -05:00
PySimpleGUI
fadad115f2
Merge pull request #2363 from PySimpleGUI/Dev-latest
Initial Checkin of Jason's Solitaire game... MUST add credits once so…
2019-12-12 21:45:15 -05:00
PySimpleGUI
61f29ecf19 Initial Checkin of Jason's Solitaire game... MUST add credits once sorted out what he wants 2019-12-12 21:44:46 -05:00
PySimpleGUI
12869be511
Merge pull request #2362 from PySimpleGUI/Dev-latest
Fix for popups not closing on Linux.  Switched away from CloseButtons
2019-12-12 19:02:07 -05:00
PySimpleGUI
fad8e6bea6 Fix for popups not closing on Linux. Switched away from CloseButtons 2019-12-12 19:01:45 -05:00
PySimpleGUI
d2c2bc85cf
Merge pull request #2360 from PySimpleGUI/Dev-latest
Ability to set disabled text color for tk.Button's
2019-12-12 16:11:49 -05:00
PySimpleGUI
78116aa9f7 Ability to set disabled text color for tk.Button's 2019-12-12 16:11:27 -05:00
PySimpleGUI
d9183e0eed
Merge pull request #2358 from PySimpleGUI/Dev-latest
Drag and Drop support for Multiline Input
2019-12-11 15:02:10 -05:00
PySimpleGUI
4b650b556f Drag and Drop support for Multiline Input 2019-12-11 15:01:52 -05:00
PySimpleGUI
2e7ba78af2
Merge pull request #2357 from PySimpleGUI/Dev-latest
New demo with simple base64 based buttons that will match any color t…
2019-12-11 11:24:43 -05:00
PySimpleGUI
c785ad8569 New demo with simple base64 based buttons that will match any color theme 2019-12-11 11:24:23 -05:00
PySimpleGUI
a79a722fb5
Merge pull request #2353 from PySimpleGUI/Dev-latest
Info on the new .bind method
2019-12-10 16:03:55 -05:00
PySimpleGUI
24e50e9c0b Info on the new .bind method 2019-12-10 16:03:35 -05:00
PySimpleGUI
549afd0c49
Merge pull request #2352 from PySimpleGUI/Dev-latest
Release 4.11.0
2019-12-10 15:50:39 -05:00
PySimpleGUI
2c6ed5355f Release 4.11.0 2019-12-10 15:48:26 -05:00
PySimpleGUI
4f657e34af
Merge pull request #2351 from PySimpleGUI/Dev-latest
Fixed key typo, added Dark Blue 3 look and feel
2019-12-10 14:11:41 -05:00
PySimpleGUI
87bb1fd18c Fixed key typo, added Dark Blue 3 look and feel 2019-12-10 14:11:22 -05:00
PySimpleGUI
4d33cef321
Merge pull request #2349 from PySimpleGUI/Dev-latest
Element.bind, Window.bind- wow
2019-12-10 11:15:42 -05:00
PySimpleGUI
77743a4eca Element.bind, Window.bind- wow 2019-12-10 11:14:59 -05:00
PySimpleGUI
d4e7095059
Merge pull request #2346 from PySimpleGUI/Dev-latest
Font setting for TabGroup elements
2019-12-09 22:04:09 -05:00
PySimpleGUI
e97829970d Font setting for TabGroup elements 2019-12-09 22:03:46 -05:00
PySimpleGUI
c3370c5724
Merge pull request #2341 from PySimpleGUI/Dev-latest
Release 4.10.0
2019-12-09 17:08:39 -05:00
PySimpleGUI
6348b969e6 Release 4.10.0 2019-12-09 17:08:19 -05:00
PySimpleGUI
065d083051
Merge pull request #2340 from PySimpleGUI/Dev-latest
Added flags around the finalize calls for built-in debugger. Fixed a …
2019-12-09 15:15:57 -05:00
PySimpleGUI
abba526e70 Added flags around the finalize calls for built-in debugger. Fixed a nasty bug 2019-12-09 15:15:39 -05:00
PySimpleGUI
f91dffab89
Merge pull request #2335 from PySimpleGUI/Dev-latest
Added battleship mockup and changed video font size to fit phone's sc…
2019-12-08 16:54:07 -05:00
PySimpleGUI
1029729173 Added battleship mockup and changed video font size to fit phone's screen 2019-12-08 16:53:46 -05:00
PySimpleGUI
c03a8000bc
Merge pull request #2334 from PySimpleGUI/Dev-latest
Dev latest
2019-12-08 15:45:48 -05:00
PySimpleGUI
f467d2c4b7 Front-end to choose which camera 2019-12-08 15:43:02 -05:00
PySimpleGUI
08ce2a18df Front-end GUI to choose camera 2019-12-08 15:41:29 -05:00
PySimpleGUI
3468a6ebef
Merge pull request #2333 from PySimpleGUI/Dev-latest
Better camera control for droid
2019-12-08 12:50:35 -05:00
PySimpleGUI
68a0c79d1a Better camera control for droid 2019-12-08 12:50:16 -05:00
PySimpleGUI
dbff41d775
Merge pull request #2332 from PySimpleGUI/Dev-latest
Dev latest
2019-12-08 09:18:01 -05:00
PySimpleGUI
fa24ab4607 Set location to 0,0 2019-12-08 09:17:42 -05:00
PySimpleGUI
ca10782397 Simple OpenCV demo ported to PyDroid3 2019-12-08 09:16:55 -05:00
PySimpleGUI
0f6d076c09
Merge pull request #2331 from PySimpleGUI/Dev-latest
New Demo Programs folder for PyDroid3 programs
2019-12-08 09:10:05 -05:00
PySimpleGUI
c5143e539d New Demo Programs folder for PyDroid3 programs 2019-12-08 09:09:46 -05:00
PySimpleGUI
5a71bdb3b1
Merge pull request #2330 from PySimpleGUI/Dev-latest
Release 4.9.0
2019-12-07 19:29:42 -05:00
PySimpleGUI
b9926676f0 Release 4.9.0 2019-12-07 19:29:23 -05:00
PySimpleGUI
5f2d2dbf01
Merge pull request #2329 from PySimpleGUI/Dev-latest
Dev latest
2019-12-07 19:27:37 -05:00
PySimpleGUI
f586d694e9 Added color 2019-12-07 19:27:01 -05:00
PySimpleGUI
b1f562506a Release 4.9.0 2019-12-07 19:26:51 -05:00
PySimpleGUI
8990da27cd
Merge pull request #2328 from PySimpleGUI/Dev-latest
2019 update of Tutorial in progress
2019-12-07 16:52:55 -05:00
PySimpleGUI
551b696c25 2019 update of Tutorial in progress 2019-12-07 16:52:35 -05:00
PySimpleGUI
cf86e9a5b0
Merge pull request #2327 from PySimpleGUI/Dev-latest
Contrib info
2019-12-07 15:06:31 -05:00
PySimpleGUI
d948d17517 Contrib info 2019-12-07 15:06:04 -05:00
PySimpleGUI
2219add371
Merge pull request #2326 from PySimpleGUI/Dev-latest
Automatically color Tabs based on Look and Feel setting
2019-12-07 13:28:01 -05:00
PySimpleGUI
4d4237520e Automatically color Tabs based on Look and Feel setting 2019-12-07 13:27:25 -05:00
PySimpleGUI
6382fabf7d
Merge pull request #2325 from PySimpleGUI/Dev-latest
More instructions added to Window init on look and feel settings
2019-12-07 12:23:37 -05:00
PySimpleGUI
6a3e14e03c More instructions added to Window init on look and feel settings 2019-12-07 12:23:17 -05:00
PySimpleGUI
f331fa411f
Merge pull request #2324 from PySimpleGUI/Dev-latest
New DefaultNoMoreNagging Look and Feel theme, for those that are hell…
2019-12-07 12:20:04 -05:00
PySimpleGUI
b5eb573875 New DefaultNoMoreNagging Look and Feel theme, for those that are hellbent on gray without being nagged about it 2019-12-07 12:09:24 -05:00
PySimpleGUI
74bfd31209
Merge pull request #2323 from PySimpleGUI/Dev-latest
Removed print
2019-12-07 11:05:08 -05:00
PySimpleGUI
75a4f7a2be Removed print 2019-12-07 11:04:44 -05:00
PySimpleGUI
f95ee6af3a
Merge pull request #2322 from PySimpleGUI/Dev-latest
Docstring update
2019-12-06 22:46:48 -05:00
PySimpleGUI
85235af3ba Docstring update 2019-12-06 22:46:25 -05:00
PySimpleGUI
1554ed087d
Merge pull request #2321 from PySimpleGUI/Dev-latest
Demonstrates new tab capabilities - colors, visibility
2019-12-06 22:37:31 -05:00
PySimpleGUI
fd553e6732 Demonstrates new tab capabilities - colors, visiblility 2019-12-06 22:37:06 -05:00
PySimpleGUI
0892252984
Merge pull request #2320 from PySimpleGUI/Dev-latest
Colors for tabs!
2019-12-06 22:36:00 -05:00
PySimpleGUI
1550d33b2e Colors for tabs! 2019-12-06 22:35:35 -05:00
PySimpleGUI
b2118cd3fa
Merge pull request #2317 from PySimpleGUI/Dev-latest
readme for demos
2019-12-06 00:05:32 -05:00
PySimpleGUI
878c450962 readme for demos 2019-12-06 00:05:06 -05:00
PySimpleGUI
7fe4c9916e
Merge pull request #2315 from PySimpleGUI/Dev-latest
Look and feel added
2019-12-05 21:21:30 -05:00
PySimpleGUI
50ec4bec9b Look and feel added 2019-12-05 21:21:08 -05:00
PySimpleGUI
93f2d23e16
Merge pull request #2314 from PySimpleGUI/Dev-latest
Demo Programs folder finally gets a readme
2019-12-05 21:17:21 -05:00
PySimpleGUI
17b5d71905 Demo Programs folder finally gets a readme 2019-12-05 21:17:03 -05:00
PySimpleGUI
978254fd11
Merge pull request #2313 from PySimpleGUI/Dev-latest
Finally a readme for  the Theme Maker code
2019-12-05 19:30:34 -05:00
PySimpleGUI
342dcce335 Finally a readme for the Theme Maker code 2019-12-05 19:14:47 -05:00
PySimpleGUI
0c1ed5859a
Merge pull request #2307 from PySimpleGUI/Dev-latest
Release 4.8.0
2019-12-04 20:42:10 -05:00
PySimpleGUI
c2ddac7d5d Release 4.8.0 2019-12-04 20:41:45 -05:00
PySimpleGUI
be61d3e109
Merge pull request #2306 from PySimpleGUI/Dev-latest
Dev latest
2019-12-04 19:38:26 -05:00
PySimpleGUI
d7c0688382 Typo in new delimiter variable 2019-12-04 19:37:33 -05:00
PySimpleGUI
50dfbba145 BROWSE_FILES_DELIMETER global used to control the delimeter file BrowseFiles button 2019-12-04 19:25:04 -05:00
PySimpleGUI
cfa57f0a72
Merge pull request #2303 from PySimpleGUI/Dev-latest
New Demo - launcher with realtime output and (hopefully) ANSI color s…
2019-12-04 12:21:19 -05:00
PySimpleGUI
b935153324 New Demo - launcher with realtime output and (hopefully) ANSI color support 2019-12-04 12:20:58 -05:00
PySimpleGUI
2fa6fa1293
Merge pull request #2301 from PySimpleGUI/Dev-latest
Removed weird import...
2019-12-04 00:18:39 -05:00
PySimpleGUI
c0790d8dab Removed weird import... 2019-12-04 00:18:18 -05:00
PySimpleGUI
e38438221b
Merge pull request #2296 from PySimpleGUI/Dev-latest
Opened debug window right away in the test harness to simplify the pr…
2019-12-02 19:35:57 -05:00
PySimpleGUI
c74e8b3854 Opened debug window right away in the test harness to simplify the print statements. 2019-12-02 19:35:35 -05:00
PySimpleGUI
59e1c3d54f
Merge pull request #2295 from PySimpleGUI/Dev-latest
Dev latest
2019-12-02 19:12:21 -05:00
PySimpleGUI
4b6a09b67d Change to test harness to demonstrate multi-color debug prints 2019-12-02 19:11:48 -05:00
PySimpleGUI
161fe0aef9 Shorter Window color nag, debug print gets color setting via text_color, background_color parameter additions 2019-12-02 19:07:18 -05:00
PySimpleGUI
c306c1028c
Merge pull request #2292 from PySimpleGUI/Dev-latest
Dev latest
2019-12-01 15:55:35 -05:00
PySimpleGUI
924ba36cbe Addeed background color to multiline element update 2019-12-01 15:55:13 -05:00
PySimpleGUI
578ea55696 New demo! Multiline Element - how to use multiple colors for text 2019-12-01 15:54:29 -05:00
PySimpleGUI
42439a9fc5
Merge pull request #2291 from PySimpleGUI/Dev-latest
Multiline Element - Multi-Colored updates!  Gray window warning
2019-12-01 15:36:55 -05:00
PySimpleGUI
47a43fa54a Multiline Element - Multi-Colored updates! Gray window warning 2019-12-01 15:36:29 -05:00
PySimpleGUI
761683123d
Merge pull request #2289 from PySimpleGUI/Dev-latest
Renamed the ThemeCreator folder to be Theme Maker to match the progra…
2019-11-30 23:44:10 -05:00
PySimpleGUI
be67850c55 Renamed the ThemeCreator folder to be Theme Maker to match the program name 2019-11-30 23:43:50 -05:00
PySimpleGUI
21e72c73ca
Merge pull request #2287 from PySimpleGUI/Dev-latest
Allow starting at any palette in the table - should enable many more …
2019-11-30 18:38:07 -05:00
PySimpleGUI
54599ecc7d Allow starting at any palette in the table - should enable many more to be seen now 2019-11-30 18:37:49 -05:00
PySimpleGUI
4a4afbab82
Merge pull request #2286 from PySimpleGUI/Dev-latest
Much more user friendly theme maker!  Can choose window layout, etc
2019-11-30 17:45:57 -05:00
PySimpleGUI
4eb0ceb29d Much more user friendly theme maker! Can choose window layout, etc 2019-11-30 17:45:35 -05:00
PySimpleGUI
fca7b87da9
Merge pull request #2285 from PySimpleGUI/Dev-latest
Only changes the look and feel when the user passes in a new one
2019-11-30 16:36:49 -05:00
PySimpleGUI
29a00203eb Only changes the look and feel when the user passes in a new one 2019-11-30 16:36:29 -05:00
PySimpleGUI
b631111070
Merge pull request #2284 from PySimpleGUI/Dev-latest
Dev latest
2019-11-30 16:29:58 -05:00
PySimpleGUI
42faecaf54 CURRENT_LOOK_AND_FEEL now holds the current look and feel selection 2019-11-30 16:29:36 -05:00
PySimpleGUI
2320936f45 Changed into a popup to make it clearer to users on how to use it. Must use latest PySimpleGUI from GitHub 2019-11-30 16:28:46 -05:00
PySimpleGUI
324a457671
Merge pull request #2283 from PySimpleGUI/Dev-latest
Dev latest
2019-11-30 15:23:21 -05:00
PySimpleGUI
e369398a9c New Demo - Custom Color Chooser 2019-11-30 15:23:03 -05:00
PySimpleGUI
1daa3e12b8 Support for images on ttk buttons 2019-11-30 15:22:42 -05:00
PySimpleGUI
ad2b6b1500
Merge pull request #2280 from PySimpleGUI/Dev-latest
Turned demo into a usable function with a test  harness that's run whe…
2019-11-30 01:51:05 -05:00
PySimpleGUI
7d08d07d9f Turned demo into a usable function with a tert harness that's run when exeuting it 2019-11-30 01:50:39 -05:00
PySimpleGUI
d713166955
Merge pull request #2279 from PySimpleGUI/Dev-latest
Made loop run more frequently
2019-11-29 22:08:09 -05:00
PySimpleGUI
5a966a28fa Made loop run more frequently 2019-11-29 22:07:47 -05:00
PySimpleGUI
dd13698d61
Merge pull request #2278 from PySimpleGUI/Dev-latest
Added animated GIF to tasks that take a long time but are unable to p…
2019-11-29 22:02:14 -05:00
PySimpleGUI
b74ec7126c Added animated GIF to tasks that take a long time but are unable to provide regular updates. 2019-11-29 22:01:50 -05:00
PySimpleGUI
74c83f5727
Merge pull request #2277 from PySimpleGUI/Dev-latest
Added a progress bar
2019-11-29 20:53:50 -05:00
PySimpleGUI
235ead0f79 Added a progress bar 2019-11-29 20:53:26 -05:00
PySimpleGUI
bdd150361e
Merge pull request #2276 from PySimpleGUI/Dev-latest
New Demo - Multithreaded using global memory
2019-11-29 20:28:15 -05:00
PySimpleGUI
cfaa9990af New Demo - Multithreaded using global memory 2019-11-29 20:27:40 -05:00
PySimpleGUI
53233e0bb2
Merge pull request #2275 from PySimpleGUI/Dev-latest
A Color Picker / Chooser Demo initial checkin
2019-11-29 18:27:58 -05:00
PySimpleGUI
0f45772afe A Color Picker / Chooser Demo initial checkin 2019-11-29 18:27:32 -05:00
PySimpleGUI
889c481ecf
Merge pull request #2271 from PySimpleGUI/Dev-latest
Patch from 4.7.1, added update of ttk button colors, enable showing a…
2019-11-28 12:53:56 -05:00
PySimpleGUI
d2f47c079c Patch from 4.7.1, added update of ttk button colors, enable showing all user warnings not just first one 2019-11-28 12:53:36 -05:00
PySimpleGUI
f69396fdf3
Merge pull request #2269 from PySimpleGUI/Dev-latest
Version that crashes
2019-11-28 11:23:30 -05:00
PySimpleGUI
944c82d783 Version that crashes 2019-11-28 11:23:11 -05:00
PySimpleGUI
5c4c32657c
Merge pull request #2267 from PySimpleGUI/Dev-latest
Had a duplicate up button
2019-11-27 21:21:20 -05:00
PySimpleGUI
58b7d9b344 Had a duplicate up button 2019-11-27 21:20:48 -05:00
PySimpleGUI
ff8efe16d8
Merge pull request #2266 from PySimpleGUI/Dev-latest
New Demo Program - Unicode Chars
2019-11-27 21:12:49 -05:00
PySimpleGUI
6cdd2d63af New Demo Program - Unicode Chars 2019-11-27 21:11:59 -05:00
PySimpleGUI
45b3d042c7
Merge pull request #2264 from PySimpleGUI/Dev-latest
Button Click Demo update
2019-11-27 17:19:51 -05:00
PySimpleGUI
0d09cfcaa2 Button Click Demo update 2019-11-27 17:19:31 -05:00
PySimpleGUI
fbe98429b2
Merge pull request #2263 from PySimpleGUI/Dev-latest
Better error checking and hints for bad layouts, Multi-Colored Multil…
2019-11-27 15:47:25 -05:00
PySimpleGUI
a026100ef6 Better error checking and hints for bad layouts, Multi-Colored Multiline Elements!, port variable 2019-11-27 15:47:06 -05:00
PySimpleGUI
d83d3517e4
Merge pull request #2256 from PySimpleGUI/Dev-latest
Release 4.7.0
2019-11-26 18:48:57 -05:00
PySimpleGUI
19377a217b Release 4.7.0 2019-11-26 18:32:38 -05:00
PySimpleGUI
f913577044
Merge pull request #2255 from PySimpleGUI/Dev-latest
Changes from the 4.6 release
2019-11-26 17:22:19 -05:00
PySimpleGUI
073a34b4a9 Changes from the 4.6 release 2019-11-26 17:21:53 -05:00
PySimpleGUI
a8a56b4bcf
Merge pull request #2251 from PySimpleGUI/Dev-latest
Dev latest
2019-11-25 22:51:04 -05:00
PySimpleGUI
471b067604 Removed unnecessary import 2019-11-25 22:50:18 -05:00
PySimpleGUI
292534192e 2 new option for set_option - theme, use_ttk_buttons. System, window and button level control of ttk. System and window level control of theme. Removed progress bar theme setting, centering text on buttons now, 2019-11-25 22:49:36 -05:00
PySimpleGUI
fb416a830d
Merge pull request #2246 from PySimpleGUI/Dev-latest
Added color theme, switched to using a unicode circle as status indic…
2019-11-25 01:16:46 -05:00
PySimpleGUI
bc73780033 Added color theme, switched to using a unicode circle as status indicator 2019-11-25 01:15:47 -05:00
PySimpleGUI
3ddb991df4
Merge pull request #2245 from PySimpleGUI/Dev-latest
Update to use the new Matplotlib interface
2019-11-25 01:06:02 -05:00
PySimpleGUI
3f899f624b Update to use the new Matplotlib interface 2019-11-25 01:04:49 -05:00
PySimpleGUI
00df7fee1d
Update pull_request_template.md 2019-11-24 21:21:59 -05:00
PySimpleGUI
2a2458e041
Merge pull request #2242 from PySimpleGUI/Dev-latest
Cursor demo - Initial checkin
2019-11-24 17:35:57 -05:00
PySimpleGUI
a3753b25bf Cursor demo - Initial checkin 2019-11-24 17:34:21 -05:00
PySimpleGUI
3fbc29d71b
Merge pull request #2236 from PySimpleGUI/Dev-latest
Put back the button_color default = None
2019-11-24 00:26:25 -05:00
PySimpleGUI
02158860f0 Put back the button_color default = None 2019-11-24 00:26:07 -05:00
PySimpleGUI
33aa32dd4d
Merge pull request #2235 from PySimpleGUI/Dev-latest
TTK BUTTONS!!! Fixed TTK Styling! Window Theme setting, Window.send_t…
2019-11-23 23:58:18 -05:00
PySimpleGUI
d5ad2e5044 TTK BUTTONS!!! Fixed TTK Styling! Window Theme setting, Window.send_to_back, more layout error checks, port variable 2019-11-23 23:57:57 -05:00
PySimpleGUI
e219197681
Merge pull request #2233 from PySimpleGUI/Dev-latest
Dev latest
2019-11-23 09:14:14 -05:00
PySimpleGUI
3e087d86df Fix syntax error 2019-11-23 09:13:53 -05:00
PySimpleGUI
d5ec080b9a New Demo - Show a window with icons like a control panel 2019-11-23 09:13:28 -05:00
PySimpleGUI
12eef9f213
Merge pull request #2231 from PySimpleGUI/Dev-latest
Fix for Text Element being too small in Pattern 2
2019-11-22 11:37:26 -05:00
PySimpleGUI
c59c31fbb1 Fix for Text Element being too small in Pattern 2 2019-11-22 11:37:04 -05:00
PySimpleGUI
45c1f9c050
Merge pull request #2230 from PySimpleGUI/Dev-latest
Fixed bug in multi-window design pattern!!  Thank you nngogol!
2019-11-21 16:44:21 -05:00
PySimpleGUI
14cc0dc0cf Fixed bug in multi-window design pattern!! Thank you nngogol! 2019-11-21 16:43:59 -05:00
PySimpleGUI
a583d1cbea
Merge pull request #2229 from PySimpleGUI/Dev-latest
Dev latest
2019-11-21 16:38:07 -05:00
PySimpleGUI
559bb22797 Made work for all 4 ports of PySimpleGUI! 2019-11-21 16:37:44 -05:00
PySimpleGUI
9ee179697d Demo Email Send - Initial check in 2019-11-21 15:49:07 -05:00
PySimpleGUI
2185264621
Merge pull request #2227 from PySimpleGUI/Dev-latest
New demo!  Using Matplotlib with PySimpleGUIQt (2 window solution)
2019-11-21 11:10:51 -05:00
PySimpleGUI
80febf4349 New demo! Using Matplotlib with PySimpleGUIQt (2 window solution) 2019-11-21 11:10:21 -05:00
PySimpleGUI
89ca80fa56
Merge pull request #2225 from PySimpleGUI/Dev-latest
New use_readonly_for_disable parameter for InputText element (default…
2019-11-20 19:24:31 -05:00
PySimpleGUI
fc98753e6a New use_readonly_for_disable parameter for InputText element (defaults to True). popup_scrolled got (a lot) more parameters, Look and Feel values are sorted when returned from list_of_look_and_feel_values 2019-11-20 19:24:09 -05:00
PySimpleGUI
22f926f8ea
Merge pull request #2220 from PySimpleGUI/Dev-latest
Reworking on the Pythonic GUIs document
2019-11-19 17:17:32 -05:00
PySimpleGUI
3ff93c9fd2 Reworking on the Pythonic GUIs document 2019-11-19 17:17:08 -05:00
PySimpleGUI
04498cc325
Merge pull request #2218 from PySimpleGUI/Dev-latest
Updated to use more recent design patterns.
2019-11-19 11:54:57 -05:00
PySimpleGUI
59274592ca Updated to use more recent design patterns. 2019-11-19 11:54:35 -05:00
PySimpleGUI
2bf98cfe12
Merge pull request #2217 from PySimpleGUI/Dev-latest
Dev latest
2019-11-19 11:25:48 -05:00
PySimpleGUI
2cfd2f19b1 Update with PEP8 read call. 2019-11-19 11:25:27 -05:00
PySimpleGUI
79e02c5726 Rename and rework of 2 multithreaded demos 2019-11-19 11:24:50 -05:00
PySimpleGUI
719f579283
Merge pull request #2216 from PySimpleGUI/Dev-latest
Demo of integrating imwatchingyou with PySimpleGUIQt
2019-11-18 23:19:11 -05:00
PySimpleGUI
9a7d7ac259 Demo of integrating imwatchingyou with PySimpleGUIQt 2019-11-18 23:18:47 -05:00
PySimpleGUI
46984450a5
Merge pull request #2215 from PySimpleGUI/Dev-latest
Lots more about colors, creating your own themes
2019-11-18 22:18:11 -05:00
PySimpleGUI
a0b783c8bb Lots more about colors, creating your own themes 2019-11-18 22:17:34 -05:00
PySimpleGUI
4955f6e07c
Merge pull request #2214 from PySimpleGUI/Dev-latest
A mini-excel table.  Uses arrow keys to navigate. Can click header to…
2019-11-18 12:48:47 -05:00
PySimpleGUI
363533ca0a A mini-excel table. Uses arrow keys to navigate. Can click header to sort by column 2019-11-18 12:48:12 -05:00
PySimpleGUI
1488930b8d
Merge pull request #2211 from PySimpleGUI/Dev-latest
Added tab position support - not as many options as tkinter version. …
2019-11-17 20:58:51 -05:00
PySimpleGUI
0cbd60625e Added tab position support - not as many options as tkinter version. Only top, bottom, left, right are used but others can be specified 2019-11-17 20:58:29 -05:00
PySimpleGUI
dba5af63dd
Merge pull request #2210 from PySimpleGUI/Dev-latest
Release 0.33.0  Tons of themes, autoscroll parm for multiline output
2019-11-17 20:25:51 -05:00
PySimpleGUI
4287ae2745 Release 0.33.0 Tons of themes, autoscroll parm for multiline output 2019-11-17 20:25:30 -05:00
PySimpleGUI
f4c0398900
Merge pull request #2208 from PySimpleGUI/Dev-latest
Release 0.14.0 - lots of Themes
2019-11-17 20:15:16 -05:00
PySimpleGUI
67303fe1b1 Release 0.14.0 - lots of Themes 2019-11-17 20:14:50 -05:00
PySimpleGUI
af154d79b1
Merge pull request #2207 from PySimpleGUI/Dev-latest
Reworked the look and feel preivew, browser, new table simulation wit…
2019-11-17 18:01:00 -05:00
PySimpleGUI
34d8b3c9d1 Reworked the look and feel preivew, browser, new table simulation with arrow keyskkkkkkkkkk 2019-11-17 18:00:35 -05:00
PySimpleGUI
9e0ba99c5f
Merge pull request #2206 from PySimpleGUI/Dev-latest
Release 0.30.0
2019-11-16 15:30:46 -05:00
PySimpleGUI
ca35f72ad6 Release 0.30.0 2019-11-16 15:30:26 -05:00
PySimpleGUI
9833ada179
Merge pull request #2205 from PySimpleGUI/Dev-latest
New demo showing how to create an Excel-like table and use arrow keys…
2019-11-16 13:21:38 -05:00
PySimpleGUI
64b6ef95f5 New demo showing how to create an Excel-like table and use arrow keys to move around 2019-11-16 13:21:10 -05:00
PySimpleGUI
51f6fcf87a
Merge pull request #2204 from PySimpleGUI/Dev-latest
Dev latest
2019-11-16 04:35:55 -05:00
PySimpleGUI
a7faf9c1e9 Release 4.6.0 2019-11-16 04:35:30 -05:00
PySimpleGUI
a6e79ae018 Release 4.6.0 2019-11-16 04:25:25 -05:00
PySimpleGUI
a86c9a1aad
Merge pull request #2203 from PySimpleGUI/Dev-latest
Removing the docs_html folder as I don't know what it did and it appe…
2019-11-15 22:49:25 -05:00
PySimpleGUI
bd06f809c3 Removing the docs_html folder as I don't know what it did and it appears to be old info. 2019-11-15 22:49:02 -05:00
PySimpleGUI
736c5c9e09
Merge pull request #2202 from PySimpleGUI/Dev-latest
change_look_and_feel - if a completely incorrect string passed in, th…
2019-11-15 22:39:49 -05:00
PySimpleGUI
64025392c5 change_look_and_feel - if a completely incorrect string passed in, then a completley random color theme will be used instead. 2019-11-15 22:39:00 -05:00
PySimpleGUI
68b7e6dec0
Merge pull request #2201 from PySimpleGUI/Dev-latest
Theme renumbering
2019-11-15 20:46:34 -05:00
PySimpleGUI
6883a81297 Theme renumbering 2019-11-15 20:46:14 -05:00
PySimpleGUI
3dd6428d51
Merge pull request #2200 from PySimpleGUI/Dev-latest
Added deiconify to window.Normal, but having some Linux problems on M…
2019-11-15 20:26:26 -05:00
PySimpleGUI
14c5f9ade2 Added deiconify to window.Normal, but having some Linux problems on Mint. Renamed a lot of themes. Added more doc strings 2019-11-15 20:25:08 -05:00
PySimpleGUI
a27a80f7d0
Merge pull request #2199 from PySimpleGUI/Dev-latest
Removed use of CloseButton for popups that return values.  Still have…
2019-11-15 14:39:14 -05:00
PySimpleGUI
a8c3ac1beb Removed use of CloseButton for popups that return values. Still have a possible bug in normal popup that uses CloseButton 2019-11-15 14:38:55 -05:00
PySimpleGUI
26f2e98f3d
Merge pull request #2198 from PySimpleGUI/Dev-latest
Added new member variable for Table Element - table_frame - has the F…
2019-11-15 14:31:03 -05:00
PySimpleGUI
e5dc2c45e3 Added new member variable for Table Element - table_frame - has the Frame Widget that the table is withihn 2019-11-15 14:30:42 -05:00
PySimpleGUI
a437af2e35
Merge pull request #2197 from PySimpleGUI/Dev-latest
Added a LOT of new look and feel themes. Theme previewer, "Fuzzy" the…
2019-11-15 13:41:47 -05:00
PySimpleGUI
a4bd658ad9 Added a LOT of new look and feel themes. Theme previewer, "Fuzzy" theme l;ookup, 2019-11-15 13:41:25 -05:00
PySimpleGUI
d0e0443e6b
Merge pull request #2194 from PySimpleGUI/Dev-latest
Theme Maker initial checkin
2019-11-15 10:01:26 -05:00
PySimpleGUI
3c790b8a81 Theme Maker initial checkin 2019-11-15 10:00:49 -05:00
PySimpleGUI
a7a5f0dc25
Merge pull request #2189 from PySimpleGUI/Dev-latest
Default value for combobox bug - was checking bool instead of checkin…
2019-11-14 14:03:10 -05:00
PySimpleGUI
d45c054b45 Default value for combobox bug - was checking bool instead of checking for None 2019-11-14 14:02:48 -05:00
PySimpleGUI
90d71a5580
Merge pull request #2187 from PySimpleGUI/Dev-latest
Open up look and feel settings to Macs by changing all colors except …
2019-11-14 13:36:30 -05:00
PySimpleGUI
4023efaacc Open up look and feel settings to Macs by changing all colors except buttons when system is a Mac 2019-11-14 13:36:08 -05:00
PySimpleGUI
eeec5a8d37
Merge pull request #2186 from PySimpleGUI/Dev-latest
Dev latest
2019-11-14 12:55:58 -05:00
PySimpleGUI
27a1da4261 New Demo that shows all of the look and feel choices. Runs on all ports (except Wx) 2019-11-14 12:55:37 -05:00
PySimpleGUI
8b2dbc8672 New preview_all_look_and_feel_themes() - shows a window with the different themes and their names 2019-11-14 12:54:34 -05:00
PySimpleGUI
e5e69c6517
Merge pull request #2182 from PySimpleGUI/Dev-latest
docstring fixes, more PEP8 bindings - for newer Element methods, fix …
2019-11-13 22:23:02 -05:00
PySimpleGUI
34e397d817 docstring fixes, more PEP8 bindings - for newer Element methods, fix for trough color in sliders, 2019-11-13 22:22:28 -05:00
PySimpleGUI
31b2ee14c1
Merge pull request #2181 from PySimpleGUI/Dev-latest
Look and Feel theme summary Recipe added
2019-11-13 11:40:08 -05:00
PySimpleGUI
8d3752d217 Look and Feel theme summary Recipe added 2019-11-13 11:39:45 -05:00
PySimpleGUI
10bbe97438
Merge pull request #2179 from PySimpleGUI/Dev-latest
Initial Check-in of a PDF version of the main documentation
2019-11-12 18:42:26 -05:00
PySimpleGUI
fbc8f552f8 Initial Check-in of a PDF version of the main documentation 2019-11-12 18:41:43 -05:00
PySimpleGUI
6d4c116c85
Merge pull request #2178 from PySimpleGUI/Dev-latest
LOTS of PEP8 methods added!  Getting to be a large document.
2019-11-12 18:27:53 -05:00
PySimpleGUI
504431824c LOTS of PEP8 methods added! Getting to be a large document. 2019-11-12 18:27:30 -05:00
PySimpleGUI
c671b1bade
Merge pull request #2177 from PySimpleGUI/Dev-latest
More updates... colors and base64 graphics are the big push in this o…
2019-11-12 12:07:42 -05:00
PySimpleGUI
3067449302 More updates... colors and base64 graphics are the big push in this one... 2019-11-12 12:01:15 -05:00
PySimpleGUI
e3aa06128e
Merge pull request #2173 from PySimpleGUI/Dev-latest
Look and feel section
2019-11-10 21:58:12 -05:00
PySimpleGUI
c2c8e229b8 Look and feel section 2019-11-10 21:57:48 -05:00
PySimpleGUI
6626fea6b4
Merge pull request #2171 from PySimpleGUI/Dev-latest
Fixed formatting error
2019-11-10 02:05:16 -05:00
PySimpleGUI
6b11aab70b Fixed formatting error 2019-11-10 02:04:56 -05:00
PySimpleGUI
9a4d52c6bf
Merge pull request #2170 from PySimpleGUI/Dev-latest
2 new recipes - Matplotlib with 2 window, Minesweeper style button grid
2019-11-10 01:48:17 -05:00
PySimpleGUI
6f2471372f 2 new recipes - Matplotlib with 2 window, Minesweeper style button grid 2019-11-10 01:47:53 -05:00
PySimpleGUI
5d4bce9c03
Merge pull request #2169 from PySimpleGUI/Dev-latest
Changed indentation of the call reference section so that the heading…
2019-11-09 20:10:45 -05:00
PySimpleGUI
480f25e256 Changed indentation of the call reference section so that the headings show up in TOC on read the docs. 2019-11-09 20:10:21 -05:00
PySimpleGUI
c5a7415dbc
Merge pull request #2168 from PySimpleGUI/Dev-latest
The first set of updates using PEP8
2019-11-09 20:04:15 -05:00
PySimpleGUI
72d7c8dd51 The first set of updates using PEP8 2019-11-09 20:03:51 -05:00
PySimpleGUI
b7b2c47d09
Merge pull request #2162 from PySimpleGUI/Dev-latest
The latest readme components
2019-11-08 17:32:22 -05:00
PySimpleGUI
e9d6b97595 The latest readme components 2019-11-08 17:32:00 -05:00
PySimpleGUI
c93e655ba4
Merge pull request #2161 from PySimpleGUI/Dev-latest
Fixed up naming
2019-11-08 13:33:50 -05:00
PySimpleGUI
4f9a0d97fa Fixed up naming 2019-11-08 13:33:29 -05:00
PySimpleGUI
bae9f85123
Merge pull request #2160 from PySimpleGUI/Dev-latest
Initial Check in of new Matplotlib Demo
2019-11-08 13:31:50 -05:00
PySimpleGUI
b5d4c128a3 Initial Check in of new Matplotlib Demo 2019-11-08 13:31:27 -05:00
PySimpleGUI
8a1591b00f
Merge pull request #2159 from PySimpleGUI/Dev-latest
Fix for converting from file to displayable image
2019-11-08 12:38:37 -05:00
PySimpleGUI
51939eecf3 Fix for converting from file to displayable image 2019-11-08 12:38:12 -05:00
PySimpleGUI
137fa2d0b6
Merge pull request #2158 from PySimpleGUI/Dev-latest
Fix for autoscrolling of Multiline and Output elements
2019-11-08 12:28:29 -05:00
PySimpleGUI
16f739e762 Fix for autoscrolling of Multiline and Output elements 2019-11-08 12:28:07 -05:00
PySimpleGUI
f9f2ac0faa
Merge pull request #2153 from PySimpleGUI/Dev-latest
Added line_width to Graph.DrawRectangle.  tk.PhotoImage can be passed…
2019-11-07 09:50:30 -05:00
PySimpleGUI
37c8349b49 Added line_width to Graph.DrawRectangle. tk.PhotoImage can be passed in data parm to Image.update 2019-11-07 09:50:10 -05:00
PySimpleGUI
63008211aa
Merge pull request #2147 from PySimpleGUI/Dev-latest
Release 0.31.0
2019-11-06 18:31:31 -05:00
PySimpleGUI
7e6069a16b Release 0.31.0 2019-11-06 18:31:04 -05:00
PySimpleGUI
8239ceec25
Merge pull request #2145 from PySimpleGUI/Dev-latest
Added back the Output Element
2019-11-06 11:13:19 -05:00
PySimpleGUI
523596197a Added back the Output Element 2019-11-06 11:12:56 -05:00
PySimpleGUI
ac208e1b2f
Merge pull request #2142 from PySimpleGUI/Dev-latest
Fixed missing "," typo
2019-11-05 23:33:02 -05:00
PySimpleGUI
9582d017b0 Fixed missing "," typo 2019-11-05 23:32:34 -05:00
PySimpleGUI
5c415e3854
Merge pull request #2140 from PySimpleGUI/Dev-latest
Release 4.5.0
2019-11-05 20:01:50 -05:00
PySimpleGUI
309c9d50e2 Release 4.5.0 2019-11-05 20:01:30 -05:00
PySimpleGUI
23ce3aea6f
Merge pull request #2138 from PySimpleGUI/Dev-latest
Pre-release of release 4.5.0 - removed  experimental Mac buttons, fix…
2019-11-05 09:36:30 -05:00
PySimpleGUI
460b4c95e2 Pre-release of release 4.5.0 - removed experimental Mac buttons, fix for choosing icons / icons on Linux 2019-11-05 09:36:01 -05:00
PySimpleGUI
478a8d4a3d
Merge pull request #2137 from PySimpleGUI/Dev-latest
Fixed range parm on Slider.Update.  Was only changing if value change…
2019-11-04 15:08:17 -05:00
PySimpleGUI
bcdc930b7a Fixed range parm on Slider.Update. Was only changing if value changed too. Now independent. 2019-11-04 15:05:11 -05:00
PySimpleGUI
f09b104c2c
Merge pull request #2136 from PySimpleGUI/Dev-latest
Fix for BrowseFiles button, added range to Slider update
2019-11-04 14:57:40 -05:00
PySimpleGUI
31b8f42586 Fix for BrowseFiles button, added range to Slider update 2019-11-04 14:56:39 -05:00
PySimpleGUI
4061b1feac
Merge pull request #2123 from PySimpleGUI/Dev-latest
Quick update to compress a little and changed a couple of PSG coding …
2019-10-31 08:31:38 -04:00
PySimpleGUI
a1e77bc18a Quick update to compress a little and changed a couple of PSG coding convention things 2019-10-31 08:31:15 -04:00
PySimpleGUI
960ce41bb7
Merge pull request #2122 from PySimpleGUI/Dev-latest
Added back in the code to change pointer to a hand
2019-10-30 22:44:48 -04:00
PySimpleGUI
919b4622ea Addeed back in the code to change pointer to a hand 2019-10-30 22:44:06 -04:00
PySimpleGUI
6ca3e2e252
Merge pull request #2120 from PySimpleGUI/Dev-latest
Added Linux support
2019-10-30 14:48:42 -04:00
PySimpleGUI
d9c2596cc4 Added Linux support 2019-10-30 14:48:18 -04:00
PySimpleGUI
15950539ac
Merge pull request #2119 from PySimpleGUI/Dev-latest
Dev latest
2019-10-30 14:37:57 -04:00
PySimpleGUI
40aec7c1d7 New Demo Program - A simple VLC based media player 2019-10-30 14:35:22 -04:00
PySimpleGUI
a2443c63ad Fixed flicker problem!!! Updated all of the PySimpleGUIWeb demos 2019-10-30 14:35:01 -04:00
PySimpleGUI
13501d2083
Merge pull request #2116 from PySimpleGUI/Dev-latest
New demo program!  Displays a fade in/out Notification Window with an…
2019-10-29 05:14:44 -04:00
PySimpleGUI
f0e1642437 New demo program! Displays a fade in/out Notification Window with an Icon 2019-10-29 05:14:18 -04:00
PySimpleGUI
8b4c031924
Merge pull request #2113 from PySimpleGUI/Dev-latest
Version number bump
2019-10-27 09:08:45 -04:00
PySimpleGUI
10c77bceb6 Version number bump 2019-10-27 09:08:25 -04:00
PySimpleGUI
470cd7ef35
Merge pull request #2112 from PySimpleGUI/Dev-latest
Dev latest
2019-10-27 09:07:59 -04:00
PySimpleGUI
7d9486eb27 Merge branch 'Dev-latest' of https://github.com/MikeTheWatchGuy/PySimpleGUI into Dev-latest 2019-10-27 09:07:22 -04:00
PySimpleGUI
ca16fbc4e6 Added text, background colors to Input element update, added value parm to Frame element update, Window deletes self when close called (risky???) 2019-10-27 09:07:15 -04:00
PySimpleGUI
ac518d39ed
Merge pull request #2099 from PySimpleGUI/Dev-latest
Major update of all demo programs to use new PEP8 bindings, etc
2019-10-23 16:25:46 -04:00
PySimpleGUI
0451468460
Merge branch 'master' into Dev-latest 2019-10-23 16:12:18 -04:00
PySimpleGUI
7f52778bcc Major update of all demo programs to use new PEP8 bindings, etc 2019-10-23 16:10:03 -04:00
PySimpleGUI
a42240cad9
Merge pull request #2092 from PySimpleGUI/Dev-latest
Added 5 extra pixels to window size when creating to stop clipping fr…
2019-10-20 09:17:22 -04:00
PySimpleGUI
3f7c87c562 Added 5 extra pixels to window size when creating to stop clipping from happening. Was at 5 pixels, changed to 10. 2019-10-19 10:18:57 -04:00
PySimpleGUI
cb0747bd40
Merge pull request #2088 from PySimpleGUI/Dev-latest
Tried to fix loading of image file problem.
2019-10-17 15:17:41 -04:00
PySimpleGUI
ae525a9abd Tried to fix loading of image file problem. 2019-10-17 15:17:13 -04:00
PySimpleGUI
7d9917ff44
Merge pull request #2076 from PySimpleGUI/Dev-latest
Combo no longer defaults to first value
2019-10-14 09:44:29 -04:00
PySimpleGUI
915e07a075 Combo no longer defaults to first value 2019-10-14 09:44:05 -04:00
PySimpleGUI
126ad571bb
Merge pull request #2073 from PySimpleGUI/Dev-latest
Dev latest
2019-10-13 15:14:37 -04:00
PySimpleGUI
2c53a593fe Refresh of Graph Element demos 2019-10-13 15:14:17 -04:00
PySimpleGUI
52e9852c4f Fix for Radio Buttons not being correct after loading from disk, Experimental Finalize that calls read(timeout=1) 2019-10-13 15:13:42 -04:00
PySimpleGUI
8bcb3255ea
Merge pull request #2070 from PySimpleGUI/Dev-latest
Dev latest
2019-10-12 14:04:06 -04:00
PySimpleGUI
fa8de0e8f1 version bump 2019-10-12 14:02:44 -04:00
PySimpleGUI
c70999be76 Fixed problem of multiline out having no return value 2019-10-12 14:01:18 -04:00
PySimpleGUI
737bfc7b4c
Merge pull request #2062 from PySimpleGUI/Dev-latest
Fix bad link to demos, Latest PySimpleGUI calls.
2019-10-08 21:15:22 -04:00
PySimpleGUI
f157131a73 Fix bad link to demos, Latest PySimpleGUI calls. 2019-10-08 21:15:00 -04:00
PySimpleGUI
796c69f088
Merge pull request #2060 from PySimpleGUI/Dev-latest
Update PySimpleGUIWx.py
2019-10-08 17:58:36 -04:00
PySimpleGUI
f8543f8713 Update PySimpleGUIWx.py 2019-10-08 17:58:12 -04:00
PySimpleGUI
c8617888af
Merge pull request #2054 from PySimpleGUI/Dev-latest
Dev latest
2019-10-07 18:09:13 -04:00
PySimpleGUI
b9640649fe Version bump for prior changes 2019-10-07 18:08:55 -04:00
PySimpleGUI
18ce3337e6 Fix for flickering image in OpenCV demos!!!! 2019-10-07 18:08:06 -04:00
PySimpleGUI
ccc3021268
Merge pull request #2053 from PySimpleGUI/Dev-latest
Refreshed Menu Demo
2019-10-07 16:37:20 -04:00
PySimpleGUI
7f1584d97e Refreshed Menu Demo 2019-10-07 16:37:01 -04:00
PySimpleGUI
f3330e858c
Merge pull request #2051 from PySimpleGUI/Dev-latest
New Element method!!  expand(expand_x, expand_y).  Paramters are bools.
2019-10-06 17:06:38 -04:00
PySimpleGUI
b9a161acc5 New Element method!! expand(expand_x, expand_y). Paramters are bools. 2019-10-06 17:06:18 -04:00
PySimpleGUI
0ece721182
Merge pull request #2046 from PySimpleGUI/Dev-latest
Create Demo_Column_And_Frames.py
2019-10-02 23:29:29 -04:00
PySimpleGUI
48eea5464c Create Demo_Column_And_Frames.py 2019-10-02 23:29:07 -04:00
PySimpleGUI
1e4e6612f1
Merge pull request #2045 from PySimpleGUI/Dev-latest
Enable SetGlobalIcon to be a base64 byte string in addition to a file…
2019-10-02 23:12:11 -04:00
PySimpleGUI
5cb8fe18c1 Enable SetGlobalIcon to be a base64 byte string in addition to a filename. Fixed window icon logic to choose correct default 2019-10-02 23:11:50 -04:00
PySimpleGUI
4a356a6fa6
Merge pull request #2044 from PySimpleGUI/Dev-latest
Updated Timer Demos and added 4-line OpenCV demo
2019-10-02 21:14:57 -04:00
PySimpleGUI
91fe043c11 Updated Timer Demos and added 4-line OpenCV demo 2019-10-02 21:13:58 -04:00
PySimpleGUI
b37ff7b86e
Merge pull request #2040 from PySimpleGUI/Dev-latest
Version 0.13.0 (finally) Released
2019-10-01 09:22:51 -04:00
PySimpleGUI
f50a9a0bf4 Version 0.13.0 (finally) Released 2019-10-01 09:22:24 -04:00
PySimpleGUI
950b04241b
Merge pull request #2038 from PySimpleGUI/Dev-latest
Fix for crash in PopupGetFile if clicking cancel with no_window set t…
2019-09-30 21:13:01 -04:00
PySimpleGUI
d068c2d54e Fix for crash in PopupGetFile if clicking cancel with no_window set to True 2019-09-30 21:12:40 -04:00
PySimpleGUI
e8819d26d1
Merge pull request #2035 from PySimpleGUI/Dev-latest
Removed support for PyQt5
2019-09-29 17:17:21 -04:00
PySimpleGUI
f8cd963503 Removed support for PyQt5 2019-09-29 17:16:59 -04:00
PySimpleGUI
8165095ed6
Merge pull request #2028 from PySimpleGUI/Dev-latest
New element method for button rebinding. Bind destination should be E…
2019-09-26 19:47:19 -04:00
PySimpleGUI
d1d48a17b2 New element method for button rebinding. Bind destination should be Element.ButtonReboundCallback. 2019-09-26 19:46:58 -04:00
PySimpleGUI
18c672d131
Merge pull request #2026 from PySimpleGUI/Dev-latest
Fix for Print crash. Added get_size, hide_row, unhide_row for all ele…
2019-09-26 17:03:50 -04:00
PySimpleGUI
f1b5aa29d3 Fix for Print crash. Added get_size, hide_row, unhide_row for all elements. 2019-09-26 17:03:18 -04:00
PySimpleGUI
802cae6f23
Merge pull request #2022 from PySimpleGUI/Dev-latest
Cleanup imports
2019-09-25 16:33:52 -04:00
PySimpleGUI
392c5a94d3 Cleanup imports 2019-09-25 15:24:54 -04:00
PySimpleGUI
16e30c2610
Merge pull request #2018 from PySimpleGUI/Dev-latest
Implemented background color for Menus
2019-09-24 17:01:55 -04:00
PySimpleGUI
830ed2a526 Implemented background color for Menus 2019-09-24 17:01:35 -04:00
PySimpleGUI
d7df9254cc
Merge pull request #2013 from PySimpleGUI/Dev-latest
New demo program that simulates callbacks using a dictionary
2019-09-23 12:10:35 -04:00
PySimpleGUI
8f6db74f83 New demo program that simulates callbacks using a dictionary 2019-09-23 12:10:10 -04:00
PySimpleGUI
892b535fe7
Merge pull request #2012 from PySimpleGUI/Dev-latest
Added new User Defined Element function, lots of comments
2019-09-21 15:18:32 -04:00
PySimpleGUI
04ebf34d21 Added new User Defined Element function, lots of comments 2019-09-21 15:18:12 -04:00
PySimpleGUI
d2128692e7
Merge pull request #2011 from PySimpleGUI/Dev-latest
Renamed function
2019-09-21 14:59:47 -04:00
PySimpleGUI
8adb35e0e2 Renamed function 2019-09-21 14:59:29 -04:00
PySimpleGUI
ffbd61e89c
Merge pull request #2010 from PySimpleGUI/Dev-latest
Updated to use the more "modern constructs". Changed how keys are named.
2019-09-21 14:56:37 -04:00
PySimpleGUI
6c8ddbd93c Updated to use the more "modern constructs". Changed how keys are named. 2019-09-21 14:56:17 -04:00
PySimpleGUI
2cf84deda4
Merge pull request #2009 from PySimpleGUI/Dev-latest
Dev latest
2019-09-20 17:31:22 -04:00
PySimpleGUI
f7deaadf97 Refreshing demos. Updating to use newer techniques 2019-09-20 17:31:00 -04:00
PySimpleGUI
e5e1021516 Discovered OLD code! Was using ReadButton! 2019-09-20 16:59:15 -04:00
PySimpleGUI
8ffd832ead
Merge pull request #2008 from PySimpleGUI/Dev-latest
Now sets TKrootDestroyed when user closes window. window.get_screen_d…
2019-09-20 13:49:41 -04:00
PySimpleGUI
1d4ca6696f Now sets TKrootDestroyed when user closes window. window.get_screen_dimensions will call get_screen_size is window was closed / destroyed 2019-09-20 13:49:10 -04:00
PySimpleGUI
0eef532517
Merge pull request #2007 from PySimpleGUI/Dev-latest
New Class Method.  Window.get_screen_size() returns tuple. Can be cal…
2019-09-20 13:15:07 -04:00
PySimpleGUI
d3a146d436 New Class Method. Window.get_screen_size() returns tuple. Can be called any time. No previous window needed. 2019-09-20 13:14:45 -04:00
PySimpleGUI
cf4cf63b2f
Merge pull request #2006 from PySimpleGUI/Dev-latest
Dev latest
2019-09-20 13:10:09 -04:00
PySimpleGUI
627fda3ae0 Forgot version bump 2019-09-20 13:09:48 -04:00
PySimpleGUI
d4940296f1 Fixed bug / typo. Was in the middle of making a change and had not finished it before checking in! DOH!! 2019-09-20 13:08:58 -04:00
PySimpleGUI
5f34a27f7a
Merge pull request #2003 from PySimpleGUI/Dev-latest
Added Element.set_size method enabling the resizing of any element.  …
2019-09-20 11:32:43 -04:00
PySimpleGUI
338b16652d Added Element.set_size method enabling the resizing of any element. Removed import * restriction 2019-09-20 11:32:21 -04:00
PySimpleGUI
7178dd4466
Merge pull request #1995 from PySimpleGUI/Dev-latest
Simplified code
2019-09-19 15:52:45 -04:00
PySimpleGUI
86805e9ebe Simplified code 2019-09-19 15:52:26 -04:00
PySimpleGUI
4cb97d2226
Merge pull request #1993 from PySimpleGUI/Dev-latest
Dev latest
2019-09-19 13:33:15 -04:00
PySimpleGUI
3b24d8921e Update of ALL Matplotlib demos so they run on 3.1. Brought up to date too. 2019-09-19 13:32:25 -04:00
PySimpleGUI
6f02fb4a54 Updated, removed the force_toplevel in Window as it doesn't seem to be needed anymore. 2019-09-19 11:57:11 -04:00
PySimpleGUI
2ca670569b
Merge pull request #1992 from PySimpleGUI/Dev-latest
Updated to work with 3.1.1
2019-09-19 11:25:02 -04:00
PySimpleGUI
ec78bd3327 Updated to work with 3.1.1 2019-09-19 11:24:40 -04:00
PySimpleGUI
79ab02742f
Merge pull request #1991 from PySimpleGUI/Dev-latest
Comment out import of Typing module
2019-09-19 09:59:35 -04:00
PySimpleGUI
0248d6e968 Comment out import of Typing module 2019-09-19 09:59:14 -04:00
PySimpleGUI
ec1380f5a8
Merge pull request #1989 from PySimpleGUI/Dev-latest
cleanup to more recent constructs
2019-09-18 20:16:04 -04:00
PySimpleGUI
7e972b5277 cleanup to more recent constructs 2019-09-18 20:15:45 -04:00
PySimpleGUI
96438e10d6
Merge pull request #1988 from PySimpleGUI/Dev-latest
Updated to work with Matplotlib 3.1.1
2019-09-18 20:08:18 -04:00
PySimpleGUI
ef138509ac Updated to work with Matplotlib 3.1.1 2019-09-18 20:07:57 -04:00
PySimpleGUI
26a20b663f
Merge pull request #1987 from PySimpleGUI/Dev-latest
Block import * attempts. Added metadata doc string to all elements, n…
2019-09-18 12:32:48 -04:00
PySimpleGUI
0e691b7875 Block import * attempts. Added metadata doc string to all elements, new parameter in InputText.Update - move_cursor_to. Added border_width to Text element since it can have a relief. 2019-09-18 12:32:28 -04:00
PySimpleGUI
7e38d2f041
Merge pull request #1983 from PySimpleGUI/Dev-latest
Addition of Material1 and Material2 "Look and  Feel Settings"
2019-09-17 12:36:39 -04:00
MikeTheWatchGuy
3db33ab659 Addition of Material1 and Material2 "Look and Feel Settings" 2019-09-17 12:36:20 -04:00
PySimpleGUI
074b273ee1
Merge pull request #1978 from PySimpleGUI/Dev-latest
Changed mac button settings to crazy values
2019-09-16 19:18:15 -04:00
MikeTheWatchGuy
0126b3230e Changed mac button settings to crazy values 2019-09-16 19:17:54 -04:00
PySimpleGUI
89c7cc5fcc
Merge pull request #1977 from PySimpleGUI/Dev-latest
Changed Mac to use standard colors. No more restriction on look and feel
2019-09-16 18:19:15 -04:00
MikeTheWatchGuy
8bbb704608 Changed Mac to use standard colors. No more restriction on look and feel 2019-09-16 18:18:55 -04:00
PySimpleGUI
eba31e79e7
Merge pull request #1975 from PySimpleGUI/Dev-latest
The text parm of the Text element is now OPTIONAL. The default is ''.
2019-09-16 16:01:35 -04:00
MikeTheWatchGuy
97db1d9cd4 The text parm of the Text element is now OPTIONAL. The default is ''. 2019-09-16 16:01:03 -04:00
PySimpleGUI
caeec0ccfe
Merge pull request #1974 from PySimpleGUI/Dev-latest
Dev latest
2019-09-16 15:41:14 -04:00
MikeTheWatchGuy
abb0918dbd Version bump 2019-09-16 15:40:53 -04:00
MikeTheWatchGuy
81abc21cf9 Title not a string check removed from Window, Element Justification fix for columns, etc. MAC FIX - using highlightbackground for background 2019-09-16 15:40:12 -04:00
PySimpleGUI
1ebfed3f06
Merge pull request #1972 from PySimpleGUI/Dev-latest
Updated patterns
2019-09-15 21:26:53 -04:00
MikeTheWatchGuy
afb6edf56b Updated patterns 2019-09-15 21:26:33 -04:00
PySimpleGUI
a3b6b973e2
Merge pull request #1971 from PySimpleGUI/Dev-latest
New demo program to enable you to quickly test out the different look…
2019-09-14 20:25:35 -04:00
MikeTheWatchGuy
f0f4dcb92e New demo program to enable you to quickly test out the different look and feel settings 2019-09-14 20:25:17 -04:00
PySimpleGUI
d05ebd4670
Merge pull request #1970 from PySimpleGUI/Dev-latest
Removed Mac button color restriction
2019-09-14 18:27:13 -04:00
MikeTheWatchGuy
1ac74790a0 Removed Mac button color restriction 2019-09-14 18:26:48 -04:00
PySimpleGUI
e8f8d16e5a
Merge pull request #1969 from PySimpleGUI/Dev-latest
New demo program - demonstrates how to make a "rubber band" rectangle…
2019-09-14 11:36:41 -04:00
MikeTheWatchGuy
9e62a74af5 New demo program - demonstrates how to make a "rubber band" rectangle where you click and drag to draw it 2019-09-14 11:36:20 -04:00
PySimpleGUI
d9ab48bda0
Merge pull request #1967 from PySimpleGUI/Dev-latest
force flag added to ChangeLookAndFeel
2019-09-13 20:33:22 -04:00
MikeTheWatchGuy
3954eacfdc force flag added to ChangeLookAndFeel 2019-09-13 20:31:52 -04:00
PySimpleGUI
a7349ac7ad
Merge pull request #1961 from PySimpleGUI/Dev-latest
Dev latest
2019-09-11 17:23:06 -04:00
MikeTheWatchGuy
f6954506f7 ver bump for metadata addition 2019-09-11 17:22:40 -04:00
MikeTheWatchGuy
888808b1f4 Metadata! Added to everything.... all elements, all element constructors, Window too 2019-09-11 17:21:43 -04:00
PySimpleGUI
571cdffe51
Merge pull request #1957 from PySimpleGUI/Dev-latest
Final
2019-09-10 19:18:14 -04:00
MikeTheWatchGuy
e5b5ca7bbb Final 2019-09-10 19:17:53 -04:00
PySimpleGUI
a2c1974e2f
Merge pull request #1956 from PySimpleGUI/Dev-latest
3rd draft
2019-09-10 19:10:16 -04:00
MikeTheWatchGuy
763da2a4dd 3rd draft 2019-09-10 19:09:45 -04:00
PySimpleGUI
9c528545ab
Merge pull request #1955 from PySimpleGUI/Dev-latest
Draft 2-2
2019-09-10 16:56:51 -04:00
MikeTheWatchGuy
7b154acc94 Draft 2-2 2019-09-10 16:56:30 -04:00
PySimpleGUI
c2377537df
Merge pull request #1954 from PySimpleGUI/Dev-latest
Draft 2
2019-09-10 16:49:40 -04:00
MikeTheWatchGuy
a056d4846f Draft 2 2019-09-10 16:49:20 -04:00
PySimpleGUI
eb7eb5b7cf
Merge pull request #1953 from PySimpleGUI/Dev-latest
NEW Element metadata (Element.metadata)
2019-09-10 15:50:11 -04:00
MikeTheWatchGuy
4b6a574cff NEW Element metadata (Element.metadata) 2019-09-10 15:49:49 -04:00
PySimpleGUI
d200066180
Merge pull request #1952 from PySimpleGUI/Dev-latest
Make layout use +=
2019-09-10 13:54:57 -04:00
MikeTheWatchGuy
9602f8f7c4 Make layout use += 2019-09-10 13:54:33 -04:00
PySimpleGUI
4745bc1439
Merge pull request #1949 from PySimpleGUI/Dev-latest
More edits.  Addition of List Comprehension example, busy screenshot
2019-09-09 20:10:00 -04:00
MikeTheWatchGuy
9288b02adb More edits. Addition of List Comprehension example, busy screenshot 2019-09-09 20:09:42 -04:00
PySimpleGUI
81ee619077
Merge pull request #1948 from PySimpleGUI/Dev-latest
Typos
2019-09-09 18:53:25 -04:00
MikeTheWatchGuy
0d6f02c101 Typos 2019-09-09 18:53:03 -04:00
PySimpleGUI
808c994379
Merge pull request #1947 from PySimpleGUI/Dev-latest
Typos
2019-09-09 18:39:54 -04:00
MikeTheWatchGuy
57dba7a2f7 Typos 2019-09-09 18:39:36 -04:00
PySimpleGUI
40ed95b1dc
Merge pull request #1946 from PySimpleGUI/Dev-latest
Posting for reviews
2019-09-09 18:25:04 -04:00
MikeTheWatchGuy
a9463a1f14 Posting for reviews 2019-09-09 18:24:36 -04:00
PySimpleGUI
8410bd9822
Merge pull request #1945 from PySimpleGUI/Dev-latest
Tried to tighten up the banners again
2019-09-09 13:31:39 -04:00
MikeTheWatchGuy
dbe4e1f19b Tried to tighten up the banners again 2019-09-09 13:31:17 -04:00
PySimpleGUI
d7178d483d
Merge pull request #1943 from PySimpleGUI/Dev-latest
Fixed Column scrolling, again.  New test function == main function
2019-09-08 14:35:47 -04:00
MikeTheWatchGuy
88222455f9 Fixed Column scrolling, again. New test function == main function 2019-09-08 14:35:31 -04:00
PySimpleGUI
367ae73f9e
Merge pull request #1941 from PySimpleGUI/Dev-latest
Dev latest
2019-09-08 11:07:13 -04:00
MikeTheWatchGuy
2e27926e97 Jump Start added 2019-09-08 11:06:56 -04:00
MikeTheWatchGuy
385c2020f0 Readme creator update to match latest releases. Component parts of Readme 2019-09-08 10:54:13 -04:00
PySimpleGUI
e98912e0cc
Merge pull request #1939 from PySimpleGUI/Dev-latest
New demo program that shows how to use Graph Element to draw a visual…
2019-09-07 09:20:26 -04:00
MikeTheWatchGuy
7c723133e0 New demo program that shows how to use Graph Element to draw a visualizer for sorts 2019-09-07 09:20:07 -04:00
PySimpleGUI
51514bf859
Merge pull request #1933 from PySimpleGUI/Dev-latest
Official 0.28.0 Release
2019-09-06 11:31:21 -04:00
MikeTheWatchGuy
b483e18004 Official 0.28.0 Release 2019-09-06 11:31:01 -04:00
PySimpleGUI
b50be69c9d
Merge pull request #1932 from PySimpleGUI/Dev-latest
Official 4.4.1 & 2.4.1 releases
2019-09-06 11:09:21 -04:00
MikeTheWatchGuy
ad394dc6a8 Official 4.4.1 & 2.4.1 releases 2019-09-06 11:09:01 -04:00
PySimpleGUI
3a4f8d8c88
Merge pull request #1931 from PySimpleGUI/Dev-latest
Official 2.4 + patch 2.4.1 for expansion problem
2019-09-06 11:03:17 -04:00
MikeTheWatchGuy
9479c66490 Official 2.4 + patch 2.4.1 for expansion problem 2019-09-06 11:02:57 -04:00
PySimpleGUI
44e5a829e1
Merge pull request #1930 from PySimpleGUI/Dev-latest
Release 4.4.1 -turned off auto expansion
2019-09-06 10:53:26 -04:00
MikeTheWatchGuy
e4463ca1eb Release 4.4.1 -turned off auto expansion 2019-09-06 10:52:33 -04:00
PySimpleGUI
327987e370
Merge pull request #1928 from PySimpleGUI/Dev-latest
Dev latest
2019-09-05 10:48:53 -04:00
MikeTheWatchGuy
7182b49791 Version 4.4.0.10 Unreleased 2019-09-05 10:48:35 -04:00
MikeTheWatchGuy
4508683999 Shift + Mousewheel will scroll a column horizontally 2019-09-05 10:47:54 -04:00
PySimpleGUI
cd9d4c34be
Merge pull request #1927 from PySimpleGUI/Dev-latest
Moved print to event loop
2019-09-05 10:27:39 -04:00
MikeTheWatchGuy
221d376f10 Moved print to event loop 2019-09-05 10:27:19 -04:00
PySimpleGUI
5f27da5a8d
Merge pull request #1923 from PySimpleGUI/Dev-latest
Initial checkin
2019-09-04 16:39:24 -04:00
MikeTheWatchGuy
221e0ab88e Initial checkin 2019-09-04 16:39:01 -04:00
PySimpleGUI
f5fa7c37dd
Merge pull request #1922 from PySimpleGUI/Dev-latest
Fixed "fill=both" bug in Column layouts for both types of columns. Re…
2019-09-04 15:23:38 -04:00
MikeTheWatchGuy
c8b0d37ed6 Fixed "fill=both" bug in Column layouts for both types of columns. Removed Butt, Out, Status, OM shortcuts. Added LB shortcut 2019-09-04 15:23:13 -04:00
PySimpleGUI
bc8bfa9bf8
Merge pull request #1921 from PySimpleGUI/Dev-latest
Multiple Choice Test generated layout added
2019-09-04 12:06:33 -04:00
MikeTheWatchGuy
6b62636b65 Multiple Choice Test generated layout added 2019-09-04 12:06:07 -04:00
PySimpleGUI
7fd3686a3c
Merge pull request #1918 from PySimpleGUI/Dev-latest
Dev latest
2019-09-03 20:17:15 -04:00
MikeTheWatchGuy
5741b36783 A bunch of new element shortcuts (experimental) PBar, Prog, Col, DD, OM, LBox, R, Rad, SpinBox, Spinner, Status, Out, BMenu 2019-09-03 20:15:10 -04:00
MikeTheWatchGuy
5183dc0175 Can "call" Window in order to "Read" the window 2019-09-03 20:13:02 -04:00
MikeTheWatchGuy
a466b3a8b6 Ability to "Call" a window to Read it. 2019-09-03 20:12:18 -04:00
MikeTheWatchGuy
a892704c19 LOTS of changes for PEP8 support. Cleaned up old code. New sizing conversions. New style of key dictionary. Can Read windows by calling Window 2019-09-03 20:10:43 -04:00
PySimpleGUI
69805e70ce
Merge pull request #1917 from PySimpleGUI/Dev-latest
Old doc was missing the __init__ info!!  Ouch! Sorry about that.
2019-09-03 17:30:22 -04:00
MikeTheWatchGuy
d2bb47b9a8 Old doc was missing the __init__ info!! Ouch! Sorry about that. 2019-09-03 17:30:03 -04:00
PySimpleGUI
1b9291aedc
Update readme.md 2019-09-02 19:46:38 -04:00
PySimpleGUI
d2e64b0d7c
Merge pull request #1915 from PySimpleGUI/Dev-latest
The Kolya Release - window() == window.Read().  ML = MLine = Multiline
2019-09-02 13:43:09 -04:00
MikeTheWatchGuy
63c8782dac The Kolya Release - window() == window.Read(). ML = MLine = Multiline 2019-09-02 13:42:50 -04:00
PySimpleGUI
6e948ab082
Merge pull request #1914 from PySimpleGUI/Dev-latest
Ability to scroll contents of Column using scroll wheel
2019-09-02 11:12:52 -04:00
MikeTheWatchGuy
928c3b2973 Ability to scroll contents of Column using scroll wheel 2019-09-02 11:12:32 -04:00
PySimpleGUI
44b2550f6e
Merge pull request #1912 from PySimpleGUI/Dev-latest
Dev latest
2019-09-01 19:24:59 -04:00
MikeTheWatchGuy
22e12c5bb5 Version bump 2019-09-01 19:24:39 -04:00
MikeTheWatchGuy
4a63983b3c PEP8!!! Lots of "cleanup" (deleting all the __del__, removed callbacks not called anymore, etc), renamed a number of funcs/methods to use _ for private 2019-09-01 19:24:12 -04:00
PySimpleGUI
61b1e4545e
Merge pull request #1910 from PySimpleGUI/Dev-latest
Added Listbox method GetIndexes. Fix bug when duplicate keys,  Column…
2019-09-01 11:30:53 -04:00
MikeTheWatchGuy
ba01e1bf86 Added Listbox method GetIndexes. Fix bug when duplicate keys, Column and Frame expansion tests (Hope it didn't break anything!) 2019-09-01 11:30:35 -04:00
PySimpleGUI
096e442634
Merge pull request #1905 from PySimpleGUI/Dev-latest
TONS of changes - NEW additions PEP8, Multithreading, shortcut for Fi…
2019-08-30 21:03:15 -04:00
MikeTheWatchGuy
48ef8e5827 TONS of changes - NEW additions PEP8, Multithreading, shortcut for FindElement AND Element.Update, HorizontalSeparator, Column justification, Sizer Element, Table.Get for Qt, Extending PySimpleGUI, ChangeLookAndFeel values 2019-08-30 21:02:42 -04:00
PySimpleGUI
472895e894
Merge pull request #1896 from PySimpleGUI/Dev-latest
Added tooltip to main screen.  Fixed importing WRONG PSG... was impor…
2019-08-29 16:44:40 -04:00
MikeTheWatchGuy
28f43bd020 Added tooltip to main screen. Fixed importing WRONG PSG... was importing Qt when should have been plain PSG. 2019-08-29 16:44:23 -04:00
PySimpleGUI
7c1191ea59
Merge pull request #1895 from PySimpleGUI/Dev-latest
Changed stop functionality
2019-08-29 15:57:35 -04:00
MikeTheWatchGuy
9d9aa5e2d8 Changed stop functionality 2019-08-29 15:57:14 -04:00
PySimpleGUI
497d332496
Merge pull request #1894 from PySimpleGUI/Dev-latest
Fix for file types conversion.  Must not have ';;' on the end of the …
2019-08-29 14:37:13 -04:00
MikeTheWatchGuy
1d193651fe Fix for file types conversion. Must not have ';;' on the end of the last item. 2019-08-29 14:36:10 -04:00
PySimpleGUI
31bac3652a
Merge pull request #1892 from PySimpleGUI/Dev-latest
Fixed focus inside containers problem
2019-08-29 11:19:53 -04:00
MikeTheWatchGuy
d48b444734 Fixed focus inside containers problem 2019-08-29 11:19:30 -04:00
PySimpleGUI
e231dc1a01
Merge pull request #1891 from PySimpleGUI/Dev-latest
Dev latest
2019-08-29 10:17:58 -04:00
MikeTheWatchGuy
29a9a4201a Converts Window title into a string and removed the check for string that wasn't working 2019-08-29 10:17:35 -04:00
MikeTheWatchGuy
7f30da5c94 Added Output.Get method. Tabs/TabGroup expand when resizing 2019-08-29 10:15:34 -04:00
PySimpleGUI
780a19f3a9
Merge pull request #1885 from PySimpleGUI/Dev-latest
Fix for Tree element not returning keys.  Was really messed up. ROWS …
2019-08-27 14:02:34 -04:00
MikeTheWatchGuy
2935e3d067 Fix for Tree element not returning keys. Was really messed up. ROWS are expanded now for Frame, Col, multiline, input, output, tab, tabgroup 2019-08-27 14:02:10 -04:00
PySimpleGUI
79dcafa85f
Merge pull request #1882 from PySimpleGUI/Dev-latest
Dev latest
2019-08-26 19:12:33 -04:00
MikeTheWatchGuy
76f64b7d02 Changed version up to another release number 2019-08-26 19:12:02 -04:00
MikeTheWatchGuy
9050d97391 PEP8 Bindings! New character to pixel conversion for multiline type of elements. Removed the __del__ methods and other unneeded code. Renamed some private methods & functions to start with _, 2019-08-26 19:10:40 -04:00
PySimpleGUI
13c5f600f5
Merge pull request #1879 from PySimpleGUI/Dev-latest
Added a screenshot to the readme
2019-08-25 08:54:11 -04:00
MikeTheWatchGuy
7dd9d019a8 Added a screenshot to the readme 2019-08-25 08:53:50 -04:00
PySimpleGUI
09e3c18bd8
Merge pull request #1877 from PySimpleGUI/Dev-latest
Made release number all numeric
2019-08-24 22:18:13 -04:00
MikeTheWatchGuy
d37dc46492 Made release number all numeric 2019-08-24 22:17:55 -04:00
PySimpleGUI
13eedeb898
Merge pull request #1876 from PySimpleGUI/Dev-latest
Changed version number to be all numeric
2019-08-24 22:12:02 -04:00
MikeTheWatchGuy
ecf1880df6 Changed version number to be all numeric 2019-08-24 22:11:45 -04:00
PySimpleGUI
f1f8acc122
Merge pull request #1875 from PySimpleGUI/Dev-latest
Experimenting to see if can pip install from the GitHub itself
2019-08-24 22:06:25 -04:00
MikeTheWatchGuy
cb8bd20b41 Experimenting to see if can pip install from the GitHub itself 2019-08-24 22:06:06 -04:00
PySimpleGUI
38213f8c4e
Merge pull request #1874 from PySimpleGUI/Dev-latest
Added Table.Get as a dummy function as to match the new Get method in…
2019-08-24 18:29:48 -04:00
MikeTheWatchGuy
0b3c93fe5c Added Table.Get as a dummy function as to match the new Get method in the Qt port. Returns the last table provided. Editing is not yet available. 2019-08-24 18:29:28 -04:00
PySimpleGUI
69fa40980d
Merge pull request #1873 from PySimpleGUI/Dev-latest
Table Element - Fix for columns going nuts when getting near the head…
2019-08-24 17:59:55 -04:00
MikeTheWatchGuy
d3da31110f Table Element - Fix for columns going nuts when getting near the headers with a mouse! PLEASE be fixed! 2019-08-24 17:59:35 -04:00
PySimpleGUI
631fb775d9
Merge pull request #1872 from PySimpleGUI/Dev-latest
Removed the F-bomb because kids the source. If icon loads fail, defau…
2019-08-23 21:48:11 -04:00
MikeTheWatchGuy
7a8dfa2eb3 Removed the F-bomb because kids the source. If icon loads fail, default to built-in icon 2019-08-23 21:47:47 -04:00
PySimpleGUI
e59eb90df9
Merge pull request #1871 from PySimpleGUI/Dev-latest
Added the "Layouts" section
2019-08-23 20:05:37 -04:00
MikeTheWatchGuy
0a197b200b Added the "Layouts" section 2019-08-23 20:05:13 -04:00
PySimpleGUI
b2d47ac8df
Merge pull request #1870 from PySimpleGUI/Dev-latest
Changed Input.Update to move the cursor to the end if updating the va…
2019-08-23 13:58:33 -04:00
MikeTheWatchGuy
4cbbe51992 Changed Input.Update to move the cursor to the end if updating the values 2019-08-23 13:58:11 -04:00
PySimpleGUI
0b44c71080
Merge pull request #1865 from PySimpleGUI/Dev-latest
Dev latest
2019-08-22 17:52:11 -04:00
MikeTheWatchGuy
475333227b Docs for 4.3.0 Release 2019-08-22 17:51:14 -04:00
MikeTheWatchGuy
628f4170e7 4.3.0 RELEASE 2019-08-22 17:50:43 -04:00
PySimpleGUI
ea9aaf5c04
Merge pull request #1864 from PySimpleGUI/Dev-latest
Dev latest
2019-08-22 16:36:47 -04:00
MikeTheWatchGuy
769ae81746 Fixed layout issues. Made Column element special. It can have a justification specified on it 2019-08-22 16:36:27 -04:00
MikeTheWatchGuy
f76cfcdceb New parameter for Columns - justification. Justifies the Column and the row it's on to this setting 2019-08-22 16:05:40 -04:00
PySimpleGUI
dc1addf9b0
Merge pull request #1863 from PySimpleGUI/Dev-latest
Forgot to bump version
2019-08-22 13:22:06 -04:00
MikeTheWatchGuy
30ab03859c Forgot to bump version 2019-08-22 13:21:46 -04:00
PySimpleGUI
6176fe3ade
Merge pull request #1862 from PySimpleGUI/Dev-latest
Chagned center_elements to element_justification
2019-08-22 13:12:02 -04:00
MikeTheWatchGuy
7a1d010959 Chagned center_elements to element_justification 2019-08-22 13:11:42 -04:00
MikeTheWatchGuy
28340a7d5c
Merge pull request #1860 from PySimpleGUI/Dev-latest
NEW Sizer Element
2019-08-22 12:21:00 -04:00
MikeTheWatchGuy
7379d0bf62 NEW Sizer Element 2019-08-22 12:20:39 -04:00
MikeTheWatchGuy
2dc3f27c25
Merge pull request #1859 from PySimpleGUI/Dev-latest
NEW center_elements parm for Window, column, frame and tab
2019-08-22 11:58:47 -04:00
MikeTheWatchGuy
96c56b64fa NEW center_elements parm for Window, column, frame and tab 2019-08-22 11:58:23 -04:00
MikeTheWatchGuy
c30afc1749
Merge pull request #1858 from PySimpleGUI/Dev-latest
LOTS of new error checks. Warning if trying to "re-use" layout, All E…
2019-08-22 01:23:28 -04:00
MikeTheWatchGuy
979da6faab LOTS of new error checks. Warning if trying to "re-use" layout, All Element.Update methods checked for unfinalized windows. 2019-08-22 01:23:07 -04:00
MikeTheWatchGuy
0c151b464f
Merge pull request #1857 from PySimpleGUI/Dev-latest
Dev latest
2019-08-21 23:16:55 -04:00
MikeTheWatchGuy
c63ecbfd08 Corrected version number for the patch. 2019-08-21 23:16:29 -04:00
MikeTheWatchGuy
d239bb582b New Listbox parameter - no_scrollbar. If True then no scrollbar wiill be added to the Widget. 2019-08-21 23:14:56 -04:00
MikeTheWatchGuy
0e1a079255
Merge pull request #1856 from PySimpleGUI/Dev-latest
Dev latest
2019-08-21 19:45:39 -04:00
MikeTheWatchGuy
5227126ef1 Fix in Get 2019-08-21 19:45:18 -04:00
MikeTheWatchGuy
5149a2c2a6 Added Table.Get method 2019-08-21 19:44:30 -04:00
MikeTheWatchGuy
f5e4410b14
Merge pull request #1854 from PySimpleGUI/Dev-latest
Dev latest
2019-08-21 18:35:38 -04:00
MikeTheWatchGuy
48e81e72f2 Added ParentRowFrame to elements to MAYBE aid in better visibility changes 2019-08-21 18:35:04 -04:00
MikeTheWatchGuy
7383be254f Ability to "call an element" 2019-08-21 18:34:12 -04:00
MikeTheWatchGuy
bd42001803 Added finalize parm to Window, PEP8 names for Window methods, ability to "call" an element 2019-08-21 18:33:51 -04:00
MikeTheWatchGuy
7b578bdbf5 Added finalize parameter to Window 2019-08-21 18:27:24 -04:00
MikeTheWatchGuy
e086c3f3c9
Merge pull request #1853 from PySimpleGUI/Dev-latest
Added dummy Window.visibility_changed method because it exists in PyS…
2019-08-21 17:19:56 -04:00
MikeTheWatchGuy
99748374b1 Added dummy Window.visibility_changed method because it exists in PySimpleGUIQt. Fixed debugger popout 2019-08-21 17:19:25 -04:00
MikeTheWatchGuy
466aa4ec39
Merge pull request #1851 from PySimpleGUI/Dev-latest
Removed SetFocus from all Elements except for the base Element class.…
2019-08-20 16:21:53 -04:00
MikeTheWatchGuy
e68fb12145 Removed SetFocus from all Elements except for the base Element class. MOVED all of the PEP8 renaming to inside each class 2019-08-20 16:21:17 -04:00
MikeTheWatchGuy
178d193bda
Merge pull request #1849 from PySimpleGUI/Dev-latest
Removed some funcs people shouldn't be calling
2019-08-20 15:22:05 -04:00
MikeTheWatchGuy
b2c304e3d0 Removed some funcs people shouldn't be calling 2019-08-20 15:20:32 -04:00
MikeTheWatchGuy
0162d2ec0b
Merge pull request #1848 from PySimpleGUI/Dev-latest
PEP8-ify!!!  All of the user accessable methods and funcs now have a …
2019-08-20 15:12:22 -04:00
MikeTheWatchGuy
054690d5b4 PEP8-ify!!! All of the user accessable methods and funcs now have a lower-case version! Wild how it's done 2019-08-20 15:11:46 -04:00
MikeTheWatchGuy
c9e65dc034
Merge pull request #1847 from PySimpleGUI/Dev-latest
The 4.2 release readme components
2019-08-20 13:47:25 -04:00
MikeTheWatchGuy
f8cd8c86b1 The 4.2 release readme components 2019-08-20 13:46:28 -04:00
MikeTheWatchGuy
87fcdd7c76
Merge pull request #1841 from PySimpleGUI/Dev-latest
OFFICIAL 4.2.0 Release!
2019-08-19 18:50:55 -04:00
MikeTheWatchGuy
31f7183891 OFFICIAL 4.2.0 Release! 2019-08-19 17:14:34 -04:00
MikeTheWatchGuy
fc1cf5a2af
Merge pull request #1839 from PySimpleGUI/Dev-latest
Dev latest
2019-08-19 13:23:11 -04:00
MikeTheWatchGuy
6a69aa44a0 HUGE 2.7 update. It's finally caught up to the 4.0 level of 3.x port 2019-08-19 13:22:47 -04:00
MikeTheWatchGuy
75d46987dd Doc strings, finalize parameter in Window element, fix for not using initial_folder for PopupGetFile 2019-08-19 13:21:34 -04:00
MikeTheWatchGuy
6732693185
Merge pull request #1833 from PySimpleGUI/Dev-latest
Fixed missing return types in Docstrings for pre-defined buttons
2019-08-18 20:01:53 -04:00
MikeTheWatchGuy
88dc9408a6 Fixed missing return types in Docstrings for pre-defined buttons 2019-08-18 20:01:33 -04:00
MikeTheWatchGuy
4b09f6a066
Merge pull request #1832 from PySimpleGUI/Dev-latest
Added __call__ method to Elements. WOW!  Removed many of the __del__ …
2019-08-18 16:11:20 -04:00
MikeTheWatchGuy
593a64225c Added __call__ method to Elements. WOW! Removed many of the __del__ methods. Hope it doesn't BREAK BADLY! 2019-08-18 16:10:49 -04:00
MikeTheWatchGuy
85bac9b8da
Merge pull request #1831 from PySimpleGUI/Dev-latest
BIG CHANGE - Moved ALL call references but popups to the very bottom …
2019-08-18 15:26:27 -04:00
MikeTheWatchGuy
a1743c84c7 BIG CHANGE - Moved ALL call references but popups to the very bottom of section 2019-08-18 15:23:21 -04:00
MikeTheWatchGuy
9e7c1e14ca
Merge pull request #1828 from PySimpleGUI/Dev-latest
New Demo - Design Patterns for Layout Generation
2019-08-17 17:00:33 -04:00
MikeTheWatchGuy
0cb17f2a31 New Demo - Design Patterns for Layout Generation 2019-08-17 17:00:10 -04:00
MikeTheWatchGuy
5cb39d5b47
Merge pull request #1826 from PySimpleGUI/Dev-latest
New capability! __getitem__ added to all ports of PySimpleGUI.  Enabl…
2019-08-17 11:03:54 -04:00
MikeTheWatchGuy
40abc2e20a New capability! __getitem__ added to all ports of PySimpleGUI. Enables skipping the FindElement call 2019-08-17 11:03:36 -04:00
MikeTheWatchGuy
c8826bc9f4
Merge pull request #1824 from PySimpleGUI/Dev-latest
Dev latest
2019-08-16 19:06:18 -04:00
MikeTheWatchGuy
fa6f4cc1ce Removed some whitespace 2019-08-16 19:05:53 -04:00
MikeTheWatchGuy
22a6634331 Added Tearoff property to Element to stop crash if trying to use a submenu in a right click menu. Fixup of some docstrings that were causing issues 2019-08-16 19:05:18 -04:00
MikeTheWatchGuy
65dd8360bf
Merge pull request #1822 from PySimpleGUI/Dev-latest
Make more generic by adding USING_QT variable. Removed * unpacking!  …
2019-08-16 11:52:15 -04:00
MikeTheWatchGuy
392d224ef1 Make more generic by adding USING_QT variable. Removed * unpacking! New layout technique 2019-08-16 11:51:49 -04:00
MikeTheWatchGuy
8434b0be40
Merge pull request #1821 from PySimpleGUI/Dev-latest
Dev latest
2019-08-16 11:31:42 -04:00
MikeTheWatchGuy
027f458837 Made a "catch all" for find element with focus so that any element can be checked 2019-08-16 11:31:21 -04:00
MikeTheWatchGuy
5b1f8cdbca Fix for window.FindElementWithForux - wasn't checking listboxes 2019-08-16 11:26:36 -04:00
MikeTheWatchGuy
baebc08780
Merge pull request #1819 from PySimpleGUI/Dev-latest
Comments on installatation
2019-08-16 10:48:46 -04:00
MikeTheWatchGuy
c4d149f5c3 Comments on installataion 2019-08-15 22:18:51 -04:00
MikeTheWatchGuy
276a53f048
Merge pull request #1816 from PySimpleGUI/Dev-latest
Added controls at bottom to adjust key parameters.  Added back the tit…
2019-08-15 19:36:58 -04:00
MikeTheWatchGuy
652c24c17c Added controls at bottom to adjust key paramters. Added back the titlebar so an use slider 2019-08-15 19:36:32 -04:00
MikeTheWatchGuy
73f8efc36c
Merge pull request #1813 from PySimpleGUI/Dev-latest
New Demo Program - Show an ASCII animation using your webcam & OpenCV
2019-08-15 09:19:44 -04:00
MikeTheWatchGuy
879f3f55b9 New Demo Program - Show an ASCII animation using your webcam & OpenCV 2019-08-15 09:19:23 -04:00
MikeTheWatchGuy
1110b7973e
Merge pull request #1808 from PySimpleGUI/Dev-latest
Checking into Dev Branch.... accidentally checked directly into Master …
2019-08-13 16:55:08 -04:00
MikeTheWatchGuy
4c155d79e7 Checking into Dev Branch.... accidently checked directly into Master previously! 2019-08-13 16:54:17 -04:00
MikeTheWatchGuy
e3ad4949b1 Merge branch 'master' of https://github.com/MikeTheWatchGuy/PySimpleGUI 2019-08-13 16:48:27 -04:00
MikeTheWatchGuy
c3d9195d8b Two new OpenCV demos and one updated to show import for Qt 2019-08-13 16:48:23 -04:00
MikeTheWatchGuy
efbe7257e2
Merge pull request #1807 from PySimpleGUI/Dev-latest
Fixed argv bug.  Doh!
2019-08-13 15:10:50 -04:00
MikeTheWatchGuy
7d541255e6 Fixed argv bug. Doh! 2019-08-13 15:09:48 -04:00
MikeTheWatchGuy
393cb930bb
Merge pull request #1803 from PySimpleGUI/Dev-latest
New Graph methods - SendFigureToBack, BringFigureToFront
2019-08-11 12:30:40 -04:00
MikeTheWatchGuy
ce6d6a5468 New Graph methods - SendFigureToBack, BringFigureToFront 2019-08-11 12:30:23 -04:00
MikeTheWatchGuy
5417e6bd74
Merge pull request #1802 from PySimpleGUI/Dev-latest
New Demo Program that shows how to use an Graph Element to display  O…
2019-08-11 08:13:57 -04:00
MikeTheWatchGuy
c98720e02c New Demo Program that shows how to use an Graph Element to display OpenCV stream 2019-08-11 08:13:39 -04:00
MikeTheWatchGuy
7c0d2329a6
Merge pull request #1801 from PySimpleGUI/Dev-latest
Lots of doc updates. The recent Tab and TabGroup changes
2019-08-10 22:44:34 -04:00
MikeTheWatchGuy
28c7c35ac0 Lots of doc updates. The recent Tab and TabGroup changes 2019-08-10 22:44:14 -04:00
MikeTheWatchGuy
1234f1cc6f
Merge pull request #1800 from PySimpleGUI/Dev-latest
Dev latest
2019-08-10 17:17:52 -04:00
MikeTheWatchGuy
39fdf072a4 Bumped version 2019-08-10 17:17:33 -04:00
MikeTheWatchGuy
8782494c87 New methods that are replacing some hastily added ones - TabGroup.Get, Tab.Select, Combo.Get, background colors for non-scrollable columns 2019-08-10 17:16:43 -04:00
MikeTheWatchGuy
c3fb2f1c1f
Merge pull request #1797 from PySimpleGUI/Dev-latest
Latest parts of the readme and the creator tools updated
2019-08-08 16:47:39 -04:00
MikeTheWatchGuy
2b0de7217f Latest parts of the readme and the creator tools updated 2019-08-08 16:47:15 -04:00
MikeTheWatchGuy
cad420723c
Merge pull request #1796 from PySimpleGUI/Dev-latest
Renamed GetCurrentIndex to GetCurrentlySelectedTabIndex
2019-08-08 16:28:24 -04:00
MikeTheWatchGuy
0e7e72b56d Renamed GetCurrentIndex to GetCurrentlySelectedTabIndex 2019-08-08 16:27:32 -04:00
MikeTheWatchGuy
2f2b2de9b8
Merge pull request #1795 from PySimpleGUI/Dev-latest
Addition of TabGroup.GetCurrentIndex to tkinter port.  Renamed in Qt …
2019-08-08 16:23:17 -04:00
MikeTheWatchGuy
7dda23eef3 Addition of TabGroup.GetCurrentIndex to tkinter port. Renamed in Qt port 2019-08-08 16:22:54 -04:00
MikeTheWatchGuy
9db1b9ab04
Merge pull request #1793 from PySimpleGUI/Dev-latest
Dev latest
2019-08-07 19:46:18 -04:00
MikeTheWatchGuy
6b050707f9 Ver bump 2019-08-07 19:45:55 -04:00
MikeTheWatchGuy
0976b05ba1 Finally a fix for Column sizes?????? YES! 2019-08-07 19:45:17 -04:00
MikeTheWatchGuy
29a1743104
Merge pull request #1792 from PySimpleGUI/Dev-latest
Addition of SelectTab and GetCurrent methods to the TabGroup Element
2019-08-07 19:25:11 -04:00
MikeTheWatchGuy
3f752f9c0d Addition of SelectTab and GetCurrent methods to the TabGroup Element 2019-08-07 19:24:43 -04:00
MikeTheWatchGuy
5c13dc9fa9
Merge pull request #1791 from PySimpleGUI/Dev-latest
Finally THE Fix that enables multiple windows to work right!
2019-08-07 19:19:19 -04:00
MikeTheWatchGuy
ee9dbbaf2b Finally THE Fix that enables multiple windows to work right! 2019-08-07 19:18:41 -04:00
MikeTheWatchGuy
29eb6ca43b
Merge pull request #1789 from PySimpleGUI/Dev-latest
Better display of version number
2019-08-06 19:13:40 -04:00
MikeTheWatchGuy
2dc0e3aa68 Better display of version number 2019-08-06 19:13:18 -04:00
MikeTheWatchGuy
f5eed75717
Merge pull request #1788 from PySimpleGUI/Dev-latest
Fix suggested by the Remi project so that multiple connections will w…
2019-08-06 19:09:07 -04:00
MikeTheWatchGuy
31fc5acb8a Fix suggested by the Remi project so that multiple connections will work properly, plus some additional code that was already being worked on 2019-08-06 19:08:46 -04:00
MikeTheWatchGuy
ca019f1292
Merge pull request #1787 from PySimpleGUI/Dev-latest
More doc work....
2019-08-05 17:37:40 -04:00
MikeTheWatchGuy
345b91c7f8 More doc work.... 2019-08-05 17:37:21 -04:00
MikeTheWatchGuy
a850d23d3a
Merge pull request #1786 from PySimpleGUI/Dev-latest
More documentation... specifically on the Graph Element (plus others)
2019-08-05 16:58:40 -04:00
MikeTheWatchGuy
d6458df5ab More documentation... specifically on the Graph Element (plus others) 2019-08-05 16:58:20 -04:00
PySimpleGUI
f4267808db
Merge pull request #1784 from PySimpleGUI/Dev-latest
Graph Element drag mouse button UP events changed. Returns key+UP for…
2019-08-05 14:39:02 -04:00
MikeTheWatchGuy
332a47754a Graph Element drag mouse button UP events changed. Returns key+UP for drag event when mouse is released 2019-08-05 14:38:42 -04:00
PySimpleGUI
4bcfbec1d8 Update issue templates 2019-08-04 16:54:36 -04:00
PySimpleGUI
b24899a1ff Update issue templates 2019-08-04 16:50:07 -04:00
PySimpleGUI
f142bdd16f Update issue templates 2019-08-04 16:49:13 -04:00
MikeTheWatchGuy
f2b2fa18b5
Merge pull request #1783 from PySimpleGUI/Dev-latest
RELEASE 4.1
2019-08-04 15:11:22 -04:00
MikeTheWatchGuy
8f5472c40b RELEASE 4.1 2019-08-04 15:04:16 -04:00
MikeTheWatchGuy
c64f835e37
Merge pull request #1781 from PySimpleGUI/Dev-latest
Docstrings, Warnings added to Window so that bad titles and bad layou…
2019-08-04 13:50:26 -04:00
MikeTheWatchGuy
0b839ccb70 Docstrings, Warnings added to Window so that bad titles and bad layout types are warned. It's crude but will be helpful. Also first time using this warnings module. Hope it's OK! New Demo Program - invisible elements shows using a column for visibility 2019-08-04 13:50:06 -04:00
MikeTheWatchGuy
13356d14d6
Merge pull request #1773 from PySimpleGUI/Dev-latest
Forgot docstring for text_location
2019-08-02 07:24:05 -04:00
MikeTheWatchGuy
01b5dc4a32 Forgot docstring for text_location 2019-08-02 07:23:49 -04:00
MikeTheWatchGuy
2d38b533dc
Merge pull request #1772 from PySimpleGUI/Dev-latest
New text_location parameter for DrawText method of Graph.  More docst…
2019-08-02 07:21:42 -04:00
MikeTheWatchGuy
ffdeaaad8b New text_location parameter for DrawText method of Graph. More docstrings 2019-08-02 07:21:23 -04:00
MikeTheWatchGuy
5001e6dfef
Merge pull request #1764 from PySimpleGUI/Dev-latest
Dev latest
2019-07-31 13:29:51 -04:00
MikeTheWatchGuy
6ea3dbed41 Version bump 2019-07-31 13:29:28 -04:00
MikeTheWatchGuy
c48b236bce Added a general "SetFocus" to Element as a "catch all". Utilizes .Widget so hope they all are being set. Added 'Elem' shortcut for FindElement. 2019-07-31 13:29:03 -04:00
MikeTheWatchGuy
f0d3ff2716
Merge pull request #1754 from PySimpleGUI/Dev-latest
Trying to fix bullet points under "tools"
2019-07-29 17:01:56 -04:00
MikeTheWatchGuy
b6709c7035 Trying to fix bullet points under "tools" 2019-07-29 17:01:35 -04:00
MikeTheWatchGuy
902f58cae9
Merge pull request #1753 from PySimpleGUI/Dev-latest
Trying to fix bullets in tools section
2019-07-29 16:53:24 -04:00
MikeTheWatchGuy
60c234cfea Trying to fix bullets in tools section 2019-07-29 16:52:57 -04:00
MikeTheWatchGuy
5931a5805d
Merge pull request #1752 from PySimpleGUI/Dev-latest
Remove buttons from list of values to save to disk
2019-07-29 16:34:40 -04:00
MikeTheWatchGuy
871f30d11f Remove buttons from list of values to save to disk 2019-07-29 16:34:13 -04:00
MikeTheWatchGuy
ff15115610
Merge pull request #1751 from PySimpleGUI/Dev-latest
All of the section 1 changes plus latest doc strings
2019-07-29 16:16:58 -04:00
MikeTheWatchGuy
f01cd760bf All of the section 1 changes plus latest doc strings 2019-07-29 16:16:06 -04:00
MikeTheWatchGuy
b6c0dd89ff
Merge pull request #1749 from PySimpleGUI/Dev-latest
Of course, more docstrings, PLUS moved the title parameter is PopupSc…
2019-07-29 14:31:08 -04:00
MikeTheWatchGuy
8be71a9f3a Of course, more docstrings, PLUS moved the title parameter is PopupScrolled to the second position like ALL other Popups are already 2019-07-29 14:26:12 -04:00
MikeTheWatchGuy
74a7f6f3f0
Merge pull request #1745 from PySimpleGUI/Dev-latest
More readme work in  Section 2
2019-07-27 18:25:28 -04:00
MikeTheWatchGuy
0aac91fa70 More readme work in Section 2 2019-07-27 18:24:51 -04:00
MikeTheWatchGuy
94b57ea795
Merge pull request #1744 from PySimpleGUI/Dev-latest
Changes made to first section.  Lots more pretty pictures
2019-07-27 12:29:28 -04:00
MikeTheWatchGuy
5fe93133ba Changes made to first section. Lots more pretty pictures 2019-07-27 12:29:10 -04:00
MikeTheWatchGuy
560a7e4dfb
Merge pull request #1743 from PySimpleGUI/Dev-latest
Dev latest
2019-07-27 12:20:45 -04:00
MikeTheWatchGuy
c768942bad More docstrings where added / changed 2019-07-27 12:20:20 -04:00
MikeTheWatchGuy
2c98255a2d More doc strings! More to go! Getting closer 2019-07-27 12:11:32 -04:00
MikeTheWatchGuy
dd8ec81e27
Merge pull request #1741 from PySimpleGUI/Dev-latest
Initial Checkin of "readme_creator" folder... the thing that makes th…
2019-07-26 19:35:38 -04:00
MikeTheWatchGuy
959194fb8e Initial Checkin of "readme_creator" folder... the thing that makes the primary readme 2019-07-26 19:35:16 -04:00
MikeTheWatchGuy
dcf89a009f
Update Readme.md 2019-07-25 16:18:43 -04:00
MikeTheWatchGuy
c1b0804d92
Merge pull request #1737 from PySimpleGUI/Dev-latest
Even more doc strings!
2019-07-25 11:15:47 -04:00
MikeTheWatchGuy
59bb9a4fc5 Even more doc strings! 2019-07-25 11:15:25 -04:00
MikeTheWatchGuy
6b52c78f1f
Merge pull request #1736 from PySimpleGUI/Dev-latest
MORE Docstrings!  Table and Tree Elements this time
2019-07-24 21:57:33 -04:00
MikeTheWatchGuy
eaa67fc0b9 MORE Docstrings! Table and Tree Elements this time 2019-07-24 21:57:01 -04:00
MikeTheWatchGuy
6267f25354
Merge pull request #1734 from PySimpleGUI/Dev-latest
Added default icon to System Tray if none is set by user.
2019-07-24 14:34:56 -04:00
MikeTheWatchGuy
fad0d69682 Added default icon to System Tray if none is set by user. 2019-07-24 14:34:34 -04:00
MikeTheWatchGuy
373e49f45d
Merge pull request #1733 from PySimpleGUI/Dev-latest
Added ability to set default selected values for Listbox element
2019-07-24 09:42:06 -04:00
MikeTheWatchGuy
8b9bc0e22b Added ability to set default selected values for Listbox element 2019-07-24 09:41:44 -04:00
MikeTheWatchGuy
0a12b701d4
Merge pull request #1732 from PySimpleGUI/Dev-latest
Dev latest
2019-07-24 08:29:02 -04:00
MikeTheWatchGuy
bdf0fab6bd Forgot versio bump 2019-07-24 08:28:39 -04:00
MikeTheWatchGuy
e4fae9ba65 Fixed missing key in PopupGetText 2019-07-24 08:28:01 -04:00
MikeTheWatchGuy
4b0cfccbcc
Merge pull request #1727 from PySimpleGUI/Dev-latest
Fix for Table.Update losing the table's headers.  Fix for problem whe…
2019-07-23 20:29:00 -04:00
MikeTheWatchGuy
07c6e665f6 Fix for Table.Update losing the table's headers. Fix for problem when duplicate key found. Had to make a string from key 2019-07-23 20:28:42 -04:00
MikeTheWatchGuy
854ec79dc8
Merge pull request #1722 from PySimpleGUI/Dev-latest
More updates!  Good stuff
2019-07-22 22:34:55 -04:00
MikeTheWatchGuy
3148c36eaa More updates! Good stuff 2019-07-22 22:34:32 -04:00
MikeTheWatchGuy
1db7d9ed0d
Merge pull request #1721 from PySimpleGUI/Dev-latest
MUCH needed update to Cookbook!
2019-07-22 21:19:31 -04:00
MikeTheWatchGuy
36aec6b7c9 MUCH needed update to Cookbook! 2019-07-22 21:19:08 -04:00
MikeTheWatchGuy
39f8f74d0b
Merge pull request #1719 from PySimpleGUI/Dev-latest
Fixed bad examples.  Updated readme quite a bit, but a lot more to do!
2019-07-22 18:31:22 -04:00
MikeTheWatchGuy
176b0c9122 Fixed bad examples. Updated readme quite a bit, but a lot more to do! 2019-07-22 18:30:56 -04:00
MikeTheWatchGuy
b4d4c3213a
Update readme.md 2019-07-20 11:50:31 -04:00
MikeTheWatchGuy
215cfaf01a
Merge pull request #1710 from PySimpleGUI/Dev-latest
1/2 a shit-ton of doc strings.  Completed the Pane and Menu (bar) ele…
2019-07-19 23:52:35 -04:00
MikeTheWatchGuy
b6b766dfdb 1/2 a shit-ton of doc strings. Completed the Pane and Menu (bar) elements 2019-07-19 23:52:03 -04:00
MikeTheWatchGuy
8bf4b87fc7
Merge pull request #1709 from PySimpleGUI/Dev-latest
Added an example of setting text coloir to white with red background.
2019-07-19 22:33:14 -04:00
MikeTheWatchGuy
60fb9c2ac3 Added an example of setting text coloir to white with red background. 2019-07-19 22:32:46 -04:00
MikeTheWatchGuy
b23361bd43
Merge pull request #1708 from PySimpleGUI/Dev-latest
Added correct handling of foreground color for tables (text color) wh…
2019-07-19 22:31:13 -04:00
MikeTheWatchGuy
70adb38fc6 Added correct handling of foreground color for tables (text color) when updating 2019-07-19 22:30:50 -04:00
MikeTheWatchGuy
288af8288e
Merge pull request #1707 from PySimpleGUI/Dev-latest
Support for Table Updates for colors (individual row colors and alter…
2019-07-19 22:23:21 -04:00
MikeTheWatchGuy
b49e17d665 Support for Table Updates for colors (individual row colors and alternating row color) 2019-07-19 22:22:49 -04:00
MikeTheWatchGuy
eae899b612
Merge pull request #1706 from PySimpleGUI/Dev-latest
Dev latest
2019-07-19 21:23:00 -04:00
MikeTheWatchGuy
6c620efc83 Exposed TOOLTIP_BACKGROUND_COLOR 2019-07-19 21:21:55 -04:00
MikeTheWatchGuy
912e4068e3 Two new Table.Update parameters - alternating_row_color and row_colors. Addition of doc strings for Table.Update 2019-07-19 20:14:37 -04:00
MikeTheWatchGuy
45b4e23fa3
Merge pull request #1705 from PySimpleGUI/Dev-latest
Testing Pull Request Template
2019-07-19 19:16:12 -04:00
MikeTheWatchGuy
d7b3d1e150 Testing Pull Request Template 2019-07-19 19:10:21 -04:00
PySimpleGUI
891cd8affa
Create pull_request_template.md
Instructions for Pull Requests (PLEASE READ BEFORE ANY PULL REQUEST IS MADE)
2019-07-19 19:08:58 -04:00
MikeTheWatchGuy
1a66239a2d
Merge pull request #1704 from PySimpleGUI/Dev-latest
Set the button activebackground color in the Update method. Already d…
2019-07-19 17:30:50 -04:00
MikeTheWatchGuy
b02032af8b Set the button activebackground color in the Update method. Already doing this when button created. 2019-07-19 17:30:29 -04:00
MikeTheWatchGuy
a4d6b4bf0d
Merge pull request #1703 from PySimpleGUI/Dev-latest
Addition of user generated toggle button - Thank you ncotrb
2019-07-19 17:04:54 -04:00
MikeTheWatchGuy
313d35b177 Addition of user generated toggle button - Thank you ncotrb 2019-07-19 17:04:24 -04:00
MikeTheWatchGuy
1e12e03c01
Merge pull request #1696 from PySimpleGUI/Dev-latest
More.... you guessed it... docstrings!  Version 4.1.0.10
2019-07-17 11:36:20 -04:00
MikeTheWatchGuy
42c4d97920 More.... you guessed it... docstrings! Version 4.1.0.10 2019-07-17 11:35:54 -04:00
MikeTheWatchGuy
f46bc3d8ea
Merge pull request #1695 from PySimpleGUI/Dev-latest
Latest and greatest docstrings and cleanup of Readme. Looking GREAT!
2019-07-17 11:17:36 -04:00
MikeTheWatchGuy
8618879a71 Latest and greatest docstrings and cleanup of Readme. Looking GREAT! 2019-07-17 11:17:17 -04:00
MikeTheWatchGuy
874d79d1c7
Merge pull request #1692 from PySimpleGUI/Dev-latest
More doc strings. Added check for background color and made optional …
2019-07-16 17:42:02 -04:00
MikeTheWatchGuy
5d7324a251 More doc strings. Added check for background color and made optional for call to Update of Graph Element 2019-07-16 17:41:32 -04:00
MikeTheWatchGuy
e7ccb2c781
Merge pull request #1691 from PySimpleGUI/Dev-latest
Fix for Graph.DrawPoint not returning an id.  MORE docstrings
2019-07-16 15:09:32 -04:00
MikeTheWatchGuy
ce2d947c30 Fix for Graph.DrawPoint not returning an id. MORE docstrings 2019-07-16 15:09:08 -04:00
MikeTheWatchGuy
dab68f8717
Merge pull request #1689 from PySimpleGUI/Dev-latest
More doc strings
2019-07-15 21:17:31 -04:00
MikeTheWatchGuy
62f905eacd More doc strings 2019-07-15 21:17:07 -04:00
MikeTheWatchGuy
290c7948bd
Merge pull request #1688 from PySimpleGUI/Dev-latest
Fix bug that crashes code if 2 keys are the same.
2019-07-15 18:05:51 -04:00
MikeTheWatchGuy
0fbee9dde6 Fix bug that crashes code if 2 keys are the same. 2019-07-15 18:05:27 -04:00
MikeTheWatchGuy
1667ce5a4f
Merge pull request #1687 from PySimpleGUI/Dev-latest
Added parent window to all of the File Browse calls to tkinter so tha…
2019-07-15 17:25:51 -04:00
MikeTheWatchGuy
9a970dba70 Added parent window to all of the File Browse calls to tkinter so that the icon from the window is displayed. Added lots of doc strings...more to go! 2019-07-15 17:25:27 -04:00
MikeTheWatchGuy
15473f5e29
Merge pull request #1682 from PySimpleGUI/Dev-latest
Major update to docs!
2019-07-12 16:21:21 -04:00
MikeTheWatchGuy
ae48656c64 Major update to docs! 2019-07-12 16:21:02 -04:00
MikeTheWatchGuy
48ab0a511d
Merge pull request #1681 from PySimpleGUI/Dev-latest
Added Radio Button enable_events code. Will get event when radio sele…
2019-07-12 14:56:10 -04:00
MikeTheWatchGuy
be6ef83563 Added Radio Button enable_events code. Will get event when radio selected now. 2019-07-12 14:55:41 -04:00
MikeTheWatchGuy
87e5bbb486
Merge pull request #1676 from PySimpleGUI/Dev-latest
FINALLY completed the Window class doc strings!
2019-07-10 17:16:14 -04:00
MikeTheWatchGuy
af461df1a0 FINALLY completed the Window class doc strings! 2019-07-10 17:15:51 -04:00
MikeTheWatchGuy
69342202b2
Merge pull request #1675 from PySimpleGUI/Dev-latest
More docstrings, renamed functions
2019-07-10 15:12:34 -04:00
MikeTheWatchGuy
007c23494b More docstrings, renamed functions 2019-07-10 15:12:16 -04:00
MikeTheWatchGuy
294102b360
Merge pull request #1673 from PySimpleGUI/Dev-latest
Changed how image is created before updating the Image Element. Now i…
2019-07-09 14:14:51 -04:00
MikeTheWatchGuy
462a4f4385 Changed how image is created before updating the Image Element. Now is 1 line of code. 2019-07-09 14:14:27 -04:00
MikeTheWatchGuy
decb5c520e
Merge pull request #1672 from PySimpleGUI/Dev-latest
Multithreaded for doing long tasks Demo
2019-07-09 13:09:45 -04:00
MikeTheWatchGuy
474917b50b Multithreaded for doing long tasks Demo 2019-07-09 13:09:25 -04:00
MikeTheWatchGuy
08f0febf4d
Merge pull request #1671 from PySimpleGUI/Dev-latest
Made slider active. Moving it causes video playback to begin at new …
2019-07-08 18:36:19 -04:00
MikeTheWatchGuy
b16782c39d Made slider active. Moving it causes video playbcack to begin at new location indicated by slider. Cleaned up code a little. 2019-07-08 18:35:47 -04:00
MikeTheWatchGuy
0457b86964
Merge pull request #1667 from PySimpleGUI/Dev-latest
Dev latest
2019-07-06 14:49:52 -04:00
MikeTheWatchGuy
8037c4eb91 More Docstring Work - concentrated on Window class 2019-07-06 14:49:22 -04:00
MikeTheWatchGuy
dab3f1f1f3 LOTS of new doc strings. Renamed some functions to begin with _. Window.Show, ReadNonBlocking, Added giant licensing info 2019-07-06 11:51:03 -04:00
MikeTheWatchGuy
d16fa56df3
Merge pull request #1663 from PySimpleGUI/Dev-latest
New option ENABLE_TK_WINDOWS. If True, will not use hidden master win…
2019-07-04 10:57:15 -04:00
MikeTheWatchGuy
9adb0e3691 New option ENABLE_TK_WINDOWS. If True, will not use hidden master window. Had to add a lot of try statements to get it to work 2019-07-04 10:56:53 -04:00
MikeTheWatchGuy
6711ffb1dd
Merge pull request #1660 from PySimpleGUI/Dev-latest
Allow set_to_index in the Listbox.Update call to be both an int and a…
2019-07-03 17:40:52 -04:00
MikeTheWatchGuy
28175a99e6 Allow set_to_index in the Listbox.Update call to be both an int and a list. Also officially added "Warnings" using the "Warnings" package. 2019-07-03 17:40:23 -04:00
MikeTheWatchGuy
19cb027e7b
Merge pull request #1656 from PySimpleGUI/Dev-latest
LOTS of doc strings.  Newest readme based on doc strings
2019-07-02 19:10:31 -04:00
MikeTheWatchGuy
b9614eef9f LOTS of doc strings. Newest readme based on doc strings 2019-07-02 19:10:12 -04:00
MikeTheWatchGuy
0e29b59ad0
Merge pull request #1649 from PySimpleGUI/Dev-latest
Newly generated documents from the latest 4.1.0.3 code and latest doc…
2019-06-29 11:25:40 -04:00
MikeTheWatchGuy
78e35619ff Newly generated documents from the latest 4.1.0.3 code and latest doc generator 2019-06-29 11:23:06 -04:00
MikeTheWatchGuy
bdd7b255cb
Merge pull request #1648 from PySimpleGUI/Dev-latest
Finished Input Tesxt doc strings. Removed the Up Arrow character from…
2019-06-28 21:21:49 -04:00
MikeTheWatchGuy
8220b8c9e2 Finished Input Tesxt doc strings. Removed the Up Arrow character from comments. 2019-06-28 21:21:27 -04:00
MikeTheWatchGuy
4aebfe6095
Merge pull request #1647 from PySimpleGUI/Dev-latest
Fix for crash when opening window twice with ComboBoxes
2019-06-28 16:56:51 -04:00
MikeTheWatchGuy
7499d3f989 Fix for crash when opening window twice with ComboBoxes 2019-06-28 16:56:25 -04:00
MikeTheWatchGuy
8478b97037
Merge pull request #1645 from PySimpleGUI/Dev-latest
Filled in doc strings (much more to go!)
2019-06-27 23:54:59 -04:00
MikeTheWatchGuy
1290b01d60 Filled in doc strings (much more to go!) 2019-06-27 23:54:36 -04:00
MikeTheWatchGuy
6a8032062d
Merge pull request #1643 from kreegahbundolo/master
Made PyGame integration work on Linux by changing the SDL_VIDEODRIVER setting.
2019-06-27 20:42:47 -04:00
MikeTheWatchGuy
dd341d6c73
Merge pull request #1644 from PySimpleGUI/Dev-latest
NEW Pong program that ONLY uses PySimpleGUI calls. Previously cheated…
2019-06-27 18:20:20 -04:00
MikeTheWatchGuy
94ac5b33eb NEW Pong program that ONLY uses PySimpleGUI calls. Previously cheated and worked directly with Canvas in tkinter. Not anymore! Also runs on PySimpleGUIWeb and should run on PySimpleGUIQt soon 2019-06-27 18:19:57 -04:00
Åge Strand
f7db14f842 Made it work on Linux by changing the SDL_VIDEODRIVER setting. 2019-06-27 09:13:40 +02:00
MikeTheWatchGuy
a1c29f6b48
Merge pull request #1642 from PySimpleGUI/Dev-latest
More docstring changes!!!
2019-06-26 22:09:50 -04:00
MikeTheWatchGuy
4601d62f47 More docstring changes!!! 2019-06-26 22:09:28 -04:00
MikeTheWatchGuy
8ab6506de8
Merge pull request #1637 from PySimpleGUI/Dev-latest
Removed ambiguous variable.  Made a simulated GPIO class if platform …
2019-06-26 11:44:22 -04:00
MikeTheWatchGuy
52a7c0a0a3 Removed ambigious variable. Made a simulated GPIO class if platform is windows. 2019-06-26 11:43:36 -04:00
MikeTheWatchGuy
b32e62c28a
Merge pull request #1636 from PySimpleGUI/Dev-latest
Dev latest
2019-06-26 11:13:19 -04:00
MikeTheWatchGuy
ad100b8e75 Changed bad if statements that were using 'is' and made '==' instead. 2019-06-26 11:09:42 -04:00
MikeTheWatchGuy
e59b0060b6
Merge pull request #1631 from cclauss/identity-is-not-equality-in-python
Use ==/!= to compare str literals
2019-06-25 21:10:12 -04:00
MikeTheWatchGuy
23dfb5f7cc Delete index_worked.md 2019-06-25 21:06:42 -04:00
MikeTheWatchGuy
c5493079be
Merge pull request #1580 from novel-yet-trivial/patch-1
fix python2 tkinter import
2019-06-25 20:05:04 -04:00
cclauss
b2ba8acb34 Use ==/!= to compare str literals 2019-06-25 23:01:02 +02:00
MikeTheWatchGuy
6680820360
Merge pull request #1628 from PySimpleGUI/Dev-latest
Bumped version by 1 more digit so that it's 4 digits long. When posti…
2019-06-25 13:12:10 -04:00
MikeTheWatchGuy
7acfad658a Bumped version by 1 more digit so that it's 4 digits long. When posting to PyPI, will post only 3 digits 2019-06-25 13:11:48 -04:00
MikeTheWatchGuy
8a48d404f8
Merge pull request #1627 from PySimpleGUI/Dev-latest
Refresh of System Tray Issue Watcher running on Wx.
2019-06-25 13:07:56 -04:00
MikeTheWatchGuy
0be9e54183 Refresh of System Tray Issue Watcher running on Wx. 2019-06-25 13:07:23 -04:00
MikeTheWatchGuy
b75c04eaf1 Refresh of the Issue Watcher Wx based system tray demo 2019-06-25 13:06:13 -04:00
MikeTheWatchGuy
e36266ae38
Merge pull request #1625 from cclauss/patch-1
import time for access to time.time() on line 94
2019-06-25 12:55:55 -04:00
MikeTheWatchGuy
5e23cf0810
Merge pull request #1626 from PySimpleGUI/Dev-latest
Changed Listbox.Update(set_to_index) so that all selections are clear…
2019-06-25 12:46:51 -04:00
MikeTheWatchGuy
f40c4c2710 Changed Listbox.Update(set_to_index) so that all selections are cleared prior to new select 2019-06-25 12:46:22 -04:00
cclauss
012ff9a9eb
import time for access to time.time() on line 94 2019-06-25 17:30:32 +02:00
MikeTheWatchGuy
99a697726b
Merge pull request #1622 from PySimpleGUI/Dev-latest
New readme from generator
2019-06-24 12:11:24 -04:00
MikeTheWatchGuy
614de21718 New readme from generator 2019-06-24 12:10:22 -04:00
MikeTheWatchGuy
a640b5b2ca
Merge pull request #1619 from PySimpleGUI/Dev-latest
Put back section removed.  Removed end tag
2019-06-23 16:33:39 -04:00
MikeTheWatchGuy
db4a8430c3 Put back section removed. Removed end tag 2019-06-23 16:33:22 -04:00
MikeTheWatchGuy
9f0224b3ae
Merge pull request #1618 from PySimpleGUI/Dev-latest
Added back deleted parts.  Removed tag at end
2019-06-23 16:29:20 -04:00
MikeTheWatchGuy
f71ffdd1e9 Added back deleted parts. Removed tag at end 2019-06-23 16:28:50 -04:00
MikeTheWatchGuy
5412b88c82
Merge pull request #1617 from PySimpleGUI/Dev-latest
Hacked up doc to make smaller (TEST ONLY!)
2019-06-23 16:27:00 -04:00
MikeTheWatchGuy
c15cd4e39c Hacked up doc to make smaller (TEST ONLY!) 2019-06-23 16:26:42 -04:00
MikeTheWatchGuy
a46dff761d
Merge pull request #1616 from PySimpleGUI/Dev-latest
Newet generateed readme
2019-06-23 16:21:31 -04:00
MikeTheWatchGuy
9814de9928 Newet generateed readme 2019-06-23 16:20:55 -04:00
MikeTheWatchGuy
7909e77d9c
Merge pull request #1615 from PySimpleGUI/Dev-latest
Removed some comments to see if I get more content
2019-06-23 15:59:45 -04:00
MikeTheWatchGuy
c106901d99 Removed some comments to see if I get more content 2019-06-23 15:59:23 -04:00
MikeTheWatchGuy
118f7436a5
Merge pull request #1614 from PySimpleGUI/Dev-latest
Fix for tables - were messed up in PyCharm
2019-06-23 15:51:03 -04:00
MikeTheWatchGuy
7b8296b698 Fix for tables - were messed up in PyCharm 2019-06-23 15:50:37 -04:00
MikeTheWatchGuy
e83f541e93
Merge pull request #1613 from PySimpleGUI/Dev-latest
latest generator
2019-06-23 15:14:44 -04:00
MikeTheWatchGuy
8837475a70 latest generator 2019-06-23 15:14:24 -04:00
MikeTheWatchGuy
0fe13549d6
Merge pull request #1612 from PySimpleGUI/Dev-latest
Latest updates from generator
2019-06-23 15:10:43 -04:00
MikeTheWatchGuy
a85349c051 Latest updates from generator 2019-06-23 15:10:24 -04:00
MikeTheWatchGuy
9faadf1bf8
Merge pull request #1611 from PySimpleGUI/Dev-latest
Checkin from new doc generation
2019-06-23 14:33:47 -04:00
MikeTheWatchGuy
aaf3ee761d Checkin from new doc generation 2019-06-23 14:33:25 -04:00
MikeTheWatchGuy
8238fc74d8
Merge pull request #1610 from PySimpleGUI/Dev-latest
Dev latest
2019-06-23 14:26:20 -04:00
MikeTheWatchGuy
6ddbbfd21d
Delete index.md 2019-06-23 14:26:04 -04:00
MikeTheWatchGuy
cd3bc873a6
Delete index.md 2019-06-23 14:24:36 -04:00
MikeTheWatchGuy
f2aebb3970 Using new generator with latest code 2019-06-23 14:21:26 -04:00
MikeTheWatchGuy
d8f62ccc46 New doc generator was used 2019-06-23 14:12:42 -04:00
MikeTheWatchGuy
7f0c44e4e4
Merge pull request #1608 from PySimpleGUI/Dev-latest
Listbox, Combobox, Spinner returns values supplied to it instead of s…
2019-06-23 12:31:04 -04:00
MikeTheWatchGuy
b78fc60115 Listbox, Combobox, Spinner returns values supplied to it instead of strings. 2019-06-23 12:30:42 -04:00
MikeTheWatchGuy
3a211dc4e3
Merge pull request #1605 from PySimpleGUI/Dev-latest
Combobox - Enable return of original value AND also hand entered valu…
2019-06-22 13:10:25 -04:00
MikeTheWatchGuy
f382823810 Combobox - Enable return of original value AND also hand entered values if permitted. Spinner returns supplied value rather than string 2019-06-22 13:10:05 -04:00
MikeTheWatchGuy
7de8f40b72
Merge pull request #1604 from PySimpleGUI/Dev-latest
Dev latest
2019-06-22 12:03:02 -04:00
MikeTheWatchGuy
a24b5c6001 ComboBox can now contain any kind of item. Actual items returned, not a string version of item. 2019-06-22 12:02:31 -04:00
MikeTheWatchGuy
89bf807617 Combo - return actual value user supplied when reading. Fix in debugger showing objects, new ComboBox method - GetSelectedItemsIndexes - returns list of indexes currently selected items 2019-06-22 11:43:06 -04:00
MikeTheWatchGuy
62604298a9
Merge pull request #1603 from PySimpleGUI/Dev-latest
Initial check-in
2019-06-22 10:59:55 -04:00
MikeTheWatchGuy
4f0cc1936b Initial check-in 2019-06-22 10:59:24 -04:00
MikeTheWatchGuy
432034a472
Merge pull request #1602 from PySimpleGUI/Dev-latest
Added Versio #, Added self.Widget to all Elements, Pixel to Chars cut…
2019-06-21 14:37:31 -04:00
MikeTheWatchGuy
882002a0a6 Added Versio #, Added self.Widget to all Elements, Pixel to Chars cutoff changed from 12 to 15, new Button.Click() method cross ported, New Graph Methods RelocateFigure, DrawRectangle, use Find Element dictionary use, FindElementWithFocus added, Style Changes to Graph Element, newer test harness 2019-06-21 14:37:11 -04:00
MikeTheWatchGuy
32a6d1dc93
Merge pull request #1599 from PySimpleGUI/Dev-latest
New float_values in Graph Element signals to return float values inst…
2019-06-20 09:59:27 -04:00
MikeTheWatchGuy
704da3f274 New float_values in Graph Element signals to return float values instead of ints 2019-06-20 09:59:08 -04:00
MikeTheWatchGuy
42c35a5fb2
Merge pull request #1598 from PySimpleGUI/Dev-latest
New version variable, fixed problem not returning None on error in Fi…
2019-06-20 09:13:34 -04:00
MikeTheWatchGuy
ee230a6a62 New version variable, fixed problem not returning None on error in FindElement 2019-06-20 09:13:02 -04:00
MikeTheWatchGuy
2d25a9905b
Merge pull request #1595 from PySimpleGUI/Dev-latest
Removed the Range demo of progress meter iterable
2019-06-19 20:57:19 -04:00
MikeTheWatchGuy
c99e2e7e76 Removed the Range demo of progress meter iterable 2019-06-19 20:56:50 -04:00
MikeTheWatchGuy
a3216a346e
Merge pull request #1594 from PySimpleGUI/Dev-latest
Addition of wrapper for OneLineProgressMeter
2019-06-19 20:31:34 -04:00
MikeTheWatchGuy
6a7954b9a7 Addition of wrapper for OneLineProgressMeter 2019-06-19 20:31:12 -04:00
MikeTheWatchGuy
16f5d37297
Update index.md 2019-06-19 16:44:54 -04:00
MikeTheWatchGuy
67a76be308
Merge pull request #1593 from PySimpleGUI/Dev-latest
More attempts at fixing the ReadTheDocs sudden ending
2019-06-19 16:33:56 -04:00
MikeTheWatchGuy
b3307d7255 More attempts at fixing the ReadTheDocs sudden ending 2019-06-19 16:33:39 -04:00
MikeTheWatchGuy
8d89320793
Merge pull request #1592 from PySimpleGUI/Dev-latest
Removed spaces around all table cells.  Changed the Feature List to i…
2019-06-19 16:17:46 -04:00
MikeTheWatchGuy
3e51ab3d76 Removed spaces around all table cells. Changed the Feature List to include extra blank line 2019-06-19 16:17:27 -04:00
MikeTheWatchGuy
03346bf728
Merge pull request #1591 from PySimpleGUI/Dev-latest
Dev latest
2019-06-19 15:26:46 -04:00
MikeTheWatchGuy
c4530212ca Merge branch 'Dev-latest' of https://github.com/MikeTheWatchGuy/PySimpleGUI into Dev-latest 2019-06-19 15:26:26 -04:00
MikeTheWatchGuy
a604d3e15e Removed spaces from headers in docstrings |Name|Meaning| 2019-06-19 15:26:04 -04:00
MikeTheWatchGuy
a822f504dc
Merge pull request #1590 from PySimpleGUI/Dev-latest
Added blank line before "Parameters explained:" before tables
2019-06-19 15:12:56 -04:00
MikeTheWatchGuy
89ec9dfb66
Merge branch 'master' into Dev-latest 2019-06-19 15:12:49 -04:00
MikeTheWatchGuy
9fc9efc753 Added blank line before "Parameters explained:" before tables 2019-06-19 15:11:48 -04:00
MikeTheWatchGuy
7527b7c34b
Update index.md 2019-06-19 15:06:24 -04:00
MikeTheWatchGuy
2672c034a8
Merge pull request #1589 from PySimpleGUI/Dev-latest
Release 4.0.0 & 2.0.0
2019-06-19 13:15:27 -04:00
MikeTheWatchGuy
b1ab9868e1 Release 4.0.0 & 2.0.0 2019-06-19 13:15:03 -04:00
MikeTheWatchGuy
6b27f50b93
Merge pull request #1587 from PySimpleGUI/Dev-latest
Get method for the Radio Element
2019-06-19 10:15:46 -04:00
MikeTheWatchGuy
7574c9ea97 Get method for the Radio Element 2019-06-19 10:14:30 -04:00
MikeTheWatchGuy
1fef27db6d
Merge pull request #1586 from PySimpleGUI/Dev-latest
Addition of scroll_to_index parameter to Listbox.Update method
2019-06-19 09:53:12 -04:00
MikeTheWatchGuy
b35c55726d Addition of scroll_to_index parameter to Listbox.Update method 2019-06-19 09:52:50 -04:00
MikeTheWatchGuy
36db812b1c
Merge pull request #1585 from PySimpleGUI/Dev-latest
Added new force parameter to all SetFocus calls.  Removed calls to WM…
2019-06-19 08:30:32 -04:00
MikeTheWatchGuy
9cce12e8c2 Added new force parameter to all SetFocus calls. Removed calls to WM_DESTROY due to memory leak 2019-06-19 08:30:04 -04:00
MikeTheWatchGuy
6d7c610b06
Merge pull request #1582 from PySimpleGUI/Dev-latest
Dev latest
2019-06-18 21:08:05 -04:00
MikeTheWatchGuy
6c3da863d3 Remove unneeded code 2019-06-18 21:07:40 -04:00
MikeTheWatchGuy
6fef817ce4 Warning about PyQt5 2019-06-18 21:06:46 -04:00
novel-yet-trivial
6cf9d2f3cd
fix python2 tkinter import 2019-06-18 12:31:05 -07:00
MikeTheWatchGuy
3bdb9e3a97
Merge pull request #1578 from PySimpleGUI/Dev-latest
Added __version__ (finally), Renamed Debugger class (will help a lot …
2019-06-18 11:47:30 -04:00
MikeTheWatchGuy
eb01f803fb Added __version__ (finally), Renamed Debugger class (will help a lot with IDE) 2019-06-18 11:47:06 -04:00
MikeTheWatchGuy
1a630a4125
Merge pull request #1575 from PySimpleGUI/Dev-latest
Release 4.0
2019-06-17 17:47:40 -04:00
MikeTheWatchGuy
88dabef9a4 Release 4.0 2019-06-17 17:46:04 -04:00
MikeTheWatchGuy
696ac86c80
Merge pull request #1574 from PySimpleGUI/Dev-latest
updated
2019-06-17 16:49:40 -04:00
MikeTheWatchGuy
dd97664592
Merge branch 'master' into Dev-latest 2019-06-17 16:49:32 -04:00
MikeTheWatchGuy
8fd82a7ffe updated 2019-06-17 16:48:13 -04:00
MikeTheWatchGuy
ceebb5511c
Merge pull request #1573 from PySimpleGUI/revert-1572-Dev-latest
Revert "Release 4.0"
2019-06-17 16:39:19 -04:00
1170 changed files with 161918 additions and 64839 deletions

3
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,3 @@
# These are supported funding model platforms
custom: ["https://www.paypal.me/pythongui", "https://www.buymeacoffee.com/PySimpleGUI"]
github: PySimpleGUI

1
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View file

@ -0,0 +1 @@
blank_issues_enabled: false

View file

@ -1,18 +0,0 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''
---
### Type of Issues (Enhancement, Error, Bug, Question)
### Operating System
### Python version
### PySimpleGUI Port and Version
### Code or partial code causing the problem

View file

@ -0,0 +1,96 @@
---
name: Issue Form - **Must fill in this form** with every new issue submitted.
about: This form contains the information needed to help you solve your problem
title: "[ Enhancement/Bug/Question] NOTE - you can also call sg.main() or sg.main_open_github_issue() to post an issue"
labels: ''
assignees: ''
---
### Type of Issue (Enhancement, Error, Bug, Question)
----------------------------------------
#### Operating System
#### PySimpleGUI Port (tkinter, Qt, Wx, Web)
----------------------------------------
## 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`)
#### PySimpleGUI Version (`sg.__version__`)
#### GUI Version (tkinter (`sg.tclversion_detailed`), PySide2, WxPython, Remi)
---------------------
#### Your Experience In Months or Years (optional)
Years Python programming experience
Years Programming experience overall
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
Anything else you think would be helpful?
---------------------
#### Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
- [ ] Searched main docs for your problem www.PySimpleGUI.org
- [ ] Looked for Demo Programs that are similar to your goal. It is recommend you use the Demo Browser! Demos.PySimpleGUI.org
- [ ] None of your GUI code was generated by an AI algorithm like GPT
- [ ] If not tkinter - looked for Demo Programs for specific port
- [ ] For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
- [ ] Run your program outside of your debugger (from a command line)
- [ ] Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
- [ ] 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
#### 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:
```python
# Paste your code here
```
#### 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.

View file

@ -0,0 +1,3 @@
## Pull Request Instructions
**Pull requests are not currently accepted for the project including the core PySimpleGUI code, the Demo Programs and documentation **

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
readme_creator/psg_gui.py

39
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,39 @@
## Contributing to PySimpleGUI
Hi there! Mike here....thank you for taking time to read this document.
### Open Source License, but Private Development
PySimpleGUI is different than most projects on GitHub. It is licensed using the "Open Source License" LGPL3. However, the coding and development of the project is not structured in the same way most open source projects are structured.
This project/account does not accept user submitted code nor documentation.
### You Can Still Contribute
#### Write Applications, Use PySimpleGUI, Make Repos, Post Screenshots, Write Tutorials, Teach Others
These are a few of the ways you can directly contribute to PySimpleGUI. Using the package to make cool stuff and helping others learn how to use it to make cool stuff is a big help to PySimpleGUI. **Everyone** learns from seeing other people's implementations. It's through user's creating applications that new problems and needs are discovered. These have had a profound and positive impact on the project in the past.
#### Make Suggestions
There are 100's of open issues in the main PySimpleGUI GitHub account that are actively worked, daily. There are 1,000s that have been completed. The evolution of PySimpleGUI over the years has been a combination of my vision for the product and ideas from users. So many people have helped make PySimpleGUI better.
### Pull Requests
Pull requests are *not being accepted* for the project. This includes sending code changes via other means than "pull requests". Plainly put, code you send will not be used.
I don't mean to be ugly. This isn't personal. Heck, I don't know "you",the reader personally. It's not about ego. It's complicated. The result is that it allows me to dedicate my life to this project. It's what's required, for whatever reason, for me to do this. That's the best explanation I have. I love and respect the users of this work.
### Bug Fixes
If you file an Issue for a bug, have located the bug, and found a fix in 10 lines of code or less.... and you wish to share your fix with the community, then feel free to include it with the filed Issue. If it's longer than 10 lines and wish to discuss it, then send an email to help@PySimpleGUI.org.
## Thank You
This project comes from a well-meaning, love of computing, and helping others place. It's not about "me", it's about ***you***.
The support from the user community has been ***amazing***. Your passion for creating PySimpleGUI applications is infectious. Every "thank you" is noticed and appreciated! Your passion for wanting to see PySimpleGUI improve is neither ignored nor unappreciated. At a time when the Internet can feel toxic, there's been expressions of appreciation, gratitude, and encouragement that's unbelievable. I'm touched on a very frequent basis and am filled with gratitude myself as a result.
It's understood that this way of development of a Python package is unorthodox. You may find it frustrating and slow, but hope you can respect the decision for it to operate in this manner and be supportive.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

View file

@ -1,233 +0,0 @@
import PySimpleGUI as sg
import os
import sys
import chess
import chess.pgn
import copy
import chess.uci
CHESS_PATH = '.' # path to the chess pieces
BLANK = 0 # piece names
PAWNB = 1
KNIGHTB = 2
BISHOPB = 3
ROOKB = 4
KINGB = 5
QUEENB = 6
PAWNW = 7
KNIGHTW = 8
BISHOPW = 9
ROOKW = 10
KINGW = 11
QUEENW = 12
initial_board = [[ROOKB, KNIGHTB, BISHOPB, QUEENB, KINGB, BISHOPB, KNIGHTB, ROOKB],
[PAWNB, ] * 8,
[BLANK, ] * 8,
[BLANK, ] * 8,
[BLANK, ] * 8,
[BLANK, ] * 8,
[PAWNW, ] * 8,
[ROOKW, KNIGHTW, BISHOPW, QUEENW, KINGW, BISHOPW, KNIGHTW, ROOKW]]
blank = os.path.join(CHESS_PATH, 'blank.png')
bishopB = os.path.join(CHESS_PATH, 'nbishopb.png')
bishopW = os.path.join(CHESS_PATH, 'nbishopw.png')
pawnB = os.path.join(CHESS_PATH, 'npawnb.png')
pawnW = os.path.join(CHESS_PATH, 'npawnw.png')
knightB = os.path.join(CHESS_PATH, 'nknightb.png')
knightW = os.path.join(CHESS_PATH, 'nknightw.png')
rookB = os.path.join(CHESS_PATH, 'nrookb.png')
rookW = os.path.join(CHESS_PATH, 'nrookw.png')
queenB = os.path.join(CHESS_PATH, 'nqueenb.png')
queenW = os.path.join(CHESS_PATH, 'nqueenw.png')
kingB = os.path.join(CHESS_PATH, 'nkingb.png')
kingW = os.path.join(CHESS_PATH, 'nkingw.png')
images = {BISHOPB: bishopB, BISHOPW: bishopW, PAWNB: pawnB, PAWNW: pawnW, KNIGHTB: knightB, KNIGHTW: knightW,
ROOKB: rookB, ROOKW: rookW, KINGB: kingB, KINGW: kingW, QUEENB: queenB, QUEENW: queenW, BLANK: blank}
def open_pgn_file(filename):
pgn = open(filename)
first_game = chess.pgn.read_game(pgn)
moves = [move for move in first_game.main_line()]
return moves
def render_square(image, key, location):
if (location[0] + location[1]) % 2:
color = '#B58863'
else:
color = '#F0D9B5'
return sg.RButton('', image_filename=image, size=(1, 1), button_color=('white', color), pad=(0, 0), key=key)
def redraw_board(window, board):
for i in range(8):
for j in range(8):
color = '#B58863' if (i + j) % 2 else '#F0D9B5'
piece_image = images[board[i][j]]
elem = window.FindElement(key=(i, j))
elem.Update(button_color=('white', color),
image_filename=piece_image, )
def PlayGame():
menu_def = [['&File', ['&Open PGN File', 'E&xit']],
['&Help', '&About...'], ]
# sg.SetOptions(margins=(0,0))
sg.ChangeLookAndFeel('GreenTan')
# create initial board setup
psg_board = copy.deepcopy(initial_board)
# the main board display layout
board_layout = [[sg.T(' ')] + [sg.T('{}'.format(a), pad=((23, 27), 0), font='Any 13') for a in 'abcdefgh']]
# loop though board and create buttons with images
for i in range(8):
row = [sg.T(str(8 - i) + ' ', font='Any 13')]
for j in range(8):
piece_image = images[psg_board[i][j]]
row.append(render_square(piece_image, key=(i, j), location=(i, j)))
row.append(sg.T(str(8 - i) + ' ', font='Any 13'))
board_layout.append(row)
# add the labels across bottom of board
board_layout.append([sg.T(' ')] + [sg.T('{}'.format(a), pad=((23, 27), 0), font='Any 13') for a in 'abcdefgh'])
# setup the controls on the right side of screen
openings = (
'Any', 'Defense', 'Attack', 'Trap', 'Gambit', 'Counter', 'Sicillian', 'English', 'French', 'Queen\'s openings',
'King\'s Openings', 'Indian Openings')
board_controls = [[sg.RButton('New Game', key='New Game'), sg.RButton('Draw')],
[sg.RButton('Resign Game'), sg.RButton('Set FEN')],
[sg.RButton('Player Odds'), sg.RButton('Training')],
[sg.Drop(openings), sg.Text('Opening/Style')],
[sg.CBox('Play As White', key='_white_')],
[sg.Drop([2, 3, 4, 5, 6, 7, 8, 9, 10], size=(3, 1), key='_level_'), sg.Text('Difficulty Level')],
[sg.Text('Move List')],
[sg.Multiline([], do_not_clear=True, autoscroll=True, size=(15, 10), key='_movelist_')],
]
# layouts for the tabs
controls_layout = [[sg.Text('Performance Parameters', font='_ 20')],
[sg.T('Put stuff like AI engine tuning parms on this tab')]]
statistics_layout = [[sg.Text('Statistics', font=('_ 20'))],
[sg.T('Game statistics go here?')]]
board_tab = [[sg.Column(board_layout)]]
# the main window layout
layout = [[sg.Menu(menu_def, tearoff=False)],
[sg.TabGroup([[sg.Tab('Board', board_tab),
sg.Tab('Controls', controls_layout),
sg.Tab('Statistics', statistics_layout)]], title_color='red'),
sg.Column(board_controls)],
[sg.Text('Click anywhere on board for next move', font='_ 14')]]
window = sg.Window('Chess',
default_button_element_size=(12, 1),
auto_size_buttons=False,
icon='kingb.ico').Layout(layout)
filename = sg.PopupGetFile('\n'.join(('To begin, set location of AI EXE file',
'If you have not done so already, download the engine',
'Download the StockFish Chess engine at: https://stockfishchess.org/download/')),
file_types=(('Chess AI Engine EXE File', '*.exe'),))
if filename is None:
sys.exit()
engine = chess.uci.popen_engine(filename)
engine.uci()
info_handler = chess.uci.InfoHandler()
engine.info_handlers.append(info_handler)
board = chess.Board()
move_count = 1
move_state = move_from = move_to = 0
# ---===--- Loop taking in user input --- #
while not board.is_game_over():
if board.turn == chess.WHITE:
engine.position(board)
# human_player(board)
move_state = 0
while True:
button, value = window.Read()
if button in (None, 'Exit'):
exit()
if button == 'New Game':
sg.Popup('You have to restart the program to start a new game... sorry....')
break
psg_board = copy.deepcopy(initial_board)
redraw_board(window, psg_board)
move_state = 0
break
level = value['_level_']
if type(button) is tuple:
if move_state == 0:
move_from = button
row, col = move_from
piece = psg_board[row][col] # get the move-from piece
button_square = window.FindElement(key=(row, col))
button_square.Update(button_color=('white', 'red'))
move_state = 1
elif move_state == 1:
move_to = button
row, col = move_to
if move_to == move_from: # cancelled move
color = '#B58863' if (row + col) % 2 else '#F0D9B5'
button_square.Update(button_color=('white', color))
move_state = 0
continue
picked_move = '{}{}{}{}'.format('abcdefgh'[move_from[1]], 8 - move_from[0],
'abcdefgh'[move_to[1]], 8 - move_to[0])
if picked_move in [str(move) for move in board.legal_moves]:
board.push(chess.Move.from_uci(picked_move))
else:
print('Illegal move')
move_state = 0
color = '#B58863' if (move_from[0] + move_from[1]) % 2 else '#F0D9B5'
button_square.Update(button_color=('white', color))
continue
psg_board[move_from[0]][move_from[1]] = BLANK # place blank where piece was
psg_board[row][col] = piece # place piece in the move-to square
redraw_board(window, psg_board)
move_count += 1
window.FindElement('_movelist_').Update(picked_move + '\n', append=True)
break
else:
engine.position(board)
best_move = engine.go(searchmoves=board.legal_moves, depth=level, movetime=(level * 100)).bestmove
move_str = str(best_move)
from_col = ord(move_str[0]) - ord('a')
from_row = 8 - int(move_str[1])
to_col = ord(move_str[2]) - ord('a')
to_row = 8 - int(move_str[3])
window.FindElement('_movelist_').Update(move_str + '\n', append=True)
piece = psg_board[from_row][from_col]
psg_board[from_row][from_col] = BLANK
psg_board[to_row][to_col] = piece
redraw_board(window, psg_board)
board.push(best_move)
move_count += 1
sg.Popup('Game over!', 'Thank you for playing')
# Download the StockFish Chess engine at: https://stockfishchess.org/download/
# engine = chess.uci.popen_engine(r'E:\DownloadsE\stockfish-9-win\Windows\stockfish_9_x64.exe')
# engine.uci()
# info_handler = chess.uci.InfoHandler()
# engine.info_handlers.append(info_handler)
# level = 2
PlayGame()

View file

@ -1,160 +0,0 @@
import PySimpleGUI as sg
import os
import chess
import chess.pgn
import copy
import time
button_names = ('close', 'cookbook', 'cpu', 'github', 'pysimplegui', 'run', 'storage', 'timer')
CHESS_PATH = '.' # path to the chess pieces
BLANK = 0 # piece names
PAWNB = 1
KNIGHTB = 2
BISHOPB = 3
ROOKB = 4
KINGB = 5
QUEENB = 6
PAWNW = 7
KNIGHTW = 8
BISHOPW = 9
ROOKW = 10
KINGW = 11
QUEENW = 12
initial_board = [[ROOKB, KNIGHTB, BISHOPB, KINGB, QUEENB, BISHOPB, KNIGHTB, ROOKB ],
[PAWNB,]*8,
[BLANK,]*8,
[BLANK,]*8,
[BLANK,]*8,
[BLANK,]*8,
[PAWNW,]*8,
[ROOKW, KNIGHTW, BISHOPW, KINGW, QUEENW, BISHOPW, KNIGHTW, ROOKW]]
blank = os.path.join(CHESS_PATH, 'blank.png')
bishopB = os.path.join(CHESS_PATH, 'nbishopb.png')
bishopW = os.path.join(CHESS_PATH, 'nbishopw.png')
pawnB = os.path.join(CHESS_PATH, 'npawnb.png')
pawnW = os.path.join(CHESS_PATH, 'npawnw.png')
knightB = os.path.join(CHESS_PATH, 'nknightb.png')
knightW = os.path.join(CHESS_PATH, 'nknightw.png')
rookB = os.path.join(CHESS_PATH, 'nrookb.png')
rookW = os.path.join(CHESS_PATH, 'nrookw.png')
queenB = os.path.join(CHESS_PATH, 'nqueenB.png')
queenW = os.path.join(CHESS_PATH, 'nqueenW.png')
kingB = os.path.join(CHESS_PATH, 'nkingb.png')
kingW = os.path.join(CHESS_PATH, 'nkingw.png')
images = {BISHOPB: bishopB, BISHOPW: bishopW, PAWNB: pawnB, PAWNW: pawnW, KNIGHTB: knightB, KNIGHTW: knightW,
ROOKB: rookB, ROOKW: rookW, KINGB: kingB, KINGW: kingW, QUEENB: queenB, QUEENW: queenW, BLANK: blank}
def open_pgn_file(filename):
pgn = open(filename)
first_game = chess.pgn.read_game(pgn)
moves = [move for move in first_game.main_line()]
return moves
def render_square(image, key, location):
if (location[0] + location[1]) % 2:
color = '#B58863'
else:
color = '#F0D9B5'
return sg.RButton('', image_filename=image, size=(1, 1), button_color=('white', color), pad=(0, 0), key=key)
def redraw_board(window, board):
for i in range(8):
for j in range(8):
color = '#B58863' if (i+j) % 2 else '#F0D9B5'
piece_image = images[board[i][j]]
elem = window.FindElement(key=(i,j))
elem.Update(button_color = ('white', color),
image_filename=piece_image,)
def PlayGame():
menu_def = [['&File', ['&Open PGN File', 'E&xit' ]],
['&Help', '&About...'],]
# sg.SetOptions(margins=(0,0))
sg.ChangeLookAndFeel('GreenTan')
# create initial board setup
board = copy.deepcopy(initial_board)
# the main board display layout
board_layout = [[sg.T(' ')] + [sg.T('{}'.format(a), pad=((23,27),0), font='Any 13') for a in 'abcdefgh']]
# loop though board and create buttons with images
for i in range(8):
row = [sg.T(str(8-i)+' ', font='Any 13')]
for j in range(8):
piece_image = images[board[i][j]]
row.append(render_square(piece_image, key=(i,j), location=(i,j)))
row.append(sg.T(str(8-i)+' ', font='Any 13'))
board_layout.append(row)
# add the labels across bottom of board
board_layout.append([sg.T(' ')] + [sg.T('{}'.format(a), pad=((23,27),0), font='Any 13') for a in 'abcdefgh'])
# setup the controls on the right side of screen
openings = ('Any', 'Defense', 'Attack', 'Trap', 'Gambit','Counter', 'Sicillian', 'English','French', 'Queen\'s openings', 'King\'s Openings','Indian Openings')
board_controls = [[sg.RButton('New Game', key='Open PGN File'), sg.RButton('Draw')],
[sg.RButton('Resign Game'), sg.RButton('Set FEN')],
[sg.RButton('Player Odds'),sg.RButton('Training') ],
[sg.Drop(openings),sg.Text('Opening/Style')],
[sg.CBox('Play a White', key='_white_')],
[sg.Text('Move List')],
[sg.Multiline([], do_not_clear=True, autoscroll=True, size=(15,10),key='_movelist_')],]
# layouts for the tabs
controls_layout = [[sg.Text('Performance Parameters', font='_ 20')],
[sg.T('Put stuff like AI engine tuning parms on this tab')]]
statistics_layout = [[sg.Text('Statistics', font=('_ 20'))],
[sg.T('Game statistics go here?')]]
board_tab = [[sg.Column(board_layout)]]
# the main window layout
layout = [[sg.Menu(menu_def, tearoff=False)],
[sg.TabGroup([[sg.Tab('Board',board_tab),
sg.Tab('Controls', controls_layout),
sg.Tab('Statistics', statistics_layout)]], title_color='red'),
sg.Column(board_controls)],
[sg.Text('Click anywhere on board for next move', font='_ 14')]]
window = sg.Window('Chess', default_button_element_size=(12,1), auto_size_buttons=False, icon='kingb.ico').Layout(layout)
# ---===--- Loop taking in user input --- #
i = 0
moves = None
while True:
button, value = window.Read()
if button in (None, 'Exit'):
break
if button == 'Open PGN File':
filename = sg.PopupGetFile('', no_window=True)
if filename is not None:
moves = open_pgn_file(filename)
i = 0
board = copy.deepcopy(initial_board)
window.FindElement('_movelist_').Update(value='')
if button == 'About...':
sg.Popup('Powerd by Engine Kibitz Chess Engine')
if type(button) is tuple and moves is not None and i < len(moves):
move = moves[i] # get the current move
window.FindElement('_movelist_').Update(value='{} {}\n'.format(i+1, str(move)), append=True)
move_from = move.from_square # parse the move-from and move-to squares
move_to = move.to_square
row, col = move_from // 8, move_from % 8
piece = board[row][col] # get the move-from piece
button = window.FindElement(key=(row,col))
for x in range(3):
button.Update(button_color = ('white' , 'red' if x % 2 else 'white'))
window.Refresh()
time.sleep(.05)
board[row][col] = BLANK # place blank where piece was
row, col = move_to // 8, move_to % 8 # compute move-to square
board[row][col] = piece # place piece in the move-to square
redraw_board(window, board)
i += 1
PlayGame()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -1,36 +0,0 @@
[Event "Wch U12"]
[Site "Duisburg"]
[Date "1992.??.??"]
[Round "1"]
[White "Malakhov, Vladimir"]
[Black "Ab Rahman, M."]
[Result "1-0"]
[WhiteElo ""]
[BlackElo ""]
[ECO "A05"]
1.Nf3 Nf6 2.b3 g6 3.Bb2 Bg7 4.g3 d6 5.Bg2 O-O 6.O-O c6 7.d3 e5 8.c4 Ne8 9.Nbd2 f5
10.Qc2 Na6 11.c5 Nxc5 12.Nxe5 Qe7 13.d4 Na6 14.Qc4+ Kh8 15.Nef3 Be6 16.Qc3 f4
17.gxf4 Rxf4 18.Qe3 Rf8 19.Ng5 Nec7 20.Nc4 Rae8 21.Nxe6 Qxe6 22.Qxe6 Rxe6
23.e3 d5 24.Ne5 g5 25.Ba3 Rff6 26.Bh3 Re8 27.Bd7 Rd8 28.Be7 Rxd7 29.Bxf6 1-0
[Event "Wch U12"]
[Site "Duisburg"]
[Date "1992.??.??"]
[Round "2"]
[White "Malakhov, Vladimir"]
[Black "Berescu, Alin"]
[Result "1-0"]
[WhiteElo ""]
[BlackElo ""]
[ECO "D05"]
1.d4 Nf6 2.Nd2 d5 3.Ngf3 e6 4.e3 c5 5.c3 Nbd7 6.Bd3 Bd6 7.O-O O-O 8.Re1 b6
9.e4 dxe4 10.Nxe4 Be7 11.Ne5 Bb7 12.Ng5 g6 13.Qe2 Nxe5 14.dxe5 Nh5 15.Ne4 Qd5
16.f4 Rfd8 17.Bc2 Qc6 18.Be3 Rd7 19.Rad1 Rad8 20.Rxd7 Rxd7 21.Nd2 Ng7 22.Be4 Qc8
23.g4 Qd8 24.Bxb7 Rxb7 25.Ne4 Rd7 26.c4 h5 27.h3 h4 28.Kh2 Ne8 29.f5 Qc7
30.Bf4 Rd4 31.Qf2 Rxc4 32.f6 Qb7 33.Ng5 Bf8 34.b3 Rc3 35.Qd2 Rf3 36.Nxf3 Qxf3
37.Qe3 Qd5 38.Qe4 Qd7 39.Qf3 Nc7 40.Rd1 Nd5 41.Bg5 Qc7 42.Re1 b5 43.Qd1 c4
44.Qc1 Bb4 45.Bd2 Bxd2 46.Qxd2 Nxf6 47.bxc4 bxc4 48.Qd6 Qa5 49.Rf1 Nd5 50.Qd7 Qd2+
51.Kh1 f5 52.exf6 1-0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 797 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -1,13 +0,0 @@
# PySimpleGUI-Chess A Chess Game Playback Program
## Introduction
This is the start of a front-end GUI for an AI engine that plays chess. It simply reads moves the a PGN file and steps through it showing each of the moves on the board.
To play against the AI run the program
Demo_Chess_AGAINST_AI.py
Locate where the pacakge was installed and run the programs from that folder. You need to run from the installed folder so that the images of the chess pieces are located.
## Home Page (GitHub)
[www.PySimpleGUI.com](www.PySimpleGUI.com)

View file

@ -1,2 +0,0 @@
PySimpleGUI==3.9.1
python-chess==0.23.9

Binary file not shown.

Before

Width:  |  Height:  |  Size: 725 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 933 B

View file

@ -0,0 +1,747 @@
import os.path
import sys
import mmap, re
import warnings
import PySimpleGUI as sg
__version__ = '1.12.2'
"""
PySimpleGUI Demo Program Browser
Originaly written for PySimpleGUI Demo Programs, but expanded to
be a general purpose tool. Enable Advanced Mode in settings for more fun
Use to filter and search your source code tree.
Then run or edit your files
Filter the list of :
* Search using filename
* Searching within the programs' source code (like grep)
The basic file operations are
* Edit a file in your editor
* Run a file
* Filter file list
* Search in files
* Run a regular expression search on all files
* Display the matching line in a file
Additional operations
* Edit this file in editor
Keeps a "history" of the previously chosen folders to easy switching between projects
Versions:
1.8.0 - Addition of option to show ALL file types, not just Python files
1.12.0 - Fix for problem with spaces in filename and using an editor specified in the demo program settings
1.12.2 - Better error handling for no editor configured
Copyright 2021, 2022 PySimpleGUI.org
"""
python_only = True
def get_file_list_dict():
"""
Returns dictionary of files
Key is short filename
Value is the full filename and path
:return: Dictionary of demo files
:rtype: Dict[str:str]
"""
demo_path = get_demo_path()
demo_files_dict = {}
for dirname, dirnames, filenames in os.walk(demo_path):
for filename in filenames:
if python_only is not True or filename.endswith('.py') or filename.endswith('.pyw'):
fname_full = os.path.join(dirname, filename)
if filename not in demo_files_dict.keys():
demo_files_dict[filename] = fname_full
else:
# Allow up to 100 dupicated names. After that, give up
for i in range(1, 100):
new_filename = f'{filename}_{i}'
if new_filename not in demo_files_dict:
demo_files_dict[new_filename] = fname_full
break
return demo_files_dict
def get_file_list():
"""
Returns list of filenames of files to display
No path is shown, only the short filename
:return: List of filenames
:rtype: List[str]
"""
return sorted(list(get_file_list_dict().keys()))
def get_demo_path():
"""
Get the top-level folder path
:return: Path to list of files using the user settings for this file. Returns folder of this file if not found
:rtype: str
"""
demo_path = sg.user_settings_get_entry('-demos folder-', os.path.dirname(__file__))
return demo_path
def get_global_editor():
"""
Get the path to the editor based on user settings or on PySimpleGUI's global settings
:return: Path to the editor
:rtype: str
"""
try: # in case running with old version of PySimpleGUI that doesn't have a global PSG settings path
global_editor = sg.pysimplegui_user_settings.get('-editor program-')
except:
global_editor = ''
return global_editor
def get_editor():
"""
Get the path to the editor based on user settings or on PySimpleGUI's global settings
:return: Path to the editor
:rtype: str
"""
try: # in case running with old version of PySimpleGUI that doesn't have a global PSG settings path
global_editor = sg.pysimplegui_user_settings.get('-editor program-')
except:
global_editor = ''
user_editor = sg.user_settings_get_entry('-editor program-', '')
if user_editor == '':
user_editor = global_editor
return user_editor
def using_local_editor():
user_editor = sg.user_settings_get_entry('-editor program-', None)
return get_editor() == user_editor
def get_explorer():
"""
Get the path to the file explorer program
:return: Path to the file explorer EXE
:rtype: str
"""
try: # in case running with old version of PySimpleGUI that doesn't have a global PSG settings path
global_explorer = sg.pysimplegui_user_settings.get('-explorer program-', '')
except:
global_explorer = ''
explorer = sg.user_settings_get_entry('-explorer program-', '')
if explorer == '':
explorer = global_explorer
return explorer
def advanced_mode():
"""
Returns True is advanced GUI should be shown
:return: True if user indicated wants the advanced GUI to be shown (set in the settings window)
:rtype: bool
"""
return sg.user_settings_get_entry('-advanced mode-', True)
def get_theme():
"""
Get the theme to use for the program
Value is in this program's user settings. If none set, then use PySimpleGUI's global default theme
:return: The theme
:rtype: str
"""
# First get the current global theme for PySimpleGUI to use if none has been set for this program
try:
global_theme = sg.theme_global()
except:
global_theme = sg.theme()
# Get theme from user settings for this program. Use global theme if no entry found
user_theme = sg.user_settings_get_entry('-theme-', '')
if user_theme == '':
user_theme = global_theme
return user_theme
# We handle our code properly. But in case the user types in a flag, the flags are now in the middle of a regex. Ignore this warning.
warnings.filterwarnings("ignore", category=DeprecationWarning)
# New function
def get_line_number(file_path, string, dupe_lines):
lmn = 0
with open(file_path, encoding="utf-8") as f:
for num, line in enumerate(f, 1):
if string.strip() == line.strip() and num not in dupe_lines:
lmn = num
return lmn
def kill_ascii(s):
return "".join([x if ord(x) < 128 else '?' for x in s])
def find_in_file(string, demo_files_dict, regex=False, verbose=False, window=None, ignore_case=True, show_first_match=True):
"""
Search through the demo files for a string.
The case of the string and the file contents are ignored
:param string: String to search for
:param verbose: if True print the FIRST match
:type verbose: bool
:param find_all_matches: if True, then return all matches in the dictionary
:type find_all_matches: bool
:return: List of files containing the string
:rtype: List[str]
"""
# So you face a predicament here. You wish to read files, both small and large; however the bigger the file/bigger the list, the longer to read the file.
# This probably isn't what you want, right?
# Well, we can't use a direct command line to run grep and parse. But it is an option. The user may not have it.
# We could check if grep exists and if not use our method; but it isn't the best way.
# So using background knowldge, we know that grep is *very* fast.
#
# Why?
# Grep reads a *ton* of files into memory then searches through the memory to find the string or regex/pattern corresponding to the file.
# (This is useful if you ever accidently delete a file, grep may be able to get you the contents of it again!)
# How can we load a file into memory on python as fast as grep whilst keeping it universal?
# memory mapping (mmap).
# We can't load a lot of files into memory as we may face issues with watchdog on other operating systems. So we load one file at a time and search though there.
# This will allow the fastest searching and loading of a file without sacrificing read times.
# 2.8 seconds on the highend for both small and large files in memory.
# We also don't have to iterate over lines this way.
file_list = []
num_files = 0
matched_dict = {}
for file in demo_files_dict:
try:
full_filename = demo_files_dict[file]
if not demo_files_dict == get_file_list_dict():
full_filename = full_filename[0]
matches = None
with open(full_filename, 'rb', 0) as f, mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ) as s:
if regex:
window['-FIND NUMBER-'].update(f'{num_files} files')
window.refresh()
matches = re.finditer(bytes("^.*(" + string + ").*$", 'utf-8'), s, re.MULTILINE)
if matches:
for match in matches:
if match is not None:
if file not in file_list:
file_list.append(file)
num_files += 1
if verbose:
sg.cprint(f"{file}:", c = 'white on green')
sg.cprint(f"{match.group(0).decode('utf-8')}\n")
else:
window['-FIND NUMBER-'].update(f'{num_files} files')
window.refresh()
matches = None
if ignore_case:
if show_first_match:
matches = re.search(br'(?i)^' + bytes(".*("+re.escape(string.lower()) + ").*$", 'utf-8'), s, re.MULTILINE)
else:
matches = re.finditer(br'(?i)^' + bytes(".*("+re.escape(string.lower()) + ").*$", 'utf-8'), s, re.MULTILINE)
else:
if show_first_match:
matches = re.search(br'^' + bytes(".*("+re.escape(string) + ").*$", 'utf-8'), s, re.MULTILINE)
else:
matches = re.finditer(br'^' + bytes(".*("+re.escape(string) + ").*$", 'utf-8'), s, re.MULTILINE)
if matches:
if show_first_match:
#file_list.append(file)
#num_files += 1
match_array = []
matched_str = matches.group(0).decode('utf-8')
if not all(x in matched_str for x in ("b'", '=')) and len(matched_str) < 500:
# safe to assume this is not a base64 string as it does not contain the proper ending
match_array.append(matches.group(0).decode('utf-8'))
matched_dict[full_filename] = match_array
file_list.append(file)
num_files += 1
else:
# We need to do this because strings are "falsy" in Python, but empty matches still return True...
append_file = False
match_array = []
for match_ in matches:
matched_str = match_.group(0).decode('utf-8')
if matched_str:
if not all(x in matched_str for x in ("b'", '=')) and len(matched_str) < 500:
# if len(match_str) < 500 and "=" not in match_str and "b'" not in match_str:
match_array.append(matched_str)
append_file = True
if append_file:
file_list.append(file)
num_files += 1
matched_dict[full_filename] = match_array
# del matches
except ValueError:
del matches
except Exception as e:
exc_type, exc_obj, exc_tb = sys.exc_info()
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
print(exc_type, fname, exc_tb.tb_lineno)
print(f'{file}', e, file=sys.stderr)
# Format of the matches dictionary
# Filename, [num1, num2, num3]
file_lines_dict = {}
list_of_matches = []
if not regex:
for key in matched_dict:
head, tail = os.path.split(key)
# Tails. Don't wanna put Washington in places he doesn't want to be.
file_array_old = [key]
file_array_new = []
file_match_list = []
if verbose:
sg.cprint(f"{tail}:", c='white on green')
try:
dupe_lines = []
for _match in matched_dict[key]:
line_num_match = get_line_number(key, _match, dupe_lines)
dupe_lines.append(line_num_match)
file_array_new.append(line_num_match)
file_match_list.append(_match) # I *really* overthinked this.
if verbose:
sg.cprint(f"Line: {line_num_match} ", c='white on purple', end='')
sg.cprint(f"{_match.strip()}\n")
# Make a list of the matches found in this file to add to the dictionry
list_of_matches.append(_match.strip())
file_array_old.append(file_array_new)
file_array_old.append(file_match_list)
if tail in file_lines_dict:
for i in range(1, 100):
new_tail = f'{tail}_{i}'
if new_tail not in file_lines_dict:
file_lines_dict[new_tail] = file_array_old
break
else:
file_lines_dict[tail] = file_array_old
except Exception as e:
pass
find_in_file.file_list_dict = file_lines_dict
file_list = list(set(file_list))
return file_list
def window_choose_line_to_edit(filename, full_filename, line_num_list, match_list):
# sg.popup('matches previously found for this file:', filename, line_num_list)
i = 0
if len(line_num_list) == 1:
return full_filename, line_num_list[0]
layout = [[sg.T(f'Choose line from {filename}', font='_ 14')]]
for line in sorted(set(line_num_list)):
match_text = match_list[i]
layout += [[sg.Text(f'Line {line} : {match_text}', key=('-T-', line), enable_events=True, size=(min(len(match_text), 90), None))]]
i += 1
layout += [[sg.B('Cancel')]]
window = sg.Window('Open Editor', layout)
line_chosen = line_num_list[0]
while True:
event, values = window.read()
if event in ('Cancel', sg.WIN_CLOSED):
line_chosen = None
break
# At this point we know a line was chosen
line_chosen = event[1]
break
window.close()
return full_filename, line_chosen
def settings_window():
"""
Show the settings window.
This is where the folder paths and program paths are set.
Returns True if settings were changed
:return: True if settings were changed
:rtype: (bool)
"""
try:
global_editor = sg.pysimplegui_user_settings.get('-editor program-')
except:
global_editor = ''
try:
global_explorer = sg.pysimplegui_user_settings.get('-explorer program-')
except:
global_explorer = ''
try: # in case running with old version of PySimpleGUI that doesn't have a global PSG settings path
global_theme = sg.theme_global()
except:
global_theme = ''
layout = [[sg.T('Program Settings', font='DEFAULT 25')],
[sg.T('Path to Tree', font='_ 16')],
[sg.Combo(sorted(sg.user_settings_get_entry('-folder names-', [])), default_value=sg.user_settings_get_entry('-demos folder-', get_demo_path()), size=(50, 1), key='-FOLDERNAME-'),
sg.FolderBrowse('Folder Browse', target='-FOLDERNAME-'), sg.B('Clear History')],
[sg.T('Editor Program', font='_ 16')],
[sg.T('Leave blank to use global default'), sg.T(global_editor)],
[ sg.In(sg.user_settings_get_entry('-editor program-', ''),k='-EDITOR PROGRAM-'), sg.FileBrowse()],
[sg.T('File Explorer Program', font='_ 16')],
[sg.T('Leave blank to use global default'), sg.T(global_explorer)],
[ sg.In(sg.user_settings_get_entry('-explorer program-'), k='-EXPLORER PROGRAM-'), sg.FileBrowse()],
[sg.T('Theme', font='_ 16')],
[sg.T('Leave blank to use global default'), sg.T(global_theme)],
[sg.Combo(['']+sg.theme_list(),sg.user_settings_get_entry('-theme-', ''), readonly=True, k='-THEME-')],
[sg.T('Double-click a File Will:'), sg.R('Run', 2, sg.user_settings_get_entry('-dclick runs-', False), k='-DCLICK RUNS-'), sg.R('Edit', 2, sg.user_settings_get_entry('-dclick edits-', False), k='-DCLICK EDITS-'), sg.R('Nothing', 2, sg.user_settings_get_entry('-dclick none-', False), k='-DCLICK NONE-')],
[sg.CB('Use Advanced Interface', default=advanced_mode() ,k='-ADVANCED MODE-')],
[sg.B('Ok', bind_return_key=True), sg.B('Cancel')],
]
window = sg.Window('Settings', layout)
settings_changed = False
while True:
event, values = window.read()
if event in ('Cancel', sg.WIN_CLOSED):
break
if event == 'Ok':
sg.user_settings_set_entry('-demos folder-', values['-FOLDERNAME-'])
sg.user_settings_set_entry('-editor program-', values['-EDITOR PROGRAM-'])
sg.user_settings_set_entry('-theme-', values['-THEME-'])
sg.user_settings_set_entry('-folder names-', list(set(sg.user_settings_get_entry('-folder names-', []) + [values['-FOLDERNAME-'], ])))
sg.user_settings_set_entry('-explorer program-', values['-EXPLORER PROGRAM-'])
sg.user_settings_set_entry('-advanced mode-', values['-ADVANCED MODE-'])
sg.user_settings_set_entry('-dclick runs-', values['-DCLICK RUNS-'])
sg.user_settings_set_entry('-dclick edits-', values['-DCLICK EDITS-'])
sg.user_settings_set_entry('-dclick nothing-', values['-DCLICK NONE-'])
settings_changed = True
break
elif event == 'Clear History':
sg.user_settings_set_entry('-folder names-', [])
sg.user_settings_set_entry('-last filename-', '')
window['-FOLDERNAME-'].update(values=[], value='')
window.close()
return settings_changed
ML_KEY = '-ML-' # Multline's key
# --------------------------------- Create the window ---------------------------------
def make_window():
"""
Creates the main window
:return: The main window object
:rtype: (sg.Window)
"""
theme = get_theme()
if not theme:
theme = sg.OFFICIAL_PYSIMPLEGUI_THEME
sg.theme(theme)
# First the window layout...2 columns
find_tooltip = "Find in file\nEnter a string in box to search for string inside of the files.\nFile list will update with list of files string found inside."
filter_tooltip = "Filter files\nEnter a string in box to narrow down the list of files.\nFile list will update with list of files with string in filename."
find_re_tooltip = "Find in file using Regular Expression\nEnter a string in box to search for string inside of the files.\nSearch is performed after clicking the FindRE button."
left_col = sg.Column([
[sg.Listbox(values=get_file_list(), select_mode=sg.SELECT_MODE_EXTENDED, size=(50,20), bind_return_key=True, key='-DEMO LIST-', expand_x=True, expand_y=True)],
[sg.Text('Filter (F1):', tooltip=filter_tooltip), sg.Input(size=(25, 1), focus=True, enable_events=True, key='-FILTER-', tooltip=filter_tooltip),
sg.T(size=(15,1), k='-FILTER NUMBER-')],
[sg.Button('Run'), sg.B('Edit'), sg.B('Clear'), sg.B('Open Folder'), sg.B('Copy Path')],
[sg.Text('Find (F2):', tooltip=find_tooltip), sg.Input(size=(25, 1), enable_events=True, key='-FIND-', tooltip=find_tooltip),
sg.T(size=(15,1), k='-FIND NUMBER-')],
], element_justification='l', expand_x=True, expand_y=True)
lef_col_find_re = sg.pin(sg.Col([
[sg.Text('Find (F3):', tooltip=find_re_tooltip), sg.Input(size=(25, 1),key='-FIND RE-', tooltip=find_re_tooltip),sg.B('Find RE')]], k='-RE COL-'))
right_col = [
[sg.Multiline(size=(70, 21), write_only=True, expand_x=True, expand_y=True, key=ML_KEY, reroute_stdout=True, echo_stdout_stderr=True, reroute_cprint=True)],
[sg.B('Settings'), sg.Button('Exit')],
[sg.T('Demo Browser Ver ' + __version__)],
[sg.T('PySimpleGUI ver ' + sg.version.split(' ')[0] + ' tkinter ver ' + sg.tclversion_detailed, font='Default 8', pad=(0,0))],
[sg.T('Python ver ' + sys.version, font='Default 8', pad=(0,0))],
[sg.T('Interpreter ' + sg.execute_py_get_interpreter(), font='Default 8', pad=(0,0))],
]
options_at_bottom = sg.pin(sg.Column([[sg.CB('Verbose', enable_events=True, k='-VERBOSE-', tooltip='Enable to see the matches in the right hand column'),
sg.CB('Show only first match in file', default=True, enable_events=True, k='-FIRST MATCH ONLY-', tooltip='Disable to see ALL matches found in files'),
sg.CB('Find ignore case', default=True, enable_events=True, k='-IGNORE CASE-'),
sg.CB('Wait for Runs to Complete', default=False, enable_events=True, k='-WAIT-'),
sg.CB('Show ALL file types', default=not python_only, enable_events=True, k='-SHOW ALL FILES-'),
]],
pad=(0,0), k='-OPTIONS BOTTOM-', expand_x=True, expand_y=False), expand_x=True, expand_y=False)
choose_folder_at_top = sg.pin(sg.Column([[sg.T('Click settings to set top of your tree or choose a previously chosen folder'),
sg.Combo(sorted(sg.user_settings_get_entry('-folder names-', [])), default_value=sg.user_settings_get_entry('-demos folder-', ''), size=(50, 30), key='-FOLDERNAME-', enable_events=True, readonly=True)]], pad=(0,0), k='-FOLDER CHOOSE-'))
# ----- Full layout -----
layout = [[sg.Text('PySimpleGUI Demo Program & Project Browser', font='Any 20')],
[choose_folder_at_top],
# [sg.Column([[left_col],[ lef_col_find_re]], element_justification='l', expand_x=True, expand_y=True), sg.Column(right_col, element_justification='c', expand_x=True, expand_y=True)],
[sg.Pane([sg.Column([[left_col],[ lef_col_find_re]], element_justification='l', expand_x=True, expand_y=True), sg.Column(right_col, element_justification='c', expand_x=True, expand_y=True) ], orientation='h', relief=sg.RELIEF_SUNKEN, expand_x=True, expand_y=True, k='-PANE-')],
[options_at_bottom, sg.Sizegrip()]]
# --------------------------------- Create Window ---------------------------------
window = sg.Window('PSG Demo & Project Browser', layout, finalize=True, resizable=True, use_default_focus=False, right_click_menu=sg.MENU_RIGHT_CLICK_EDITME_VER_EXIT)
window.set_min_size(window.size)
# window.bind("<Alt_L><x>", 'Exit') # matches the underscore shown on the Exit button (For now disabled this feature until buttons with underscore released to PyPI)
window.bind('<F1>', '-FOCUS FILTER-')
window.bind('<F2>', '-FOCUS FIND-')
window.bind('<F3>', '-FOCUS RE FIND-')
if not advanced_mode():
window['-FOLDER CHOOSE-'].update(visible=False)
window['-RE COL-'].update(visible=False)
window['-OPTIONS BOTTOM-'].update(visible=False)
# sg.cprint_set_output_destination(window, ML_KEY)
window.bring_to_front()
return window
# --------------------------------- Main Program Layout ---------------------------------
def main():
"""
The main program that contains the event loop.
It will call the make_window function to create the window.
"""
global python_only
try:
version = sg.version
version_parts = version.split('.')
major_version, minor_version = int(version_parts[0]), int(version_parts[1])
if major_version < 4 or (major_version== 4 and minor_version < 32):
sg.popup('Warning - Your PySimpleGUI version is less then 4.35.0',
'As a result, you will not be able to use the EDIT features of this program',
'Please upgrade to at least 4.35.0',
f'You are currently running version:',
sg.version,
background_color='red', text_color='white')
except Exception as e:
print(f'** Warning Exception parsing version: {version} ** ', f'{e}')
icon = sg.EMOJI_BASE64_HAPPY_IDEA
sg.user_settings_filename('psgdemos.json')
sg.set_options(icon=icon)
find_in_file.file_list_dict = None
old_typed_value = None
file_list_dict = get_file_list_dict()
file_list = get_file_list()
window = make_window()
window['-FILTER NUMBER-'].update(f'{len(file_list)} files')
window.force_focus()
counter = 0
while True:
event, values = window.read()
# print(event, values)
counter += 1
if event in (sg.WINDOW_CLOSED, 'Exit'):
break
if event == '-DEMO LIST-': # if double clicked (used the bind return key parm)
if sg.user_settings_get_entry('-dclick runs-'):
event = 'Run'
elif sg.user_settings_get_entry('-dclick edits-'):
event = 'Edit'
if event == 'Edit':
editor_program = get_editor()
for file in values['-DEMO LIST-']:
if find_in_file.file_list_dict is not None:
full_filename, line = window_choose_line_to_edit(file, find_in_file.file_list_dict[file][0], find_in_file.file_list_dict[file][1], find_in_file.file_list_dict[file][2])
else:
full_filename, line = get_file_list_dict()[file], 1
if line is not None:
sg.cprint(f'Editing using {editor_program}', c='white on red', end='')
sg.cprint('')
sg.cprint(f'{full_filename}', c='white on purple')
if not get_editor():
sg.popup_error_with_traceback('No editor has been configured', 'You need to configure an editor in order to use this feature', 'You can configure the editor in the Demo Brower Settings or the PySimpleGUI Global Settings')
else:
if using_local_editor():
sg.execute_command_subprocess(editor_program, f'"{full_filename}"')
else:
try:
sg.execute_editor(full_filename, line_number=int(line))
except:
sg.execute_command_subprocess(editor_program, f'"{full_filename}"')
else:
sg.cprint('Editing canceled')
elif event == 'Run':
sg.cprint('Running....', c='white on green', end='')
sg.cprint('')
for file in values['-DEMO LIST-']:
file_to_run = str(file_list_dict[file])
sg.cprint(file_to_run,text_color='white', background_color='purple')
try:
sp = sg.execute_py_file(file_to_run, pipe_output=values['-WAIT-'])
except Exception as e:
sg.cprint(f'Error trying to run python file. Error info:', e, c='white on red')
try:
if values['-WAIT-']:
sg.cprint(f'Waiting on results..', text_color='white', background_color='red', end='')
while True:
results = sg.execute_get_results(sp)
sg.cprint(f'STDOUT:', text_color='white', background_color='green')
sg.cprint(results[0])
sg.cprint(f'STDERR:', text_color='white', background_color='green')
sg.cprint(results[1])
if not sg.execute_subprocess_still_running(sp):
break
except AttributeError:
sg.cprint('Your version of PySimpleGUI needs to be upgraded to fully use the "WAIT" feature.', c='white on red')
elif event.startswith('Edit Me'):
editor_program = get_editor()
sg.cprint(f'opening using {editor_program}:')
sg.cprint(f'{__file__}', text_color='white', background_color='red', end='')
sg.execute_command_subprocess(f'{editor_program}', f'"{__file__}"')
elif event == '-FILTER-':
new_list = [i for i in file_list if values['-FILTER-'].lower() in i.lower()]
window['-DEMO LIST-'].update(new_list)
window['-FILTER NUMBER-'].update(f'{len(new_list)} files')
window['-FIND NUMBER-'].update('')
window['-FIND-'].update('')
window['-FIND RE-'].update('')
elif event == '-FOCUS FIND-':
window['-FIND-'].set_focus()
elif event == '-FOCUS FILTER-':
window['-FILTER-'].set_focus()
elif event == '-FOCUS RE FIND-':
window['-FIND RE-'].set_focus()
elif event == '-FIND-' or event == '-FIRST MATCH ONLY-' or event == '-VERBOSE-' or event == '-FIND RE-':
is_ignore_case = values['-IGNORE CASE-']
old_ignore_case = False
current_typed_value = str(values['-FIND-'])
if len(values['-FIND-']) == 1:
window[ML_KEY].update('')
window['-VERBOSE-'].update(False)
values['-VERBOSE-'] = False
if values['-VERBOSE-']:
window[ML_KEY].update('')
if values['-FIND-']:
if find_in_file.file_list_dict is None or old_typed_value is None or old_ignore_case is not is_ignore_case:
# New search.
old_typed_value = current_typed_value
file_list = find_in_file(values['-FIND-'], get_file_list_dict(), verbose=values['-VERBOSE-'], window=window, ignore_case=is_ignore_case, show_first_match=values['-FIRST MATCH ONLY-'])
elif current_typed_value.startswith(old_typed_value) and old_ignore_case is is_ignore_case:
old_typed_value = current_typed_value
file_list = find_in_file(values['-FIND-'], find_in_file.file_list_dict, verbose=values['-VERBOSE-'], window=window, ignore_case=is_ignore_case, show_first_match=values['-FIRST MATCH ONLY-'])
else:
old_typed_value = current_typed_value
file_list = find_in_file(values['-FIND-'], get_file_list_dict(), verbose=values['-VERBOSE-'], window=window, ignore_case=is_ignore_case, show_first_match=values['-FIRST MATCH ONLY-'])
window['-DEMO LIST-'].update(sorted(file_list))
window['-FIND NUMBER-'].update(f'{len(file_list)} files')
window['-FILTER NUMBER-'].update('')
window['-FIND RE-'].update('')
window['-FILTER-'].update('')
elif values['-FIND RE-']:
window['-ML-'].update('')
file_list = find_in_file(values['-FIND RE-'], get_file_list_dict(), regex=True, verbose=values['-VERBOSE-'],window=window)
window['-DEMO LIST-'].update(sorted(file_list))
window['-FIND NUMBER-'].update(f'{len(file_list)} files')
window['-FILTER NUMBER-'].update('')
window['-FIND-'].update('')
window['-FILTER-'].update('')
elif event == 'Find RE':
window['-ML-'].update('')
file_list = find_in_file(values['-FIND RE-'], get_file_list_dict(), regex=True, verbose=values['-VERBOSE-'],window=window)
window['-DEMO LIST-'].update(sorted(file_list))
window['-FIND NUMBER-'].update(f'{len(file_list)} files')
window['-FILTER NUMBER-'].update('')
window['-FIND-'].update('')
window['-FILTER-'].update('')
sg.cprint('Regular expression find completed')
elif event == 'Settings':
if settings_window() is True:
window.close()
window = make_window()
file_list_dict = get_file_list_dict()
file_list = get_file_list()
window['-FILTER NUMBER-'].update(f'{len(file_list)} files')
elif event == 'Clear':
file_list = get_file_list()
window['-FILTER-'].update('')
window['-FILTER NUMBER-'].update(f'{len(file_list)} files')
window['-FIND-'].update('')
window['-DEMO LIST-'].update(file_list)
window['-FIND NUMBER-'].update('')
window['-FIND RE-'].update('')
window['-ML-'].update('')
elif event == '-FOLDERNAME-':
sg.user_settings_set_entry('-demos folder-', values['-FOLDERNAME-'])
file_list_dict = get_file_list_dict()
file_list = get_file_list()
window['-DEMO LIST-'].update(values=file_list)
window['-FILTER NUMBER-'].update(f'{len(file_list)} files')
window['-ML-'].update('')
window['-FIND NUMBER-'].update('')
window['-FIND-'].update('')
window['-FIND RE-'].update('')
window['-FILTER-'].update('')
elif event == 'Open Folder':
explorer_program = get_explorer()
if explorer_program:
sg.cprint(f'Opening Folder using {explorer_program}...', c='white on green', end='')
sg.cprint('')
for file in values['-DEMO LIST-']:
file_selected = str(file_list_dict[file])
file_path = os.path.dirname(file_selected)
if sg.running_windows():
file_path = file_path.replace('/', '\\')
sg.cprint(file_path, text_color='white', background_color='purple')
sg.execute_command_subprocess(explorer_program, file_path)
elif event == 'Copy Path':
for file in values['-DEMO LIST-']:
sg.cprint('Copying the last highlighted filename in your list')
if find_in_file.file_list_dict is not None:
full_filename, line = window_choose_line_to_edit(file, find_in_file.file_list_dict[file][0], find_in_file.file_list_dict[file][1], find_in_file.file_list_dict[file][2])
else:
full_filename, line = get_file_list_dict()[file], 1
if line is not None:
sg.cprint(f'Added to Clipboard Full Path {full_filename}', c='white on purple')
sg.clipboard_set(full_filename)
elif event == 'Version':
sg.popup_scrolled(sg.get_versions(), keep_on_top=True, non_blocking=True)
elif event == '-SHOW ALL FILES-':
python_only = not values[event]
file_list_dict = get_file_list_dict()
file_list = get_file_list()
window['-DEMO LIST-'].update(values=file_list)
window['-FILTER NUMBER-'].update(f'{len(file_list)} files')
window['-ML-'].update('')
window['-FIND NUMBER-'].update('')
window['-FIND-'].update('')
window['-FIND RE-'].update('')
window['-FILTER-'].update('')
window.close()
if __name__ == '__main__':
main()

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 KiB

View file

@ -0,0 +1,163 @@
#!/usr/bin/env python
"""
Example of (almost) all Elements, that you can use in PySimpleGUI.
Shows you the basics including:
Naming convention for keys
Menubar format
Right click menu format
Table format
Running an async event loop
Theming your application (requires a window restart)
Displays the values dictionary entry for each element
And more!
Copyright 2021, 2022, 2023 PySimpleGUI
"""
import PySimpleGUI as sg
def make_window(theme):
sg.theme(theme)
menu_def = [['&Application', ['E&xit']],
['&Help', ['&About']] ]
right_click_menu_def = [[], ['Edit Me', 'Versions', 'Nothing','More Nothing','Exit']]
graph_right_click_menu_def = [[], ['Erase','Draw Line', 'Draw',['Circle', 'Rectangle', 'Image'], 'Exit']]
# Table Data
data = [["John", 10], ["Jen", 5]]
headings = ["Name", "Score"]
input_layout = [
# [sg.Menu(menu_def, key='-MENU-')],
[sg.Text('Anything that requires user-input is in this tab!')],
[sg.Input(key='-INPUT-')],
[sg.Slider(orientation='h', key='-SKIDER-'),
sg.Image(data=sg.DEFAULT_BASE64_LOADING_GIF, enable_events=True, key='-GIF-IMAGE-'),],
[sg.Checkbox('Checkbox', default=True, k='-CB-')],
[sg.Radio('Radio1', "RadioDemo", default=True, size=(10,1), k='-R1-'), sg.Radio('Radio2', "RadioDemo", default=True, size=(10,1), k='-R2-')],
[sg.Combo(values=('Combo 1', 'Combo 2', 'Combo 3'), default_value='Combo 1', readonly=False, k='-COMBO-'),
sg.OptionMenu(values=('Option 1', 'Option 2', 'Option 3'), k='-OPTION MENU-'),],
[sg.Spin([i for i in range(1,11)], initial_value=10, k='-SPIN-'), sg.Text('Spin')],
[sg.Multiline('Demo of a Multi-Line Text Element!\nLine 2\nLine 3\nLine 4\nLine 5\nLine 6\nLine 7\nYou get the point.', size=(45,5), expand_x=True, expand_y=True, k='-MLINE-')],
[sg.Button('Button'), sg.Button('Popup'), sg.Button(image_data=sg.DEFAULT_BASE64_ICON, key='-LOGO-')]]
asthetic_layout = [[sg.T('Anything that you would use for asthetics is in this tab!')],
[sg.Image(data=sg.DEFAULT_BASE64_ICON, k='-IMAGE-')],
[sg.ProgressBar(100, orientation='h', size=(20, 20), key='-PROGRESS BAR-'), sg.Button('Test Progress bar')]]
logging_layout = [[sg.Text("Anything printed will display here!")],
[sg.Multiline(size=(60,15), font='Courier 8', expand_x=True, expand_y=True, write_only=True,
reroute_stdout=True, reroute_stderr=True, echo_stdout_stderr=True, autoscroll=True, auto_refresh=True)]
# [sg.Output(size=(60,15), font='Courier 8', expand_x=True, expand_y=True)]
]
graphing_layout = [[sg.Text("Anything you would use to graph will display here!")],
[sg.Graph((200,200), (0,0),(200,200),background_color="black", key='-GRAPH-', enable_events=True,
right_click_menu=graph_right_click_menu_def)],
[sg.T('Click anywhere on graph to draw a circle')],
[sg.Table(values=data, headings=headings, max_col_width=25,
background_color='black',
auto_size_columns=True,
display_row_numbers=True,
justification='right',
num_rows=2,
alternating_row_color='black',
key='-TABLE-',
row_height=25)]]
popup_layout = [[sg.Text("Popup Testing")],
[sg.Button("Open Folder")],
[sg.Button("Open File")]]
theme_layout = [[sg.Text("See how elements look under different themes by choosing a different theme here!")],
[sg.Listbox(values = sg.theme_list(),
size =(20, 12),
key ='-THEME LISTBOX-',
enable_events = True)],
[sg.Button("Set Theme")]]
layout = [ [sg.MenubarCustom(menu_def, key='-MENU-', font='Courier 15', tearoff=True)],
[sg.Text('Demo Of (Almost) All Elements', size=(38, 1), justification='center', font=("Helvetica", 16), relief=sg.RELIEF_RIDGE, k='-TEXT HEADING-', enable_events=True)]]
layout +=[[sg.TabGroup([[ sg.Tab('Input Elements', input_layout),
sg.Tab('Asthetic Elements', asthetic_layout),
sg.Tab('Graphing', graphing_layout),
sg.Tab('Popups', popup_layout),
sg.Tab('Theming', theme_layout),
sg.Tab('Output', logging_layout)]], key='-TAB GROUP-', expand_x=True, expand_y=True),
]]
layout[-1].append(sg.Sizegrip())
window = sg.Window('All Elements Demo', layout, right_click_menu=right_click_menu_def, right_click_menu_tearoff=True, grab_anywhere=True, resizable=True, margins=(0,0), use_custom_titlebar=True, finalize=True, keep_on_top=True)
window.set_min_size(window.size)
return window
def main():
window = make_window(sg.theme())
# This is an Event Loop
while True:
event, values = window.read(timeout=100)
# keep an animation running so show things are happening
if event not in (sg.TIMEOUT_EVENT, sg.WIN_CLOSED):
print('============ Event = ', event, ' ==============')
print('-------- Values Dictionary (key=value) --------')
for key in values:
print(key, ' = ',values[key])
if event in (None, 'Exit'):
print("[LOG] Clicked Exit!")
break
window['-GIF-IMAGE-'].update_animation(sg.DEFAULT_BASE64_LOADING_GIF, time_between_frames=100)
if event == 'About':
print("[LOG] Clicked About!")
sg.popup('PySimpleGUI Demo All Elements',
'Right click anywhere to see right click menu',
'Visit each of the tabs to see available elements',
'Output of event and values can be see in Output tab',
'The event and values dictionary is printed after every event', keep_on_top=True)
elif event == 'Popup':
print("[LOG] Clicked Popup Button!")
sg.popup("You pressed a button!", keep_on_top=True)
print("[LOG] Dismissing Popup!")
elif event == 'Test Progress bar':
print("[LOG] Clicked Test Progress Bar!")
progress_bar = window['-PROGRESS BAR-']
for i in range(100):
print("[LOG] Updating progress bar by 1 step ("+str(i)+")")
progress_bar.update(current_count=i + 1)
print("[LOG] Progress bar complete!")
elif event == "-GRAPH-":
graph = window['-GRAPH-'] # type: sg.Graph
graph.draw_circle(values['-GRAPH-'], fill_color='yellow', radius=20)
print("[LOG] Circle drawn at: " + str(values['-GRAPH-']))
elif event == "Open Folder":
print("[LOG] Clicked Open Folder!")
folder_or_file = sg.popup_get_folder('Choose your folder', keep_on_top=True)
sg.popup("You chose: " + str(folder_or_file), keep_on_top=True)
print("[LOG] User chose folder: " + str(folder_or_file))
elif event == "Open File":
print("[LOG] Clicked Open File!")
folder_or_file = sg.popup_get_file('Choose your file', keep_on_top=True)
sg.popup("You chose: " + str(folder_or_file), keep_on_top=True)
print("[LOG] User chose file: " + str(folder_or_file))
elif event == "Set Theme":
print("[LOG] Clicked Set Theme!")
theme_chosen = values['-THEME LISTBOX-'][0]
print("[LOG] User Chose Theme: " + str(theme_chosen))
window.close()
window = make_window(theme_chosen)
elif event == 'Edit Me':
sg.execute_editor(__file__)
elif event == 'Versions':
sg.popup_scrolled(__file__, sg.get_versions(), keep_on_top=True, non_blocking=True)
window.close()
exit(0)
if __name__ == '__main__':
sg.theme('black')
sg.theme('dark red')
sg.theme('dark green 7')
# sg.theme('DefaultNoMoreNagging')
main()

View file

@ -0,0 +1,107 @@
import PySimpleGUI as sg
"""
Demo - Element List
All elements shown in 1 window as simply as possible.
Copyright 2022 PySimpleGUI
"""
use_custom_titlebar = True if sg.running_trinket() else False
def make_window(theme=None):
NAME_SIZE = 23
def name(name):
dots = NAME_SIZE-len(name)-2
return sg.Text(name + ' ' + ''*dots, size=(NAME_SIZE,1), justification='r',pad=(0,0), font='Courier 10')
sg.theme(theme)
# NOTE that we're using our own LOCAL Menu element
if use_custom_titlebar:
Menu = sg.MenubarCustom
else:
Menu = sg.Menu
treedata = sg.TreeData()
treedata.Insert("", '_A_', 'Tree Item 1', [1234], )
treedata.Insert("", '_B_', 'B', [])
treedata.Insert("_A_", '_A1_', 'Sub Item 1', ['can', 'be', 'anything'], )
layout_l = [
[name('Text'), sg.Text('Text')],
[name('Input'), sg.Input(s=15)],
[name('Multiline'), sg.Multiline(s=(15,2))],
[name('Output'), sg.Output(s=(15,2))],
[name('Combo'), sg.Combo(sg.theme_list(), default_value=sg.theme(), s=(15,22), enable_events=True, readonly=True, k='-COMBO-')],
[name('OptionMenu'), sg.OptionMenu(['OptionMenu',],s=(15,2))],
[name('Checkbox'), sg.Checkbox('Checkbox')],
[name('Radio'), sg.Radio('Radio', 1)],
[name('Spin'), sg.Spin(['Spin',], s=(15,2))],
[name('Button'), sg.Button('Button')],
[name('ButtonMenu'), sg.ButtonMenu('ButtonMenu', sg.MENU_RIGHT_CLICK_EDITME_EXIT)],
[name('Slider'), sg.Slider((0,10), orientation='h', s=(10,15))],
[name('Listbox'), sg.Listbox(['Listbox', 'Listbox 2'], no_scrollbar=True, s=(15,2))],
[name('Image'), sg.Image(sg.EMOJI_BASE64_HAPPY_THUMBS_UP)],
[name('Graph'), sg.Graph((125, 50), (0,0), (125,50), k='-GRAPH-')] ]
layout_r = [[name('Canvas'), sg.Canvas(background_color=sg.theme_button_color()[1], size=(125,40))],
[name('ProgressBar'), sg.ProgressBar(100, orientation='h', s=(10,20), k='-PBAR-')],
[name('Table'), sg.Table([[1,2,3], [4,5,6]], ['Col 1','Col 2','Col 3'], num_rows=2)],
[name('Tree'), sg.Tree(treedata, ['Heading',], num_rows=3)],
[name('Horizontal Separator'), sg.HSep()],
[name('Vertical Separator'), sg.VSep()],
[name('Frame'), sg.Frame('Frame', [[sg.T(s=15)]])],
[name('Column'), sg.Column([[sg.T(s=15)]])],
[name('Tab, TabGroup'), sg.TabGroup([[sg.Tab('Tab1',[[sg.T(s=(15,2))]]), sg.Tab('Tab2', [[]])]])],
[name('Pane'), sg.Pane([sg.Col([[sg.T('Pane 1')]]), sg.Col([[sg.T('Pane 2')]])])],
[name('Push'), sg.Push(), sg.T('Pushed over')],
[name('VPush'), sg.VPush()],
[name('Sizer'), sg.Sizer(1,1)],
[name('StatusBar'), sg.StatusBar('StatusBar')],
[name('Sizegrip'), sg.Sizegrip()] ]
# Note - LOCAL Menu element is used (see about for how that's defined)
layout = [[Menu([['File', ['Exit']], ['Edit', ['Edit Me', ]]], k='-CUST MENUBAR-',p=0)],
[sg.T('PySimpleGUI Elements - Use Combo to Change Themes', font='_ 14', justification='c', expand_x=True)],
[sg.Checkbox('Use Custom Titlebar & Menubar', use_custom_titlebar, enable_events=True, k='-USE CUSTOM TITLEBAR-', p=0)],
[sg.Col(layout_l, p=0), sg.Col(layout_r, p=0)]]
window = sg.Window('The PySimpleGUI Element List', layout, finalize=True, right_click_menu=sg.MENU_RIGHT_CLICK_EDITME_VER_EXIT, keep_on_top=True, use_custom_titlebar=use_custom_titlebar)
window['-PBAR-'].update(30) # Show 30% complete on ProgressBar
window['-GRAPH-'].draw_image(data=sg.EMOJI_BASE64_HAPPY_JOY, location=(0,50)) # Draw something in the Graph Element
return window
window = make_window()
while True:
event, values = window.read()
# sg.Print(event, values)
if event == sg.WIN_CLOSED or event == 'Exit':
break
if values['-COMBO-'] != sg.theme():
sg.theme(values['-COMBO-'])
window.close()
window = make_window()
if event == '-USE CUSTOM TITLEBAR-':
use_custom_titlebar = values['-USE CUSTOM TITLEBAR-']
sg.set_options(use_custom_titlebar=use_custom_titlebar)
window.close()
window = make_window()
if event == 'Edit Me':
sg.execute_editor(__file__)
elif event == 'Version':
sg.popup_scrolled(__file__, sg.get_versions(), keep_on_top=True, non_blocking=True)
window.close()

View file

@ -1,54 +0,0 @@
#!/usr/bin/env python
import sys
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
sg.ChangeLookAndFeel('GreenTan')
# ------ Menu Definition ------ #
menu_def = [['&File', ['&Open', '&Save', 'E&xit', 'Properties']],
['&Edit', ['Paste', ['Special', 'Normal', ], 'Undo'], ],
['&Help', '&About...'], ]
# ------ Column Definition ------ #
column1 = [[sg.Text('Column 1', background_color='lightblue', justification='center', size=(10, 1))],
[sg.Spin(values=('Spin Box 1', '2', '3'), initial_value='Spin Box 1')],
[sg.Spin(values=('Spin Box 1', '2', '3'), initial_value='Spin Box 2')],
[sg.Spin(values=('Spin Box 1', '2', '3'), initial_value='Spin Box 3')]]
layout = [
[sg.Menu(menu_def, tearoff=True)],
[sg.Text('(Almost) All widgets in one Window!', size=(30, 1), justification='center', font=("Helvetica", 25), relief=sg.RELIEF_RIDGE)],
[sg.Text('Here is some text.... and a place to enter text')],
[sg.InputText('This is my text')],
[sg.Frame(layout=[
[sg.Checkbox('Checkbox', size=(10,1)), sg.Checkbox('My second checkbox!', default=True)],
[sg.Radio('My first Radio! ', "RADIO1", default=True, size=(10,1)), sg.Radio('My second Radio!', "RADIO1")]], title='Options',title_color='red', relief=sg.RELIEF_SUNKEN, tooltip='Use these to set flags')],
[sg.Multiline(default_text='This is the default Text should you decide not to type anything', size=(35, 3)),
sg.Multiline(default_text='A second multi-line', size=(35, 3))],
[sg.InputCombo(('Combobox 1', 'Combobox 2'), size=(20, 1)),
sg.Slider(range=(1, 100), orientation='h', size=(34, 20), default_value=85)],
[sg.InputOptionMenu(('Menu Option 1', 'Menu Option 2', 'Menu Option 3'))],
[sg.Listbox(values=('Listbox 1', 'Listbox 2', 'Listbox 3'), size=(30, 3)),
sg.Frame('Labelled Group',[[
sg.Slider(range=(1, 100), orientation='v', size=(5, 20), default_value=25, tick_interval=25),
sg.Slider(range=(1, 100), orientation='v', size=(5, 20), default_value=75),
sg.Slider(range=(1, 100), orientation='v', size=(5, 20), default_value=10),
sg.Column(column1, background_color='lightblue')]])],
[sg.Text('_' * 80)],
[sg.Text('Choose A Folder', size=(35, 1))],
[sg.Text('Your Folder', size=(15, 1), auto_size_text=False, justification='right'),
sg.InputText('Default Folder'), sg.FolderBrowse()],
[sg.Submit(tooltip='Click to submit this form'), sg.Cancel()]]
window = sg.Window('Everything bagel', default_element_size=(40, 1), grab_anywhere=False).Layout(layout)
event, values = window.Read()
sg.Popup('Title',
'The results of the window.',
'The button clicked was "{}"'.format(event),
'The values are', values)

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,33 @@
from PIL import Image, ImageTk, ImageSequence
import PySimpleGUI as sg
"""
Demo_Animated_GIFs_Using_PIL.py
You'll find other animated GIF playback demos for PySimpleGUI that use the tkinter built-in GIF parser.
That is how the built-in PySimpleGUI Image.update_animation is used.
If you want to do the GIF file parsing yourself using PIL and update your Image element yourself, then
this is one possible technique.
This particular demo will loop playing the GIF file over and over. To not loop, remove the while True statement.
Copyright 2020 PySimpleGUI.org
"""
gif_filename = r'ExampleGIF.gif'
layout = [[sg.Text('Happy Thursday!', background_color='#A37A3B', text_color='#FFF000', justification='c', key='-T-', font=("Bodoni MT", 40))],
[sg.Image(key='-IMAGE-')]]
window = sg.Window('Window Title', layout, element_justification='c', margins=(0,0), element_padding=(0,0), finalize=True)
window['-T-'].expand(True, True, True) # Make the Text element expand to take up all available space
interframe_duration = Image.open(gif_filename).info['duration'] # get how long to delay between frames
while True:
for frame in ImageSequence.Iterator(Image.open(gif_filename)):
event, values = window.read(timeout=interframe_duration)
if event == sg.WIN_CLOSED:
exit(0)
window['-IMAGE-'].update(data=ImageTk.PhotoImage(frame) )

View file

@ -0,0 +1,29 @@
import PySimpleGUI as sg
"""
Simple template window that saves position.
Rather than starting in the middle of the screen, this code will save the position the window was in when it last exited.
To pull this off it's going to be.... super.....?hard?
No... of course it's going to be... SIMPLE
There is one added line of code. When the user attempts to close the window, that's when the position is saved.
When the program starts, it reads the previously saved position as part of the window creation. User Settings APIs rock!
Copyright 2021 PySimpleGUI
"""
layout = [[sg.Text('Window that Auto-saves position', font='_ 25')],
[sg.Button('Ok'), sg.Button('Exit')]]
window = sg.Window('Auto-saves Location', layout, enable_close_attempted_event=True, location=sg.user_settings_get_entry('-location-', (None, None)))
while True:
event, values = window.read()
print(event, values)
if event in ('Exit', sg.WINDOW_CLOSE_ATTEMPTED_EVENT):
sg.user_settings_set_entry('-location-', window.current_location()) # The line of code to save the position before exiting
break
window.close()

View file

@ -1,28 +1,55 @@
import PySimpleGUI as sg import PySimpleGUI as sg
import random import random
BAR_WIDTH = 50 """
BAR_SPACING = 75 Demo - Using a Graph Element to make Bar Charts
EDGE_OFFSET = 3
GRAPH_SIZE = (500,500)
DATA_SIZE = (500,500)
graph = sg.Graph(GRAPH_SIZE, (0, 0), DATA_SIZE) The Graph Element is very versatile. Because you can define your own
coordinate system, it makes producing graphs of many lines (bar, line, etc) very
straightforward.
layout = [[sg.Text('Bar graphs using PySimpleGUI')], In this Demo a "bar" is nothing more than a rectangle drawn in a Graph Element (draw_rectangle).
[graph],
[sg.Button('OK')]]
window = sg.Window('Window Title').Layout(layout) To make things a little more interesting, this is a barchart with that data values
placed as labels atop each bar, another Graph element method (draw_text)
Copyright 2022 PySimpleGUI
"""
BAR_WIDTH = 50 # width of each bar
BAR_SPACING = 75 # space between each bar
EDGE_OFFSET = 3 # offset from the left edge for first bar
GRAPH_SIZE= DATA_SIZE = (500,500) # size in pixels
sg.theme('Light brown 1')
layout = [[sg.Text('Labelled Bar graphs using PySimpleGUI')],
[sg.Graph(GRAPH_SIZE, (0,0), DATA_SIZE, k='-GRAPH-')],
[sg.Button('OK'), sg.T('Click to display more data'), sg.Exit()]]
window = sg.Window('Bar Graph', layout, finalize=True)
graph = window['-GRAPH-'] # type: sg.Graph
while True: while True:
event, values = window.Read()
graph.Erase() graph.erase()
if event is None: for i in range(7):
graph_value = random.randint(0, GRAPH_SIZE[1]-25) # choose an int just short of the max value to give room for the label
graph.draw_rectangle(top_left=(i * BAR_SPACING + EDGE_OFFSET, graph_value),
bottom_right=(i * BAR_SPACING + EDGE_OFFSET + BAR_WIDTH, 0),
fill_color='green')
# fill_color=sg.theme_button_color()[1])
graph.draw_text(text=graph_value, location=(i*BAR_SPACING+EDGE_OFFSET+25, graph_value+10), font='_ 14')
# Normally at the top of the loop, but because we're drawing the graph first, making it at the bottom
event, values = window.read()
if event in (sg.WIN_CLOSED, 'Exit'):
break break
for i in range(7):
graph_value = random.randint(0, 400) window.close()
graph.DrawRectangle(top_left=(i * BAR_SPACING + EDGE_OFFSET, graph_value),
bottom_right=(i * BAR_SPACING + EDGE_OFFSET + BAR_WIDTH, 0), fill_color='blue')
graph.DrawText(text=graph_value, location=(i*BAR_SPACING+EDGE_OFFSET+25, graph_value+10))

View file

@ -1,27 +1,27 @@
# Base64 Encoder - encodes a folder of PNG files and creates a .py file with definitions
import PySimpleGUI as sg import PySimpleGUI as sg
import os import os
import base64 import base64
''' '''
Base64 Encoder - encodes a folder of PNG files and creates a .py file with definitions Make base64 images
input: folder with .png .ico .gif 's
output: output.py file with variables
''' '''
OUTPUT_FILENAME = 'output.py'
def main(): def main():
# folder = r'C:\Python\PycharmProjects\GooeyGUI\Uno Cards' OUTPUT_FILENAME = 'output.py'
folder=''
folder = sg.PopupGetFolder('Source folder for images\nImages will be encoded and results saved to %s'%OUTPUT_FILENAME,
title='Base64 Encoder',
default_path=folder, initial_folder=folder )
if folder is None or folder == '': folder = sg.popup_get_folder('Source folder for images\nImages will be encoded and results saved to %s'%OUTPUT_FILENAME,
sg.PopupCancel('Cancelled - No valid folder entered') title='Base64 Encoder')
if not folder:
sg.popup_cancel('Cancelled - No valid folder entered')
return return
try: try:
namesonly = [f for f in os.listdir(folder) if f.endswith('.png') or f.endswith('.ico')] namesonly = [f for f in os.listdir(folder) if f.endswith('.png') or f.endswith('.ico') or f.endswith('.gif')]
except: except:
sg.PopupCancel('Cancelled - No valid folder entered') sg.popup_cancel('Cancelled - No valid folder entered')
return return
outfile = open(os.path.join(folder, OUTPUT_FILENAME), 'w') outfile = open(os.path.join(folder, OUTPUT_FILENAME), 'w')
@ -29,12 +29,11 @@ def main():
for i, file in enumerate(namesonly): for i, file in enumerate(namesonly):
contents = open(os.path.join(folder, file), 'rb').read() contents = open(os.path.join(folder, file), 'rb').read()
encoded = base64.b64encode(contents) encoded = base64.b64encode(contents)
outfile.write('\n{} = {}\n\n'.format(file[:file.index(".")], encoded)) outfile.write('\n{} = {}'.format(file[:file.index(".")], encoded))
sg.OneLineProgressMeter('Base64 Encoding', i+1, len(namesonly),key='_METER_') sg.OneLineProgressMeter('Base64 Encoding', i+1, len(namesonly), key='-METER-')
outfile.close() outfile.close()
sg.Popup('Completed!', 'Encoded %s files'%(i+1)) sg.popup('Completed!', 'Encoded %s files'%(i+1))
if __name__ == '__main__': if __name__ == '__main__':
main() main()

View file

@ -0,0 +1,43 @@
import PySimpleGUI as sg
import base64
"""
Make base64 image from a file
This is usually done in order to create a Base64 image for use as an Ucon or a Button image
To use, either copy and paste the full path to the file or use the browse button to locate the file.
Once chosen, the conversion will happen automatically with the result placed on the clipboard.
When complete, a popup window is shown that tells you to paste the image before closing the window. This is because of a
tkinter problem on Linux. On Windows you can close the Window, but on Linux, you'll need to keep it open until the paste completes
NOTE - if you're replacing your ICO file for your window with a base64 image, you will first need to convert your icon from
an ICO file into a PNG file. Encode the PNG file and then you'll be able to pass that value in your call to Window:
window = sg.Window('Window Title', layout, icon=icon)
Where icon is a variable you created using the contents of the clipboard folowing running this program.
Input: a single image file
Output: clipboard will contain the Base64 Byte String of the source image
Copyright 2021 PySimpleGUI
"""
def convert_file_to_base64(filename):
try:
contents = open(filename, 'rb').read()
encoded = base64.b64encode(contents)
sg.clipboard_set(encoded)
# pyperclip.copy(str(encoded))
sg.popup('Copied to your clipboard!', 'Keep window open until you have pasted the base64 bytestring')
except Exception as error:
sg.popup_error('Cancelled - An error occurred', error)
if __name__ == '__main__':
filename = sg.popup_get_file('Source Image will be encoded and results placed on clipboard', title='Base64 Encoder')
if filename:
convert_file_to_base64(filename)
else:
sg.popup_cancel('Cancelled - No valid file entered')

View file

@ -1,29 +1,25 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
""" # Turn off padding in order to get a really tight looking layout.
Turn off padding in order to get a really tight looking layout.
"""
sg.ChangeLookAndFeel('Dark') sg.theme('Dark')
sg.SetOptions(element_padding=(0, 0)) sg.set_options(element_padding=(0, 0))
layout = [[sg.T('User:', pad=((3, 0), 0)), sg.OptionMenu(values=('User 1', 'User 2'), size=(20, 1)), layout = [[sg.Text('User:', pad=((3, 0), 0)), sg.OptionMenu(values=('User 1', 'User 2'), size=(20, 1)),
sg.T('0', size=(8, 1))], sg.Text('0', size=(8, 1))],
[sg.T('Customer:', pad=((3, 0), 0)), sg.OptionMenu(values=('Customer 1', 'Customer 2'), size=(20, 1)), [sg.Text('Customer:', pad=((3, 0), 0)), sg.OptionMenu(values=('Customer 1', 'Customer 2'), size=(20, 1)),
sg.T('1', size=(8, 1))], sg.Text('1', size=(8, 1))],
[sg.T('Notes:', pad=((3, 0), 0)), sg.In(size=(44, 1), background_color='white', text_color='black')], [sg.Text('Notes:', pad=((3, 0), 0)),
[sg.ReadButton('Start', button_color=('white', 'black')), sg.Input(size=(44, 1), background_color='white', text_color='black')],
sg.ReadButton('Stop', button_color=('gray50', 'black')), [sg.Button('Start', button_color=('white', 'black')),
sg.ReadButton('Reset', button_color=('white', '#9B0023')), sg.Button('Stop', button_color=('gray50', 'black')),
sg.ReadButton('Submit', button_color=('gray60', 'springgreen4')), sg.Button('Reset', button_color=('white', '#9B0023')),
sg.Button('Submit', button_color=('gray60', 'springgreen4')),
sg.Button('Exit', button_color=('white', '#00406B'))]] sg.Button('Exit', button_color=('white', '#00406B'))]]
window = sg.Window("Borderless Window", window = sg.Window("Borderless Window",
layout,
default_element_size=(12, 1), default_element_size=(12, 1),
text_justification='r', text_justification='r',
auto_size_text=False, auto_size_text=False,
@ -32,11 +28,7 @@ window = sg.Window("Borderless Window",
grab_anywhere=True, grab_anywhere=True,
default_button_element_size=(12, 1)) default_button_element_size=(12, 1))
window.Layout(layout)
while True: while True:
event, values = window.Read() event, values = window.read()
if event is None or event == 'Exit': if event in (sg.WIN_CLOSED, 'Exit'):
break break

File diff suppressed because one or more lines are too long

View file

@ -1,33 +1,27 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import sys
if sys.version_info[0] >= 3: import PySimpleGUI as sg
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
if not sys.platform.startswith('win'): if not sys.platform.startswith('win'):
sg.PopupError('Sorry, you gotta be on Windows') sg.popup_error('Sorry, you gotta be on Windows')
sys.exit() sys.exit()
import winsound import winsound
sg.ChangeLookAndFeel('Dark')
sg.SetOptions(element_padding=(0,0))
layout = [ layout = [
[sg.ReadButton('Start', button_color=('white', 'black'), key='start'), [sg.Button('Start', button_color=('white', 'black'), key='start'),
sg.ReadButton('Stop', button_color=('white', 'black'), key='stop'), sg.Button('Stop', button_color=('white', 'black'), key='stop'),
sg.ReadButton('Reset', button_color=('white', 'firebrick3'), key='reset'), sg.Button('Reset', button_color=('white', 'firebrick3'), key='reset'),
sg.ReadButton('Submit', button_color=('white', 'springgreen4'), key='submit')] sg.Button('Submit', button_color=('white', 'springgreen4'), key='submit')]
] ]
window = sg.Window("Button Click", default_element_size=(12,1), text_justification='r', auto_size_text=False, auto_size_buttons=False, default_button_element_size=(12,1), use_default_focus=False).Layout(layout).Finalize() window = sg.Window("Button Click", layout, auto_size_buttons=False, default_button_element_size=(12,1), use_default_focus=False, finalize=True)
window.FindElement('submit').Update(disabled=True) window['submit'].update(disabled=True)
recording = have_data = False recording = have_data = False
while True: while True:
event, values = window.Read() event, values = window.read(timeout=100)
if event is None: if event == sg.WINDOW_CLOSED:
sys.exit(69) break
winsound.PlaySound("ButtonClick.wav", 1) winsound.PlaySound("ButtonClick.wav", 1) if event != sg.TIMEOUT_KEY else None
window.close()

View file

@ -0,0 +1,32 @@
import PySimpleGUI as sg
"""
Demo - Fill a listbox with list of files FilesBrowse button
This technique can be used to generate events from "Chooser Buttons" like FileBrowse, FilesBrowse
FolderBrowser, ColorChooserButton, Calendar Button
Any button that uses a "Target" can be used with an invisible Input Element to generate an
event when the user has made a choice. Enable events for the invisible element and an event will
be generated when the Chooser Button fills in the element
This particular demo users a list of chosen files to populate a listbox
"""
layout = [ [sg.LBox([], size=(20,10), key='-FILESLB-')],
[sg.Input(visible=False, enable_events=True, key='-IN-'), sg.FilesBrowse()],
[sg.Button('Go'), sg.Button('Exit')] ]
window = sg.Window('Window Title', layout)
while True: # Event Loop
event, values = window.read()
if event in (sg.WIN_CLOSED, 'Exit'):
break
# When choice has been made, then fill in the listbox with the choices
if event == '-IN-':
window['-FILESLB-'].Update(values['-IN-'].split(';'))
window.close()

View file

@ -1,10 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import sys
if sys.version_info[0] >= 3: import PySimpleGUI as sg
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
""" """
Demo Button Function Calls Demo Button Function Calls
@ -18,26 +14,29 @@ It is quite easy to simulate these callbacks however. The way to do this is to
to your Event Loop to your Event Loop
""" """
def callback_function1(): def callback_function1():
sg.Popup('In Callback Function 1') sg.popup('In Callback Function 1')
print('In the callback function 1') print('In the callback function 1')
def callback_function2(): def callback_function2():
sg.Popup('In Callback Function 2') sg.popup('In Callback Function 2')
print('In the callback function 2') print('In the callback function 2')
layout = [ [sg.Text('Demo of Button Callbacks')],
[sg.Button('Button 1'), sg.Button('Button 2')] ]
window = sg.Window('Button Callback Simulation').Layout(layout) layout = [[sg.Text('Demo of Button Callbacks')],
[sg.Button('Button 1'), sg.Button('Button 2')]]
window = sg.Window('Button Callback Simulation', layout)
while True: # Event Loop while True: # Event Loop
event, values = window.Read() event, values = window.read()
if event is None: if event == sg.WIN_CLOSED:
break break
elif event == 'Button 1': elif event == 'Button 1':
callback_function1() # call the "Callback" function callback_function1() # call the "Callback" function
elif event == 'Button 2': elif event == 'Button 2':
callback_function2() # call the "Callback" function callback_function2() # call the "Callback" function
window.Close() window.close()

View file

@ -0,0 +1,79 @@
import PySimpleGUI as sg
"""
Demo Program - Simulated Buttons with Mouseover Highlights
The purpose of this demo is to teach you 5 unique PySimpleGUI constructs that when combined
create a "Button" that highlights on mouseover regarless of the Operating System.
Because of how tktiner works, mouseover highlighting is inconsistent across operating systems for Buttons.
This is one (dare I say "clever") way to get this effect in your program
1. Binding the Enter and Leave tkinter events
2. Using Tuples as keys
3. Using List Comprehensions to build a layout
4. Using Text Elements to Simulate Buttons
5. Using a "User Defined Element" to make what appears to be a new type of Button in the layout
The KEY to making this work simply is these "Buttons" have a tuple as a key.
The format of the key is ('-B-', button_text)
An element's bind method will make a tuple if the original key is a tuple.
(('-B-', button_text), 'ENTER') will be the event when the mouse is moved over the "Button"
Copyright 2022 PySimpleGUI.org
"""
# sg.theme('dark red')
def TextButton(text):
"""
A User Defined Element. It looks like a Button, but is a Text element
:param text: The text that will be put on the "Button"
:return: A Text element with a tuple as the key
"""
return sg.Text(text, key=('-B-', text), relief='raised', enable_events=True, font='_ 15',text_color=sg.theme_button_color_text(), background_color=sg.theme_button_color_background())
def do_binds(window, button_text):
"""
This is magic code that enables the mouseover highlighting to work.
"""
for btext in button_text:
window[('-B-', btext)].bind('<Enter>', 'ENTER')
window[('-B-', btext)].bind('<Leave>', 'EXIT')
def main():
# Defines the text on the 3 buttons we're making
button_text = ('Button 1', 'Button 2', 'Button 3')
# The window's layout
layout = [[TextButton(text) for text in button_text],
[sg.Text(font='_ 14', k='-STATUS-')],
[sg.Ok(), sg.Exit()]]
window = sg.Window('Custom Mouseover Highlighting Buttons', layout, finalize=True)
# After the window is finalized, then can perform the bindings
do_binds(window, button_text)
# The Event Looop
while True:
event, values = window.read()
print(event, values)
if event == sg.WIN_CLOSED or event == 'Exit':
break
# if the event is a tuple, it's one of our TextButtons
if isinstance(event, tuple):
# if second item is one of the bound strings, then do the mouseeover code
if event[1] in ('ENTER', 'EXIT'):
button_key = event[0]
if event[1] == 'ENTER':
window[button_key].update(text_color=sg.theme_button_color_background(), background_color=sg.theme_button_color_text())
if event[1] == 'EXIT':
window[button_key].update(text_color=sg.theme_button_color_text(), background_color=sg.theme_button_color_background())
else: # a "normal" button click (Text clicked) so print the text which we put into the tuple
window['-STATUS-'].update(f'Button pressed = {event[1]}')
window.close()
if __name__ == '__main__':
main()

View file

@ -1,51 +1,60 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
""" """
Demonstrates using a "tight" layout with a Dark theme. Demonstrates using a "tight" layout with a Dark theme.
Shows how button states can be controlled by a user application. The program manages the disabled/enabled Shows how button states can be controlled by a user application. The program manages the disabled/enabled
states for buttons and changes the text color to show greyed-out (disabled) buttons states for buttons and changes the text color to show greyed-out (disabled) buttons
""" """
sg.ChangeLookAndFeel('Dark') sg.theme('Dark')
sg.SetOptions(element_padding=(0,0)) sg.set_options(element_padding=(0, 0))
layout = [[sg.T('User:', pad=((3,0),0)), sg.OptionMenu(values = ('User 1', 'User 2'), size=(20,1)), sg.T('0', size=(8,1))], layout = [[sg.Text('User:', pad=((3, 0), 0)), sg.OptionMenu(values=('User 1', 'User 2'), size=(20, 1)), sg.Text('0', size=(8, 1))],
[sg.T('Customer:', pad=((3,0),0)), sg.OptionMenu(values=('Customer 1', 'Customer 2'), size=(20,1)), sg.T('1', size=(8,1))], [sg.Text('Customer:', pad=((3, 0), 0)), sg.OptionMenu(
[sg.T('Notes:', pad=((3,0),0)), sg.In(size=(44,1), background_color='white', text_color='black')], values=('Customer 1', 'Customer 2'), size=(20, 1)), sg.Text('1', size=(8, 1))],
[sg.ReadButton('Start', button_color=('white', 'black'), key='_Start_'), [sg.Text('Notes:', pad=((3, 0), 0)), sg.Input(size=(44, 1),
sg.ReadButton('Stop', button_color=('white', 'black'), key='_Stop_'), background_color='white', text_color='black')],
sg.ReadButton('Reset', button_color=('white', 'firebrick3'), key='_Reset_'), [sg.Button('Start', button_color=('white', 'black'), key='-Start-'),
sg.ReadButton('Submit', button_color=('white', 'springgreen4'), key='_Submit_')]] sg.Button('Stop', button_color=('white', 'black'), key='-Stop-'),
sg.Button('Reset', button_color=('white', 'firebrick3'), key='-Reset-'),
sg.Button('Submit', button_color=('white', 'springgreen4'), key='-Submit-')]]
window = sg.Window("Time Tracker", default_element_size=(12,1), text_justification='r', auto_size_text=False, auto_size_buttons=False, window = sg.Window("Time Tracker", layout,
default_button_element_size=(12,1)).Layout(layout).Finalize() default_element_size=(12, 1),
text_justification='r',
auto_size_text=False,
auto_size_buttons=False,
default_button_element_size=(12, 1),
finalize=True)
for key, state in {'_Start_': False, '_Stop_': True, '_Reset_': True, '_Submit_': True}.items(): for key, state in {'-Start-': False, '-Stop-': True, '-Reset-': True, '-Submit-': True}.items():
window.FindElement(key).Update(disabled=state) window[key].update(disabled=state)
recording = have_data = False recording = have_data = False
while True: while True:
event, values = window.Read() event, values = window.read()
print(event) print(event)
if event is None: if event == sg.WIN_CLOSED:
sys.exit(69) break
if event == '_Start_': if event == '-Start-':
for key, state in {'_Start_':True, '_Stop_':False, '_Reset_':False, '_Submit_':True}.items(): for key, state in {'-Start-': True, '-Stop-': False, '-Reset-': False, '-Submit-': True}.items():
window.FindElement(key).Update(disabled=state) window[key].update(disabled=state)
recording = True recording = True
elif event == '_Stop_' and recording: elif event == '-Stop-' and recording:
[window.FindElement(key).Update(disabled=value) for key,value in {'_Start_':False, '_Stop_':True, '_Reset_':False, '_Submit_':False}.items()] [window[key].update(disabled=value) for key, value in {
'-Start-': False, '-Stop-': True, '-Reset-': False, '-Submit-': False}.items()]
recording = False recording = False
have_data = True have_data = True
elif event == '_Reset_': elif event == '-Reset-':
[window.FindElement(key).Update(disabled=value) for key,value in {'_Start_':False, '_Stop_':True, '_Reset_':True, '_Submit_':True}.items()] [window[key].update(disabled=value) for key, value in {
'-Start-': False, '-Stop-': True, '-Reset-': True, '-Submit-': True}.items()]
recording = False recording = False
have_data = False have_data = False
elif event is '_Submit_' and have_data: elif event == '-Submit-' and have_data:
[window.FindElement(key).Update(disabled=value) for key,value in {'_Start_':False, '_Stop_':True, '_Reset_':True, '_Submit_':False}.items()] [window[key].update(disabled=value) for key, value in {
'-Start-': False, '-Stop-': True, '-Reset-': True, '-Submit-': False}.items()]
recording = False recording = False
window.close()

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,113 @@
"""
Demo - Button Toggle #2
Uses the IGNORE BUTTON setting.
When creating or updating buttons in 4.35.0+, you can use the parameter:
disabled=BUTTON_DISABLED_MEANS_IGNORE
This will cause the buytton to ignore your clicks but it won't change the button
with the GUI, which would change the color and gray it out. The button will not
change appearance at all. It will no longer respond to button clicks.
Another toggle button using Base64 strings
Of course files could be used instead of Base64 strings
The differences between this toggle button demo and the other one are:
1. Different button graphics
2. The button state is stored in the metadata for the button
3. The metadata for the button is a class instead of a single variable name
For buttons with graphics, it's generally best to set the button's:
* border width=0
* color = (background_color, background_color)
Buttons don't normally have explicit keys. However, since this button has
no text, there is no default key. It's better to be explicit with buttons that
change text or have graphics.
Copyright 2021 PySimpleGUI
"""
import PySimpleGUI as sg
import random
# Class holding the button graphic info. At this time only the state is kept
class BtnInfo:
def __init__(self, state=True):
self.state = state # Can have 3 states - True, False, None (disabled)
# Main function that creates the layout, window and has event loop
def main():
layout = [[sg.Text('Toggle Button')],
[sg.T('Disabled with PySimpleGUI Ignore:', text_color='yellow')],
[sg.Button(image_data=on_image, k='-TOGGLE1-', border_width=0,
button_color=(sg.theme_background_color(), sg.theme_background_color()),
disabled_button_color=(sg.theme_background_color(), sg.theme_background_color()),
metadata=BtnInfo()),
sg.T('Disable:'),
sg.Button(image_data=off_image, k='-DISABLE1-', border_width=0,
button_color=(sg.theme_background_color(), sg.theme_background_color()),
disabled_button_color=(sg.theme_background_color(), sg.theme_background_color()),
metadata=BtnInfo(False)), sg.T('Disabled button color is\nbetter than other disabled button below')
],
[sg.Button(image_data=on_image, k='-TOGGLE2-', border_width=0,
button_color=(sg.theme_background_color(), sg.theme_background_color()),
disabled_button_color=(sg.theme_background_color(), sg.theme_background_color()),
metadata=BtnInfo()),
sg.Image(data=sg.EMOJI_BASE64_HAPPY_THUMBS_UP,enable_events=True, k='-I-')
],
[ sg.T('Disabled with GUI:', text_color='yellow')],
[sg.Button(image_data=on_image, k='-TOGGLE3-', border_width=0,
button_color=(sg.theme_background_color(), sg.theme_background_color()),
disabled_button_color=(sg.theme_background_color(), sg.theme_background_color()),
disabled=True, metadata=BtnInfo()), sg.T('Note color has crosshatching')],
[ sg.T('Disabled with PySimpleGUI (ignored):', text_color='yellow')],
[sg.Button(image_data=on_image, k='-TOGGLE4-', border_width=0,
button_color=(sg.theme_background_color(), sg.theme_background_color()),
disabled_button_color=(sg.theme_background_color(), sg.theme_background_color()),
disabled=sg.BUTTON_DISABLED_MEANS_IGNORE,
metadata=BtnInfo())],
[sg.T(size=(40,1), k='-STATUS-')],
[sg.Button('Exit')]]
window = sg.Window('Window Title', layout, font='_ 14', finalize=True)
while True: # Event Loop
event, values = window.read()
if event in (sg.WIN_CLOSED, 'Exit'):
break
# Where all the magic happens. 2 things happen when button is clicked
# 1. The state toggles
# 2. The buton graphic changes
if 'TOGGLE' in event:
window[event].metadata.state = not window[event].metadata.state
window[event].update(image_data=on_image if window[event].metadata.state else off_image)
elif event == '-DISABLE1-':
window[event].metadata.state = not window[event].metadata.state
window[event].update(image_data=on_image if window[event].metadata.state else off_image)
window['-I-'].update(data=sg.EMOJI_BASE64_HAPPY_GASP if window[event].metadata.state else random.choice(sg.EMOJI_BASE64_HAPPY_LIST))
# if disabling the button
if window[event].metadata.state:
if window['-TOGGLE1-'].metadata.state is True:
window['-TOGGLE1-'].update(disabled=sg.BUTTON_DISABLED_MEANS_IGNORE, image_data=on_image_disabled)
elif window['-TOGGLE1-'].metadata.state is False:
window['-TOGGLE1-'].update(disabled=sg.BUTTON_DISABLED_MEANS_IGNORE, image_data=off_image_disabled)
else:
if window['-TOGGLE1-'].metadata.state is True:
window['-TOGGLE1-'].update(disabled=False, image_data=on_image)
elif window['-TOGGLE1-'].metadata.state is False:
window['-TOGGLE1-'].update(disabled=False, image_data=off_image)
window['-STATUS-'].update(f'event {event} button state = {window[event].metadata.state if window[event].metadata is not None else "Not applicable"}')
window.close()
# Define the button graphic base 64 strings and then call the main function
if __name__ == '__main__':
on_image = b'iVBORw0KGgoAAAANSUhEUgAAAFoAAAAnCAYAAACPFF8dAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAHGElEQVRo3u2b3W8T6RWHnzMzSbDj4KTkq1GAfFCSFrENatnQikpFC2oqRWhXq92uKm7aKy5ou9cV1/wFvQAJqTdV260qaLdSF6RsS5tN+WiRFopwTRISNuCAyRIF8jHJeObtxYyd8diYhNjBEI70KvZ4rGie9ze/c877joVAtLW19ezcuXPvpk2bIgAKxYsMQbifnDRvjcW13d1v1DY2NIm1ZM1RhmGa5tzw8PC/x8fHrymlnOzr8KKjo+NbR48e/VV3d/e+yWSC+fm5AohVnlfFD0c5/O3SJ0QjX+GdQ+8TqY4QiUTQNK3sICulsCyL+fl5RkdHr506depYLBb7LAt0T0/PD44fP3720ueDoTMDv2P6yUNEVFBay2BlndTsCD95+2e89d0+urq62LZtG4ZhUM4xOztLLBZjYmLCPHHixLtXr179K4Bs3ry54eTJk/HzQx/XfXzh97kQ04DFB3gdQIsN+3sOcfSDD+nt7WXLli0A2LaNbdtlB1jXdXRdz7y/fv068Xh87tixY7uTyeSY0d/f//OpmYd1f7nwUV7ISgAtG3IW9JIoGSSl8fZbP6K9vT0DOX17WpZVdqArKyvRNA0RF8yuXbtIJpPVhw8f/vD06dO/MHp7ew9/9p9PUQGrUGm43l//e5VP2UUELyY017fSVN/M1q1bl4+LUFVVRWVlZdmBFpEM5LTCW1pa2LNnzyEAo6mpqW3yy0SuXaShaoDu/dV8xyihlZjQWPdVAMLhcMELKueIRCK0trZ+Xdd1wwiHw5sdx862Cy0A2QClB4BLniRZpNA00ETjZY+0IJRS5KTwjP+KD7IBeLD9ys6cX+x4+RnnhJHXAjxVpxXtV7XSfRZSqjv4lQWdr4XxeXQasDIC9lGiUk/JRgDtT4bis4m0inWfmv2TUkyTlg2iaL9PK5+NpEu8nNr6FYVTMtD+W1bl6wbzjdexBuso0Iz44aswqK2gqgELtCTIg+y1J6fNVb82AaR8C0bbvbx3Z6ODfkbY3wC7N7tCsAHtPuifgiy6oO39oKpAvwH6leUJSH0PRIE2vjHujOcqpJxWsL/jAtOvQMVZMM6BJMFpBvtAnonZBapu43r66kErsHu8fv6Kq1SZBi0BFefc9tlpAVWfa0Wp/RvXo7Xn+YZqdMFptwOfpUC766m+yXfccr1bNYDT/Rr0ysLrFHE8Hw4K1/ReVGWr2Rj0vHkvqNCrAU8p9dSx9mRoe0N3k1wQdgbiUmACZkC/DvY3wd4HL3IrMh+IYp8T3G5bPWgHZMq1D6cT9Ju+zyrcRAluqRf0dv1zcDrcgcqdjGJcuIg889z1AB1cyl09aAH9GqQOgb3X8+q7QAhS33YtQ+67FUi+u0EfglTf6qoOx3HWBU4xJ2HtisatffXLYL/p1tJ2r28eHoLx9wLfTbhJ1OlYnZodxykbiCv5P/79w8KgVf7XotzuUL8B2pjX4UXcikOSoN0LqP9ybruuXwJt0vP6FSr6ZQMdPCcLtKhlpgIo5YOsfMN7L3OgxwrbjDaS26CICRJfeePyLNDlYhn+zwuCzgBULmRJg3W8kT7ueCt5an06vLWCLgd/L2wdahkwjnurp5eepZSQ1co8upySX/CcFSmaoJJtkPT6tA9yqZ7vCD4k9TRFl6NlFAbt92FZBi0e5Axgr45O77BIqdaknWcrer3soFiTZeRTU8aHxX00K0vt3paW+B8VKzFoEckCXc6WUbCOzupifLaR5cfKU7dG1g6LUHxVu5O9fAGVlZUsLCy8cDtY6Tm6rlNRUZH1uWFZFvXRRvKWec5ymZdJfnkenilFMpx+MoVSsLi4SCgUoqKiAtM0n7poUw52kX6Kqq6uDhFhYWEh85ygce/evZneN/ZH/3H13DI45dvYdjzIDrl7hSUs7SYejPNkboZEIkFnZyfRaBQR4fHjxywuLq4I1vMAXstEhEIhGhoaCIVCKKWYnJwkmUwuKKWUMTQ0dPHIkSN9+3Z/n0v/vZAN219deGBlnXa+HVJ88s8/U1e7hebmZqqrq4lGo9TU1KyoS3wRISIZbx4dHWV2dpaLFy9eVkrZ+uzs7Nz27ds/6DvQz5JpMX53FCfQG4uncFG+0kuVeACjX8TpbO0itehQU1NDOBxG07SyHrZtE4/HGR4eJh6Pc+bMmV9OT0/fMO7cufOngYGBs5ZlvfNe3xH6D7zL/8ZusrAw9xTFrt+vWhzH4Y/nf8uDqfuYpkkkEiEajZblTysAlpaWePToEaZpEovFGBwcHBgbG/soc/MbhhE5ePDgH9rb23/Y0tJCbW0thmG4PlQGm6g3R24w9eVDvta2k8b6JnS9vH5eIbhJ0LIsZmbcvHL79u3zAwMD76VSqSdZLisismPHjh93dXX9tLGx8U3DMCK8jtUm28VEIvGvW7du/XpkZOQ3ypcx/w+op8ZtEbCnywAAAABJRU5ErkJggg=='
off_image = b'iVBORw0KGgoAAAANSUhEUgAAAFoAAAAnCAYAAACPFF8dAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAIDElEQVRo3uWaS2wbxx3Gv9nlkrsUJZMmFUZi9IipmJVNSVEs2HEMt0aCNE0QwBenSC45BAiQg3IpcmhPBgz43EvRQwvkokOBXoqCKFQ7UdWDpcqWZcl62JUly5L1NsWXuHzuq4fsrpcr6pWYNMUOMFg+ZmeXP377zX/+MwSGQgghfr+/p6ur6z23292ESiyKApqQhtGRkSVHTY0U6OjgXtqt7Lw3eXFxcXL07t1/xGKxtQK22ovGxsZAb2/vnzo7O3/udDrBcRwIIRXIWQHP80gmk5i+exd3vvsOnWfPgqKolwNZZaQAsNA0Gl5/Ha5XXsmHQqE/9PX1/U4UxTwAWACgubk5eP369X8FAoH6YDAIjuNQ6SUej8PhcMDr8+GP33wDMZEAKTNoDbZseK0QgtbOTusnX3/9m9bW1s5r1659JEmSQBNCyNWrV/955swZf09PDxiGgSzLEAQBoihCkqSKqbIsgxACQghYloXP50MylQLncmHy1i3YVeWUstKGSqmVqEetJDY3MTk8jA8//fSEIEmJ2dnZ/1i6u7s/DAQC3R0dHbpVKIoCURQhyzIURakIBWuAKYrSbYJhGASDQfDJJPpffRXY2ABXJiXLhioZKlGP/NYW+vv6cOXzz38bCoV+b+no6Ljk8Xhgs9n0zmiarlj7MI8bbrcbVpsNbd3dmOvvR20ZfNkIWFSroFZJbSMBmB4awie9vZ42v/+sxev1thSDWokD4W7gOY5D3bFjAABniSErJsh5tdKqmvMG1ecyGWRSKdTW1XksHMfVHRWo+wFnSgjabBuainMAsqpHK6ZKVBsmWtRRLcUC4FgZQBvVzKhqRhHPJob4uapA00DJPNrsz4LBMmDyadoQjUANJqoKNAWUNOowKlpTsmJQd84EmZietqoCbS0TaMoA2WqKs43xdVWCJobRv5SgiSGEs+wygSk2fqDaVF3qP1MxQKVMgInZNqrRo2FWEyHwNDXB4/OBsdmQz2TwbGUF0dVVvR3DsvCdPKkDMZZkLIbIygq8J06Aq6nZGXkQgvvT0yCyvMOTUc3WUaBsiwU9H3yAep9Pj7MVRUFbVxfWl5Yw/v33UCQJtpoanD5/vijop7OziKysoOXUKdQ3Nu7M3FEUJh8+BGS5+B/9/wD61DvvoN7nA59IYHpoCMloFLVuN4IXLqChpQWZt9/Gw6EhvX2G53FvcLCgj3w6XfB+emQE8XBYj5XzABRRPHCMX3WFtlrRHAgAAEZv3EA6HgcARNJpjN28iV9cuYLW9nb89/Zt/RxJkhBfX9+zXz4WQ2x9HYphVnjQlFtVgnbW14MASMbjOmTdd6NRpHkedocDxzweiIIAALDabPD39OiPvizLeDw+DmKwFN8bb8Dp9eqTlqdLS0iHw9UBer80bbE8Dc0wACHI5/NFB0tB/dxitT4HzbL42Vtv6e1kScLj8fGCc5va2go8OplKYe1lgz5IHnu/Ngfpg6bpHZ9pIDm7vSDuBX5YAWHVbKWQzeqfp3keozdu6G0VoEDNADB56xZim5t6UimRSh0qD/PCAb0oiD8WdOLZM8iSBLvDAbfPh+jqqv5dfVMTbBwHURCQ2NqCw+XSFcxHInteK51MYjsS0UHnD5nwKhgQKgXgQa6zW3pXFkXMT03h5Jtvouf99zE7NoZkJII6jwcnVXuYu3+/ICwrdbEYb1ze58JHSe1zo6OwMAxOnD6N4PnzBefNT05iQfVfxTB7U/abvh/kvg6i6HKALvWfpRigPBgawsLUFDw+H6w2G/LZLLZWV5FNJp/Hz8kkRgcGIKm+XqzXR/fuYfHBA2xHowWzw2J1N+gHVnQ5AB62j2LWIZtUmdnexvL29q79ifk8Nh4/3vOa0bW1HUtZxWpR6Oo9HkjRR0HJMKQtS529My7KalVbVZF3UfcLAV0p3i0fMhL4McW8wpJH4Qr4brD3tI6jomQjhEwZQBvXDLPqVDxvgr0r6GKKrhTQu31v9mgRAF8iyzC+NoNOq0cNttGzd3g0RVE66HKq8Ke0YRim4L0EIFFCfzZah4TC7QaaskWTorXzLJIkCVrwzzAMcrnckbEMlmWfP42KAhFArJR5FxTfcpAvYh+aorXtaxZREBie/+GBczgcyOVykCQJiqIU/MiD7sHbMyp4AX1olsGyLOx2O2RZRjqdRjwSgVIGRRs30WiwBdNRA22vrQVXUwMby3osc/Pzy9FoFOl0Gna7HcePH0cikQDP8z8p3CtFOw1yXV0d3G43CCHY2NhALpfD3NgYGADJEivaHEtL2LnRUaPW/e67EAQBCwsLTy0TExP/jsViX05MTODcuXOgaRoulwtOp7NidpKaC0VRIIQgm81iZmYGIzdvIhONglYHplKDNsJWTIOfBtnT2opffvYZpmdm0ltbW6OW5eXlvw8ODi6zLNs0PDyMYDAIp9NZ9h30h03Brq+vY2ZmBrNTU+j/9lswZYihzaouNh0nDIOuS5fw8RdfIJZIYGBg4C+CICQJADQ3N390+fLlUFdXF+X1esFxXMFAU2klxfPIZLMYGRjAyqNH6Ll0CVQ5N2qarqVBpy0WeH0+MCyL+bk53L5z51EoFLqQzWa39DP8fv+vL168+GeXy1Xn8Xhgs1p3dFgRapYkxKNRbK6toeG11+B0u1/evRim+woARZbBp1IIh8PY2NiY6O/v/ziTyazCnBaw2Wzu9vb2r1paWn7FsmxDpXp0pRaKouRwODy5uLj4tydPnvxVlmVB++5/rMzictcliq4AAAAASUVORK5CYII='
off_image_disabled = b'iVBORw0KGgoAAAANSUhEUgAAAFoAAAAnCAYAAACPFF8dAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAWJSURBVGhD7ZtLTyxFFMd7Bhgew2OAIXgDxkQWLgYWJsaNiTFxozcuiQs/gR9Bv4crXRuJG2OIiQvj1q25CZC4IQ4wL2B4zPCGwfqVcyaHTs371Xcu/+Sf6q6qnjr1r1PVVYcmtLGx4SmEotHoB7Ozs59GIpG3y3lBxIvj4+N/h4eHH2ZmZsbLeUFAqVgsvjo9Pf3t9vY2Vc6zqAg9Pj7+3srKyvexWOzjkZERz3TC5gcR9/f33t3dnXdycuIdHh56xjG8UChULu0fsGFiYsIbHR29TaVS3yWTyW9LpdKtLUNoI/Lq2tran9PT0wuGgRZZYDzGM57jGQ/ytra2rPj9wuPjY/nqf6ChcVrv8vLyj+3t7Zem/G5ofX09lEgkfp+bm1sx9MLhsH0QmtGoXAeBAjxnaGgIB7ECMwPNUmJtp6xXFPjzbm5uvHw+7y0vL79r7D4rFAp/hc1S8bkZgffNWmcrCURk0iBQbNGCIyx24yDmnWLzdKe7QQ1Xvlwz4/b29hD7G3MbRuhPMBIPEVCZ5QPiLUGg2IO4GmY9tLabfth73flukPaFkqfblWuAVxvb45OTkx+Gx8bG3nkd1uRaQGgGA0iH+0FpX9KHhwe7tBl942ZgwtO25DWH7mC/WAtP5+EAQE/tbrGayP5UY6CE1h3vBRHd1a5AXw+cR/s73Q2KV0t7jWDghO4VtPBadH2t8bx0tEAXquULnj26DdQTV2OghUYIjumcHBcWFmzwiXsN9uCcLl2UutFo9Ek+hyO5blTsgRUaARYXFy0J8ohYkicCITQD4KI50dk6PO8vY/DgGy/0/Py8Z069NpyazWZt3IGUk5p4uQb5mUzmCYkOahCWJT+dTleoYy+1MJBCs/0Sb8zlct7V1ZU9DpNyDyjX3ohg19fXT8ggaRAoIp/onNR5o4Um0AQQyiUW3ovIUg/4lxAJUmkwOFJGKhHDRjCQQounElZ1QbxQezSzQF5wQj9knUdoqAeqHvoqNB1uly6IwHipC3J01gOBl6dSqQpZf/3gjwtSfnBw4F1cXJRL6qMloV0dbpYSxG+XLrCGUkb417+d454BoH2WEQH1udf0g8HQ5dVmjAtPhNYdqMZuCqThesZFF8g/Pz+31+yfme4ITMo9oLza891A00LXg+uZZtnMYFYDW7NCoWCXCV5c7J1JuUfks7Ozcs3eoGmhe8FOgN9hTWUtJWUPTLq/v2//xCTtsBzwyQJ51SCfNchy0oqNFaGlk+2yHbh+rx7rge0dno0HkyKsBrOHlxp77Gpgv0wd9uIajbQvaOll6IJfgF5Rw1XeDfpRLV+jI0tHr16QQYLLbn2v80FHhG4Xrt9slH646nSa4ljSXiNoe+nQBvSDGq7ybhLBXe0K9HVFaI6j/gdqkUb6vWToI7RA7Oomq/XBn2ogdCXqwh5TP1yLnYDrd5uhPmJzL2k/yAC4IM4QNhVGJMIlXyzphztJtkearjqNkg5gL3ayZePYrW3vNQVyTYp9OINhPFwsFvfYiGMsxsu3bHRG/1Ar9IvjqtMK6QBBfcAel9+Wk56rfqdYrT+6XbkG8Xjc1jN78GRoc3Pzq0Qi8SOxVv4qIa4ulYMIsZFZcXR0ZKNpu7u7lahcr+DSSPKIrayurnLcv9zZ2XkrbE5Ev+ZyuT1ORhgtx0w6E1QCsZeYRjKZtPl0spfUkDwGm8CVcV6rZTab/cl4dUG++H+5tLS0GYvF+LrULh299o5mIGs88QeO1UxRGYB+AhskDItd+Xz+n3Q6/ZGx9ajyPyzRaPRLMxI/RCKRaf5EE1Sh8Rpe3qzNdEo+1w0CsA0HwJPNjPs7k8l8Ye4PKKsIDYy481NTU18b0T8zo/LCPz2eURvGo0tm9/PKvPx+MfzZZJW3zp73H5XujC+u8bu1AAAAAElFTkSuQmCC'
on_image_disabled = b'iVBORw0KGgoAAAANSUhEUgAAAFoAAAAnCAYAAACPFF8dAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAVLSURBVGhD7Zu7TytHFMbHyxvsJeb9kjCiCihRpJAobaqblFGUJmXqKMofkyZpaKhS5HaJIgUpRZQmoqAhSgEUSBZgsAE/uJhX5ht80LmH8e56fdde7PuTPu0yj/XMt7Nnd2aXxPr6uuKMjIx84LruR47jJGtJbeeVplQqOaOjo+8MDAwk7u7uyrWsWIF2FYvFf3Rbt/HnQ+oDj0Ynk8kPl5eXf9Amf6L7pW5vb9X9/b3Jaye5XE719fWpubk51dPTY/bjijba+KbN3t7d3f324uLir1rWg9HpdPrFysrKy0KhMJTNZtX19XUtu/0sLi6qyclJlUqlcLWpRCJRy4knNzc3ShusKpXKq52dnS/z+fyvSE9sbGxMrq2t/Xd8fJw+PDw0hf1oRWdxNY2Pj6tMJqMmJiZUf3//Y3ocrjQJPOG+nJ2dYWSXt7a23tMRYt+Zn5//rlqteppMB5EHi5rZ2VmEtEeTAUzGJRo3yZOv7ydo94j293v8ndjW6JDxvh7RpoBEGtsKo9FofdNTq6urampqSvX29tZynhcIIUdHR//qUb3iDA4OZnDzs0Gm0khulQCMBs/VZIC2Dw8Pv6v71OvoO7lri3nUYb5tlToRp7Z9Deos37ZanYbVaA7vON/qCU1k6kQC94oMhxFk+FuCU9doPnptkPFRqBN5YjTvKO1LE3iZtwSjMwNiDGnYaD6aEa/1czieFdXQ0JB1wQfPw5C8Cii9Wwg9omHw2NiYmSLDaCz4YNoJ8ScHpGNBCGU4SIe6hVBGY+0BBmOiUy6XzQIKpptY9cOohrESjHg+y+u2ON+w0TAXpgGYfHl5aZYGq9WqMRsLLDDbNnXGyelWQsVoisUwl4OTQGvZPF5TOsxHyOlGQsdogNEroTQZGkqlktkiLnfq7M+LpnpsM4zS5EIVXvFUKhVzAmC2zH+OoA/1JGnYaByEwoN8PONhBXFbgngOw1GvnaNamhJWjdBwb2EmDAP0/EwvTV3XNQbiRNDJ4KBxuIGGQXayGXlhKx9WnFDDCjdBGEZhIJ1Om+dnmI2RXCwWayWfgrpXV1e1v4IhG10P2dEwCoKtnpQkVOgAGNX5fN7c5LCP+IvHOzxT85sk0uUoxt+oh7ygyI7Y5IetTlSSNBUoYSheg8E4mCYf9wDy5asyqlfvFZrE1pFGhd+0pYdRPbzKPTGaF6B9WVEeJGro95uRH7Y6jcqLuiOaKvIDyP2oFBRb3bDywlbeT5LAocPvQFEif5sUBFu9RuVHkDq+RvOK/ECIeW8y7nHZsJULIj9sdRpVEKxGU2W+lftRywtb+bDywlY+qCTGaLkuAagw39pGcBSjWoJJkFe+hJdtRn7Y6kBAznwdZPCVNg5V4gegfS4KI29KgB4VMWVHo7nZtjpcvG1hZTuulK0eID/RdpQDjn7+PcfMrh5UGciDRiVA69w03UfjMdVHw9EB5EUp/IaXbHXQdrwUQTsB2q5nwZc6/T6xubn5WyaT+Wxvb08VCgVTwAtbmIkCNHpmZkYtLCyY76P5iwQ6GXGE/MHMFzPlg4ODP/f39z91Tk9Pfzw/P1dLS0tqenra10h0shUC+JQYbTs5OXltfQRtjKvQdhhMyuVyP5k244t/PXJ+0aPmCywM4dLEohAuD1S0QUa0ApiMD9LxMTrCB1SvXe0GnuHegi1M1m3/I5vNvtBZd8Zo3fCkNvvnZDL5OV41Ic7EqTM48RjReOdo+3QhLmAAwmis4ejQ8bu+Ir/SaWYpk/9XViKVSn3tuu43ujMf67t8975JDYk29UrfAP/WA2NdawNJDzlK/Q9RjPZ1HEiBtwAAAABJRU5ErkJggg=='
main()

View file

@ -0,0 +1,37 @@
import PySimpleGUI as sg
"""
Toggle Button Demo - Simple Version
A simple graphic that toggles.
The "State" of on/off is stored in the button's Metadata
Copyright 2021 PySimpleGUI
"""
def main():
layout = [[sg.Text('A toggle button example')],
[sg.Text('Off'),
sg.Button(image_data=toggle_btn_off, key='-TOGGLE-GRAPHIC-', button_color=(sg.theme_background_color(), sg.theme_background_color()), border_width=0, metadata=False),
sg.Text('On')]]
window = sg.Window('Toggle Button Simple Graphic', layout)
while True: # Event Loop
event, values = window.read()
if event in (sg.WIN_CLOSED, 'Exit'):
break
elif event == '-TOGGLE-GRAPHIC-': # if the graphical button that changes images
window['-TOGGLE-GRAPHIC-'].metadata = not window['-TOGGLE-GRAPHIC-'].metadata
window['-TOGGLE-GRAPHIC-'].update(image_data=toggle_btn_on if window['-TOGGLE-GRAPHIC-'].metadata else toggle_btn_off)
window.close()
if __name__ == '__main__':
# The base64 strings for the button images
toggle_btn_off = b'iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABmJLR0QA/wD/AP+gvaeTAAAED0lEQVRYCe1WTWwbRRR+M/vnv9hO7BjHpElMKSlpqBp6gRNHxAFVcKM3qgohQSqoqhQ45YAILUUVDRxAor2VAweohMSBG5ciodJUSVqa/iikaePEP4nj2Ovdnd1l3qqJksZGXscVPaylt7Oe/d6bb9/svO8BeD8vA14GvAx4GXiiM0DqsXv3xBcJU5IO+RXpLQvs5yzTijBmhurh3cyLorBGBVokQG9qVe0HgwiXLowdy9aKsY3g8PA5xYiQEUrsk93JTtjd1x3siIZBkSWQudUK4nZO1w3QuOWXV+HuP/fL85klAJuMCUX7zPj4MW1zvC0Ej4yMp/w++K2rM9b70sHBYCjo34x9bPelsgp/XJksZ7KFuwZjr3732YcL64ttEDw6cq5bVuCvgy/sje7rT0sI8PtkSHSEIRIKgCQKOAUGM6G4VoGlwiqoVd2Za9Vl8u87bGJqpqBqZOj86eEHGNch+M7otwHJNq4NDexJD+59RiCEQG8qzslFgN8ibpvZNsBifgXmFvJg459tiOYmOElzYvr2bbmkD509e1ylGEZk1Y+Ssfan18n1p7vgqVh9cuiDxJPxKPT3dfGXcN4Tp3dsg/27hUQs0qMGpRMYjLz38dcxS7Dm3nztlUAb38p0d4JnLozPGrbFfBFm79c8hA3H2AxcXSvDz7/+XtZE1kMN23hjV7LTRnKBh9/cZnAj94mOCOD32gi2EUw4FIRUMm6LGhyiik86nO5NBdGRpxYH14bbjYfJteN/OKR7UiFZVg5T27QHYu0RBxoONV9W8KQ7QVp0iXdE8fANUGZa0QAvfhhXlkQcmjJZbt631oIBnwKmacYoEJvwiuFgWncWnXAtuVBBEAoVVXWCaQZzxmYuut68b631KmoVBEHMUUrJjQLXRAQVSxUcmrKVHfjWWjC3XOT1FW5QrWpc5IJdQhDKVzOigEqS5dKHMVplnNOqrmsXqUSkn+YzWaHE9RW1FeXL7SKZXBFUrXW6jIV6YTEvMAUu0W/G3kcxPXP5ylQZs4fa6marcWvvZfJu36kuHjlc/nMSuXz+/ejxgqPFpuQ/xVude9eu39Jxu27OLvBGoMjrUN04zrNMbgVmOBZ96iPdPZmYntH5Ls76KuxL9NyoLA/brav7n382emDfHqeooXyhQmARVhSnAwNNMx5bu3V1+habun5nWdXhwJZ2C5mirTesyUR738sv7g88UQ0rEkTDlp+1wwe8Pf0klegUenYlgyg7bby75jUTITs2rhCAXXQ2vwxz84vlB0tZ0wL4NEcLX/04OrrltG1s8aOrHhk51SaK0us+n/K2xexBxljcsm1n6x/Fuv1PCWGiKOaoQCY1Vb9gWPov50+fdEqd21ge3suAlwEvA14G/ucM/AuppqNllLGPKwAAAABJRU5ErkJggg=='
toggle_btn_on = b'iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABmJLR0QA/wD/AP+gvaeTAAAD+UlEQVRYCe1XzW8bVRCffbvrtbP+2NhOD7GzLm1VoZaPhvwDnKBUKlVyqAQ3/gAkDlWgPeVQEUCtEOIP4AaHSI0CqBWCQyXOdQuRaEFOk3g3IMWO46+tvZ+PeZs6apq4ipON1MNafrvreTPzfvub92bGAOEnZCBkIGQgZOClZoDrh25y5pdjruleEiX+A+rCaQo05bpuvJ/+IHJCSJtwpAHA/e269g8W5RbuzF6o7OVjF8D3Pr4tSSkyjcqfptPDMDKSleW4DKIggIAD5Yf+Oo4DNg6jbUBlvWLUNutAwZu1GnDjzrcXzGcX2AHw/emFUV6Sfk0pqcKpEydkKSo9q3tkz91uF5aWlo1Gs/mYc+i7tz4//19vsW2AU9O381TiioVCQcnlRsWeQhD3bJyH1/MiFLICyBHiuzQsD1arDvypW7DR9nzZmq47q2W95prm+I9fXfqXCX2AF2d+GhI98Y8xVX0lnxvl2UQQg0csb78ag3NjEeD8lXZ7pRTgftmCu4864OGzrq+5ZU0rCa3m+NzXlzvoAoB3+M+SyWQuaHBTEzKMq/3BMbgM+FuFCDBd9kK5XI5PJBKqLSev+POTV29lKB8rT0yMD0WjUSYLZLxzNgZvIHODOHuATP72Vwc6nQ4Uiw8MUeBU4nHS5HA6TYMEl02wPRcZBJuv+ya+UCZOIBaLwfCwQi1Mc4QXhA+PjWRkXyOgC1uIhW5Qd8yG2TK7kSweLcRGKKVnMNExWWBDTQsH9qVmtmzjiThQDs4Qz/OUSGTwcLwIQTLW58i+yOjpXDLqn1tgmDzXzRCk9eDenjo9yhvBmlizrB3V5dDrNTuY0A7opdndStqmaQLPC1WCGfShYRgHdLe32UrV3ntiH9LliuNrsToNlD4kruN8v75eafnSgC6Luo2+B3fGKskilj5muV6pNhk2Qqg5v7lZ51nBZhNBjGrbxfI1+La5t2JCzfD8RF1HTBGJXyDzs1MblONulEqPDVYXgwDIfNx91IUVbAbY837GMur+/k/XZ75UWmJ77ou5mfM1/0x7vP1ls9XQdF2z9uNsPzosXPNFA5m0/EX72TBSiqsWzN8z/GZB08pWq9VeEZ+0bjKb7RTD2i1P4u6r+bwypo5tZUumEcDAmuC3W8ezIqSGfE6g/sTd1W5p5bKjaWubrmWd29Fu9TD0GlYlmTx+8tTJoZeqYe2BZC1/JEU+wQR5TVEUPptJy3Fs+Vkzgf8lemqHumP1AnYoMZSwsVEz6o26i/G9Lgitb+ZmLu/YZtshfn5FZDPBCcJFQRQ+8ih9DctOFvdLIKHH6uUQnq9yhFu0bec7znZ+xpAGmuqef5/wd8hAyEDIQMjAETHwP7nQl2WnYk4yAAAAAElFTkSuQmCC'
main()

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,32 @@
import PySimpleGUI as sg
"""
Demo - Base64 Buttons with Images
This is perhaps the easiest, quickest, and safest way to use buttons with images in PySimpleGUI.
By putting the button into your code, then you only have to distribute a single file.
Copyright 2022 PySimpleGUI
"""
# First the button images
play = b'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAByElEQVRoge3ZMWsUQRjG8Z8RFSKCgoJp0qSJjVpoZ2clkk8g5CtYpU+TD5DSUkvbVCFNYiM2dhZqY6GFQooEISGai8Xu4HgmcnM3c+su+4fj2L2dmedhb+Z95x16enp6hljBxaZF5OAE7/GoaSGTchJ9tnCrWTnjE0zs19+HWMPlJkWNQzAyh2c4rq+/YBnnmpOWRjASuIfX0f0d3GlAVzLDRmBG9Ta+1r8d4wVuTFdaGqcZCVzFOn7Uz+ziKc5PR1oa/zISWMRm9OxbPCisK5lRjASW8Clqs4H5MrLSSTECs1jFQd3ue319KbewVFKNBBbwMmr/EY8z6kpmXCOBh3gX9dNYdjCpEbigWs326r6OVKvdlQn7TSKHkcCcKt4MNJAd5DQSuI83Ud87uJ15jL8oYYTf2cE3f2YH1wuMhXJGAtdU8+WnwtlBaSOBu3gVjZc9O5iWEapJ/wSf6zEHeI6bZzWYmY6u/4v+rzUirZ/snVh+hwPitpYFxNanKJ1IGk9L4xcz6Eom18bqg5ZtrDqx1Y2LDwPVG2lV8aH15aDWF+jOKpkWi8o5GKWIXTwq56BzxwqdOejpxNFbJw5DO3M83dPT02J+AbN50HbYDxzCAAAAAElFTkSuQmCC'
stop = b'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAAaklEQVRoge3ZQQqAMAxFwSre/8p6AZFUiXzKzLqLPNJVOwYAvLcVzpztU9Q8zrr/NUW3Y+JsZXsdSjdimY0ISSMkjZA0QtIISSMkjZA0QtIISSMkjZA0QtIISSMkzcxrfMo/ya1lNgIAX1zq+ANHUjXZuAAAAABJRU5ErkJggg=='
eject = b'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAByklEQVRoge3YO2gUURSA4S+JRnyACIGADyxERAsb0UKrWIidWIidlSA2YpFWSauNVtrYiIU2YpFCLGwEEWwsBAsLEbFQFARFfKBZizkyK5pkZvZmZ7PeH05z595z/sPszpxdMplMJpMZbDZFLGsm8CxiomWXxqzBQ3QiHmNdq0YNGMc9RQOvIjqxNt6iVy1GcF0h/h47sR1vY+0mRluzq8ElhfBn7O9a34tPce1KC161OK8Q/Y7D/7h+EF9jz7k+etXilELwJ44vsO8ofsTeM33wqsURpdzZCvtPK5s+toRetZjCF4XYTI1zM3HmGw4lt6rJbnxQCF1tcP5ynP2IPQm9arENb0LkDsYa5BjFrcjxDjuS2VVkI16EwH2s6iHXStxVvjy39GxXkfV4Iu3Y0T3OPMWGBDkXZDUeRMHnmEyY+/eA2cEjrE2Y+w/GcDsKvcbWJaixGS+jxixWpC4wgmvK+WlX6gJddM9lN6J2Mi4q56cDKRPPwz7lXHYhVdJp5W+KtmK61yZOYG4AGpnDyV6byWT+ZxZ7Rnf6YlGdeX2XxZ8AVag6AiR9uzZg0U/G0NyR3MigUfU7MmhPr78YmjuSyWQymUxmmPgFokSdfYSQKDwAAAAASUVORK5CYII='
sg.theme('Light Green 3')
# Define the window's layout
layout = [[sg.Button(image_data=play, key='-PLAY-', button_color=sg.theme_background_color(), border_width=0),
sg.Button(image_data=stop, key='-STOP-', button_color=sg.theme_background_color(), border_width=0),
sg.Button(image_data=eject, key='-EXIT-', button_color=sg.theme_background_color(), border_width=0)] ]
# Create the window
window = sg.Window('Simple Base64 Buttons', layout)
while True: # Event Loop
event, values = window.read() # type: str, dict
print(event, values)
if event in (sg.WIN_CLOSED, '-EXIT-'): # If the user exits
break
window.close() # Exiting so clean up

File diff suppressed because one or more lines are too long

View file

@ -1,50 +1,44 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import sys
import time import time
if sys.version_info[0] >= 3: import PySimpleGUI as sg
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
def show_win(): def show_win():
sg.SetOptions(border_width=0, margins=(0,0), element_padding=(5,3)) sg.set_options(border_width=0, margins=(0, 0), element_padding=(5, 3))
frame_layout = [
[sg.Button(image_data=mac_red,
button_color=(sg.theme_background_color(),sg.theme_background_color()), key='-exit-'),
sg.Button('', image_data=mac_orange,
button_color=(sg.theme_background_color(),sg.theme_background_color())),
sg.Button('', image_data=mac_green,
button_color=(sg.theme_background_color(),sg.theme_background_color()), key='-minimize-'),
sg.Text(' '*40)], ]
frame_layout = [ [sg.Button('', image_data=mac_red, button_color=('white', sg.COLOR_SYSTEM_DEFAULT), key='_exit_'), layout = [[sg.Frame('', frame_layout)],
sg.Button('', image_data=mac_orange, button_color=('white', sg.COLOR_SYSTEM_DEFAULT)), [sg.Text('')],
sg.Button('', image_data=mac_green, button_color=('white', sg.COLOR_SYSTEM_DEFAULT), key='_minimize_'), [sg.Text('My Mac-alike window', size=(25, 2))], ]
sg.Text(' '*40)],]
layout = [[sg.Frame('',frame_layout)], window = sg.Window('My new window', layout,
[sg.T('')], no_titlebar=True, grab_anywhere=True,
[ sg.Text(' My Mac-alike window', size=(25,2)) ],] alpha_channel=0, finalize=True)
window = sg.Window('My new window',
no_titlebar=True,
grab_anywhere=True,
alpha_channel=0,
).Layout(layout).Finalize()
for i in range(100): for i in range(100):
window.SetAlpha(i/100) window.set_alpha(i/100)
time.sleep(.01) time.sleep(.01)
while True: # Event Loop while True: # Event Loop
event, values = window.Read() event, values = window.read()
if event is None or event == '_exit_': if event == sg.WIN_CLOSED or event == '-exit-':
break break
if event == '_minimize_': if event == '-minimize-':
# window.Minimize() # cannot minimize a window with no titlebar # window.Minimize() # cannot minimize a window with no titlebar
pass pass
print(event, values) print(event, values)
mac_red = 'iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAGHRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4xLjFjKpxLAAAGfklEQVR42o1W6VNTVxR/Kv4Htp1xZA0JhCWsAQmQAC4Yd0GtKBqXUUAREBdE8pYAWVhUotVWVOpGpzpVqI51pnas+sFtOnXUmXY6o10sErYASUAgybun5yUEoWOnfvjNOe/dc35nufe9cymO4ygBLMt6JMey01mansmaTJS5sVFRrdlsrpq/0LVNEk62RkTB5vBIvjBKRiqyFz0zlpQydUeOUFU6HcVoaT8fzwQXYgo5yzDTWGGhtpYyFO+u2afK7EBSt0Yk5ncEBUGJvz+UInYEBZMtoRKyPSaOr1i67EEDTS+r1usphqan+4jfBXhHPp3FTKppes6hJUvvbhWHQ1FgEDQEBpAboiB4mhQPr5Sp8EqVCk8T4+F6oD8cDphDivwDoCRBDrrtO3RCYsjjN6UC1tcWJGcrKz8pT1X+tkMkhkZRiPNhYABvkUoBtmkIGGsBmj/3os5ARlfnkI7AYHgSEuxuCPQfLcKEKtZvqNLp3wURIJDPoIWIWu3H5WnKX4pDxXAlVDTWKZGABdswuGwZcTc1grPtKrifPPLA9e01cNYboTNeTrok4dApCSPtIcFju0NEsD9v/QEdtktot6cCbVXVTKPROKsmd83z3WIJ3BaLXD3SCOjAjXwtkcLQVg3wF88B/9MTICMjHgg6f74F+ubPh9fiMNIRKYPeiEhyJzTEWYYclRpNuQ7bhXviR9EGPVVfVsaUR8mgTSIe60PjjugY8kYWAx1hUrCvWwv8hRZwP3oIZKAfeAFCJWeboSctHTqkkfAG7f+OjgFrVDRpw9YeTEyCOi2diZ2ZTh0xmRIPZas7T4QE813RMt4Sm0A6ZbFgiY2HTnTqmZsCTqYKyDeXgdy/C/y9H4FcvQKOokLoxKQsMXFeW1ksQV+wREW7zKIQol3z6S0WW0XpC4qauNg4eC4Nhz48DZa4BOiKT/TAIkh07sUg9o35MHLoIIxUHYTB9XnQHY92k2y78Bl9iTVBzt8Xi3itUvXaVFc3m+Jy1wx8KQ3jrXHx0C1PJt1YXo882YtxvRsDd2Om3UjUgxD0CZtJEHz7kubCXzKZ67AsGuh9+6TUfiS+FxUBtpRU6MZMe1MUU9CH7/sUiNQ06EXZ69Px/b9thXb2pKSS/uRk/hxW0cTpzJQ+Jpq8iI2BAUUaLiq8ZON4F0QxQewL5LHxrU+yFzhsqN+QhEKLlgXqs8hw+D0pEWyqDOhPV0K/UuWFoOO7wQULYDA7GwbVarAtXjwB4Xlw4UIYmDcPrJP8+hBDGZnkVkQYmItLXNTRSKn7ZbIcHJmZSKiCgYwMGEDpIczJAVturgf298C3ZluxAgYxkOBnRf9h5PouXAJnOQ6oRkUKPEtKIMP40fRnZZEBXLTlrALH5s1g27QJ7AjHuJwCjcYjbRs3gh1t7fn5nor6szLJcNY8cgMPTuuRo72UYX3+D3cSYmF4vFzb8uVgLyoCe2GhBw5B/x/YBNtduzxBbQsWglWV7vpakQwGjlNStfsrdp5PTXFZM1XEplYTzIo4DhwAe3k5OPbu/SAItnaUtj17yFBODv9nstx9Mjvbom9omEXp6utmNK7Lu/04IY68VatdtoICcHAcsdM0OBjmw+C1JTaUb1evdt7FU2koKGDp6mr82XEsZaKZeedxc96kK9wjBYXEXl8PQwYDDBmNHwSHwUDsJiOM1NTwHco0d8uiRf26mtqPWIaeSQnjkaupoYy7issvyxPcg4vVo6NGI3GcOEGGjh4lw2YzDB879p8YamoijqYmGGludg9szHdez1CCWVddSnvnjN/EqGQwyKmS0kc38Mh2r1ox5jx5gn/b2gqOlhYyfPo0vAdk6MwZMnzxIjhbW139xTvh+0wVmLX0floYXiwzg500MqcJ/26TyTT78K5i/Vcpc+FFlgo3rtzlPHPWPXbtGhlpayOjbe3gwbU2MtbeDs7LV9x2g8H568rlcCkr4w8TTS/iqms843f8AjE+9McfGIbBPeGo45WHmLOrVva1yxPhUUY6vNyQ5+7aWei2Vh4gVm0l6dm7x/1yi8b1eIkarmMyp/LWPahmOZHgyzHMjMkXiYnhzHrlNKFvQol6nS7gWFlZ48k1a38+hx/fJSS6kJwE5xGCfhG/m9Mb8p9+wenqaGHYe5OcQj4lADc+pH2Ggq7FY8YZDFQ9w8h1FQfjb5qPPb9pPv6cQ/1wba2cw7tTlUCGSSGm+Tox+dryD68sSIU4MRj4AAAAAElFTkSuQmCC' mac_red = 'iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAGHRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4xLjFjKpxLAAAGfklEQVR42o1W6VNTVxR/Kv4Htp1xZA0JhCWsAQmQAC4Yd0GtKBqXUUAREBdE8pYAWVhUotVWVOpGpzpVqI51pnas+sFtOnXUmXY6o10sErYASUAgybun5yUEoWOnfvjNOe/dc35nufe9cymO4ygBLMt6JMey01mansmaTJS5sVFRrdlsrpq/0LVNEk62RkTB5vBIvjBKRiqyFz0zlpQydUeOUFU6HcVoaT8fzwQXYgo5yzDTWGGhtpYyFO+u2afK7EBSt0Yk5ncEBUGJvz+UInYEBZMtoRKyPSaOr1i67EEDTS+r1usphqan+4jfBXhHPp3FTKppes6hJUvvbhWHQ1FgEDQEBpAboiB4mhQPr5Sp8EqVCk8T4+F6oD8cDphDivwDoCRBDrrtO3RCYsjjN6UC1tcWJGcrKz8pT1X+tkMkhkZRiPNhYABvkUoBtmkIGGsBmj/3os5ARlfnkI7AYHgSEuxuCPQfLcKEKtZvqNLp3wURIJDPoIWIWu3H5WnKX4pDxXAlVDTWKZGABdswuGwZcTc1grPtKrifPPLA9e01cNYboTNeTrok4dApCSPtIcFju0NEsD9v/QEdtktot6cCbVXVTKPROKsmd83z3WIJ3BaLXD3SCOjAjXwtkcLQVg3wF88B/9MTICMjHgg6f74F+ubPh9fiMNIRKYPeiEhyJzTEWYYclRpNuQ7bhXviR9EGPVVfVsaUR8mgTSIe60PjjugY8kYWAx1hUrCvWwv8hRZwP3oIZKAfeAFCJWeboSctHTqkkfAG7f+OjgFrVDRpw9YeTEyCOi2diZ2ZTh0xmRIPZas7T4QE813RMt4Sm0A6ZbFgiY2HTnTqmZsCTqYKyDeXgdy/C/y9H4FcvQKOokLoxKQsMXFeW1ksQV+wREW7zKIQol3z6S0WW0XpC4qauNg4eC4Nhz48DZa4BOiKT/TAIkh07sUg9o35MHLoIIxUHYTB9XnQHY92k2y78Bl9iTVBzt8Xi3itUvXaVFc3m+Jy1wx8KQ3jrXHx0C1PJt1YXo882YtxvRsDd2Om3UjUgxD0CZtJEHz7kubCXzKZ67AsGuh9+6TUfiS+FxUBtpRU6MZMe1MUU9CH7/sUiNQ06EXZ69Px/b9thXb2pKSS/uRk/hxW0cTpzJQ+Jpq8iI2BAUUaLiq8ZON4F0QxQewL5LHxrU+yFzhsqN+QhEKLlgXqs8hw+D0pEWyqDOhPV0K/UuWFoOO7wQULYDA7GwbVarAtXjwB4Xlw4UIYmDcPrJP8+hBDGZnkVkQYmItLXNTRSKn7ZbIcHJmZSKiCgYwMGEDpIczJAVturgf298C3ZluxAgYxkOBnRf9h5PouXAJnOQ6oRkUKPEtKIMP40fRnZZEBXLTlrALH5s1g27QJ7AjHuJwCjcYjbRs3gh1t7fn5nor6szLJcNY8cgMPTuuRo72UYX3+D3cSYmF4vFzb8uVgLyoCe2GhBw5B/x/YBNtduzxBbQsWglWV7vpakQwGjlNStfsrdp5PTXFZM1XEplYTzIo4DhwAe3k5OPbu/SAItnaUtj17yFBODv9nstx9Mjvbom9omEXp6utmNK7Lu/04IY68VatdtoICcHAcsdM0OBjmw+C1JTaUb1evdt7FU2koKGDp6mr82XEsZaKZeedxc96kK9wjBYXEXl8PQwYDDBmNHwSHwUDsJiOM1NTwHco0d8uiRf26mtqPWIaeSQnjkaupoYy7issvyxPcg4vVo6NGI3GcOEGGjh4lw2YzDB879p8YamoijqYmGGludg9szHdez1CCWVddSnvnjN/EqGQwyKmS0kc38Mh2r1ox5jx5gn/b2gqOlhYyfPo0vAdk6MwZMnzxIjhbW139xTvh+0wVmLX0floYXiwzg500MqcJ/26TyTT78K5i/Vcpc+FFlgo3rtzlPHPWPXbtGhlpayOjbe3gwbU2MtbeDs7LV9x2g8H568rlcCkr4w8TTS/iqms843f8AjE+9McfGIbBPeGo45WHmLOrVva1yxPhUUY6vNyQ5+7aWei2Vh4gVm0l6dm7x/1yi8b1eIkarmMyp/LWPahmOZHgyzHMjMkXiYnhzHrlNKFvQol6nS7gWFlZ48k1a38+hx/fJSS6kJwE5xGCfhG/m9Mb8p9+wenqaGHYe5OcQj4lADc+pH2Ggq7FY8YZDFQ9w8h1FQfjb5qPPb9pPv6cQ/1wba2cw7tTlUCGSSGm+Tox+dryD68sSIU4MRj4AAAAAElFTkSuQmCC'
mac_green = 'iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAGHRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4xLjFjKpxLAAAHAElEQVR42o1WaVBUVxZ+CvmbmuhEoUyMJMaJWCQGUNawLwINFEtkp4GGprsBW2Vp6O639M4iLVAzjomaURKNCCONsimKogwko6IwgnEJOEaBTCpJZRaTorvvmXtfwIAmVf746p5733fOd8/prnsOxXEctQCWZfmVYWhHjtVQ5toGSq1XyhMLBD3uca72V31ftq3zc4a1vqttb0W42LdlhfSUM7t3mGv3UizNUTTxWxRnAb9sWG5egHHQafQUyzErU4oSO92iNjzGQZGT90totd+L4ByMEfgiOPn8Dr3iswq5hr/xY3xeVKfGyPrpdQbeH8dZtljoaQFHvdZAFVVIpO6xrg+cvV+CteEr4G2RM8Sa3EF6JBZ2tiSB/FgCpDb5god8Dbwev5IIgnvcRpCWi6XEX62ml2bypEQs42jQGSlhcYZkfcgaWBe6Crx2rLNG/PE1pOhNRGe/bEafP+yCGzP9cG26DwYfnERcfyaKOeCCgrg3rOtjV1ldApwhT55Vuaduz+/VtPpJRgsCDlpcIpFcKHEJcoKN8Wus2+o22NJb3CDz+GZ0/LoZrjzogy++vgpffX8PJr8dh5szQ9A5cQiyPvVA6S1vQ9JHrsij8JU5l5DVUKQS9xrxhXFllvOZkAw0nJZS6RRit5j14Jb66lzSQVd7TpsHpB99B0naAqD3djOMzw7DN/99BHZkh8dz/4H7303A36ZOQYklHNKOuiHhCQ+U3fouCqRdfno91GkutyRLRkqH/0QOFE3TDgaDfkV0XvDsxgRn2/uH3Gyi9i0gbPEkjpDTtgUs4x/AxOxnMPPv+/CT9TH88OO3vMiFeycg/68+IDzhDjknPHmIOjyRf7mLzSPxLWD0aj+WYZdRRl01JVfLmE2CtRBrdp0rPO0Nea1bUf5JLyg46Q3C1nfB0J8LQ//sgjv/GoEH39+GKVyusZlBMF8uxgKbeR7hi9q2ImLntHpaN2evQcni2FMkPlVfY14uyA275lPyml122s8mtfgjqcUPZB3+TyCx+IDyTCL85aoWOnBWLaP1oO/PBkm7D0gX8YiftN0PlXS/Z4+q2WAPTPO8X1tT60Tpa7nS4GzPx0n73GBHdyCSWfyh6NR7z6DQ4g0F7Vt5W4JtcbvXr/KIWPHpAMg9vsXqlfMmlCl2v0ml5Sdy/uI/gAzfYldXEMg7A2EnXpciGH/D6A7h97u6f7GfBu/fGYR29gTZfYvX2bU17F4qs3B7Q7hiEyo9GwJlvWGorDcUys+EPQHZl86fVZwNh6q+SKjsi4CKM+FQ3hsGpT0hsNiH2GU9oaA4Hw4R9AbQmKuAKtidfSbe8A6oLm7jAxAoz2H73M82czEGqoeTof5KKjRcS4em65k8iE3OTEPJPIf3PTfvezYS6EvRSGByBbm6YI5KFSUp4vWbkXogClTnopDqPF4xmAsx0HA1HfaP5sIHY3nPYOH8wzERbzdcycA+AlCe5+MAe1kAAv0m0NbjTPKKMw1xKg8gIuxALL6VALiBONh/IwcO3RTDARzkwD/yfxtj+TyHcP+MfTSX4oG+IEDaoTgUzbnaG/fVfkM1NppLkxVB/9t1OhiZhpOQ5lIc+tOIED6ZkMHhm4VwZFwCRyak8+u8/fQe24T7MfbZd10IussJWCjGmkB7A6dhfKk6Y/2ygsrUGzkHvaB+JMVG6v/xRBF8+sUOOHarhF+fBwvc5nEZMl9Ls8stQbbtZWGPak17VlLk3dJVs/KEKi8rezHW2jiSgY7fkqO2O7uh9fYuIOvzYJ6LWm7JoWk0Yy5t7xYoqhBVajkdRbrZC8SQKrP60vGHxtEMKyF23C1H7XfLoONe+XOh/W4pstzB/KlyW0V3hC1TGTmr0+pWkB6FOyC7HL/5Dhod5yxUCr4u+MjfdvhO4VzvpAq6vqxEGNA9WYWh/A1UQSfh3auE8w9Zm/nzlDlhdSjoa1gxx3AkvsNCb1/O4oO6BpM4j40G8eEAOHq7yHrxoQb1T3Gob5JGfVM0/Ar4bwNfadHAtMZqHkwDkTkCOKNSQmYEFvcp0nWJ0rwQg7sYRxmrdYHZFdEjWWZfqO5PsZ6aLLcOTuvtwzMmNDRtRMPTJsDAqxE+mzWhS9M627GxEmvp0UjIVEWOaHVsIPmdcTy+YZH4S6YUkhpDs5RGy60s04u70lQBkNPkB4rWaGgaFNoOXS20fTJaDM3XZfYP/55vM/a8by8+GAapWvyoMpldHB4+SEX4DBbFfWYc4rAQyYi0Y41B5S9ns7tzlNGPUmk/SGF9IFntBdsZH0jFEDIRINdlDxnr2RINq+MHEnLRp8eiJVMFSY3lJxcWl45x5MVYA2UwGBxprcKd1ii2Nnc0gXm/bl8VXeZeU2dw02tMFMke+zrypf9ZaEnc/wNvUH/BVaIfLQAAAABJRU5ErkJggg==' mac_green = 'iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAGHRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4xLjFjKpxLAAAHAElEQVR42o1WaVBUVxZ+CvmbmuhEoUyMJMaJWCQGUNawLwINFEtkp4GGprsBW2Vp6O639M4iLVAzjomaURKNCCONsimKogwko6IwgnEJOEaBTCpJZRaTorvvmXtfwIAmVf746p5733fOd8/prnsOxXEctQCWZfmVYWhHjtVQ5toGSq1XyhMLBD3uca72V31ftq3zc4a1vqttb0W42LdlhfSUM7t3mGv3UizNUTTxWxRnAb9sWG5egHHQafQUyzErU4oSO92iNjzGQZGT90totd+L4ByMEfgiOPn8Dr3iswq5hr/xY3xeVKfGyPrpdQbeH8dZtljoaQFHvdZAFVVIpO6xrg+cvV+CteEr4G2RM8Sa3EF6JBZ2tiSB/FgCpDb5god8Dbwev5IIgnvcRpCWi6XEX62ml2bypEQs42jQGSlhcYZkfcgaWBe6Crx2rLNG/PE1pOhNRGe/bEafP+yCGzP9cG26DwYfnERcfyaKOeCCgrg3rOtjV1ldApwhT55Vuaduz+/VtPpJRgsCDlpcIpFcKHEJcoKN8Wus2+o22NJb3CDz+GZ0/LoZrjzogy++vgpffX8PJr8dh5szQ9A5cQiyPvVA6S1vQ9JHrsij8JU5l5DVUKQS9xrxhXFllvOZkAw0nJZS6RRit5j14Jb66lzSQVd7TpsHpB99B0naAqD3djOMzw7DN/99BHZkh8dz/4H7303A36ZOQYklHNKOuiHhCQ+U3fouCqRdfno91GkutyRLRkqH/0QOFE3TDgaDfkV0XvDsxgRn2/uH3Gyi9i0gbPEkjpDTtgUs4x/AxOxnMPPv+/CT9TH88OO3vMiFeycg/68+IDzhDjknPHmIOjyRf7mLzSPxLWD0aj+WYZdRRl01JVfLmE2CtRBrdp0rPO0Nea1bUf5JLyg46Q3C1nfB0J8LQ//sgjv/GoEH39+GKVyusZlBMF8uxgKbeR7hi9q2ImLntHpaN2evQcni2FMkPlVfY14uyA275lPyml122s8mtfgjqcUPZB3+TyCx+IDyTCL85aoWOnBWLaP1oO/PBkm7D0gX8YiftN0PlXS/Z4+q2WAPTPO8X1tT60Tpa7nS4GzPx0n73GBHdyCSWfyh6NR7z6DQ4g0F7Vt5W4JtcbvXr/KIWPHpAMg9vsXqlfMmlCl2v0ml5Sdy/uI/gAzfYldXEMg7A2EnXpciGH/D6A7h97u6f7GfBu/fGYR29gTZfYvX2bU17F4qs3B7Q7hiEyo9GwJlvWGorDcUys+EPQHZl86fVZwNh6q+SKjsi4CKM+FQ3hsGpT0hsNiH2GU9oaA4Hw4R9AbQmKuAKtidfSbe8A6oLm7jAxAoz2H73M82czEGqoeTof5KKjRcS4em65k8iE3OTEPJPIf3PTfvezYS6EvRSGByBbm6YI5KFSUp4vWbkXogClTnopDqPF4xmAsx0HA1HfaP5sIHY3nPYOH8wzERbzdcycA+AlCe5+MAe1kAAv0m0NbjTPKKMw1xKg8gIuxALL6VALiBONh/IwcO3RTDARzkwD/yfxtj+TyHcP+MfTSX4oG+IEDaoTgUzbnaG/fVfkM1NppLkxVB/9t1OhiZhpOQ5lIc+tOIED6ZkMHhm4VwZFwCRyak8+u8/fQe24T7MfbZd10IussJWCjGmkB7A6dhfKk6Y/2ygsrUGzkHvaB+JMVG6v/xRBF8+sUOOHarhF+fBwvc5nEZMl9Ls8stQbbtZWGPak17VlLk3dJVs/KEKi8rezHW2jiSgY7fkqO2O7uh9fYuIOvzYJ6LWm7JoWk0Yy5t7xYoqhBVajkdRbrZC8SQKrP60vGHxtEMKyF23C1H7XfLoONe+XOh/W4pstzB/KlyW0V3hC1TGTmr0+pWkB6FOyC7HL/5Dhod5yxUCr4u+MjfdvhO4VzvpAq6vqxEGNA9WYWh/A1UQSfh3auE8w9Zm/nzlDlhdSjoa1gxx3AkvsNCb1/O4oO6BpM4j40G8eEAOHq7yHrxoQb1T3Gob5JGfVM0/Ar4bwNfadHAtMZqHkwDkTkCOKNSQmYEFvcp0nWJ0rwQg7sYRxmrdYHZFdEjWWZfqO5PsZ6aLLcOTuvtwzMmNDRtRMPTJsDAqxE+mzWhS9M627GxEmvp0UjIVEWOaHVsIPmdcTy+YZH4S6YUkhpDs5RGy60s04u70lQBkNPkB4rWaGgaFNoOXS20fTJaDM3XZfYP/55vM/a8by8+GAapWvyoMpldHB4+SEX4DBbFfWYc4rAQyYi0Y41B5S9ns7tzlNGPUmk/SGF9IFntBdsZH0jFEDIRINdlDxnr2RINq+MHEnLRp8eiJVMFSY3lJxcWl45x5MVYA2UwGBxprcKd1ii2Nnc0gXm/bl8VXeZeU2dw02tMFMke+zrypf9ZaEnc/wNvUH/BVaIfLQAAAABJRU5ErkJggg=='
mac_orange = 'iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAGHRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4xLjFjKpxLAAAGzklEQVR42o2W+1dTVxbHr6+/wIJj0LRCYUZ88JRQFJTBB2q1yzrooCjIq8griIAxyc3NDXmQF/JQQNuq1Qqo1IK2S9GO1XbGcYpWxzVWZK2xRYUEE5JAEALJPXvOvQnodKar/eGz9j53f/c+9+ys3H0IuVxOsFAUxVk5RU2nSHIWpdURNXp9nCJtR614RZw7MyAAZQTwIYM3H3L4fCRfk+TW5eXWNjU2xkmVKkKGc3D+dMpXb5L/Kk7JZNM4gVJJqPPzKstjY55nzud7Mng8JmeeHxQHzubIxX7G3LlMzluBSLQq4SdaWLSJVqkJKSnFdahpUy/LbfCq+HSKVhAKUjpPkpx0I2vu72Av3w/0cXNQx5950CVaBt3qROjWJMKdgzFwMTUADMv9Ud682ZAdwAPDnrQbRqNxvlgiYetNmzwJQU22BRenxKI5+wXhj3MD/EAXHzDxj0I+Y6oMgqHm3Wj021oY7TrlBfuOlnTUj2NdxW8yxpW88VzebKjLyXhsqDb6k1LpDFyTOwlbfAbJnoKU+pcJwn8oWOAP57a/OW5ShcCAMgiZj72HHN80wciDL2Cs9y4H6ztuHgHToQQ0oHwbmTW/h/ad/DFhoB+QO7ZXU7hdbEe4E0glklmaqqo3VFvWPygOmgPXcoPcVn0o9KkXoWeKYLC25sHI3bPgenYPmAkXh+v5fXDeaYGBpo3wnH4baxejQX0o+jovcKIk2B+ku1JLaRX3w88kpGoNod9XICsLnQ9tOwPHbTVLoU8Xhkz6cOjXLATLJ6l4g1Zw9XYBM+rgcPXeAWdXMww0JkN/VSiY9GHQp10K9rpwdCVrgVscFQxaUpyIOzOdqNZVRZOrl/cbEniMyRjGmKujUL8xAszVkWAyRoL5UBTYOspwWy7C2JNbHCP/vAj2Swdxi6LBVD2pjUD92FrrI90nNgUg6XsbLlMaDUHo9mbUiKKD4UZRCNiOxHBJ5ppoGKhdxmGuieKwNqeB47IcHFfkYG1J5zTs8ykdxlQTjSyHBUw39QdGnRzxVKPV8QjNlnX2qsQFTK8hAiwN76CBegEMHI59jXe81OFi9TFeWB/HXnCx17Q411wfC7YmgbttRxAcKBIuJCpwv05uCwHrUSxuXIFZDi+aVvwPlqPx2Mb71vFg+T8aFnPDcmT/OIH5riyYOSSuqCVEghDUnr0QHMcTYODYSnhxLAEsH670wvq4MGdxzPrRKrAeTwQLtt5nvtik/kNvvg1rejRh0CorAuKgIBg6ixbD8KerwXJyNQx+4uNkEgyeWgO2s5vA/tlWsH+eAo6ObWBr3w72C9vw+k9gb9sCtuYNr3Kw3oqt/dO16GmdAE6UprkJSVyIp7NoCTibcfC1DeznNoPj4nZwfLEDhl7n0ivfG0sFB97MdmY92Hy5jjPr4GldDJxXCoFQrw2HjrwlyHluPfs2yHYmGSdshaFrGeDo3A1Dnbswu3+ZKzh+NZ2z9tZ38UbJyNm2GT3WRzHnDJSF0Kdv/up02kIYbE7Ggo24He/D8I0sTCYMf50JTuz/GpzuZhbeJA1sLRvB2bbJfVcRC4qDogTCcKA4vyFlqfunxkQ0fOF9NNS5E43c+gCcf82Gkb/l/CYmtc5vs5Hj8xTG0ZLsaSteaZKr9G8QtFY/49Ced6/9ZX8YGrmU4h6+ngEv7+Sjka692GK6fgPfcRY5b38AL6+mTTzUxYIuP5UiK1UEIZErCC0pSjqdHgHPPl7jGbuZhV7eL4TRewUwep+l8Ne5V4BeYr3rfiHzomWDp7UgwUZTtB9FyWbhzyoejwoloSvJLL2QHeqxd2x1jT8UotFHJWjsByFydZeAq3vfLzL2CGsfCmHiSQUavr5z4lp5LNTRohISzxc5JZs5NSplChVxvHzX7SuFS8DSnjLO/Luccf1YAWM9pcjVUwqunv0/o9Qbe1IOqE/M2K/vGr8uioN62f4Kkq7EY1g2g5qcyeyIY7/dVVotr0aYprqQuxgeNSTByO0cN9N7wMOYJMjTL8ZIwIsYMWYJQv0Sz9i/itw9J9bBlyUCOEyVidnichk503eB8A1930JGygj2aA2UUHY6N956Gf8B7+rj4cfzWz2Wr3Z77LeykOPv2Wjwmz2eZ+0pnns1q+Dqvgg4lZ/UpyXL11OKSrbleJJRUxeJqenvG9LT2L6RtJJQVcr5Ryr2GD7K/eP3rZkR0Ja5CM5nefksexGczY6G43lrvz8m3Wuo0qj5Uormxq/3lvKza8vkcSgOOUFjIetLaBVBqbSEnhYto0X7IjuPKh6w0AdKIo1KcplcrSPE8kpCJiPZ6wp3J/K++atry38AI6a42QLVvMIAAAAASUVORK5CYII=' mac_orange = 'iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAGHRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4xLjFjKpxLAAAGzklEQVR42o2W+1dTVxbHr6+/wIJj0LRCYUZ88JRQFJTBB2q1yzrooCjIq8griIAxyc3NDXmQF/JQQNuq1Qqo1IK2S9GO1XbGcYpWxzVWZK2xRYUEE5JAEALJPXvOvQnodKar/eGz9j53f/c+9+ys3H0IuVxOsFAUxVk5RU2nSHIWpdURNXp9nCJtR614RZw7MyAAZQTwIYM3H3L4fCRfk+TW5eXWNjU2xkmVKkKGc3D+dMpXb5L/Kk7JZNM4gVJJqPPzKstjY55nzud7Mng8JmeeHxQHzubIxX7G3LlMzluBSLQq4SdaWLSJVqkJKSnFdahpUy/LbfCq+HSKVhAKUjpPkpx0I2vu72Av3w/0cXNQx5950CVaBt3qROjWJMKdgzFwMTUADMv9Ud682ZAdwAPDnrQbRqNxvlgiYetNmzwJQU22BRenxKI5+wXhj3MD/EAXHzDxj0I+Y6oMgqHm3Wj021oY7TrlBfuOlnTUj2NdxW8yxpW88VzebKjLyXhsqDb6k1LpDFyTOwlbfAbJnoKU+pcJwn8oWOAP57a/OW5ShcCAMgiZj72HHN80wciDL2Cs9y4H6ztuHgHToQQ0oHwbmTW/h/ad/DFhoB+QO7ZXU7hdbEe4E0glklmaqqo3VFvWPygOmgPXcoPcVn0o9KkXoWeKYLC25sHI3bPgenYPmAkXh+v5fXDeaYGBpo3wnH4baxejQX0o+jovcKIk2B+ku1JLaRX3w88kpGoNod9XICsLnQ9tOwPHbTVLoU8Xhkz6cOjXLATLJ6l4g1Zw9XYBM+rgcPXeAWdXMww0JkN/VSiY9GHQp10K9rpwdCVrgVscFQxaUpyIOzOdqNZVRZOrl/cbEniMyRjGmKujUL8xAszVkWAyRoL5UBTYOspwWy7C2JNbHCP/vAj2Swdxi6LBVD2pjUD92FrrI90nNgUg6XsbLlMaDUHo9mbUiKKD4UZRCNiOxHBJ5ppoGKhdxmGuieKwNqeB47IcHFfkYG1J5zTs8ykdxlQTjSyHBUw39QdGnRzxVKPV8QjNlnX2qsQFTK8hAiwN76CBegEMHI59jXe81OFi9TFeWB/HXnCx17Q411wfC7YmgbttRxAcKBIuJCpwv05uCwHrUSxuXIFZDi+aVvwPlqPx2Mb71vFg+T8aFnPDcmT/OIH5riyYOSSuqCVEghDUnr0QHMcTYODYSnhxLAEsH670wvq4MGdxzPrRKrAeTwQLtt5nvtik/kNvvg1rejRh0CorAuKgIBg6ixbD8KerwXJyNQx+4uNkEgyeWgO2s5vA/tlWsH+eAo6ObWBr3w72C9vw+k9gb9sCtuYNr3Kw3oqt/dO16GmdAE6UprkJSVyIp7NoCTibcfC1DeznNoPj4nZwfLEDhl7n0ivfG0sFB97MdmY92Hy5jjPr4GldDJxXCoFQrw2HjrwlyHluPfs2yHYmGSdshaFrGeDo3A1Dnbswu3+ZKzh+NZ2z9tZ38UbJyNm2GT3WRzHnDJSF0Kdv/up02kIYbE7Ggo24He/D8I0sTCYMf50JTuz/GpzuZhbeJA1sLRvB2bbJfVcRC4qDogTCcKA4vyFlqfunxkQ0fOF9NNS5E43c+gCcf82Gkb/l/CYmtc5vs5Hj8xTG0ZLsaSteaZKr9G8QtFY/49Ced6/9ZX8YGrmU4h6+ngEv7+Sjka692GK6fgPfcRY5b38AL6+mTTzUxYIuP5UiK1UEIZErCC0pSjqdHgHPPl7jGbuZhV7eL4TRewUwep+l8Ne5V4BeYr3rfiHzomWDp7UgwUZTtB9FyWbhzyoejwoloSvJLL2QHeqxd2x1jT8UotFHJWjsByFydZeAq3vfLzL2CGsfCmHiSQUavr5z4lp5LNTRohISzxc5JZs5NSplChVxvHzX7SuFS8DSnjLO/Luccf1YAWM9pcjVUwqunv0/o9Qbe1IOqE/M2K/vGr8uioN62f4Kkq7EY1g2g5qcyeyIY7/dVVotr0aYprqQuxgeNSTByO0cN9N7wMOYJMjTL8ZIwIsYMWYJQv0Sz9i/itw9J9bBlyUCOEyVidnichk503eB8A1930JGygj2aA2UUHY6N956Gf8B7+rj4cfzWz2Wr3Z77LeykOPv2Wjwmz2eZ+0pnns1q+Dqvgg4lZ/UpyXL11OKSrbleJJRUxeJqenvG9LT2L6RtJJQVcr5Ryr2GD7K/eP3rZkR0Ja5CM5nefksexGczY6G43lrvz8m3Wuo0qj5Uormxq/3lvKza8vkcSgOOUFjIetLaBVBqbSEnhYto0X7IjuPKh6w0AdKIo1KcplcrSPE8kpCJiPZ6wp3J/K++atry38AI6a42QLVvMIAAAAASUVORK5CYII='
show_win() show_win()

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,54 @@
#!/usr/bin/env python
"""
Demo - Realtime Buttons
Realtime buttons provide a way for you to get a continuous stream of button
events for as long as a button is held down.
This demo is using a timeout to determine that a button has been released.
If your application doesn't care when a button is released and only needs to know
that it's being held down, then you can remove the timeout on the window read call.
Note that your reaction latency will be the same as your timeout value. In this demo
the timeout is 100, so there will be 100ms between releasing a button and your program detecting
this has happened.
Copyright 2021 PySimpleGUI
"""
import PySimpleGUI as sg
def main():
# The Quit button is being placed in the bottom right corner and the colors are inverted, just for fun
layout = [[sg.Text('Robotics Remote Control')],
[sg.Text('Hold Down Button To Move')],
[sg.Text()],
[sg.Text(' '),
sg.RealtimeButton(sg.SYMBOL_UP, key='-FORWARD-')],
[sg.RealtimeButton(sg.SYMBOL_LEFT, key='-LEFT-'),
sg.Text(size=(10,1), key='-STATUS-', justification='c', pad=(0,0)),
sg.RealtimeButton(sg.SYMBOL_RIGHT, key='-RIGHT-')],
[sg.Text(' '),
sg.RealtimeButton(sg.SYMBOL_DOWN, key='-DOWN-')],
[sg.Text()],
[sg.Column([[sg.Quit(button_color=(sg.theme_button_color()[1], sg.theme_button_color()[0]), focus=True)]], justification='r')]]
window = sg.Window('Robotics Remote Control', layout)
while True:
# This is the code that reads and updates your window
event, values = window.read(timeout=100)
if event in (sg.WIN_CLOSED, 'Quit'):
break
if event != sg.TIMEOUT_EVENT:
# if not a timeout event, then it's a button that's being held down
window['-STATUS-'].update(event)
else:
# A timeout signals that all buttons have been released so clear the status display
window['-STATUS-'].update('')
window.close()
if __name__ == '__main__':
sg.theme('dark red')
main()

View file

@ -0,0 +1,26 @@
"""
Demo Command Line Application or GUI Application
If your program is run with arguments, then a command line version is used.
If no arguments are given, then a GUI is shown that asks for a filename.
http://www.PySimpleGUI.org
Copyright 2022 PySimpleGUI
"""
import PySimpleGUI as sg
import sys
def main_cli(filename):
print(f'Your filename = {filename}')
def main_gui():
filename = sg.popup_get_file('Please enter a filename:')
main_cli(filename)
if __name__ == '__main__':
if len(sys.argv) < 2:
main_gui()
else:
main_cli(sys.argv[1])

View file

@ -1,15 +1,24 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
layout = [[sg.T('Calendar Test')], """
[sg.In('', size=(20,1), key='input')], Simple test harness to demonstate how to use the CalendarButton and the get date popup
[sg.CalendarButton('Choose Date', target='input', key='date')], """
[sg.Ok(key=1)]] # sg.theme('Dark Red')
layout = [[sg.Text('Date Chooser Test Harness', key='-TXT-')],
[sg.Input(key='-IN-', size=(20,1)), sg.CalendarButton('Cal US No Buttons Location (0,0)', close_when_date_chosen=True, target='-IN-', location=(0,0), no_titlebar=False, )],
[sg.Input(key='-IN3-', size=(20,1)), sg.CalendarButton('Cal Monday', title='Pick a date any date', no_titlebar=True, close_when_date_chosen=False, target='-IN3-', begin_at_sunday_plus=1, month_names=('студзень', 'люты', 'сакавік', 'красавік', 'май', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастрычнік', 'лістапад', 'снежань'), day_abbreviations=('Дш', 'Шш', 'Шр', 'Бш', 'Жм', 'Иш', 'Жш'))],
[sg.Input(key='-IN2-', size=(20,1)), sg.CalendarButton('Cal German Feb 2020', target='-IN2-', default_date_m_d_y=(2,None,2020), locale='de_DE', begin_at_sunday_plus=1 )],
[sg.Input(key='-IN4-', size=(20,1)), sg.CalendarButton('Cal Format %m-%d Jan 2020', target='-IN4-', format='%m-%d', default_date_m_d_y=(1,None,2020), )],
[sg.Button('Read'), sg.Button('Date Popup'), sg.Exit()]]
window = sg.Window('Calendar', grab_anywhere=False).Layout(layout) window = sg.Window('window', layout)
event,values = window.Read()
sg.Popup(values['input']) while True:
event, values = window.read()
print(event, values)
if event in (sg.WIN_CLOSED, 'Exit'):
break
elif event == 'Date Popup':
sg.popup('You chose:', sg.popup_get_date())
window.close()

View file

@ -1,24 +1,18 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
layout = [ layout = [
[sg.Canvas(size=(150, 150), background_color='red', key='canvas')], [sg.Canvas(size=(150, 150), background_color='red', key='canvas')],
[sg.T('Change circle color to:'), sg.ReadButton('Red'), sg.ReadButton('Blue')] [sg.Text('Change circle color to:'), sg.Button('Red'), sg.Button('Blue')]
] ]
window = sg.Window('Canvas test').Layout(layout).Finalize() window = sg.Window('Canvas test', layout, finalize=True)
cir = window.FindElement('canvas').TKCanvas.create_oval(50, 50, 100, 100) cir = window['canvas'].TKCanvas.create_oval(50, 50, 100, 100)
while True: while True:
event, values = window.Read() event, values = window.read()
if event is None: if event == sg.WIN_CLOSED:
break break
if event is 'Blue': if event in ('Blue', 'Red'):
window.FindElement('canvas').TKCanvas.itemconfig(cir, fill = "Blue") window['canvas'].TKCanvas.itemconfig(cir, fill=event)
elif event is 'Red':
window.FindElement('canvas').TKCanvas.itemconfig(cir, fill = "Red")

View file

@ -1,48 +0,0 @@
#!/usr/bin/env python
import sys
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
"""
Demonstrates the new change_submits parameter for inputtext elements
It ONLY submits when a button changes the field, not normal user input
Be careful on persistent forms to not clear the input
"""
layout = [[ sg.Text('Test of reading input field') ],
[sg.T('This input is normal'), sg.In()],
[sg.T('This input change submits'), sg.In(change_submits=True)],
[sg.T('This multiline input change submits'), sg.Multiline(change_submits=True, do_not_clear=True)],
[sg.T('This input is normal'), sg.In(), sg.FileBrowse()],
[sg.T('File Browse submits'), sg.In(change_submits=True,
do_not_clear=True,
key='_in1_'), sg.FileBrowse()],
[sg.T('Color Chooser submits'), sg.In(change_submits=True,
do_not_clear=True,
key='_in2_'), sg.ColorChooserButton('Color...', target=(sg.ThisRow, -1))],
[sg.T('Folder Browse submits'), sg.In(change_submits=True,
do_not_clear=True,
key='_in3_'), sg.FolderBrowse()],
[sg.T('Calendar Chooser submits'), sg.In(change_submits=True,
do_not_clear=True,
key='_in4_'), sg.CalendarButton('Date...', target=(sg.ThisRow, -1))],
[sg.T('Disabled input submits'), sg.In(change_submits=True,
do_not_clear=True,
disabled=True,
key='_in5'), sg.FileBrowse()],
[sg.T('This input clears after submit'),sg.In(change_submits=True,
key='_in6_'), sg.FileBrowse()],
[ sg.Button('Read')]]
window = sg.Window('Demonstration of InputText with change_submits',
auto_size_text=False,
default_element_size=(22,1),
text_justification='right',
).Layout(layout)
while True: # Event Loop
event, values = window.Read()
print(event, values)
if event is None:
break

View file

@ -1,41 +1,31 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
''' '''
A chat window. Add call to your send-routine, print the response and you're done A simple send/response chat window. Add call to your send-routine and print the response
If async responses can come in, then will need to use a different design that uses PySimpleGUI async design pattern
To see this program RUN on the web go here: Copyright 2023 PySimpleGUI
https://repl.it/@PySimpleGUI/Chat-Application-Demo
Note that the size of the display on repl.it is smaller than most, so the sizes of the
Multiline and Output text areas were reduced in the online version. Nothing else was changed
''' '''
sg.ChangeLookAndFeel('GreenTan') # give our window a spiffy set of colors sg.theme('GreenTan') # give our window a spiffy set of colors
layout = [ [sg.Text('Your output will go here', size=(40, 1))], layout = [[sg.Text('Your output will go here', size=(40, 1))],
[sg.Output(size=(127, 30), font=('Helvetica 10'))], [sg.Output(size=(110, 20), font=('Helvetica 10'))],
[sg.Multiline(size=(85, 5), enter_submits=True, key='query'), [sg.Multiline(size=(70, 5), enter_submits=True, key='-QUERY-', do_not_clear=False),
sg.Button('SEND', button_color=(sg.YELLOWS[0], sg.BLUES[0]), bind_return_key=True), sg.Button('SEND', button_color=(sg.YELLOWS[0], sg.BLUES[0]), bind_return_key=True),
sg.Button('EXIT', button_color=(sg.YELLOWS[0], sg.GREENS[0]))]] sg.Button('EXIT', button_color=(sg.YELLOWS[0], sg.GREENS[0]))]]
window = sg.Window('Chat window', window = sg.Window('Chat window', layout, font=('Helvetica', ' 13'), default_button_element_size=(8,2), use_default_focus=False)
default_element_size=(30, 2),
font=('Helvetica',' 13'),
default_button_element_size=(8,2)).Layout(layout)
# ---===--- Loop taking in user input and using it --- # while True: # The Event Loop
while True: event, values = window.read()
event, value = window.Read() if event in (sg.WIN_CLOSED, 'EXIT'): # quit if exit button or X
if event is 'SEND':
query = value['query'].rstrip()
# EXECUTE YOUR COMMAND HERE
print('The command you entered was {}'.format(query))
elif event in (None, 'EXIT'): # quit if exit button or X
break break
sys.exit(69) if event == 'SEND':
query = values['-QUERY-'].rstrip()
# EXECUTE YOUR COMMAND HERE
print('The command you entered was {}'.format(query), flush=True)
window.close()

View file

@ -1,9 +1,5 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
''' '''
A chatbot with history A chatbot with history
@ -15,46 +11,60 @@ Special keyboard keys:
Control C - exit form Control C - exit form
''' '''
def ChatBotWithHistory(): def ChatBotWithHistory():
# ------- Make a new Window ------- # # ------- Make a new Window ------- #
sg.ChangeLookAndFeel('GreenTan') # give our form a spiffy set of colors # give our form a spiffy set of colors
sg.theme('GreenTan')
layout = [[sg.Text('Your output will go here', size=(40, 1))], layout = [[sg.Text('Your output will go here', size=(40, 1))],
[sg.Output(size=(127, 30), font=('Helvetica 10'))], [sg.Output(size=(127, 30), font=('Helvetica 10'))],
[sg.T('Command History'), sg.T('', size=(20,3), key='history')], [sg.Text('Command History'),
[sg.Multiline(size=(85, 5), enter_submits=True, key='query', do_not_clear=False), sg.Text('', size=(20, 3), key='history')],
sg.ReadButton('SEND', button_color=(sg.YELLOWS[0], sg.BLUES[0]), bind_return_key=True), [sg.ML(size=(85, 5), enter_submits=True, key='query', do_not_clear=False),
sg.Button('SEND', button_color=(sg.YELLOWS[0], sg.BLUES[0]), bind_return_key=True),
sg.Button('EXIT', button_color=(sg.YELLOWS[0], sg.GREENS[0]))]] sg.Button('EXIT', button_color=(sg.YELLOWS[0], sg.GREENS[0]))]]
window = sg.Window('Chat window with history', default_element_size=(30, 2), font=('Helvetica',' 13'), default_button_element_size=(8,2), return_keyboard_events=True).Layout(layout) window = sg.Window('Chat window with history', layout,
default_element_size=(30, 2),
font=('Helvetica', ' 13'),
default_button_element_size=(8, 2),
return_keyboard_events=True)
# ---===--- Loop taking in user input and using it --- # # ---===--- Loop taking in user input and using it --- #
command_history = [] command_history = []
history_offset = 0 history_offset = 0
while True: while True:
(event, value) = window.Read() event, value = window.read()
if event is 'SEND':
if event == 'SEND':
query = value['query'].rstrip() query = value['query'].rstrip()
# EXECUTE YOUR COMMAND HERE # EXECUTE YOUR COMMAND HERE
print('The command you entered was {}'.format(query)) print('The command you entered was {}'.format(query))
command_history.append(query) command_history.append(query)
history_offset = len(command_history)-1 history_offset = len(command_history)-1
window.FindElement('query').Update('') # manually clear input because keyboard events blocks clear # manually clear input because keyboard events blocks clear
window.FindElement('history').Update('\n'.join(command_history[-3:])) window['query'].update('')
elif event is None or event is 'EXIT': # quit if exit event or X window['history'].update('\n'.join(command_history[-3:]))
elif event in (sg.WIN_CLOSED, 'EXIT'): # quit if exit event or X
break break
elif 'Up' in event and len(command_history): elif 'Up' in event and len(command_history):
command = command_history[history_offset] command = command_history[history_offset]
history_offset -= 1 * (history_offset > 0) # decrement is not zero # decrement is not zero
window.FindElement('query').Update(command) history_offset -= 1 * (history_offset > 0)
elif 'Down' in event and len(command_history): window['query'].update(command)
history_offset += 1 * (history_offset < len(command_history)-1) # increment up to end of list
command = command_history[history_offset]
window.FindElement('query').Update(command)
elif 'Escape' in event:
window.FindElement('query').Update('')
sys.exit(69) elif 'Down' in event and len(command_history):
# increment up to end of list
history_offset += 1 * (history_offset < len(command_history)-1)
command = command_history[history_offset]
window['query'].update(command)
elif 'Escape' in event:
window['query'].update('')
ChatBotWithHistory() ChatBotWithHistory()

View file

@ -1,16 +1,17 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
from chatterbot import ChatBot
import chatterbot.utils import chatterbot.utils
''' '''
Demo_Chatterbot.py Demo_Chatterbot.py
Note - this code was written using version 0.8.7 of Chatterbot... to install:
python -m pip install chatterbot==0.8.7
It still runs fine with the old version.
A GUI wrapped arouind the Chatterbot package. A GUI wrapped arouind the Chatterbot package.
The GUI is used to show progress bars during the training process and The GUI is used to show progress bars during the training process and
to collect user input that is sent to the chatbot. The reply is displayed in the GUI window to collect user input that is sent to the chatbot. The reply is displayed in the GUI window
@ -18,59 +19,81 @@ to collect user input that is sent to the chatbot. The reply is displayed in th
# Create the 'Trainer GUI' # Create the 'Trainer GUI'
# The Trainer GUI consists of a lot of progress bars stacked on top of each other # The Trainer GUI consists of a lot of progress bars stacked on top of each other
sg.ChangeLookAndFeel('GreenTan') sg.theme('GreenTan')
# sg.DebugWin() # sg.DebugWin()
MAX_PROG_BARS = 20 # number of training sessions MAX_PROG_BARS = 20 # number of training sessions
bars = [] bars = []
texts = [] texts = []
training_layout = [[sg.T('TRAINING PROGRESS', size=(20, 1), font=('Helvetica', 17))], ] training_layout = [[sg.Text('TRAINING PROGRESS', size=(20, 1), font=('Helvetica', 17))]]
for i in range(MAX_PROG_BARS): for i in range(MAX_PROG_BARS):
bars.append(sg.ProgressBar(100, size=(30, 4))) bars.append(sg.ProgressBar(100, size=(30, 4)))
texts.append(sg.T(' ' * 20, size=(20, 1), justification='right')) texts.append(sg.Text(' ' * 20, size=(20, 1), justification='right'))
training_layout += [[texts[i], bars[i]],] # add a single row training_layout += [[texts[i], bars[i]], ] # add a single row
training_window = sg.Window('Training').Layout(training_layout) training_window = sg.Window('Training', training_layout)
current_bar = 0 current_bar = 0
# callback function for training runs # callback function for training runs
def print_progress_bar(description, iteration_counter, total_items, progress_bar_length=20): def print_progress_bar(description, iteration_counter, total_items, progress_bar_length=20):
global current_bar global current_bar
global bars global bars
global texts global texts
global training_window global training_window
# update the window and the bars # update the window and the bars
button, values = training_window.Read(timeout=0) button, values = training_window.read(timeout=0)
if button is None: # if user closed the window on us, exit if button is None: # if user closed the window on us, exit
sys.exit(69) return
if bars[current_bar].UpdateBar(iteration_counter, max=total_items) is False: if bars[current_bar].UpdateBar(iteration_counter, max=total_items) is False:
sys.exit(69) return
texts[current_bar].Update(description) # show the training dataset name # show the training dataset name
texts[current_bar].update(description)
if iteration_counter == total_items: if iteration_counter == total_items:
current_bar += 1 current_bar += 1
# redefine the chatbot text based progress bar with a graphical one # redefine the chatbot text based progress bar with a graphical one
chatterbot.utils.print_progress_bar = print_progress_bar chatterbot.utils.print_progress_bar = print_progress_bar
from chatterbot import ChatBot
from chatterbot.trainers import ChatterBotCorpusTrainer
chatbot = ChatBot('Ron Obvious')
# Create a new trainer for the chatbot
trainer = ChatterBotCorpusTrainer(chatbot)
# Train based on the english corpus
trainer.train("chatterbot.corpus.english")
# Train based on english greetings corpus
trainer.train("chatterbot.corpus.english.greetings")
# Train based on the english conversations corpus
trainer.train("chatterbot.corpus.english.conversations")
chatbot = ChatBot('Ron Obvious', trainer='chatterbot.trainers.ChatterBotCorpusTrainer') chatbot = ChatBot('Ron Obvious', trainer='chatterbot.trainers.ChatterBotCorpusTrainer')
# Train based on the english corpus # Train based on the english corpus
chatbot.train("chatterbot.corpus.english") # chatbot.train("chatterbot.corpus.english")
################# GUI ################# ################# GUI #################
layout = [[sg.Output(size=(80, 20))], layout = [[sg.Multiline(size=(80, 20), reroute_stdout=True, echo_stdout_stderr=True)],
[sg.Multiline(size=(70, 5), enter_submits=True), [sg.MLine(size=(70, 5), key='-MLINE IN-', enter_submits=True, do_not_clear=False),
sg.Button('SEND', bind_return_key=True), sg.Button('EXIT')]] sg.Button('SEND', bind_return_key=True), sg.Button('EXIT')]]
window = sg.Window('Chat Window', auto_size_text=True, default_element_size=(30, 2)).Layout(layout) window = sg.Window('Chat Window', layout,
default_element_size=(30, 2))
# ---===--- Loop taking in user input and using it to query HowDoI web oracle --- # # ---===--- Loop taking in user input and using it to query HowDoI web oracle --- #
while True: while True:
event, (value,) = window.Read() event, values = window.read()
if event is not 'SEND': if event != 'SEND':
break break
string = value.rstrip() string = values['-MLINE IN-'].rstrip()
print(' '+string) print(' ' + string)
# send the user input to chatbot to get a response # send the user input to chatbot to get a response
response = chatbot.get_response(value.rstrip()) response = chatbot.get_response(values['-MLINE IN-'].rstrip())
print(response) print(response)

View file

@ -1,13 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
from chatterbot import ChatBot from chatterbot import ChatBot
import chatterbot.utils import chatterbot.utils
from gtts import gTTS from gtts import gTTS
from pygame import mixer from pygame import mixer
import time import time
@ -15,6 +9,14 @@ import os
''' '''
Demo_Chatterbot.py Demo_Chatterbot.py
Note - this code was written using version 0.8.7 of Chatterbot... to install:
python -m pip install chatterbot==0.8.7
It still runs fine with the old version.
A GUI wrapped arouind the Chatterbot package. A GUI wrapped arouind the Chatterbot package.
The GUI is used to show progress bars during the training process and The GUI is used to show progress bars during the training process and
to collect user input that is sent to the chatbot. The reply is displayed in the GUI window to collect user input that is sent to the chatbot. The reply is displayed in the GUI window
@ -22,18 +24,18 @@ to collect user input that is sent to the chatbot. The reply is displayed in th
# Create the 'Trainer GUI' # Create the 'Trainer GUI'
# The Trainer GUI consists of a lot of progress bars stacked on top of each other # The Trainer GUI consists of a lot of progress bars stacked on top of each other
sg.ChangeLookAndFeel('NeutralBlue') sg.theme('NeutralBlue')
# sg.DebugWin() # sg.DebugWin()
MAX_PROG_BARS = 20 # number of training sessions MAX_PROG_BARS = 20 # number of training sessions
bars = [] bars = []
texts = [] texts = []
training_layout = [[sg.T('TRAINING PROGRESS', size=(20, 1), font=('Helvetica', 17))], ] training_layout = [[sg.Text('TRAINING PROGRESS', size=(20, 1), font=('Helvetica', 17))], ]
for i in range(MAX_PROG_BARS): for i in range(MAX_PROG_BARS):
bars.append(sg.ProgressBar(100, size=(30, 4))) bars.append(sg.ProgressBar(100, size=(30, 4)))
texts.append(sg.T(' ' * 20, size=(20, 1), justification='right')) texts.append(sg.Text(' ' * 20, size=(20, 1), justification='right'))
training_layout += [[texts[i], bars[i]],] # add a single row training_layout += [[texts[i], bars[i]],] # add a single row
training_window = sg.Window('Training').Layout(training_layout) training_window = sg.Window('Training', training_layout)
current_bar = 0 current_bar = 0
# callback function for training runs # callback function for training runs
@ -43,12 +45,12 @@ def print_progress_bar(description, iteration_counter, total_items, progress_bar
global texts global texts
global training_window global training_window
# update the window and the bars # update the window and the bars
button, values = training_window.Read(timeout=0) button, values = training_window.read(timeout=0)
if button is None: # if user closed the window on us, exit if button is None: # if user closed the window on us, exit
sys.exit(69) return
if bars[current_bar].UpdateBar(iteration_counter, max=total_items) is False: if bars[current_bar].update_bar(iteration_counter, max=total_items) is False:
sys.exit(69) return
texts[current_bar].Update(description) # show the training dataset name texts[current_bar].update(description) # show the training dataset name
if iteration_counter == total_items: if iteration_counter == total_items:
current_bar += 1 current_bar += 1
@ -78,20 +80,22 @@ chatbot.train("chatterbot.corpus.english")
################# GUI ################# ################# GUI #################
layout = [[sg.Output(size=(80, 20))], layout = [[sg.Multiline(size=(80, 20), reroute_stdout=True, echo_stdout_stderr=True)],
[sg.Multiline(size=(70, 5), enter_submits=True), [sg.MLine(size=(70, 5), key='-MLINE IN-', enter_submits=True, do_not_clear=False),
sg.Button('SEND', bind_return_key=True), sg.Button('EXIT')]] sg.Button('SEND', bind_return_key=True), sg.Button('EXIT')]]
window = sg.Window('Chat Window', auto_size_text=True, default_element_size=(30, 2)).Layout(layout) window = sg.Window('Chat Window', layout,
default_element_size=(30, 2))
# ---===--- Loop taking in user input and using it to query HowDoI web oracle --- # # ---===--- Loop taking in user input and using it to query HowDoI web oracle --- #
while True: while True:
event, (value,) = window.Read() event, values = window.read()
if event is not 'SEND': if event != 'SEND':
break break
string = value.rstrip() string = values['-MLINE IN-'].rstrip()
print(' '+string) print(' ' + string)
# send the user input to chatbot to get a response # send the user input to chatbot to get a response
response = chatbot.get_response(value.rstrip()) response = chatbot.get_response(values['-MLINE IN-'].rstrip())
print(response) print(response)
speak(str(response))
window.close()

View file

@ -0,0 +1,45 @@
import PySimpleGUI as sg
"""
Demo - Custom Checkboxes done simply
The Base64 Image encoding feature of PySimpleGUI makes it possible to create beautiful GUIs very simply
These 2 checkboxes required 3 extra lines of code than a normal checkbox.
1. Keep track of the current value using the Image Element's Metadata
2. Changle / Update the image when clicked
3. The Base64 image definition
Enable the event on the Image with the checkbox so that you can take action (flip the value)
Copyright 2022 PySimpleGUI
"""
def main():
layout = [[sg.Text('Fancy Checkboxes... Simply')],
[sg.Image(checked, key=('-IMAGE-', 1), metadata=True, enable_events=True), sg.Text(True, enable_events=True, k=('-TEXT-', 1))],
[sg.Image(unchecked, key=('-IMAGE-', 2), metadata=False, enable_events=True), sg.Text(False, enable_events=True, k=('-TEXT-', 2))],
[sg.Button('Go'), sg.Button('Exit')]]
window = sg.Window('Custom Checkboxes', layout, font="_ 14")
while True:
event, values = window.read()
print(event, values)
if event == sg.WIN_CLOSED or event == 'Exit':
break
# if a checkbox is clicked, flip the vale and the image
if event[0] in ('-IMAGE-', '-TEXT-'):
cbox_key = ('-IMAGE-', event[1])
text_key = ('-TEXT-', event[1])
window[cbox_key].metadata = not window[cbox_key].metadata
window[cbox_key].update(checked if window[cbox_key].metadata else unchecked)
# Update the string next to the checkbox
window[text_key].update(window[cbox_key].metadata)
window.close()
if __name__ == '__main__':
checked = b'iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAKMGlDQ1BJQ0MgUHJvZmlsZQAAeJydlndUVNcWh8+9d3qhzTAUKUPvvQ0gvTep0kRhmBlgKAMOMzSxIaICEUVEBBVBgiIGjIYisSKKhYBgwR6QIKDEYBRRUXkzslZ05eW9l5ffH2d9a5+99z1n733WugCQvP25vHRYCoA0noAf4uVKj4yKpmP7AQzwAAPMAGCyMjMCQj3DgEg+Hm70TJET+CIIgDd3xCsAN428g+h08P9JmpXBF4jSBInYgs3JZIm4UMSp2YIMsX1GxNT4FDHDKDHzRQcUsbyYExfZ8LPPIjuLmZ3GY4tYfOYMdhpbzD0i3pol5IgY8RdxURaXky3iWyLWTBWmcUX8VhybxmFmAoAiie0CDitJxKYiJvHDQtxEvBQAHCnxK47/igWcHIH4Um7pGbl8bmKSgK7L0qOb2doy6N6c7FSOQGAUxGSlMPlsult6WgaTlwvA4p0/S0ZcW7qoyNZmttbWRubGZl8V6r9u/k2Je7tIr4I/9wyi9X2x/ZVfej0AjFlRbXZ8scXvBaBjMwDy97/YNA8CICnqW/vAV/ehieclSSDIsDMxyc7ONuZyWMbigv6h/+nwN/TV94zF6f4oD92dk8AUpgro4rqx0lPThXx6ZgaTxaEb/XmI/3HgX5/DMISTwOFzeKKIcNGUcXmJonbz2FwBN51H5/L+UxP/YdiftDjXIlEaPgFqrDGQGqAC5Nc+gKIQARJzQLQD/dE3f3w4EL+8CNWJxbn/LOjfs8Jl4iWTm/g5zi0kjM4S8rMW98TPEqABAUgCKlAAKkAD6AIjYA5sgD1wBh7AFwSCMBAFVgEWSAJpgA+yQT7YCIpACdgBdoNqUAsaQBNoASdABzgNLoDL4Dq4AW6DB2AEjIPnYAa8AfMQBGEhMkSBFCBVSAsygMwhBuQIeUD+UAgUBcVBiRAPEkL50CaoBCqHqqE6qAn6HjoFXYCuQoPQPWgUmoJ+h97DCEyCqbAyrA2bwAzYBfaDw+CVcCK8Gs6DC+HtcBVcDx+D2+EL8HX4NjwCP4dnEYAQERqihhghDMQNCUSikQSEj6xDipFKpB5pQbqQXuQmMoJMI+9QGBQFRUcZoexR3qjlKBZqNWodqhRVjTqCakf1oG6iRlEzqE9oMloJbYC2Q/ugI9GJ6Gx0EboS3YhuQ19C30aPo99gMBgaRgdjg/HGRGGSMWswpZj9mFbMecwgZgwzi8ViFbAGWAdsIJaJFWCLsHuxx7DnsEPYcexbHBGnijPHeeKicTxcAa4SdxR3FjeEm8DN46XwWng7fCCejc/Fl+Eb8F34Afw4fp4gTdAhOBDCCMmEjYQqQgvhEuEh4RWRSFQn2hKDiVziBmIV8TjxCnGU+I4kQ9InuZFiSELSdtJh0nnSPdIrMpmsTXYmR5MF5O3kJvJF8mPyWwmKhLGEjwRbYr1EjUS7xJDEC0m8pJaki+QqyTzJSsmTkgOS01J4KW0pNymm1DqpGqlTUsNSs9IUaTPpQOk06VLpo9JXpSdlsDLaMh4ybJlCmUMyF2XGKAhFg+JGYVE2URoolyjjVAxVh+pDTaaWUL+j9lNnZGVkLWXDZXNka2TPyI7QEJo2zYeWSiujnaDdob2XU5ZzkePIbZNrkRuSm5NfIu8sz5Evlm+Vvy3/XoGu4KGQorBToUPhkSJKUV8xWDFb8YDiJcXpJdQl9ktYS4qXnFhyXwlW0lcKUVqjdEipT2lWWUXZSzlDea/yReVpFZqKs0qySoXKWZUpVYqqoypXtUL1nOozuizdhZ5Kr6L30GfUlNS81YRqdWr9avPqOurL1QvUW9UfaRA0GBoJGhUa3RozmqqaAZr5ms2a97XwWgytJK09Wr1ac9o62hHaW7Q7tCd15HV8dPJ0mnUe6pJ1nXRX69br3tLD6DH0UvT2693Qh/Wt9JP0a/QHDGADawOuwX6DQUO0oa0hz7DecNiIZORilGXUbDRqTDP2Ny4w7jB+YaJpEm2y06TX5JOplWmqaYPpAzMZM1+zArMus9/N9c1Z5jXmtyzIFp4W6y06LV5aGlhyLA9Y3rWiWAVYbbHqtvpobWPNt26xnrLRtImz2WczzKAyghiljCu2aFtX2/W2p23f2VnbCexO2P1mb2SfYn/UfnKpzlLO0oalYw7qDkyHOocRR7pjnONBxxEnNSemU73TE2cNZ7Zzo/OEi55Lsssxlxeupq581zbXOTc7t7Vu590Rdy/3Yvd+DxmP5R7VHo891T0TPZs9Z7ysvNZ4nfdGe/t57/Qe9lH2Yfk0+cz42viu9e3xI/mF+lX7PfHX9+f7dwXAAb4BuwIeLtNaxlvWEQgCfQJ3BT4K0glaHfRjMCY4KLgm+GmIWUh+SG8oJTQ29GjomzDXsLKwB8t1lwuXd4dLhseEN4XPRbhHlEeMRJpEro28HqUYxY3qjMZGh0c3Rs+u8Fixe8V4jFVMUcydlTorc1ZeXaW4KnXVmVjJWGbsyTh0XETc0bgPzEBmPXM23id+X/wMy421h/Wc7cyuYE9xHDjlnIkEh4TyhMlEh8RdiVNJTkmVSdNcN24192Wyd3Jt8lxKYMrhlIXUiNTWNFxaXNopngwvhdeTrpKekz6YYZBRlDGy2m717tUzfD9+YyaUuTKzU0AV/Uz1CXWFm4WjWY5ZNVlvs8OzT+ZI5/By+nL1c7flTuR55n27BrWGtaY7Xy1/Y/7oWpe1deugdfHrutdrrC9cP77Ba8ORjYSNKRt/KjAtKC94vSliU1ehcuGGwrHNXpubiySK+EXDW+y31G5FbeVu7d9msW3vtk/F7OJrJaYllSUfSlml174x+6bqm4XtCdv7y6zLDuzA7ODtuLPTaeeRcunyvPKxXQG72ivoFcUVr3fH7r5aaVlZu4ewR7hnpMq/qnOv5t4dez9UJ1XfrnGtad2ntG/bvrn97P1DB5wPtNQq15bUvj/IPXi3zquuvV67vvIQ5lDWoacN4Q293zK+bWpUbCxp/HiYd3jkSMiRniabpqajSkfLmuFmYfPUsZhjN75z/66zxailrpXWWnIcHBcef/Z93Pd3Tvid6D7JONnyg9YP+9oobcXtUHtu+0xHUsdIZ1Tn4CnfU91d9l1tPxr/ePi02umaM7Jnys4SzhaeXTiXd272fMb56QuJF8a6Y7sfXIy8eKsnuKf/kt+lK5c9L1/sdek9d8XhyumrdldPXWNc67hufb29z6qv7Sern9r6rfvbB2wGOm/Y3ugaXDp4dshp6MJN95uXb/ncun572e3BO8vv3B2OGR65y747eS/13sv7WffnH2x4iH5Y/EjqUeVjpcf1P+v93DpiPXJm1H2070nokwdjrLHnv2T+8mG88Cn5aeWE6kTTpPnk6SnPqRvPVjwbf57xfH666FfpX/e90H3xw2/Ov/XNRM6Mv+S/XPi99JXCq8OvLV93zwbNPn6T9mZ+rvitwtsj7xjvet9HvJ+Yz/6A/VD1Ue9j1ye/Tw8X0hYW/gUDmPP8uaxzGQAAAp1JREFUeJzFlk1rE1EUhp9z5iat9kMlVXGhKH4uXEo1CoIKrnSnoHs3unLnxpW7ipuCv0BwoRv/gCBY2/gLxI2gBcHGT9KmmmTmHBeTlLRJGquT+jJ3djPPfV/OPefK1UfvD0hIHotpsf7jm4mq4k6mEsEtsfz2gpr4rGpyPYjGjyUMFy1peNg5odkSV0nNDNFwxhv2JAhR0ZKGA0JiIAPCpgTczaVhRa1//2qoprhBQdv/LSKNasVUVAcZb/c9/A9oSwMDq6Rr08DSXNW68TN2pAc8U3CLsVQ3bpwocHb/CEs16+o8ZAoVWKwZNycLXD62DYDyUszbLzW2BMHa+lIm4Fa8lZpx6+QEl46OA1CaX+ZjpUFeV0MzAbecdoPen1lABHKRdHThdcECiNCx27XQxTXQufllHrxaIFKItBMK6xSXCCSeFsoKZO2m6AUtE0lvaE+wCPyKna055erx7SSWul7pes1Xpd4Z74OZhfQMrwOFLlELYAbjeeXuud0cKQyxZyzHw9efGQ6KStrve8WrCpHSd7J2gL1Jjx0qvxIALh4aIxJhulRmKBKWY+8Zbz+nLXWNWgXqsXPvxSfm5qsAXDg4yu3iLn7Gzq3Jv4t3XceQxpSLQFWZelnmztldnN43wvmDoxyeGGLvtlyb0z+Pt69jSItJBfJBmHpZXnG+Gtq/ejcMhtSBCuQjYWqmzOyHFD77oZo63WC87erbudzTGAMwXfrM2y81nr+rIGw83nb90XQyh9Ccb8/e/CAxCF3aYOZgaB4zYDSffvKvN+ANz+NefXvg4KykbmabDXU30/yOguKbyHYnNzKuwUnmhPxpF3Ok19UsM2r6BEpB6n7NpPFU6smpuLpoqCgZFdCKBDC3MDKmntNSVEuu/AYecjifoa3JogAAAABJRU5ErkJggg=='
unchecked = b'iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAKMGlDQ1BJQ0MgUHJvZmlsZQAAeJydlndUVNcWh8+9d3qhzTAUKUPvvQ0gvTep0kRhmBlgKAMOMzSxIaICEUVEBBVBgiIGjIYisSKKhYBgwR6QIKDEYBRRUXkzslZ05eW9l5ffH2d9a5+99z1n733WugCQvP25vHRYCoA0noAf4uVKj4yKpmP7AQzwAAPMAGCyMjMCQj3DgEg+Hm70TJET+CIIgDd3xCsAN428g+h08P9JmpXBF4jSBInYgs3JZIm4UMSp2YIMsX1GxNT4FDHDKDHzRQcUsbyYExfZ8LPPIjuLmZ3GY4tYfOYMdhpbzD0i3pol5IgY8RdxURaXky3iWyLWTBWmcUX8VhybxmFmAoAiie0CDitJxKYiJvHDQtxEvBQAHCnxK47/igWcHIH4Um7pGbl8bmKSgK7L0qOb2doy6N6c7FSOQGAUxGSlMPlsult6WgaTlwvA4p0/S0ZcW7qoyNZmttbWRubGZl8V6r9u/k2Je7tIr4I/9wyi9X2x/ZVfej0AjFlRbXZ8scXvBaBjMwDy97/YNA8CICnqW/vAV/ehieclSSDIsDMxyc7ONuZyWMbigv6h/+nwN/TV94zF6f4oD92dk8AUpgro4rqx0lPThXx6ZgaTxaEb/XmI/3HgX5/DMISTwOFzeKKIcNGUcXmJonbz2FwBN51H5/L+UxP/YdiftDjXIlEaPgFqrDGQGqAC5Nc+gKIQARJzQLQD/dE3f3w4EL+8CNWJxbn/LOjfs8Jl4iWTm/g5zi0kjM4S8rMW98TPEqABAUgCKlAAKkAD6AIjYA5sgD1wBh7AFwSCMBAFVgEWSAJpgA+yQT7YCIpACdgBdoNqUAsaQBNoASdABzgNLoDL4Dq4AW6DB2AEjIPnYAa8AfMQBGEhMkSBFCBVSAsygMwhBuQIeUD+UAgUBcVBiRAPEkL50CaoBCqHqqE6qAn6HjoFXYCuQoPQPWgUmoJ+h97DCEyCqbAyrA2bwAzYBfaDw+CVcCK8Gs6DC+HtcBVcDx+D2+EL8HX4NjwCP4dnEYAQERqihhghDMQNCUSikQSEj6xDipFKpB5pQbqQXuQmMoJMI+9QGBQFRUcZoexR3qjlKBZqNWodqhRVjTqCakf1oG6iRlEzqE9oMloJbYC2Q/ugI9GJ6Gx0EboS3YhuQ19C30aPo99gMBgaRgdjg/HGRGGSMWswpZj9mFbMecwgZgwzi8ViFbAGWAdsIJaJFWCLsHuxx7DnsEPYcexbHBGnijPHeeKicTxcAa4SdxR3FjeEm8DN46XwWng7fCCejc/Fl+Eb8F34Afw4fp4gTdAhOBDCCMmEjYQqQgvhEuEh4RWRSFQn2hKDiVziBmIV8TjxCnGU+I4kQ9InuZFiSELSdtJh0nnSPdIrMpmsTXYmR5MF5O3kJvJF8mPyWwmKhLGEjwRbYr1EjUS7xJDEC0m8pJaki+QqyTzJSsmTkgOS01J4KW0pNymm1DqpGqlTUsNSs9IUaTPpQOk06VLpo9JXpSdlsDLaMh4ybJlCmUMyF2XGKAhFg+JGYVE2URoolyjjVAxVh+pDTaaWUL+j9lNnZGVkLWXDZXNka2TPyI7QEJo2zYeWSiujnaDdob2XU5ZzkePIbZNrkRuSm5NfIu8sz5Evlm+Vvy3/XoGu4KGQorBToUPhkSJKUV8xWDFb8YDiJcXpJdQl9ktYS4qXnFhyXwlW0lcKUVqjdEipT2lWWUXZSzlDea/yReVpFZqKs0qySoXKWZUpVYqqoypXtUL1nOozuizdhZ5Kr6L30GfUlNS81YRqdWr9avPqOurL1QvUW9UfaRA0GBoJGhUa3RozmqqaAZr5ms2a97XwWgytJK09Wr1ac9o62hHaW7Q7tCd15HV8dPJ0mnUe6pJ1nXRX69br3tLD6DH0UvT2693Qh/Wt9JP0a/QHDGADawOuwX6DQUO0oa0hz7DecNiIZORilGXUbDRqTDP2Ny4w7jB+YaJpEm2y06TX5JOplWmqaYPpAzMZM1+zArMus9/N9c1Z5jXmtyzIFp4W6y06LV5aGlhyLA9Y3rWiWAVYbbHqtvpobWPNt26xnrLRtImz2WczzKAyghiljCu2aFtX2/W2p23f2VnbCexO2P1mb2SfYn/UfnKpzlLO0oalYw7qDkyHOocRR7pjnONBxxEnNSemU73TE2cNZ7Zzo/OEi55Lsssxlxeupq581zbXOTc7t7Vu590Rdy/3Yvd+DxmP5R7VHo891T0TPZs9Z7ysvNZ4nfdGe/t57/Qe9lH2Yfk0+cz42viu9e3xI/mF+lX7PfHX9+f7dwXAAb4BuwIeLtNaxlvWEQgCfQJ3BT4K0glaHfRjMCY4KLgm+GmIWUh+SG8oJTQ29GjomzDXsLKwB8t1lwuXd4dLhseEN4XPRbhHlEeMRJpEro28HqUYxY3qjMZGh0c3Rs+u8Fixe8V4jFVMUcydlTorc1ZeXaW4KnXVmVjJWGbsyTh0XETc0bgPzEBmPXM23id+X/wMy421h/Wc7cyuYE9xHDjlnIkEh4TyhMlEh8RdiVNJTkmVSdNcN24192Wyd3Jt8lxKYMrhlIXUiNTWNFxaXNopngwvhdeTrpKekz6YYZBRlDGy2m717tUzfD9+YyaUuTKzU0AV/Uz1CXWFm4WjWY5ZNVlvs8OzT+ZI5/By+nL1c7flTuR55n27BrWGtaY7Xy1/Y/7oWpe1deugdfHrutdrrC9cP77Ba8ORjYSNKRt/KjAtKC94vSliU1ehcuGGwrHNXpubiySK+EXDW+y31G5FbeVu7d9msW3vtk/F7OJrJaYllSUfSlml174x+6bqm4XtCdv7y6zLDuzA7ODtuLPTaeeRcunyvPKxXQG72ivoFcUVr3fH7r5aaVlZu4ewR7hnpMq/qnOv5t4dez9UJ1XfrnGtad2ntG/bvrn97P1DB5wPtNQq15bUvj/IPXi3zquuvV67vvIQ5lDWoacN4Q293zK+bWpUbCxp/HiYd3jkSMiRniabpqajSkfLmuFmYfPUsZhjN75z/66zxailrpXWWnIcHBcef/Z93Pd3Tvid6D7JONnyg9YP+9oobcXtUHtu+0xHUsdIZ1Tn4CnfU91d9l1tPxr/ePi02umaM7Jnys4SzhaeXTiXd272fMb56QuJF8a6Y7sfXIy8eKsnuKf/kt+lK5c9L1/sdek9d8XhyumrdldPXWNc67hufb29z6qv7Sern9r6rfvbB2wGOm/Y3ugaXDp4dshp6MJN95uXb/ncun572e3BO8vv3B2OGR65y747eS/13sv7WffnH2x4iH5Y/EjqUeVjpcf1P+v93DpiPXJm1H2070nokwdjrLHnv2T+8mG88Cn5aeWE6kTTpPnk6SnPqRvPVjwbf57xfH666FfpX/e90H3xw2/Ov/XNRM6Mv+S/XPi99JXCq8OvLV93zwbNPn6T9mZ+rvitwtsj7xjvet9HvJ+Yz/6A/VD1Ue9j1ye/Tw8X0hYW/gUDmPP8uaxzGQAAAPFJREFUeJzt101KA0EQBeD3XjpBCIoSPYC3cPQaCno9IQu9h+YauYA/KFk4k37lYhAUFBR6Iko/at1fU4uqbp5dLg+Z8pxW0z7em5IQgaIhEc6e7M5kxo2ULxK1njNtNc5dpIN9lRU/RLZBpZPofJWIUePcBQAiG+BAbC8gwsHOjdqHO0PquaHQ92eT7FZPFqUh2/v5HX4DfUuFK1zhClf4H8IstDp/DJd6Ff2dVle4wt+Gw/am0Qhbk72ZEBu0IzCe7igF8i0xOQ46wFJz6Uu1r4RFYhvnZnfNNh+tV8+GKBT+s4EAHE7TbcVYi9FLPn0F1D1glFsARrAAAAAASUVORK5CYII='
main()

View file

@ -0,0 +1,103 @@
import PySimpleGUI as sg
"""
Demo - Class wrapper
Using a class to encapsulate PySimpleGUI Window creation & event loop
This is NOT a recommended design pattern. It mimics the object oriented design that many OO-based
GUI frameworks use, but there is no advantage to structuring you code in his manner. It adds
confusion, not clarity.
The class version is 18 lines of code. The plain version is 13 lines of code.
Two things about the class wrapper jump out as adding confusion:
1. Unneccessary fragmentation of the event loop - the button click code is pulled out of the loop entirely
2. "self" clutters the code without adding value
Copyright 2022, 2023 PySimpleGUI
"""
'''
MM'""""'YMM dP
M' .mmm. `M 88
M MMMMMooM 88 .d8888b. .d8888b. .d8888b.
M MMMMMMMM 88 88' `88 Y8ooooo. Y8ooooo.
M. `MMM' .M 88 88. .88 88 88
MM. .dM dP `88888P8 `88888P' `88888P'
MMMMMMMMMMM
M""MMMMM""M oo
M MMMMM M
M MMMMP M .d8888b. 88d888b. .d8888b. dP .d8888b. 88d888b.
M MMMM' .M 88ooood8 88' `88 Y8ooooo. 88 88' `88 88' `88
M MMP' .MM 88. ... 88 88 88 88. .88 88 88
M .dMMM `88888P' dP `88888P' dP `88888P' dP dP
MMMMMMMMMMM
'''
class SampleGUI():
def __init__(self):
self.layout = [ [sg.Text('My layout')],
[sg.Input(key='-IN-')],
[sg.Button('Go'), sg.Button('Exit')] ]
self.window = sg.Window('My new window', self.layout)
def run(self):
while True: # Event Loop
self.event, self.values = self.window.read()
if self.event in (sg.WIN_CLOSED, 'Exit'):
break
if self.event == 'Go':
self.button_go()
self.window.close()
def button_go(self):
sg.popup('Go button clicked', 'Input value:', self.values['-IN-'])
# Create the class
my_gui = SampleGUI()
# run the event loop
my_gui.run()
'''
M"""""""`YM dP
M mmmm. M 88
M MMMMM M .d8888b. 88d888b. 88d8b.d8b. .d8888b. 88
M MMMMM M 88' `88 88' `88 88'`88'`88 88' `88 88
M MMMMM M 88. .88 88 88 88 88 88. .88 88
M MMMMM M `88888P' dP dP dP dP `88888P8 dP
MMMMMMMMMMM
M""MMMMM""M oo
M MMMMM M
M MMMMP M .d8888b. 88d888b. .d8888b. dP .d8888b. 88d888b.
M MMMM' .M 88ooood8 88' `88 Y8ooooo. 88 88' `88 88' `88
M MMP' .MM 88. ... 88 88 88 88. .88 88 88
M .dMMM `88888P' dP `88888P' dP `88888P' dP dP
MMMMMMMMMMM
'''
def gui_function():
layout = [ [sg.Text('My layout')],
[sg.Input(key='-IN-')],
[sg.Button('Go'), sg.Button('Exit')] ]
window = sg.Window('My new window', layout)
while True: # Event Loop
event, values = window.read()
if event in (sg.WIN_CLOSED, 'Exit'):
break
if event == 'Go':
sg.popup('Go button clicked', 'Input value:', values['-IN-'])
window.close()
gui_function()

View file

@ -0,0 +1,24 @@
"""
Demo_Close_Attempted_Event
Catches if a window close was tried by user (click "X") and confirms with a popup.
Requires PySimpleGUI 4.33.0 and later
Copyright 2021 PySimpleGUI Inc.
"""
import PySimpleGUI as sg
layout = [[sg.Text('Close confirmation demo')],
[sg.Text('Try closing window with the "X"')],
[sg.Button('Go'), sg.Button('Exit')]]
window = sg.Window('Window Title', layout, enable_close_attempted_event=True)
while True:
event, values = window.read()
print(event, values)
if (event == sg.WINDOW_CLOSE_ATTEMPTED_EVENT or event == 'Exit') and sg.popup_yes_no('Do you really want to exit?') == 'Yes':
break
window.close()

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,719 @@
import PySimpleGUI as sg
def popup_color_chooser(look_and_feel=None):
"""
:return: Any(str, None) Returns hex string of color chosen or None if nothing was chosen
"""
color_map = {
'alice blue': '#F0F8FF',
'AliceBlue': '#F0F8FF',
'antique white': '#FAEBD7',
'AntiqueWhite': '#FAEBD7',
'AntiqueWhite1': '#FFEFDB',
'AntiqueWhite2': '#EEDFCC',
'AntiqueWhite3': '#CDC0B0',
'AntiqueWhite4': '#8B8378',
'aquamarine': '#7FFFD4',
'aquamarine1': '#7FFFD4',
'aquamarine2': '#76EEC6',
'aquamarine3': '#66CDAA',
'aquamarine4': '#458B74',
'azure': '#F0FFFF',
'azure1': '#F0FFFF',
'azure2': '#E0EEEE',
'azure3': '#C1CDCD',
'azure4': '#838B8B',
'beige': '#F5F5DC',
'bisque': '#FFE4C4',
'bisque1': '#FFE4C4',
'bisque2': '#EED5B7',
'bisque3': '#CDB79E',
'bisque4': '#8B7D6B',
'black': '#000000',
'blanched almond': '#FFEBCD',
'BlanchedAlmond': '#FFEBCD',
'blue': '#0000FF',
'blue violet': '#8A2BE2',
'blue1': '#0000FF',
'blue2': '#0000EE',
'blue3': '#0000CD',
'blue4': '#00008B',
'BlueViolet': '#8A2BE2',
'brown': '#A52A2A',
'brown1': '#FF4040',
'brown2': '#EE3B3B',
'brown3': '#CD3333',
'brown4': '#8B2323',
'burlywood': '#DEB887',
'burlywood1': '#FFD39B',
'burlywood2': '#EEC591',
'burlywood3': '#CDAA7D',
'burlywood4': '#8B7355',
'cadet blue': '#5F9EA0',
'CadetBlue': '#5F9EA0',
'CadetBlue1': '#98F5FF',
'CadetBlue2': '#8EE5EE',
'CadetBlue3': '#7AC5CD',
'CadetBlue4': '#53868B',
'chartreuse': '#7FFF00',
'chartreuse1': '#7FFF00',
'chartreuse2': '#76EE00',
'chartreuse3': '#66CD00',
'chartreuse4': '#458B00',
'chocolate': '#D2691E',
'chocolate1': '#FF7F24',
'chocolate2': '#EE7621',
'chocolate3': '#CD661D',
'chocolate4': '#8B4513',
'coral': '#FF7F50',
'coral1': '#FF7256',
'coral2': '#EE6A50',
'coral3': '#CD5B45',
'coral4': '#8B3E2F',
'cornflower blue': '#6495ED',
'CornflowerBlue': '#6495ED',
'cornsilk': '#FFF8DC',
'cornsilk1': '#FFF8DC',
'cornsilk2': '#EEE8CD',
'cornsilk3': '#CDC8B1',
'cornsilk4': '#8B8878',
'cyan': '#00FFFF',
'cyan1': '#00FFFF',
'cyan2': '#00EEEE',
'cyan3': '#00CDCD',
'cyan4': '#008B8B',
'dark blue': '#00008B',
'dark cyan': '#008B8B',
'dark goldenrod': '#B8860B',
'dark gray': '#A9A9A9',
'dark green': '#006400',
'dark grey': '#A9A9A9',
'dark khaki': '#BDB76B',
'dark magenta': '#8B008B',
'dark olive green': '#556B2F',
'dark orange': '#FF8C00',
'dark orchid': '#9932CC',
'dark red': '#8B0000',
'dark salmon': '#E9967A',
'dark sea green': '#8FBC8F',
'dark slate blue': '#483D8B',
'dark slate gray': '#2F4F4F',
'dark slate grey': '#2F4F4F',
'dark turquoise': '#00CED1',
'dark violet': '#9400D3',
'DarkBlue': '#00008B',
'DarkCyan': '#008B8B',
'DarkGoldenrod': '#B8860B',
'DarkGoldenrod1': '#FFB90F',
'DarkGoldenrod2': '#EEAD0E',
'DarkGoldenrod3': '#CD950C',
'DarkGoldenrod4': '#8B6508',
'DarkGray': '#A9A9A9',
'DarkGreen': '#006400',
'DarkGrey': '#A9A9A9',
'DarkKhaki': '#BDB76B',
'DarkMagenta': '#8B008B',
'DarkOliveGreen': '#556B2F',
'DarkOliveGreen1': '#CAFF70',
'DarkOliveGreen2': '#BCEE68',
'DarkOliveGreen3': '#A2CD5A',
'DarkOliveGreen4': '#6E8B3D',
'DarkOrange': '#FF8C00',
'DarkOrange1': '#FF7F00',
'DarkOrange2': '#EE7600',
'DarkOrange3': '#CD6600',
'DarkOrange4': '#8B4500',
'DarkOrchid': '#9932CC',
'DarkOrchid1': '#BF3EFF',
'DarkOrchid2': '#B23AEE',
'DarkOrchid3': '#9A32CD',
'DarkOrchid4': '#68228B',
'DarkRed': '#8B0000',
'DarkSalmon': '#E9967A',
'DarkSeaGreen': '#8FBC8F',
'DarkSeaGreen1': '#C1FFC1',
'DarkSeaGreen2': '#B4EEB4',
'DarkSeaGreen3': '#9BCD9B',
'DarkSeaGreen4': '#698B69',
'DarkSlateBlue': '#483D8B',
'DarkSlateGray': '#2F4F4F',
'DarkSlateGray1': '#97FFFF',
'DarkSlateGray2': '#8DEEEE',
'DarkSlateGray3': '#79CDCD',
'DarkSlateGray4': '#528B8B',
'DarkSlateGrey': '#2F4F4F',
'DarkTurquoise': '#00CED1',
'DarkViolet': '#9400D3',
'deep pink': '#FF1493',
'deep sky blue': '#00BFFF',
'DeepPink': '#FF1493',
'DeepPink1': '#FF1493',
'DeepPink2': '#EE1289',
'DeepPink3': '#CD1076',
'DeepPink4': '#8B0A50',
'DeepSkyBlue': '#00BFFF',
'DeepSkyBlue1': '#00BFFF',
'DeepSkyBlue2': '#00B2EE',
'DeepSkyBlue3': '#009ACD',
'DeepSkyBlue4': '#00688B',
'dim gray': '#696969',
'dim grey': '#696969',
'DimGray': '#696969',
'DimGrey': '#696969',
'dodger blue': '#1E90FF',
'DodgerBlue': '#1E90FF',
'DodgerBlue1': '#1E90FF',
'DodgerBlue2': '#1C86EE',
'DodgerBlue3': '#1874CD',
'DodgerBlue4': '#104E8B',
'firebrick': '#B22222',
'firebrick1': '#FF3030',
'firebrick2': '#EE2C2C',
'firebrick3': '#CD2626',
'firebrick4': '#8B1A1A',
'floral white': '#FFFAF0',
'FloralWhite': '#FFFAF0',
'forest green': '#228B22',
'ForestGreen': '#228B22',
'gainsboro': '#DCDCDC',
'ghost white': '#F8F8FF',
'GhostWhite': '#F8F8FF',
'gold': '#FFD700',
'gold1': '#FFD700',
'gold2': '#EEC900',
'gold3': '#CDAD00',
'gold4': '#8B7500',
'goldenrod': '#DAA520',
'goldenrod1': '#FFC125',
'goldenrod2': '#EEB422',
'goldenrod3': '#CD9B1D',
'goldenrod4': '#8B6914',
'green': '#00FF00',
'green yellow': '#ADFF2F',
'green1': '#00FF00',
'green2': '#00EE00',
'green3': '#00CD00',
'green4': '#008B00',
'GreenYellow': '#ADFF2F',
'grey': '#BEBEBE',
'grey0': '#000000',
'grey1': '#030303',
'grey2': '#050505',
'grey3': '#080808',
'grey4': '#0A0A0A',
'grey5': '#0D0D0D',
'grey6': '#0F0F0F',
'grey7': '#121212',
'grey8': '#141414',
'grey9': '#171717',
'grey10': '#1A1A1A',
'grey11': '#1C1C1C',
'grey12': '#1F1F1F',
'grey13': '#212121',
'grey14': '#242424',
'grey15': '#262626',
'grey16': '#292929',
'grey17': '#2B2B2B',
'grey18': '#2E2E2E',
'grey19': '#303030',
'grey20': '#333333',
'grey21': '#363636',
'grey22': '#383838',
'grey23': '#3B3B3B',
'grey24': '#3D3D3D',
'grey25': '#404040',
'grey26': '#424242',
'grey27': '#454545',
'grey28': '#474747',
'grey29': '#4A4A4A',
'grey30': '#4D4D4D',
'grey31': '#4F4F4F',
'grey32': '#525252',
'grey33': '#545454',
'grey34': '#575757',
'grey35': '#595959',
'grey36': '#5C5C5C',
'grey37': '#5E5E5E',
'grey38': '#616161',
'grey39': '#636363',
'grey40': '#666666',
'grey41': '#696969',
'grey42': '#6B6B6B',
'grey43': '#6E6E6E',
'grey44': '#707070',
'grey45': '#737373',
'grey46': '#757575',
'grey47': '#787878',
'grey48': '#7A7A7A',
'grey49': '#7D7D7D',
'grey50': '#7F7F7F',
'grey51': '#828282',
'grey52': '#858585',
'grey53': '#878787',
'grey54': '#8A8A8A',
'grey55': '#8C8C8C',
'grey56': '#8F8F8F',
'grey57': '#919191',
'grey58': '#949494',
'grey59': '#969696',
'grey60': '#999999',
'grey61': '#9C9C9C',
'grey62': '#9E9E9E',
'grey63': '#A1A1A1',
'grey64': '#A3A3A3',
'grey65': '#A6A6A6',
'grey66': '#A8A8A8',
'grey67': '#ABABAB',
'grey68': '#ADADAD',
'grey69': '#B0B0B0',
'grey70': '#B3B3B3',
'grey71': '#B5B5B5',
'grey72': '#B8B8B8',
'grey73': '#BABABA',
'grey74': '#BDBDBD',
'grey75': '#BFBFBF',
'grey76': '#C2C2C2',
'grey77': '#C4C4C4',
'grey78': '#C7C7C7',
'grey79': '#C9C9C9',
'grey80': '#CCCCCC',
'grey81': '#CFCFCF',
'grey82': '#D1D1D1',
'grey83': '#D4D4D4',
'grey84': '#D6D6D6',
'grey85': '#D9D9D9',
'grey86': '#DBDBDB',
'grey87': '#DEDEDE',
'grey88': '#E0E0E0',
'grey89': '#E3E3E3',
'grey90': '#E5E5E5',
'grey91': '#E8E8E8',
'grey92': '#EBEBEB',
'grey93': '#EDEDED',
'grey94': '#F0F0F0',
'grey95': '#F2F2F2',
'grey96': '#F5F5F5',
'grey97': '#F7F7F7',
'grey98': '#FAFAFA',
'grey99': '#FCFCFC',
'grey100': '#FFFFFF',
'honeydew': '#F0FFF0',
'honeydew1': '#F0FFF0',
'honeydew2': '#E0EEE0',
'honeydew3': '#C1CDC1',
'honeydew4': '#838B83',
'hot pink': '#FF69B4',
'HotPink': '#FF69B4',
'HotPink1': '#FF6EB4',
'HotPink2': '#EE6AA7',
'HotPink3': '#CD6090',
'HotPink4': '#8B3A62',
'indian red': '#CD5C5C',
'IndianRed': '#CD5C5C',
'IndianRed1': '#FF6A6A',
'IndianRed2': '#EE6363',
'IndianRed3': '#CD5555',
'IndianRed4': '#8B3A3A',
'ivory': '#FFFFF0',
'ivory1': '#FFFFF0',
'ivory2': '#EEEEE0',
'ivory3': '#CDCDC1',
'ivory4': '#8B8B83',
'khaki': '#F0E68C',
'khaki1': '#FFF68F',
'khaki2': '#EEE685',
'khaki3': '#CDC673',
'khaki4': '#8B864E',
'lavender': '#E6E6FA',
'lavender blush': '#FFF0F5',
'LavenderBlush': '#FFF0F5',
'LavenderBlush1': '#FFF0F5',
'LavenderBlush2': '#EEE0E5',
'LavenderBlush3': '#CDC1C5',
'LavenderBlush4': '#8B8386',
'lawn green': '#7CFC00',
'LawnGreen': '#7CFC00',
'lemon chiffon': '#FFFACD',
'LemonChiffon': '#FFFACD',
'LemonChiffon1': '#FFFACD',
'LemonChiffon2': '#EEE9BF',
'LemonChiffon3': '#CDC9A5',
'LemonChiffon4': '#8B8970',
'light blue': '#ADD8E6',
'light coral': '#F08080',
'light cyan': '#E0FFFF',
'light goldenrod': '#EEDD82',
'light goldenrod yellow': '#FAFAD2',
'light gray': '#D3D3D3',
'light green': '#90EE90',
'light grey': '#D3D3D3',
'light pink': '#FFB6C1',
'light salmon': '#FFA07A',
'light sea green': '#20B2AA',
'light sky blue': '#87CEFA',
'light slate blue': '#8470FF',
'light slate gray': '#778899',
'light slate grey': '#778899',
'light steel blue': '#B0C4DE',
'light yellow': '#FFFFE0',
'LightBlue': '#ADD8E6',
'LightBlue1': '#BFEFFF',
'LightBlue2': '#B2DFEE',
'LightBlue3': '#9AC0CD',
'LightBlue4': '#68838B',
'LightCoral': '#F08080',
'LightCyan': '#E0FFFF',
'LightCyan1': '#E0FFFF',
'LightCyan2': '#D1EEEE',
'LightCyan3': '#B4CDCD',
'LightCyan4': '#7A8B8B',
'LightGoldenrod': '#EEDD82',
'LightGoldenrod1': '#FFEC8B',
'LightGoldenrod2': '#EEDC82',
'LightGoldenrod3': '#CDBE70',
'LightGoldenrod4': '#8B814C',
'LightGoldenrodYellow': '#FAFAD2',
'LightGray': '#D3D3D3',
'LightGreen': '#90EE90',
'LightGrey': '#D3D3D3',
'LightPink': '#FFB6C1',
'LightPink1': '#FFAEB9',
'LightPink2': '#EEA2AD',
'LightPink3': '#CD8C95',
'LightPink4': '#8B5F65',
'LightSalmon': '#FFA07A',
'LightSalmon1': '#FFA07A',
'LightSalmon2': '#EE9572',
'LightSalmon3': '#CD8162',
'LightSalmon4': '#8B5742',
'LightSeaGreen': '#20B2AA',
'LightSkyBlue': '#87CEFA',
'LightSkyBlue1': '#B0E2FF',
'LightSkyBlue2': '#A4D3EE',
'LightSkyBlue3': '#8DB6CD',
'LightSkyBlue4': '#607B8B',
'LightSlateBlue': '#8470FF',
'LightSlateGray': '#778899',
'LightSlateGrey': '#778899',
'LightSteelBlue': '#B0C4DE',
'LightSteelBlue1': '#CAE1FF',
'LightSteelBlue2': '#BCD2EE',
'LightSteelBlue3': '#A2B5CD',
'LightSteelBlue4': '#6E7B8B',
'LightYellow': '#FFFFE0',
'LightYellow1': '#FFFFE0',
'LightYellow2': '#EEEED1',
'LightYellow3': '#CDCDB4',
'LightYellow4': '#8B8B7A',
'lime green': '#32CD32',
'LimeGreen': '#32CD32',
'linen': '#FAF0E6',
'magenta': '#FF00FF',
'magenta1': '#FF00FF',
'magenta2': '#EE00EE',
'magenta3': '#CD00CD',
'magenta4': '#8B008B',
'maroon': '#B03060',
'maroon1': '#FF34B3',
'maroon2': '#EE30A7',
'maroon3': '#CD2990',
'maroon4': '#8B1C62',
'medium aquamarine': '#66CDAA',
'medium blue': '#0000CD',
'medium orchid': '#BA55D3',
'medium purple': '#9370DB',
'medium sea green': '#3CB371',
'medium slate blue': '#7B68EE',
'medium spring green': '#00FA9A',
'medium turquoise': '#48D1CC',
'medium violet red': '#C71585',
'MediumAquamarine': '#66CDAA',
'MediumBlue': '#0000CD',
'MediumOrchid': '#BA55D3',
'MediumOrchid1': '#E066FF',
'MediumOrchid2': '#D15FEE',
'MediumOrchid3': '#B452CD',
'MediumOrchid4': '#7A378B',
'MediumPurple': '#9370DB',
'MediumPurple1': '#AB82FF',
'MediumPurple2': '#9F79EE',
'MediumPurple3': '#8968CD',
'MediumPurple4': '#5D478B',
'MediumSeaGreen': '#3CB371',
'MediumSlateBlue': '#7B68EE',
'MediumSpringGreen': '#00FA9A',
'MediumTurquoise': '#48D1CC',
'MediumVioletRed': '#C71585',
'midnight blue': '#191970',
'MidnightBlue': '#191970',
'mint cream': '#F5FFFA',
'MintCream': '#F5FFFA',
'misty rose': '#FFE4E1',
'MistyRose': '#FFE4E1',
'MistyRose1': '#FFE4E1',
'MistyRose2': '#EED5D2',
'MistyRose3': '#CDB7B5',
'MistyRose4': '#8B7D7B',
'moccasin': '#FFE4B5',
'navajo white': '#FFDEAD',
'NavajoWhite': '#FFDEAD',
'NavajoWhite1': '#FFDEAD',
'NavajoWhite2': '#EECFA1',
'NavajoWhite3': '#CDB38B',
'NavajoWhite4': '#8B795E',
'navy': '#000080',
'navy blue': '#000080',
'NavyBlue': '#000080',
'old lace': '#FDF5E6',
'OldLace': '#FDF5E6',
'olive drab': '#6B8E23',
'OliveDrab': '#6B8E23',
'OliveDrab1': '#C0FF3E',
'OliveDrab2': '#B3EE3A',
'OliveDrab3': '#9ACD32',
'OliveDrab4': '#698B22',
'orange': '#FFA500',
'orange red': '#FF4500',
'orange1': '#FFA500',
'orange2': '#EE9A00',
'orange3': '#CD8500',
'orange4': '#8B5A00',
'OrangeRed': '#FF4500',
'OrangeRed1': '#FF4500',
'OrangeRed2': '#EE4000',
'OrangeRed3': '#CD3700',
'OrangeRed4': '#8B2500',
'orchid': '#DA70D6',
'orchid1': '#FF83FA',
'orchid2': '#EE7AE9',
'orchid3': '#CD69C9',
'orchid4': '#8B4789',
'pale goldenrod': '#EEE8AA',
'pale green': '#98FB98',
'pale turquoise': '#AFEEEE',
'pale violet red': '#DB7093',
'PaleGoldenrod': '#EEE8AA',
'PaleGreen': '#98FB98',
'PaleGreen1': '#9AFF9A',
'PaleGreen2': '#90EE90',
'PaleGreen3': '#7CCD7C',
'PaleGreen4': '#548B54',
'PaleTurquoise': '#AFEEEE',
'PaleTurquoise1': '#BBFFFF',
'PaleTurquoise2': '#AEEEEE',
'PaleTurquoise3': '#96CDCD',
'PaleTurquoise4': '#668B8B',
'PaleVioletRed': '#DB7093',
'PaleVioletRed1': '#FF82AB',
'PaleVioletRed2': '#EE799F',
'PaleVioletRed3': '#CD687F',
'PaleVioletRed4': '#8B475D',
'papaya whip': '#FFEFD5',
'PapayaWhip': '#FFEFD5',
'peach puff': '#FFDAB9',
'PeachPuff': '#FFDAB9',
'PeachPuff1': '#FFDAB9',
'PeachPuff2': '#EECBAD',
'PeachPuff3': '#CDAF95',
'PeachPuff4': '#8B7765',
'peru': '#CD853F',
'pink': '#FFC0CB',
'pink1': '#FFB5C5',
'pink2': '#EEA9B8',
'pink3': '#CD919E',
'pink4': '#8B636C',
'plum': '#DDA0DD',
'plum1': '#FFBBFF',
'plum2': '#EEAEEE',
'plum3': '#CD96CD',
'plum4': '#8B668B',
'powder blue': '#B0E0E6',
'PowderBlue': '#B0E0E6',
'purple': '#A020F0',
'purple1': '#9B30FF',
'purple2': '#912CEE',
'purple3': '#7D26CD',
'purple4': '#551A8B',
'red': '#FF0000',
'red1': '#FF0000',
'red2': '#EE0000',
'red3': '#CD0000',
'red4': '#8B0000',
'rosy brown': '#BC8F8F',
'RosyBrown': '#BC8F8F',
'RosyBrown1': '#FFC1C1',
'RosyBrown2': '#EEB4B4',
'RosyBrown3': '#CD9B9B',
'RosyBrown4': '#8B6969',
'royal blue': '#4169E1',
'RoyalBlue': '#4169E1',
'RoyalBlue1': '#4876FF',
'RoyalBlue2': '#436EEE',
'RoyalBlue3': '#3A5FCD',
'RoyalBlue4': '#27408B',
'saddle brown': '#8B4513',
'SaddleBrown': '#8B4513',
'salmon': '#FA8072',
'salmon1': '#FF8C69',
'salmon2': '#EE8262',
'salmon3': '#CD7054',
'salmon4': '#8B4C39',
'sandy brown': '#F4A460',
'SandyBrown': '#F4A460',
'sea green': '#2E8B57',
'SeaGreen': '#2E8B57',
'SeaGreen1': '#54FF9F',
'SeaGreen2': '#4EEE94',
'SeaGreen3': '#43CD80',
'SeaGreen4': '#2E8B57',
'seashell': '#FFF5EE',
'seashell1': '#FFF5EE',
'seashell2': '#EEE5DE',
'seashell3': '#CDC5BF',
'seashell4': '#8B8682',
'sienna': '#A0522D',
'sienna1': '#FF8247',
'sienna2': '#EE7942',
'sienna3': '#CD6839',
'sienna4': '#8B4726',
'sky blue': '#87CEEB',
'SkyBlue': '#87CEEB',
'SkyBlue1': '#87CEFF',
'SkyBlue2': '#7EC0EE',
'SkyBlue3': '#6CA6CD',
'SkyBlue4': '#4A708B',
'slate blue': '#6A5ACD',
'slate gray': '#708090',
'slate grey': '#708090',
'SlateBlue': '#6A5ACD',
'SlateBlue1': '#836FFF',
'SlateBlue2': '#7A67EE',
'SlateBlue3': '#6959CD',
'SlateBlue4': '#473C8B',
'SlateGray': '#708090',
'SlateGray1': '#C6E2FF',
'SlateGray2': '#B9D3EE',
'SlateGray3': '#9FB6CD',
'SlateGray4': '#6C7B8B',
'SlateGrey': '#708090',
'snow': '#FFFAFA',
'snow1': '#FFFAFA',
'snow2': '#EEE9E9',
'snow3': '#CDC9C9',
'snow4': '#8B8989',
'spring green': '#00FF7F',
'SpringGreen': '#00FF7F',
'SpringGreen1': '#00FF7F',
'SpringGreen2': '#00EE76',
'SpringGreen3': '#00CD66',
'SpringGreen4': '#008B45',
'steel blue': '#4682B4',
'SteelBlue': '#4682B4',
'SteelBlue1': '#63B8FF',
'SteelBlue2': '#5CACEE',
'SteelBlue3': '#4F94CD',
'SteelBlue4': '#36648B',
'tan': '#D2B48C',
'tan1': '#FFA54F',
'tan2': '#EE9A49',
'tan3': '#CD853F',
'tan4': '#8B5A2B',
'thistle': '#D8BFD8',
'thistle1': '#FFE1FF',
'thistle2': '#EED2EE',
'thistle3': '#CDB5CD',
'thistle4': '#8B7B8B',
'tomato': '#FF6347',
'tomato1': '#FF6347',
'tomato2': '#EE5C42',
'tomato3': '#CD4F39',
'tomato4': '#8B3626',
'turquoise': '#40E0D0',
'turquoise1': '#00F5FF',
'turquoise2': '#00E5EE',
'turquoise3': '#00C5CD',
'turquoise4': '#00868B',
'violet': '#EE82EE',
'violet red': '#D02090',
'VioletRed': '#D02090',
'VioletRed1': '#FF3E96',
'VioletRed2': '#EE3A8C',
'VioletRed3': '#CD3278',
'VioletRed4': '#8B2252',
'wheat': '#F5DEB3',
'wheat1': '#FFE7BA',
'wheat2': '#EED8AE',
'wheat3': '#CDBA96',
'wheat4': '#8B7E66',
'white': '#FFFFFF',
'white smoke': '#F5F5F5',
'WhiteSmoke': '#F5F5F5',
'yellow': '#FFFF00',
'yellow green': '#9ACD32',
'yellow1': '#FFFF00',
'yellow2': '#EEEE00',
'yellow3': '#CDCD00',
'yellow4': '#8B8B00',
'YellowGreen': '#9ACD32',
}
old_look_and_feel = None
if look_and_feel is not None:
old_look_and_feel = sg.CURRENT_LOOK_AND_FEEL
sg.theme(look_and_feel)
button_size = (1, 1)
# button_size = (None,None) # for very compact buttons
def ColorButton(color):
"""
A User Defined Element - returns a Button that configured in a certain way.
:param color: Tuple[str, str] ( color name, hex string)
:return: sg.Button object
"""
return sg.B(button_color=('white', color[1]), pad=(0, 0), size=button_size, key=color, tooltip=f'{color[0]}:{color[1]}', border_width=0)
num_colors = len(list(color_map.keys()))
row_len = 40
grid = [[ColorButton(list(color_map.items())[c + j * row_len]) for c in range(0, row_len)] for j in range(0, num_colors // row_len)]
grid += [[ColorButton(list(color_map.items())[c + num_colors - num_colors % row_len]) for c in range(0, num_colors % row_len)]]
layout = [[sg.Text('Pick a color', font='Def 18')]] + grid + \
[[sg.Button('OK'), sg.T(size=(30, 1), key='-OUT-')]]
window = sg.Window('Window Title', layout, no_titlebar=True, grab_anywhere=True, keep_on_top=True, use_ttk_buttons=True)
color_chosen = None
while True: # Event Loop
event, values = window.read()
if event in (sg.WIN_CLOSED, 'OK'):
if event == sg.WIN_CLOSED:
color_chosen = None
break
window['-OUT-'](f'You chose {event[0]} : {event[1]}')
color_chosen = event[1]
window.close()
if old_look_and_feel is not None:
sg.theme(old_look_and_feel)
return color_chosen
if __name__ == '__main__':
sg.theme('Light Brown 4')
layout = [[sg.In(key='-CHOICE-'), sg.B('Color Picker')],
[sg.Ok(), sg.Cancel()]]
window = sg.Window('My application', layout)
while True:
event, values = window.read()
if event in (sg.WIN_CLOSED, 'Cancel'):
break
if event.startswith('Color'):
window.hide()
color_chosen = popup_color_chooser('Dark Blue 3')
window['-CHOICE-'].update(color_chosen)
window.un_hide()
else:
print(f'The current look and feel = {sg.CURRENT_LOOK_AND_FEEL}')

View file

@ -1,10 +1,5 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUIQt as sg
else:
import PySimpleGUI27 as sg
""" """
@ -15,6 +10,7 @@ else:
You will find the list of tkinter colors here: You will find the list of tkinter colors here:
http://www.tcl.tk/man/tcl8.5/TkCmd/colors.htm http://www.tcl.tk/man/tcl8.5/TkCmd/colors.htm
Copyright 2021 PySimpleGUI
""" """
color_map = { color_map = {
@ -670,40 +666,42 @@ color_map = {
'YellowGreen': '#9ACD32', 'YellowGreen': '#9ACD32',
} }
sg.popup_quick_message('Building your table... one moment please...', background_color='red', text_color='white', font='_ 20')
sg.SetOptions(button_element_size=(12,1), element_padding=(0,0), auto_size_buttons=False, border_width=1, tooltip_time=100) sg.set_options(button_element_size=(11, 1),
element_padding=(0, 0),
auto_size_buttons=False,
border_width=0, tooltip_time=100)
#start layout with the tittle # start layout with the tittle
layout = [[sg.Text('Hover mouse to see RGB value, click for white & black text', # layout = [[sg.Text('Hover mouse to see RGB value, click for popup with buttons',
text_color='blue', # justification='center', font='Default 20')]]
font='Any 15',
relief=sg.RELIEF_SUNKEN,
justification='center',
size=(100,1),
background_color='light green',
pad=(0,(0,20))),]]
# -- Create primary color viewer window -- # -- Create primary color viewer window --
color_list = [key for key in color_map] color_list = list(color_map.keys())
for rows in range(40): num_colors = len(color_list)
colors_per_row = 15
row = [] total_rows = num_colors//colors_per_row
for i in range(12): # for row_num in range(total_rows):
try: # row = []
color = color_list[rows+40*i] # for i in range(colors_per_row):
row.append(sg.Button(color, button_color=('black', color), key=color)) # color = color_list[row_num + i * total_rows]
except: # row.append(sg.Button(color, button_color=('black', color), key=color, tooltip=color_map[color], border_width=0))
pass # layout.append(row)
layout.append(row)
window = sg.Window('Color Viewer', grab_anywhere=False, font=('any 9')).Layout(layout) # layout = [[sg.Text('Hover mouse to see RGB value, click for popup with buttons',
# justification='center', font='Default 20')]] + [[sg.Button(color_list[row_num + i * total_rows], button_color=('black', color_list[row_num + i * total_rows]), key=color_list[row_num + i * total_rows], tooltip=color_map[color_list[row_num + i * total_rows]], border_width=0) for i in range(colors_per_row)] for row_num in range(total_rows)]
window = sg.Window('Color Viewer',
[[sg.Text('Hover mouse to see RGB value, click for popup with buttons', justification='center', font='Default 15')]] +
[[sg.Button(color_list[row_num + i * total_rows], button_color=('black', color_list[row_num + i * total_rows]), key=color_list[row_num + i * total_rows], tooltip=color_map[color_list[row_num + i * total_rows]], border_width=0) for i in range(colors_per_row)] for row_num in range(total_rows)], font='Default 7', element_justification='c', use_default_focus=False)
# -- Event loop -- # -- Event loop --
while True: while True:
event, values = window.Read() event, values = window.read()
if event is None: if event == sg.WIN_CLOSED:
break break
# -- Create a secondary window that shows white and black text on chosen color # -- Create a secondary window that shows white and black text on chosen color
layout2 =[[sg.DummyButton(event, button_color=('white', event), tooltip=color_map[event]), sg.DummyButton(event, button_color=('black', event), tooltip=color_map[event])] ] layout2 = [[sg.DummyButton(event, button_color=('white', event), tooltip=color_map[event]), sg.DummyButton(event, button_color=('black', event), tooltip=color_map[event])]]
sg.Window('Buttons with white and black text', keep_on_top=True).Layout(layout2).Read(timeout=0) sg.Window('Buttons with white and black text', layout2, keep_on_top=True, use_default_focus=False).read(timeout=0)

View file

@ -1,9 +1,5 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
""" """
Color names courtesy of Big Daddy's Wiki-Python Color names courtesy of Big Daddy's Wiki-Python
@ -15,7 +11,6 @@ else:
""" """
COLORS = ['snow', 'ghost white', 'white smoke', 'gainsboro', 'floral white', 'old lace', COLORS = ['snow', 'ghost white', 'white smoke', 'gainsboro', 'floral white', 'old lace',
'linen', 'antique white', 'papaya whip', 'blanched almond', 'bisque', 'peach puff', 'linen', 'antique white', 'papaya whip', 'blanched almond', 'bisque', 'peach puff',
'navajo white', 'lemon chiffon', 'mint cream', 'azure', 'alice blue', 'lavender', 'navajo white', 'lemon chiffon', 'mint cream', 'azure', 'alice blue', 'lavender',
@ -93,17 +88,18 @@ COLORS = ['snow', 'ghost white', 'white smoke', 'gainsboro', 'floral white', 'ol
'grey84', 'grey85', 'grey86', 'grey87', 'grey88', 'grey89', 'grey90', 'grey91', 'grey92', 'grey84', 'grey85', 'grey86', 'grey87', 'grey88', 'grey89', 'grey90', 'grey91', 'grey92',
'grey93', 'grey94', 'grey95', 'grey97', 'grey98', 'grey99'] 'grey93', 'grey94', 'grey95', 'grey97', 'grey98', 'grey99']
sg.set_options(button_element_size=(12, 1),
element_padding=(0, 0),
auto_size_buttons=False,
border_width=0)
layout = [[sg.Text('Click on a color square to see both white and black text on that color',
text_color='blue', font='Any 15')]]
sg.SetOptions(button_element_size=(12,1), element_padding=(0,0), auto_size_buttons=False, border_width=0)
layout = [[sg.Text('Click on a color square to see both white and black text on that color', text_color='blue', font='Any 15')]]
row = [] row = []
layout = [] layout = []
# -- Create primary color viewer window -- # -- Create primary color viewer window --
for rows in range(40): for rows in range(40):
row = [] row = []
for i in range(12): for i in range(12):
try: try:
@ -113,20 +109,16 @@ for rows in range(40):
pass pass
layout.append(row) layout.append(row)
window = sg.Window('Color Viewer', layout, grab_anywhere=False, font=('any 9'))
# for i, color in enumerate(COLORS):
# row.append(sg.Button(color, button_color=('black', color), key=color))
# if (i+1) % 12 == 0:
# layout.append(row)
# row = []
window = sg.Window('Color Viewer', grab_anywhere=False, font=('any 9')).Layout(layout)
# -- Event loop -- # -- Event loop --
while True: while True:
event, values = window.Read() event, values = window.read()
if event is None: if event == sg.WIN_CLOSED:
break break
# -- Create a secondary window that shows white and black text on chosen color # -- Create a secondary window that shows white and black text on chosen color
layout2 =[[sg.DummyButton(event, button_color=('white', event)), sg.DummyButton(event, button_color=('black', event))]] layout2 = [[sg.DummyButton(event, button_color=('white', event)),
sg.Window('Buttons with white and black text', keep_on_top=True).Layout(layout2).Read(timeout=0) sg.DummyButton(event, button_color=('black', event))]]
sg.Window('Buttons with white and black text', layout2, keep_on_top=True).read(timeout=0)
window.close()

View file

@ -0,0 +1,738 @@
#!/usr/bin/env python
import PySimpleGUI as sg
import sys
"""
Big chart of tkinter colors shown as swatches.
Hover over a swatch to get the color "name"
Click on a swatch to:
* preview the color as 2 buttons
* see the hex value
* get hex value copied onto clipboard
You will find the list of tkinter colors here:
http://www.tcl.tk/man/tcl8.5/TkCmd/colors.htm
Copyright 2020 PySimpleGUI.org
"""
color_map = {
'alice blue': '#F0F8FF',
'AliceBlue': '#F0F8FF',
'antique white': '#FAEBD7',
'AntiqueWhite': '#FAEBD7',
'AntiqueWhite1': '#FFEFDB',
'AntiqueWhite2': '#EEDFCC',
'AntiqueWhite3': '#CDC0B0',
'AntiqueWhite4': '#8B8378',
'aquamarine': '#7FFFD4',
'aquamarine1': '#7FFFD4',
'aquamarine2': '#76EEC6',
'aquamarine3': '#66CDAA',
'aquamarine4': '#458B74',
'azure': '#F0FFFF',
'azure1': '#F0FFFF',
'azure2': '#E0EEEE',
'azure3': '#C1CDCD',
'azure4': '#838B8B',
'beige': '#F5F5DC',
'bisque': '#FFE4C4',
'bisque1': '#FFE4C4',
'bisque2': '#EED5B7',
'bisque3': '#CDB79E',
'bisque4': '#8B7D6B',
'black': '#000000',
'blanched almond': '#FFEBCD',
'BlanchedAlmond': '#FFEBCD',
'blue': '#0000FF',
'blue violet': '#8A2BE2',
'blue1': '#0000FF',
'blue2': '#0000EE',
'blue3': '#0000CD',
'blue4': '#00008B',
'BlueViolet': '#8A2BE2',
'brown': '#A52A2A',
'brown1': '#FF4040',
'brown2': '#EE3B3B',
'brown3': '#CD3333',
'brown4': '#8B2323',
'burlywood': '#DEB887',
'burlywood1': '#FFD39B',
'burlywood2': '#EEC591',
'burlywood3': '#CDAA7D',
'burlywood4': '#8B7355',
'cadet blue': '#5F9EA0',
'CadetBlue': '#5F9EA0',
'CadetBlue1': '#98F5FF',
'CadetBlue2': '#8EE5EE',
'CadetBlue3': '#7AC5CD',
'CadetBlue4': '#53868B',
'chartreuse': '#7FFF00',
'chartreuse1': '#7FFF00',
'chartreuse2': '#76EE00',
'chartreuse3': '#66CD00',
'chartreuse4': '#458B00',
'chocolate': '#D2691E',
'chocolate1': '#FF7F24',
'chocolate2': '#EE7621',
'chocolate3': '#CD661D',
'chocolate4': '#8B4513',
'coral': '#FF7F50',
'coral1': '#FF7256',
'coral2': '#EE6A50',
'coral3': '#CD5B45',
'coral4': '#8B3E2F',
'cornflower blue': '#6495ED',
'CornflowerBlue': '#6495ED',
'cornsilk': '#FFF8DC',
'cornsilk1': '#FFF8DC',
'cornsilk2': '#EEE8CD',
'cornsilk3': '#CDC8B1',
'cornsilk4': '#8B8878',
'cyan': '#00FFFF',
'cyan1': '#00FFFF',
'cyan2': '#00EEEE',
'cyan3': '#00CDCD',
'cyan4': '#008B8B',
'dark blue': '#00008B',
'dark cyan': '#008B8B',
'dark goldenrod': '#B8860B',
'dark gray': '#A9A9A9',
'dark green': '#006400',
'dark grey': '#A9A9A9',
'dark khaki': '#BDB76B',
'dark magenta': '#8B008B',
'dark olive green': '#556B2F',
'dark orange': '#FF8C00',
'dark orchid': '#9932CC',
'dark red': '#8B0000',
'dark salmon': '#E9967A',
'dark sea green': '#8FBC8F',
'dark slate blue': '#483D8B',
'dark slate gray': '#2F4F4F',
'dark slate grey': '#2F4F4F',
'dark turquoise': '#00CED1',
'dark violet': '#9400D3',
'DarkBlue': '#00008B',
'DarkCyan': '#008B8B',
'DarkGoldenrod': '#B8860B',
'DarkGoldenrod1': '#FFB90F',
'DarkGoldenrod2': '#EEAD0E',
'DarkGoldenrod3': '#CD950C',
'DarkGoldenrod4': '#8B6508',
'DarkGray': '#A9A9A9',
'DarkGreen': '#006400',
'DarkGrey': '#A9A9A9',
'DarkKhaki': '#BDB76B',
'DarkMagenta': '#8B008B',
'DarkOliveGreen': '#556B2F',
'DarkOliveGreen1': '#CAFF70',
'DarkOliveGreen2': '#BCEE68',
'DarkOliveGreen3': '#A2CD5A',
'DarkOliveGreen4': '#6E8B3D',
'DarkOrange': '#FF8C00',
'DarkOrange1': '#FF7F00',
'DarkOrange2': '#EE7600',
'DarkOrange3': '#CD6600',
'DarkOrange4': '#8B4500',
'DarkOrchid': '#9932CC',
'DarkOrchid1': '#BF3EFF',
'DarkOrchid2': '#B23AEE',
'DarkOrchid3': '#9A32CD',
'DarkOrchid4': '#68228B',
'DarkRed': '#8B0000',
'DarkSalmon': '#E9967A',
'DarkSeaGreen': '#8FBC8F',
'DarkSeaGreen1': '#C1FFC1',
'DarkSeaGreen2': '#B4EEB4',
'DarkSeaGreen3': '#9BCD9B',
'DarkSeaGreen4': '#698B69',
'DarkSlateBlue': '#483D8B',
'DarkSlateGray': '#2F4F4F',
'DarkSlateGray1': '#97FFFF',
'DarkSlateGray2': '#8DEEEE',
'DarkSlateGray3': '#79CDCD',
'DarkSlateGray4': '#528B8B',
'DarkSlateGrey': '#2F4F4F',
'DarkTurquoise': '#00CED1',
'DarkViolet': '#9400D3',
'deep pink': '#FF1493',
'deep sky blue': '#00BFFF',
'DeepPink': '#FF1493',
'DeepPink1': '#FF1493',
'DeepPink2': '#EE1289',
'DeepPink3': '#CD1076',
'DeepPink4': '#8B0A50',
'DeepSkyBlue': '#00BFFF',
'DeepSkyBlue1': '#00BFFF',
'DeepSkyBlue2': '#00B2EE',
'DeepSkyBlue3': '#009ACD',
'DeepSkyBlue4': '#00688B',
'dim gray': '#696969',
'dim grey': '#696969',
'DimGray': '#696969',
'DimGrey': '#696969',
'dodger blue': '#1E90FF',
'DodgerBlue': '#1E90FF',
'DodgerBlue1': '#1E90FF',
'DodgerBlue2': '#1C86EE',
'DodgerBlue3': '#1874CD',
'DodgerBlue4': '#104E8B',
'firebrick': '#B22222',
'firebrick1': '#FF3030',
'firebrick2': '#EE2C2C',
'firebrick3': '#CD2626',
'firebrick4': '#8B1A1A',
'floral white': '#FFFAF0',
'FloralWhite': '#FFFAF0',
'forest green': '#228B22',
'ForestGreen': '#228B22',
'gainsboro': '#DCDCDC',
'ghost white': '#F8F8FF',
'GhostWhite': '#F8F8FF',
'gold': '#FFD700',
'gold1': '#FFD700',
'gold2': '#EEC900',
'gold3': '#CDAD00',
'gold4': '#8B7500',
'goldenrod': '#DAA520',
'goldenrod1': '#FFC125',
'goldenrod2': '#EEB422',
'goldenrod3': '#CD9B1D',
'goldenrod4': '#8B6914',
'green': '#00FF00',
'green yellow': '#ADFF2F',
'green1': '#00FF00',
'green2': '#00EE00',
'green3': '#00CD00',
'green4': '#008B00',
'GreenYellow': '#ADFF2F',
'grey': '#BEBEBE',
'grey0': '#000000',
'grey1': '#030303',
'grey2': '#050505',
'grey3': '#080808',
'grey4': '#0A0A0A',
'grey5': '#0D0D0D',
'grey6': '#0F0F0F',
'grey7': '#121212',
'grey8': '#141414',
'grey9': '#171717',
'grey10': '#1A1A1A',
'grey11': '#1C1C1C',
'grey12': '#1F1F1F',
'grey13': '#212121',
'grey14': '#242424',
'grey15': '#262626',
'grey16': '#292929',
'grey17': '#2B2B2B',
'grey18': '#2E2E2E',
'grey19': '#303030',
'grey20': '#333333',
'grey21': '#363636',
'grey22': '#383838',
'grey23': '#3B3B3B',
'grey24': '#3D3D3D',
'grey25': '#404040',
'grey26': '#424242',
'grey27': '#454545',
'grey28': '#474747',
'grey29': '#4A4A4A',
'grey30': '#4D4D4D',
'grey31': '#4F4F4F',
'grey32': '#525252',
'grey33': '#545454',
'grey34': '#575757',
'grey35': '#595959',
'grey36': '#5C5C5C',
'grey37': '#5E5E5E',
'grey38': '#616161',
'grey39': '#636363',
'grey40': '#666666',
'grey41': '#696969',
'grey42': '#6B6B6B',
'grey43': '#6E6E6E',
'grey44': '#707070',
'grey45': '#737373',
'grey46': '#757575',
'grey47': '#787878',
'grey48': '#7A7A7A',
'grey49': '#7D7D7D',
'grey50': '#7F7F7F',
'grey51': '#828282',
'grey52': '#858585',
'grey53': '#878787',
'grey54': '#8A8A8A',
'grey55': '#8C8C8C',
'grey56': '#8F8F8F',
'grey57': '#919191',
'grey58': '#949494',
'grey59': '#969696',
'grey60': '#999999',
'grey61': '#9C9C9C',
'grey62': '#9E9E9E',
'grey63': '#A1A1A1',
'grey64': '#A3A3A3',
'grey65': '#A6A6A6',
'grey66': '#A8A8A8',
'grey67': '#ABABAB',
'grey68': '#ADADAD',
'grey69': '#B0B0B0',
'grey70': '#B3B3B3',
'grey71': '#B5B5B5',
'grey72': '#B8B8B8',
'grey73': '#BABABA',
'grey74': '#BDBDBD',
'grey75': '#BFBFBF',
'grey76': '#C2C2C2',
'grey77': '#C4C4C4',
'grey78': '#C7C7C7',
'grey79': '#C9C9C9',
'grey80': '#CCCCCC',
'grey81': '#CFCFCF',
'grey82': '#D1D1D1',
'grey83': '#D4D4D4',
'grey84': '#D6D6D6',
'grey85': '#D9D9D9',
'grey86': '#DBDBDB',
'grey87': '#DEDEDE',
'grey88': '#E0E0E0',
'grey89': '#E3E3E3',
'grey90': '#E5E5E5',
'grey91': '#E8E8E8',
'grey92': '#EBEBEB',
'grey93': '#EDEDED',
'grey94': '#F0F0F0',
'grey95': '#F2F2F2',
'grey96': '#F5F5F5',
'grey97': '#F7F7F7',
'grey98': '#FAFAFA',
'grey99': '#FCFCFC',
'grey100': '#FFFFFF',
'honeydew': '#F0FFF0',
'honeydew1': '#F0FFF0',
'honeydew2': '#E0EEE0',
'honeydew3': '#C1CDC1',
'honeydew4': '#838B83',
'hot pink': '#FF69B4',
'HotPink': '#FF69B4',
'HotPink1': '#FF6EB4',
'HotPink2': '#EE6AA7',
'HotPink3': '#CD6090',
'HotPink4': '#8B3A62',
'indian red': '#CD5C5C',
'IndianRed': '#CD5C5C',
'IndianRed1': '#FF6A6A',
'IndianRed2': '#EE6363',
'IndianRed3': '#CD5555',
'IndianRed4': '#8B3A3A',
'ivory': '#FFFFF0',
'ivory1': '#FFFFF0',
'ivory2': '#EEEEE0',
'ivory3': '#CDCDC1',
'ivory4': '#8B8B83',
'khaki': '#F0E68C',
'khaki1': '#FFF68F',
'khaki2': '#EEE685',
'khaki3': '#CDC673',
'khaki4': '#8B864E',
'lavender': '#E6E6FA',
'lavender blush': '#FFF0F5',
'LavenderBlush': '#FFF0F5',
'LavenderBlush1': '#FFF0F5',
'LavenderBlush2': '#EEE0E5',
'LavenderBlush3': '#CDC1C5',
'LavenderBlush4': '#8B8386',
'lawn green': '#7CFC00',
'LawnGreen': '#7CFC00',
'lemon chiffon': '#FFFACD',
'LemonChiffon': '#FFFACD',
'LemonChiffon1': '#FFFACD',
'LemonChiffon2': '#EEE9BF',
'LemonChiffon3': '#CDC9A5',
'LemonChiffon4': '#8B8970',
'light blue': '#ADD8E6',
'light coral': '#F08080',
'light cyan': '#E0FFFF',
'light goldenrod': '#EEDD82',
'light goldenrod yellow': '#FAFAD2',
'light gray': '#D3D3D3',
'light green': '#90EE90',
'light grey': '#D3D3D3',
'light pink': '#FFB6C1',
'light salmon': '#FFA07A',
'light sea green': '#20B2AA',
'light sky blue': '#87CEFA',
'light slate blue': '#8470FF',
'light slate gray': '#778899',
'light slate grey': '#778899',
'light steel blue': '#B0C4DE',
'light yellow': '#FFFFE0',
'LightBlue': '#ADD8E6',
'LightBlue1': '#BFEFFF',
'LightBlue2': '#B2DFEE',
'LightBlue3': '#9AC0CD',
'LightBlue4': '#68838B',
'LightCoral': '#F08080',
'LightCyan': '#E0FFFF',
'LightCyan1': '#E0FFFF',
'LightCyan2': '#D1EEEE',
'LightCyan3': '#B4CDCD',
'LightCyan4': '#7A8B8B',
'LightGoldenrod': '#EEDD82',
'LightGoldenrod1': '#FFEC8B',
'LightGoldenrod2': '#EEDC82',
'LightGoldenrod3': '#CDBE70',
'LightGoldenrod4': '#8B814C',
'LightGoldenrodYellow': '#FAFAD2',
'LightGray': '#D3D3D3',
'LightGreen': '#90EE90',
'LightGrey': '#D3D3D3',
'LightPink': '#FFB6C1',
'LightPink1': '#FFAEB9',
'LightPink2': '#EEA2AD',
'LightPink3': '#CD8C95',
'LightPink4': '#8B5F65',
'LightSalmon': '#FFA07A',
'LightSalmon1': '#FFA07A',
'LightSalmon2': '#EE9572',
'LightSalmon3': '#CD8162',
'LightSalmon4': '#8B5742',
'LightSeaGreen': '#20B2AA',
'LightSkyBlue': '#87CEFA',
'LightSkyBlue1': '#B0E2FF',
'LightSkyBlue2': '#A4D3EE',
'LightSkyBlue3': '#8DB6CD',
'LightSkyBlue4': '#607B8B',
'LightSlateBlue': '#8470FF',
'LightSlateGray': '#778899',
'LightSlateGrey': '#778899',
'LightSteelBlue': '#B0C4DE',
'LightSteelBlue1': '#CAE1FF',
'LightSteelBlue2': '#BCD2EE',
'LightSteelBlue3': '#A2B5CD',
'LightSteelBlue4': '#6E7B8B',
'LightYellow': '#FFFFE0',
'LightYellow1': '#FFFFE0',
'LightYellow2': '#EEEED1',
'LightYellow3': '#CDCDB4',
'LightYellow4': '#8B8B7A',
'lime green': '#32CD32',
'LimeGreen': '#32CD32',
'linen': '#FAF0E6',
'magenta': '#FF00FF',
'magenta1': '#FF00FF',
'magenta2': '#EE00EE',
'magenta3': '#CD00CD',
'magenta4': '#8B008B',
'maroon': '#B03060',
'maroon1': '#FF34B3',
'maroon2': '#EE30A7',
'maroon3': '#CD2990',
'maroon4': '#8B1C62',
'medium aquamarine': '#66CDAA',
'medium blue': '#0000CD',
'medium orchid': '#BA55D3',
'medium purple': '#9370DB',
'medium sea green': '#3CB371',
'medium slate blue': '#7B68EE',
'medium spring green': '#00FA9A',
'medium turquoise': '#48D1CC',
'medium violet red': '#C71585',
'MediumAquamarine': '#66CDAA',
'MediumBlue': '#0000CD',
'MediumOrchid': '#BA55D3',
'MediumOrchid1': '#E066FF',
'MediumOrchid2': '#D15FEE',
'MediumOrchid3': '#B452CD',
'MediumOrchid4': '#7A378B',
'MediumPurple': '#9370DB',
'MediumPurple1': '#AB82FF',
'MediumPurple2': '#9F79EE',
'MediumPurple3': '#8968CD',
'MediumPurple4': '#5D478B',
'MediumSeaGreen': '#3CB371',
'MediumSlateBlue': '#7B68EE',
'MediumSpringGreen': '#00FA9A',
'MediumTurquoise': '#48D1CC',
'MediumVioletRed': '#C71585',
'midnight blue': '#191970',
'MidnightBlue': '#191970',
'mint cream': '#F5FFFA',
'MintCream': '#F5FFFA',
'misty rose': '#FFE4E1',
'MistyRose': '#FFE4E1',
'MistyRose1': '#FFE4E1',
'MistyRose2': '#EED5D2',
'MistyRose3': '#CDB7B5',
'MistyRose4': '#8B7D7B',
'moccasin': '#FFE4B5',
'navajo white': '#FFDEAD',
'NavajoWhite': '#FFDEAD',
'NavajoWhite1': '#FFDEAD',
'NavajoWhite2': '#EECFA1',
'NavajoWhite3': '#CDB38B',
'NavajoWhite4': '#8B795E',
'navy': '#000080',
'navy blue': '#000080',
'NavyBlue': '#000080',
'old lace': '#FDF5E6',
'OldLace': '#FDF5E6',
'olive drab': '#6B8E23',
'OliveDrab': '#6B8E23',
'OliveDrab1': '#C0FF3E',
'OliveDrab2': '#B3EE3A',
'OliveDrab3': '#9ACD32',
'OliveDrab4': '#698B22',
'orange': '#FFA500',
'orange red': '#FF4500',
'orange1': '#FFA500',
'orange2': '#EE9A00',
'orange3': '#CD8500',
'orange4': '#8B5A00',
'OrangeRed': '#FF4500',
'OrangeRed1': '#FF4500',
'OrangeRed2': '#EE4000',
'OrangeRed3': '#CD3700',
'OrangeRed4': '#8B2500',
'orchid': '#DA70D6',
'orchid1': '#FF83FA',
'orchid2': '#EE7AE9',
'orchid3': '#CD69C9',
'orchid4': '#8B4789',
'pale goldenrod': '#EEE8AA',
'pale green': '#98FB98',
'pale turquoise': '#AFEEEE',
'pale violet red': '#DB7093',
'PaleGoldenrod': '#EEE8AA',
'PaleGreen': '#98FB98',
'PaleGreen1': '#9AFF9A',
'PaleGreen2': '#90EE90',
'PaleGreen3': '#7CCD7C',
'PaleGreen4': '#548B54',
'PaleTurquoise': '#AFEEEE',
'PaleTurquoise1': '#BBFFFF',
'PaleTurquoise2': '#AEEEEE',
'PaleTurquoise3': '#96CDCD',
'PaleTurquoise4': '#668B8B',
'PaleVioletRed': '#DB7093',
'PaleVioletRed1': '#FF82AB',
'PaleVioletRed2': '#EE799F',
'PaleVioletRed3': '#CD687F',
'PaleVioletRed4': '#8B475D',
'papaya whip': '#FFEFD5',
'PapayaWhip': '#FFEFD5',
'peach puff': '#FFDAB9',
'PeachPuff': '#FFDAB9',
'PeachPuff1': '#FFDAB9',
'PeachPuff2': '#EECBAD',
'PeachPuff3': '#CDAF95',
'PeachPuff4': '#8B7765',
'peru': '#CD853F',
'pink': '#FFC0CB',
'pink1': '#FFB5C5',
'pink2': '#EEA9B8',
'pink3': '#CD919E',
'pink4': '#8B636C',
'plum': '#DDA0DD',
'plum1': '#FFBBFF',
'plum2': '#EEAEEE',
'plum3': '#CD96CD',
'plum4': '#8B668B',
'powder blue': '#B0E0E6',
'PowderBlue': '#B0E0E6',
'purple': '#A020F0',
'purple1': '#9B30FF',
'purple2': '#912CEE',
'purple3': '#7D26CD',
'purple4': '#551A8B',
'red': '#FF0000',
'red1': '#FF0000',
'red2': '#EE0000',
'red3': '#CD0000',
'red4': '#8B0000',
'rosy brown': '#BC8F8F',
'RosyBrown': '#BC8F8F',
'RosyBrown1': '#FFC1C1',
'RosyBrown2': '#EEB4B4',
'RosyBrown3': '#CD9B9B',
'RosyBrown4': '#8B6969',
'royal blue': '#4169E1',
'RoyalBlue': '#4169E1',
'RoyalBlue1': '#4876FF',
'RoyalBlue2': '#436EEE',
'RoyalBlue3': '#3A5FCD',
'RoyalBlue4': '#27408B',
'saddle brown': '#8B4513',
'SaddleBrown': '#8B4513',
'salmon': '#FA8072',
'salmon1': '#FF8C69',
'salmon2': '#EE8262',
'salmon3': '#CD7054',
'salmon4': '#8B4C39',
'sandy brown': '#F4A460',
'SandyBrown': '#F4A460',
'sea green': '#2E8B57',
'SeaGreen': '#2E8B57',
'SeaGreen1': '#54FF9F',
'SeaGreen2': '#4EEE94',
'SeaGreen3': '#43CD80',
'SeaGreen4': '#2E8B57',
'seashell': '#FFF5EE',
'seashell1': '#FFF5EE',
'seashell2': '#EEE5DE',
'seashell3': '#CDC5BF',
'seashell4': '#8B8682',
'sienna': '#A0522D',
'sienna1': '#FF8247',
'sienna2': '#EE7942',
'sienna3': '#CD6839',
'sienna4': '#8B4726',
'sky blue': '#87CEEB',
'SkyBlue': '#87CEEB',
'SkyBlue1': '#87CEFF',
'SkyBlue2': '#7EC0EE',
'SkyBlue3': '#6CA6CD',
'SkyBlue4': '#4A708B',
'slate blue': '#6A5ACD',
'slate gray': '#708090',
'slate grey': '#708090',
'SlateBlue': '#6A5ACD',
'SlateBlue1': '#836FFF',
'SlateBlue2': '#7A67EE',
'SlateBlue3': '#6959CD',
'SlateBlue4': '#473C8B',
'SlateGray': '#708090',
'SlateGray1': '#C6E2FF',
'SlateGray2': '#B9D3EE',
'SlateGray3': '#9FB6CD',
'SlateGray4': '#6C7B8B',
'SlateGrey': '#708090',
'snow': '#FFFAFA',
'snow1': '#FFFAFA',
'snow2': '#EEE9E9',
'snow3': '#CDC9C9',
'snow4': '#8B8989',
'spring green': '#00FF7F',
'SpringGreen': '#00FF7F',
'SpringGreen1': '#00FF7F',
'SpringGreen2': '#00EE76',
'SpringGreen3': '#00CD66',
'SpringGreen4': '#008B45',
'steel blue': '#4682B4',
'SteelBlue': '#4682B4',
'SteelBlue1': '#63B8FF',
'SteelBlue2': '#5CACEE',
'SteelBlue3': '#4F94CD',
'SteelBlue4': '#36648B',
'tan': '#D2B48C',
'tan1': '#FFA54F',
'tan2': '#EE9A49',
'tan3': '#CD853F',
'tan4': '#8B5A2B',
'thistle': '#D8BFD8',
'thistle1': '#FFE1FF',
'thistle2': '#EED2EE',
'thistle3': '#CDB5CD',
'thistle4': '#8B7B8B',
'tomato': '#FF6347',
'tomato1': '#FF6347',
'tomato2': '#EE5C42',
'tomato3': '#CD4F39',
'tomato4': '#8B3626',
'turquoise': '#40E0D0',
'turquoise1': '#00F5FF',
'turquoise2': '#00E5EE',
'turquoise3': '#00C5CD',
'turquoise4': '#00868B',
'violet': '#EE82EE',
'violet red': '#D02090',
'VioletRed': '#D02090',
'VioletRed1': '#FF3E96',
'VioletRed2': '#EE3A8C',
'VioletRed3': '#CD3278',
'VioletRed4': '#8B2252',
'wheat': '#F5DEB3',
'wheat1': '#FFE7BA',
'wheat2': '#EED8AE',
'wheat3': '#CDBA96',
'wheat4': '#8B7E66',
'white': '#FFFFFF',
'white smoke': '#F5F5F5',
'WhiteSmoke': '#F5F5F5',
'yellow': '#FFFF00',
'yellow green': '#9ACD32',
'yellow1': '#FFFF00',
'yellow2': '#EEEE00',
'yellow3': '#CDCD00',
'yellow4': '#8B8B00',
'YellowGreen': '#9ACD32',
}
def make_window():
layout = [[sg.Text(f'Swatches for {len(color_list)} Colors', font='Default 14'),],
[sg.Text(f'Hover - see color "name"\nRight click - see hex value\nClick - see buttons & hex value copied to clipboard', font='Default 12')],
[sg.Text(f'PySimpleGUI version: {sg.ver}', font='_ 12')],
[sg.Text(f'Python version: {sys.version}', font='_ 12')],
[sg.Text(f'tkinter version: {sg.tclversion_detailed}', font='_ 12')],
]
for rows in range(len(color_list)//COLORS_PER_ROW+1):
row = []
for i in range(COLORS_PER_ROW):
try:
color = color_list[rows*COLORS_PER_ROW+i]
row.append(sg.T(' ', s=1, background_color=color, text_color=color, font=('Default', font_size), right_click_menu=['_', color_map[color]],
tooltip=color, enable_events=True, key=(color, color_map[color])))
except IndexError as e:
break
except Exception as e:
sg.popup_error(f'Error while creating color window. Something with the Text elements perhaps....', e,
f'rows = {rows} i = {i}')
break
layout.append(row)
return sg.Window('Color Swatches Viewer', layout, font='Any 9', element_padding=(1,1), border_depth=0, right_click_menu=sg.MENU_RIGHT_CLICK_EDITME_EXIT, use_ttk_buttons=True)
def main():
sg.theme('black')
window = make_window()
# -- Event loop --
while True:
event, values = window.read()
if event == sg.WIN_CLOSED:
break
if event == 'Edit Me':
sg.execute_editor(__file__)
continue
elif isinstance(event, tuple):
color, color_hex = event[0], event[1]
else:
color, color_hex = hex_to_color[event], event
# -- Create a secondary window that shows white and black text on chosen color
layout2 = [[sg.Text(color_hex + ' on clipboard')],
[sg.DummyButton(color, button_color=('white',color), tooltip=color_hex),
sg.DummyButton(color, button_color=('black',color), tooltip=color_hex)]]
window2 = sg.Window('Buttons with white and black text', layout2, keep_on_top=True, finalize=True)
sg.clipboard_set(color_hex)
window.close()
if __name__ == '__main__':
sg.popup_quick_message('Building your color window... one moment please...', background_color='red', text_color='white', font='Any 14')
sg.set_options(button_element_size=(12, 1),
element_padding=(0, 0),
auto_size_buttons=False,
border_width=1, tooltip_time=100)
# -- Create primary color viewer window --
hex_to_color = {v: k for k, v in color_map.items()}
color_list = list(color_map.keys())
# [key for key in color_map]
COLORS_PER_ROW = 40
font_size = 18
main()

View file

@ -0,0 +1,69 @@
import PySimpleGUI as sg
"""
Demo sg.Columns and sg.Frames
Demonstrates using mixture of sg.Column and sg.Frame elements to create a nice window layout.
A couple of the concepts shown here include:
* Using sg.Columns and sg.Frames with specific sizes on them
* Buttons that have the same text on them that arew differentiated using explicit keys
* One way to hard-code the size of a Frame is to hard-code the size of a Column inside the frame
CAUTION:
Using explicit sizes on Column and Frame elements may not have the same effect on
all computers. Hard coding parts of layouts can sometimes not have the same result on all computers.
There are 3 sg.Columns. Two are side by side at the top and the third is along the bottom
When there are multiple Columns on a row, be aware that the default is for those Columns to be
aligned along their center. If you want them to be top-aligned, then you need to use the
vtop helper function to make that happen.
Copyright 2021 PySimpleGUI
"""
col2 = sg.Column([[sg.Frame('Accounts:', [[sg.Column([[sg.Listbox(['Account '+str(i) for i in range(1,16)],
key='-ACCT-LIST-',size=(15,20)),]],size=(150,400))]])]],pad=(0,0))
col1 = sg.Column([
# Categories sg.Frame
[sg.Frame('Categories:',[[ sg.Radio('Websites', 'radio1', default=True, key='-WEBSITES-', size=(10,1)),
sg.Radio('Software', 'radio1', key='-SOFTWARE-', size=(10,1))]],)],
# Information sg.Frame
[sg.Frame('Information:', [[sg.Text(), sg.Column([[sg.Text('Account:')],
[sg.Input(key='-ACCOUNT-IN-', size=(19,1))],
[sg.Text('User Id:')],
[sg.Input(key='-USERID-IN-', size=(19,1)),
sg.Button('Copy', key='-USERID-')],
[sg.Text('Password:')],
[sg.Input(key='-PW-IN-', size=(19,1)),
sg.Button('Copy', key='-PASS-')],
[sg.Text('Location:')],
[sg.Input(key='-LOC-IN-', size=(19,1)),
sg.Button('Copy', key='-LOC-')],
[sg.Text('Notes:')],
[sg.Multiline(key='-NOTES-', size=(25,5))],
], size=(235,350), pad=(0,0))]])], ], pad=(0,0))
col3 = sg.Column([[sg.Frame('Actions:',
[[sg.Column([[sg.Button('Save'), sg.Button('Clear'), sg.Button('Delete'), ]],
size=(450,45), pad=(0,0))]])]], pad=(0,0))
# The final layout is a simple one
layout = [[col1, col2],
[col3]]
# A perhaps better layout would have been to use the vtop layout helpful function.
# This would allow the col2 column to have a different height and still be top aligned
# layout = [sg.vtop([col1, col2]),
# [col3]]
window = sg.Window('Columns and Frames', layout)
while True:
event, values = window.read()
print(event, values)
if event == sg.WIN_CLOSED:
break
window.close()

View file

@ -0,0 +1,75 @@
import PySimpleGUI as sg
"""
Demo - "Collapsible" sections of windows
This demo shows one techinique for creating a collapsible section (Column) within your window.
To open/close a section, click on the arrow or name of the section.
Section 2 can also be controlled using the checkbox at the top of the window just to
show that there are multiple way to trigger events such as these.
Feel free to modify to use the fonts and sizes of your choosing. It's 1 line of code to make the section.
It could have been done directly in the layout.
Copyright 2021 PySimpleGUI.org
"""
def Collapsible(layout, key, title='', arrows=(sg.SYMBOL_DOWN, sg.SYMBOL_UP), collapsed=False):
"""
User Defined Element
A "collapsable section" element. Like a container element that can be collapsed and brought back
:param layout:Tuple[List[sg.Element]]: The layout for the section
:param key:Any: Key used to make this section visible / invisible
:param title:str: Title to show next to arrow
:param arrows:Tuple[str, str]: The strings to use to show the section is (Open, Closed).
:param collapsed:bool: If True, then the section begins in a collapsed state
:return:sg.Column: Column including the arrows, title and the layout that is pinned
"""
return sg.Column([[sg.T((arrows[1] if collapsed else arrows[0]), enable_events=True, k=key+'-BUTTON-'),
sg.T(title, enable_events=True, key=key+'-TITLE-')],
[sg.pin(sg.Column(layout, key=key, visible=not collapsed, metadata=arrows))]], pad=(0,0))
SEC1_KEY = '-SECTION1-'
SEC2_KEY = '-SECTION2-'
section1 = [[sg.Input('Input sec 1', key='-IN1-')],
[sg.Input(key='-IN11-')],
[sg.Button('Button section 1', button_color='yellow on green'),
sg.Button('Button2 section 1', button_color='yellow on green'),
sg.Button('Button3 section 1', button_color='yellow on green')]]
section2 = [[sg.I('Input sec 2', k='-IN2-')],
[sg.I(k='-IN21-')],
[sg.B('Button section 2', button_color=('yellow', 'purple')),
sg.B('Button2 section 2', button_color=('yellow', 'purple')),
sg.B('Button3 section 2', button_color=('yellow', 'purple'))]]
layout = [[sg.Text('Window with 2 collapsible sections')],
[sg.Checkbox('Blank checkbox'), sg.Checkbox('Hide Section 2', enable_events=True, key='-OPEN SEC2-CHECKBOX-')],
#### Section 1 part ####
[Collapsible(section1, SEC1_KEY, 'Section 1', collapsed=True)],
#### Section 2 part ####
[Collapsible(section2, SEC2_KEY, 'Section 2', arrows=( sg.SYMBOL_TITLEBAR_MINIMIZE, sg.SYMBOL_TITLEBAR_MAXIMIZE))],
[sg.Button('Button1'),sg.Button('Button2'), sg.Button('Exit')]]
window = sg.Window('Visible / Invisible Element Demo', layout)
while True: # Event Loop
event, values = window.read()
print(event, values)
if event == sg.WIN_CLOSED or event == 'Exit':
break
if event.startswith(SEC1_KEY):
window[SEC1_KEY].update(visible=not window[SEC1_KEY].visible)
window[SEC1_KEY+'-BUTTON-'].update(window[SEC1_KEY].metadata[0] if window[SEC1_KEY].visible else window[SEC1_KEY].metadata[1])
if event.startswith(SEC2_KEY) or event == '-OPEN SEC2-CHECKBOX-':
window[SEC2_KEY].update(visible=not window[SEC2_KEY].visible)
window[SEC2_KEY+'-BUTTON-'].update(window[SEC2_KEY].metadata[0] if window[SEC2_KEY].visible else window[SEC2_KEY].metadata[1])
window['-OPEN SEC2-CHECKBOX-'].update(not window[SEC2_KEY].visible)
window.close()

View file

@ -0,0 +1,46 @@
import PySimpleGUI as sg
# import PySimpleGUIQt as sg
"""
Demo - Multiple layouts in a single window that are swapped in and out
If you've ever wanted to replace the contents of a window with another layout then perhaps
this demo is for you. You cannot actually change the layout of a window dynamically, but what
you can do is make elements visible and invisible.
To "swap out" a portion of a window, use a Column element for that portion. Add multiple Columns
on the same row and make only 1 of them active at a time
"""
# ----------- Create the 3 layouts this Window will display -----------
layout1 = [[sg.Text('This is layout 1 - It is all Checkboxes')],
*[[sg.CB(f'Checkbox {i}')] for i in range(5)]]
layout2 = [[sg.Text('This is layout 2')],
[sg.Input(key='-IN-')],
[sg.Input(key='-IN2-')]]
layout3 = [[sg.Text('This is layout 3 - It is all Radio Buttons')],
*[[sg.Radio(f'Radio {i}', 1)] for i in range(8)]]
# ----------- Create actual layout using Columns and a row of Buttons
layout = [[sg.Column(layout1, key='-COL1-'), sg.Column(layout2, visible=False, key='-COL2-'), sg.Column(layout3, visible=False, key='-COL3-')],
[sg.Button('Cycle Layout'), sg.Button('1'), sg.Button('2'), sg.Button('3'), sg.Button('Exit')]]
window = sg.Window('Swapping the contents of a window', layout)
layout = 1 # The currently visible layout
while True:
event, values = window.read()
print(event, values)
if event in (sg.WIN_CLOSED, 'Exit'):
break
if event == 'Cycle Layout':
window[f'-COL{layout}-'].update(visible=False)
layout = layout + 1 if layout < 3 else 1
window[f'-COL{layout}-'].update(visible=True)
elif event in '123':
window[f'-COL{layout}-'].update(visible=False)
layout = int(event)
window[f'-COL{layout}-'].update(visible=True)
window.close()

View file

@ -0,0 +1,77 @@
import PySimpleGUI as sg
"""
Columns with a hard coded size that can have elements justified within it.
The Column element can have the size set to a fixed size, but when doing so, PySimpleGUI has
a limitation that the contents can't be justified using the normal element_justification parameter.
What to do?
The Sizer Element to the rescue.
PySimpleGUI likes to have layouts that size themselves rather than hard coded using a size parameter. The
Sizer Element enables you to create columns with fixed size by making the contents of your column a fixed size.
It is an invisible "padding" type of element. It has a width and a height parameter.
Copyright 2021 PySimpleGUI
"""
'''
M#"""""""'M dP
## mmmm. `M 88
#' .M 88d888b. .d8888b. 88 .dP .d8888b. 88d888b.
M# MMMb.'YM 88' `88 88' `88 88888" 88ooood8 88' `88
M# MMMM' M 88 88. .88 88 `8b. 88. ... 88 88
M# .;M dP `88888P' dP `YP `88888P' dP dP
M#########M
'''
# Let's say this is your layout and you want to center it in a 500 x 300 pixel Column Element.
col_interior = [[sg.Text('My Window')],
[sg.In()],
[sg.In()],
[sg.Button('Go'), sg.Button('Exit'), sg.Cancel(), sg.Ok()]]
# Intuition would be to write it as this:
layout = [[sg.Text('This layout is broken. The size of the Column is correct, but the elements are not justified')],
[sg.Column(col_interior, element_justification='c', size=(500, 300), background_color='red')]]
# But when you run it, you'll see that your interior is not centered.
window = sg.Window('Window Title', layout)
window.read(close=True)
'''
M""MMM""MMM""M dP
M MMM MMM M 88
M MMP MMP M .d8888b. 88d888b. 88 .dP .d8888b.
M MM' MM' .M 88' `88 88' `88 88888" Y8ooooo.
M `' . '' .MM 88. .88 88 88 `8b. 88
M .d .dMMM `88888P' dP dP `YP `88888P'
MMMMMMMMMMMMMM
'''
def ColumnFixedSize(layout, size=(None, None), *args, **kwargs):
# An addition column is needed to wrap the column with the Sizers because the colors will not be set on the space the sizers take
return sg.Column([[sg.Column([[sg.Sizer(0,size[1]-1), sg.Column([[sg.Sizer(size[0]-2,0)]] + layout, *args, **kwargs, pad=(0,0))]], *args, **kwargs)]],pad=(0,0))
col_interior = [[sg.Text('My Window')],
[sg.In()],
[sg.In()],
[sg.Button('Go'), sg.Button('Exit'), sg.Cancel(), sg.Ok()]]
layout = [[sg.Text('Below is a column that is 500 x 300')],
[sg.Text('With the interior centered')],
[ColumnFixedSize(col_interior, size=(500, 300), background_color='red', element_justification='c', vertical_alignment='t')]]
window = sg.Window('Window Title', layout)
window.read(close=True)

View file

@ -1,15 +1,19 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
sg.ChangeLookAndFeel('BlueMono') '''
Usage of Column Element
How to embed a layout in a layout
Copyright 2022 PySimpleGUI
'''
sg.theme('BlueMono')
# Column layout # Column layout
col = [[sg.Text('col Row 1', text_color='white', background_color='blue')], col = [[sg.Text('col Row 1', text_color='white', background_color='blue')],
[sg.Text('col Row 2', text_color='white', background_color='blue'), sg.Input('col input 1')], [sg.Text('col Row 2', text_color='white', background_color='blue', pad=(0,(25,0))),sg.T('Another item'), sg.T('another'), sg.Input('col input 1')],
[sg.Text('col Row 3', text_color='white', background_color='blue'), sg.Input('col input 2')]] [sg.Text('col Row 3', text_color='white', background_color='blue'), sg.Input('col input 2')]]
# Window layout # Window layout
layout = [[sg.Listbox(values=('Listbox Item 1', 'Listbox Item 2', 'Listbox Item 3'), layout = [[sg.Listbox(values=('Listbox Item 1', 'Listbox Item 2', 'Listbox Item 3'),
@ -19,7 +23,9 @@ layout = [[sg.Listbox(values=('Listbox Item 1', 'Listbox Item 2', 'Listbox Item
[sg.OK()]] [sg.OK()]]
# Display the window and get values # Display the window and get values
event, values = sg.Window('Compact 1-line form with column').Layout(layout).Read() window = sg.Window('Column Element', layout, margins=(0,0), element_padding=(0,0))
event, values = window.read()
sg.Popup(event, values, line_width=200) sg.popup(event, values, line_width=200)
window.close()

View file

@ -0,0 +1,44 @@
import PySimpleGUI as sg
"""
Demo Combo File Chooser - with clearable history
This is a design pattern that is very useful for programs that you run often that requires
a filename be entered. You've got 4 options to use to get your filename with this pattern:
1. Copy and paste a filename into the combo element
2. Use the last used item which will be visible when you create the window
3. Choose an item from the list of previously used items
4. Browse for a new name
To clear the list of previous entries, click the "Clear History" button.
The history is stored in a json file using the PySimpleGUI User Settings APIs
The code is as sparse as possible to enable easy integration into your code.
Copyright 2021 PySimpleGUI
"""
layout = [[sg.Combo(sorted(sg.user_settings_get_entry('-filenames-', [])), default_value=sg.user_settings_get_entry('-last filename-', ''), size=(50, 1), key='-FILENAME-'), sg.FileBrowse(), sg.B('Clear History')],
[sg.Button('Ok', bind_return_key=True), sg.Button('Cancel')]]
window = sg.Window('Filename Chooser With History', layout)
while True:
event, values = window.read()
if event in (sg.WIN_CLOSED, 'Cancel'):
break
if event == 'Ok':
# If OK, then need to add the filename to the list of files and also set as the last used filename
sg.user_settings_set_entry('-filenames-', list(set(sg.user_settings_get_entry('-filenames-', []) + [values['-FILENAME-'], ])))
sg.user_settings_set_entry('-last filename-', values['-FILENAME-'])
break
elif event == 'Clear History':
sg.user_settings_set_entry('-filenames-', [])
sg.user_settings_set_entry('-last filename-', '')
window['-FILENAME-'].update(values=[], value='')
window.close()

View file

@ -0,0 +1,47 @@
import PySimpleGUI as sg
"""
Demo - Compact Layouts and Element Renaming
Some layouts contain many many elements such that space becomes a premium. For experienced PySimpleGUI
programmers, there is little additional knowledge to be gained by writing
sg.Text('My text')
rather than using one of the shortcuts such as
sg.Text('My text')
However, even with shortcut usage, you continue to have the package prefix of
sg.
That's 3 characters per element that are added to your layout!
The very long import statement st the top can be copied into your code to give you the ability to write
T('My text')
If you don't want to use that very-long import or perhaps want to use your own shortcut names, you can easily
create your shortcut by simple assignment:
T = sg.T
This enables you to use T just as if you imported the Class T from PySimpleGUI. You could develop your own
template that you copy and paste at the top of all of your PySimpleGUI programs. Or perhaps perform an import
of those assignments from a .py file you create.
Note that you may lose docstrings in PyCharm using these shortcuts. You can still see the parameters when pressing
Control+P, but the Control+Q doesn't bring up the full list of parms and their descriptions. Looking for a fix
for this.
PLEASE OH PLEASE OH PLEASE NEVER EVER EVER do this:
from PySimpleGUI import *
There is a bot scanning GitHub for this statement. If found in your code, a squad of assassins will be dispatched
from the PySimpleGUI headquarters and you will be hunted down and forced to change your code.
"""
# A user created shortcut....
# Suppose this user's layout contains many Multiline Elements. It could be advantageous to have a single letter
# shortcut version for Multiline
M = sg.MLine
B = sg.B
# This layout uses the user defined "M" element as well as the PySimpleGUI Button shortcut, B.
layout = [[M(size=(30, 3))],
[B('OK')]]
window = sg.Window('Shortcuts', layout)
event, values = window.read()
sg.popup_scrolled(event, values)
window.close()

View file

@ -1,30 +1,34 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
# sg.SetOptions(button_color=sg.COLOR_SYSTEM_DEFAULT) '''
Simple "diff" in PySimpleGUI
'''
sg.theme('Dark Blue 3')
def GetFilesToCompare(): def GetFilesToCompare():
form_rows = [[sg.Text('Enter 2 files to comare')], form_rows = [[sg.Text('Enter 2 files to comare')],
[sg.Text('File 1', size=(15, 1)), sg.InputText(key='file1'), sg.FileBrowse()], [sg.Text('File 1', size=(15, 1)),
[sg.Text('File 2', size=(15, 1)), sg.InputText(key='file2'), sg.FileBrowse(target='file2')], sg.InputText(key='-file1-'), sg.FileBrowse()],
[sg.Text('File 2', size=(15, 1)), sg.InputText(key='-file2-'),
sg.FileBrowse(target='-file2-')],
[sg.Submit(), sg.Cancel()]] [sg.Submit(), sg.Cancel()]]
window = sg.Window('File Compare') window = sg.Window('File Compare', form_rows)
event, values = window.Layout(form_rows).Read() event, values = window.read()
window.close()
return event, values return event, values
def main():
button, values = GetFilesToCompare()
f1 = values['file1']
f2 = values['file2']
if any((button != 'Submit', f1 =='', f2 == '')): def main():
sg.PopupError('Operation cancelled')
sys.exit(69) button, values = GetFilesToCompare()
f1, f2 = values['-file1-'], values['-file2-']
if any((button != 'Submit', f1 == '', f2 == '')):
sg.popup_error('Operation cancelled')
return
# --- This portion of the code is not GUI related --- # --- This portion of the code is not GUI related ---
with open(f1, 'rb') as file1: with open(f1, 'rb') as file1:
@ -34,11 +38,12 @@ def main():
for i, x in enumerate(a): for i, x in enumerate(a):
if x != b[i]: if x != b[i]:
sg.Popup('Compare results for files', f1, f2, '**** Mismatch at offset {} ****'.format(i)) sg.popup('Compare results for files', f1, f2,
'**** Mismatch at offset {} ****'.format(i))
break break
else: else:
if len(a) == len(b): if len(a) == len(b):
sg.Popup('**** The files are IDENTICAL ****') sg.popup('**** The files are IDENTICAL ****')
if __name__ == '__main__': if __name__ == '__main__':

File diff suppressed because one or more lines are too long

View file

@ -23,11 +23,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import numpy import numpy
import PySimpleGUI as sg # Take your pick! Tkinter import PySimpleGUI as sg
# import PySimpleGUIWeb as sg # Or the Web! (Remi!)
BOX_SIZE = 15 BOX_SIZE = 15
class GameOfLife: class GameOfLife:
def __init__(self, N=20, T=200): def __init__(self, N=20, T=200):
@ -98,40 +98,58 @@ class GameOfLife:
self.t += 1 self.t += 1
def init_graphics(self): def init_graphics(self):
self.graph = sg.Graph((600, 600), (0, 0), (450, 450), key='_GRAPH_', change_submits=True, drag_submits=False, background_color='lightblue') self.graph = sg.Graph((600, 600), (0, 0), (450, 450),
key='-GRAPH-',
change_submits=True,
drag_submits=False,
background_color='lightblue')
layout = [ layout = [
[sg.Text('Game of Life ', font='ANY 15'), sg.Text('', key='_OUTPUT_', size=(30,1), font='ANY 15')], [sg.Text('Game of Life', font='ANY 15'),
sg.Text('Click below to place cells', key='-OUTPUT-', size=(30, 1), font='ANY 15')],
[self.graph], [self.graph],
[sg.Button('Go!', key='_DONE_'), [sg.Button('Go!', key='-DONE-'),
sg.Text(' Delay (ms)') , sg.Slider([0,400], orientation='h', key='_SLIDER_', enable_events=True, size=(15,15)), sg.T('', size=(3,1), key='_S1_OUT_'), sg.Text(' Delay (ms)'),
sg.Text(' Num Generations'), sg.Slider([0, 3000],default_value=400, orientation='h',size=(15,15),enable_events=True, key='_SLIDER2_'), sg.T('', size=(3,1), key='_S2_OUT_')] sg.Slider((0, 800), 100,
orientation='h',
key='-SLIDER-',
enable_events=True,
size=(15, 15)),
sg.Text('', size=(3, 1), key='-S1-OUT-'),
sg.Text(' Num Generations'), sg.Slider([0, 20000],
default_value=4000,
orientation='h',
size=(15, 15),
enable_events=True,
key='-SLIDER2-'),
sg.Text('', size=(3, 1), key='-S2-OUT-')]
] ]
self.window = sg.Window('Window Title', ).Layout(layout).Finalize() self.window = sg.Window('John Conway\'s Game of Life', layout, finalize=True)
event, values = self.window.Read(timeout=0) event, values = self.window.read(timeout=0)
self.delay = values['_SLIDER_'] self.delay = values['-SLIDER-']
self.window.Element('_S1_OUT_').Update(values['_SLIDER_']) self.window['-S1-OUT-'].update(values['-SLIDER-'])
self.window.Element('_S2_OUT_').Update(values['_SLIDER2_']) self.window['-S2-OUT-'].update(values['-SLIDER2-'])
def draw_board(self): def draw_board(self):
BOX_SIZE = 15 BOX_SIZE = 15
self.graph.Erase() self.graph.erase()
for i in range(self.N): for i in range(self.N):
for j in range(self.N): for j in range(self.N):
if self.old_grid[i][j]: if self.old_grid[i][j]:
self.graph.DrawRectangle((i * BOX_SIZE, j * BOX_SIZE), self.graph.draw_rectangle((i * BOX_SIZE, j * BOX_SIZE),
(i * BOX_SIZE + BOX_SIZE, j * (BOX_SIZE) + BOX_SIZE), (i * BOX_SIZE + BOX_SIZE,
j * (BOX_SIZE) + BOX_SIZE),
line_color='black', fill_color='yellow') line_color='black', fill_color='yellow')
event, values = self.window.Read(timeout=self.delay) event, values = self.window.read(timeout=self.delay)
if event in (None, '_DONE_'): if event in (sg.WIN_CLOSED, '-DONE-'):
sg.popup('Click OK to exit the program...')
self.window.close()
exit() exit()
self.delay = values['_SLIDER_'] self.delay = values['-SLIDER-']
self.T = int(values['_SLIDER2_']) self.T = int(values['-SLIDER2-'])
self.window.Element('_S1_OUT_').Update(values['_SLIDER_']) self.window['-S1-OUT-'].update(values['-SLIDER-'])
self.window.Element('_S2_OUT_').Update(values['_SLIDER2_']) self.window['-S2-OUT-'].update(values['-SLIDER2-'])
self.window.Element('_OUTPUT_').Update('Generation {}'.format(self.t)) self.window['-OUTPUT-'].update('Generation {}'.format(self.t))
def manual_board_setup(self): def manual_board_setup(self):
ids = [] ids = []
@ -140,31 +158,37 @@ class GameOfLife:
for j in range(self.N): for j in range(self.N):
ids[i].append(0) ids[i].append(0)
while True: # Event Loop while True: # Event Loop
event, values = self.window.Read() event, values = self.window.read()
if event is None or event == '_DONE_': if event == sg.WIN_CLOSED or event == '-DONE-':
break break
self.window.Element('_S1_OUT_').Update(values['_SLIDER_']) self.window['-S1-OUT-'].update(values['-SLIDER-'])
self.window.Element('_S2_OUT_').Update(values['_SLIDER2_']) self.window['-S2-OUT-'].update(values['-SLIDER2-'])
mouse = values['_GRAPH_'] mouse = values['-GRAPH-']
if event == '_GRAPH_': if event == '-GRAPH-':
if mouse == (None, None): if mouse == (None, None):
continue continue
box_x = mouse[0] // BOX_SIZE box_x = mouse[0] // BOX_SIZE
box_y = mouse[1] // BOX_SIZE box_y = mouse[1] // BOX_SIZE
if self.old_grid[box_x][box_y] == 1: if self.old_grid[box_x][box_y] == 1:
id = ids[box_x][box_y] id_val = ids[box_x][box_y]
self.graph.DeleteFigure(id) self.graph.delete_figure(id_val)
self.old_grid[box_x][box_y] = 0 self.old_grid[box_x][box_y] = 0
else: else:
id = self.graph.DrawRectangle((box_x * BOX_SIZE, box_y * BOX_SIZE), id_val = self.graph.draw_rectangle((box_x * BOX_SIZE, box_y * BOX_SIZE),
(box_x * BOX_SIZE + BOX_SIZE, box_y * (BOX_SIZE) + BOX_SIZE), (box_x * BOX_SIZE + BOX_SIZE,
box_y * (BOX_SIZE) + BOX_SIZE),
line_color='black', fill_color='yellow') line_color='black', fill_color='yellow')
ids[box_x][box_y] = id ids[box_x][box_y] = id_val
self.old_grid[box_x][box_y] = 1 self.old_grid[box_x][box_y] = 1
self.window.Element('_DONE_').Update(text='Exit') if event == sg.WIN_CLOSED:
self.window.close()
else:
self.window['-DONE-'].update(text='Exit')
if (__name__ == "__main__"): if (__name__ == "__main__"):
game = GameOfLife(N=35, T=200) game = GameOfLife(N=35, T=200)
game.play() game.play()
game.window.Close() sg.popup('Completed running.', 'Click OK to exit the program')
game.window.close()

View file

@ -1,9 +1,4 @@
import sys import PySimpleGUI as sg
if sys.version_info[0] >= 3:
import PySimpleGUI as sg
# import PySimpleGUIWeb as sg # take your pick of ports. Runs on both
else:
import PySimpleGUI27 as sg
import random import random
import string import string
@ -17,38 +12,41 @@ import string
BOX_SIZE = 25 BOX_SIZE = 25
layout = [ layout = [
[sg.Text('Crossword Puzzle Using PySimpleGUI'), sg.Text('', key='_OUTPUT_')], [sg.Text('Crossword Puzzle Using PySimpleGUI'), sg.Text('', key='-OUTPUT-')],
[sg.Graph((800,800), (0,450), (450,0), key='_GRAPH_', change_submits=True, drag_submits=False)], [sg.Graph((800, 800), (0, 450), (450, 0), key='-GRAPH-',
change_submits=True, drag_submits=False)],
[sg.Button('Show'), sg.Button('Exit')] [sg.Button('Show'), sg.Button('Exit')]
] ]
window = sg.Window('Window Title', ).Layout(layout).Finalize() window = sg.Window('Window Title', layout, finalize=True)
g = window.FindElement('_GRAPH_') g = window['-GRAPH-']
for row in range(16): for row in range(16):
for col in range(16): for col in range(16):
if random.randint(0,100) > 10: if random.randint(0, 100) > 10:
g.DrawRectangle((col * BOX_SIZE + 5, row * BOX_SIZE + 3), (col * BOX_SIZE + BOX_SIZE + 5, row * BOX_SIZE + BOX_SIZE + 3), line_color='black') g.draw_rectangle((col * BOX_SIZE + 5, row * BOX_SIZE + 3), (col * BOX_SIZE + BOX_SIZE + 5, row * BOX_SIZE + BOX_SIZE + 3), line_color='black')
else: else:
g.DrawRectangle((col * BOX_SIZE + 5, row * BOX_SIZE + 3), (col * BOX_SIZE + BOX_SIZE + 5, row * BOX_SIZE + BOX_SIZE + 3), line_color='black', fill_color='black') g.draw_rectangle((col * BOX_SIZE + 5, row * BOX_SIZE + 3), (col * BOX_SIZE + BOX_SIZE + 5, row * BOX_SIZE + BOX_SIZE + 3), line_color='black', fill_color='black')
g.DrawText('{}'.format(row * 6 + col + 1), (col * BOX_SIZE + 10, row * BOX_SIZE + 8)) g.draw_text('{}'.format(row * 6 + col + 1),
(col * BOX_SIZE + 10, row * BOX_SIZE + 8))
while True: # Event Loop while True: # Event Loop
event, values = window.Read() event, values = window.read()
print(event, values) print(event, values)
if event is None or event == 'Exit': if event in (sg.WIN_CLOSED, 'Exit'):
break break
mouse = values['_GRAPH_'] mouse = values['-GRAPH-']
if event == '_GRAPH_': if event == '-GRAPH-':
if mouse == (None, None): if mouse == (None, None):
continue continue
box_x = mouse[0]//BOX_SIZE box_x = mouse[0]//BOX_SIZE
box_y = mouse[1]//BOX_SIZE box_y = mouse[1]//BOX_SIZE
letter_location = (box_x * BOX_SIZE + 18, box_y * BOX_SIZE + 17) letter_location = (box_x * BOX_SIZE + 18, box_y * BOX_SIZE + 17)
print(box_x, box_y) print(box_x, box_y)
g.DrawText('{}'.format(random.choice(string.ascii_uppercase)), letter_location, font='Courier 25') g.draw_text('{}'.format(random.choice(string.ascii_uppercase)),
letter_location, font='Courier 25')
window.Close() window.close()

View file

@ -0,0 +1,48 @@
import PySimpleGUI as sg
"""
Demo - Preview tkinter cursors
Shows the standard tkinter cursors using Buttons
The name of the cursor is on the Button. Mouse over the Button and you'll see
what that cursor looks like.
This list of cursors is a constant defined in PySimpleGUI. The constant name is:
sg.TKINTER_CURSORS
Copyright 2022 PySimpleGUI
"""
cursors = sg.TKINTER_CURSORS
# Make a layout that's 10 buttons across
NUM_BUTTONS_PER_ROW = 10
layout = [[]]
row = []
for i, c in enumerate(cursors):
# print(i, c)
row.append(sg.Button(c, size=(14,3), k=c))
if ((i+1) % NUM_BUTTONS_PER_ROW) == 0:
layout.append(row)
row = []
# print(row)
# Add on the last, partial row
start = len(cursors)//NUM_BUTTONS_PER_ROW * NUM_BUTTONS_PER_ROW
row = []
for i in range(start, len(cursors)):
row.append(sg.Button(cursors[i], size=(14,3), k=cursors[i]))
layout.append(row)
window = sg.Window('Cursor Previewer',layout, finalize=True)
# set the cursor on each of the buttons that has the name of the cursor as the text
for c in cursors:
window[c].set_cursor(c)
# The ubiquitous event loop...
while True:
event, values = window.read()
if event == sg.WIN_CLOSED:
break
window.close()

View file

@ -0,0 +1,53 @@
import PySimpleGUI as sg
import webbrowser
"""
Demo Cursors
Demonstration of setting an Element's Cursor to use a different cursor than the standard arrow.
Can also change Cursor at the Window level.
If you want no cursor, set the cursor to the string 'none'.
Copyright 2021, 2022 PySimpleGUI
"""
# Here is a more complete list of cursors you can choose from
cursors = sg.TKINTER_CURSORS
sg.theme('Light Blue 2')
layout = [ [sg.Text('Here is a clickable link for you')],
[sg.Text('Notice how the cursor switches to a "hand" when hover over the link')],
[sg.Text('www.PySimpleGUI.org', font='default 12 underline', text_color='blue', enable_events=True, key='-LINK-')],
[sg.Text('Try out these additional cursors')],
[sg.Text('watch - This makes the spinning-donut-of-death cursor on Windows', key='-WATCH-')],
[sg.Text('fleur - The "Move" cursor', key='-FLEUR-')],
[sg.Text('trek - Beam me up Scotty!', key='-TREK-')],
[sg.Text('none - No cursor at all', key='-NONE-')],
[sg.Text('For touchscreen applications, you may want to turn off the cursor entirely for the windw')],
[sg.Text('Click the Hide Cursor button to turn off at the Window level.')],
[sg.Text('Elements that have specific cursors set will continue to show those cursors')],
[sg.Button('Hide Cursor'), sg.Button('Exit')] ]
window = sg.Window('Cursor Demo', layout, finalize=True)
# Make sure window is finalized first. Then set the cursor
window['-LINK-'].set_cursor(cursor='hand1')
window['-WATCH-'].set_cursor(cursor='watch')
window['-FLEUR-'].set_cursor(cursor='fleur')
window['-TREK-'].set_cursor(cursor='trek')
window['Exit'].set_cursor(cursor='no')
window['-NONE-'].set_cursor(cursor='none')
while True: # Event Loop
event, values = window.read()
print(event, values)
if event in (sg.WIN_CLOSED, 'Exit'):
break
elif event == 'Hide Cursor':
window.set_cursor('none') # special value that hides the cursor entirely
elif event == '-LINK-':
# if the text was clicked, open a browser using the text as the address
webbrowser.open(window['-LINK-'].DisplayText) # accessing DisplayText isn't something you'll see often
window.close()

View file

@ -32,17 +32,16 @@ pixmaps and page re-visits will re-use a once-created display list.
import sys import sys
import fitz import fitz
import sys import sys
if sys.version_info[0] >= 3: import PySimpleGUI as sg
import PySimpleGUI as sg
else:
import PySimpleGUI27 as sg
import tkinter as tk import tkinter as tk
from PIL import Image, ImageTk from PIL import Image, ImageTk
import time import time
if len(sys.argv) == 1: if len(sys.argv) == 1:
fname = sg.PopupGetFile('Document Browser', 'Document file to open', no_window=True, fname = sg.popup_get_file('Document Browser', 'Document file to open',
file_types = ( no_window=True,
file_types=(
("PDF Files", "*.pdf"), ("PDF Files", "*.pdf"),
("XPS Files", "*.*xps"), ("XPS Files", "*.*xps"),
("Epub Files", "*.epub"), ("Epub Files", "*.epub"),
@ -56,7 +55,7 @@ else:
fname = sys.argv[1] fname = sys.argv[1]
if not fname: if not fname:
sg.Popup("Cancelling:", "No filename supplied") sg.popup("Cancelling:", "No filename supplied")
raise SystemExit("Cancelled: no filename supplied") raise SystemExit("Cancelled: no filename supplied")
doc = fitz.open(fname) doc = fitz.open(fname)
@ -72,7 +71,8 @@ dlist_tab = [None] * page_count
title = "PyMuPDF display of '%s', pages: %i" % (fname, page_count) title = "PyMuPDF display of '%s', pages: %i" % (fname, page_count)
def get_page(pno, zoom = False, max_size = None, first = False):
def get_page(pno, zoom=False, max_size=None, first=False):
"""Return a PNG image for a document page number. """Return a PNG image for a document page number.
""" """
dlist = dlist_tab[pno] # get display list of page number dlist = dlist_tab[pno] # get display list of page number
@ -91,7 +91,7 @@ def get_page(pno, zoom = False, max_size = None, first = False):
mat_0 = fitz.Matrix(zoom_0, zoom_0) mat_0 = fitz.Matrix(zoom_0, zoom_0)
if not zoom: # show total page if not zoom: # show total page
pix = dlist.getPixmap(matrix = mat_0, alpha=False) pix = dlist.getPixmap(matrix=mat_0, alpha=False)
else: else:
mp = r.tl + (r.br - r.tl) * 0.5 # page rect center mp = r.tl + (r.br - r.tl) * 0.5 # page rect center
w2 = r.width / 2 w2 = r.width / 2
@ -125,22 +125,15 @@ max_size = (max_width, max_height)
root.destroy() root.destroy()
del root del root
window = sg.Window(title, return_keyboard_events = True,
location = (0,0), use_default_focus = False, no_titlebar=False)
cur_page = 0 cur_page = 0
data, clip_pos = get_page(cur_page, data, clip_pos = get_page(cur_page, zoom=False, max_size=max_size, first=True)
zoom = False,
max_size = max_size,
first = True)
image_elem = sg.Image(data = data) image_elem = sg.Image(data=data)
goto = sg.InputText(str(cur_page + 1), size=(5, 1), do_not_clear=True, goto = sg.InputText(str(cur_page + 1), size=(5, 1), key="-PageNumber-")
key = "PageNumber")
layout = [ layout = [[
[
sg.ReadButton('Next'), sg.ReadButton('Next'),
sg.ReadButton('Prev'), sg.ReadButton('Prev'),
sg.Text('Page:'), sg.Text('Page:'),
@ -152,7 +145,8 @@ layout = [
[image_elem], [image_elem],
] ]
window.Layout(layout) window = sg.Window(title, layout, return_keyboard_events=True,
location=(0, 0), use_default_focus=False, no_titlebar=False)
# now define the buttons / events we want to handle # now define the buttons / events we want to handle
enter_buttons = [chr(13), "Return:13"] enter_buttons = [chr(13), "Return:13"]
@ -173,8 +167,8 @@ old_page = 0
old_zoom = False old_zoom = False
while True: while True:
event, value = window.Read() event, value = window.read()
if event is None and (value is None or value['PageNumber'] is None): if event == sg.WIN_CLOSED and (value is None or value['-PageNumber-'] is None):
break break
if event in quit_buttons: if event in quit_buttons:
break break
@ -184,7 +178,7 @@ while True:
if event in enter_buttons: if event in enter_buttons:
try: try:
cur_page = int(value['PageNumber']) - 1 # check if valid cur_page = int(value['-PageNumber-']) - 1 # check if valid
while cur_page < 0: while cur_page < 0:
cur_page += page_count cur_page += page_count
except: except:
@ -216,10 +210,10 @@ while True:
zoom = zoom_pressed = old_zoom = False zoom = zoom_pressed = old_zoom = False
t0 = time.perf_counter() t0 = time.perf_counter()
data, clip_pos = get_page(cur_page, zoom = zoom, max_size = max_size, data, clip_pos = get_page(cur_page, zoom=zoom, max_size=max_size,
first = False) first=False)
t1 = time.perf_counter() t1 = time.perf_counter()
image_elem.Update(data = data) image_elem.update(data=data)
t2 = time.perf_counter() t2 = time.perf_counter()
fitz_img_time += t1 - t0 fitz_img_time += t1 - t0
tk_img_time += t2 - t1 tk_img_time += t2 - t1
@ -229,8 +223,9 @@ while True:
# update page number field # update page number field
if event in my_keys: if event in my_keys:
goto.Update(str(cur_page + 1)) goto.update(str(cur_page + 1))
window.close()
# print some response time statistics # print some response time statistics
if img_count > 0: if img_count > 0:

View file

@ -0,0 +1,64 @@
import PySimpleGUI as sg
"""
Dashboard using blocks of information.
Copyright 2020 PySimpleGUI.org
"""
theme_dict = {'BACKGROUND': '#2B475D',
'TEXT': '#FFFFFF',
'INPUT': '#F2EFE8',
'TEXT_INPUT': '#000000',
'SCROLL': '#F2EFE8',
'BUTTON': ('#000000', '#C2D4D8'),
'PROGRESS': ('#FFFFFF', '#C7D5E0'),
'BORDER': 1,'SLIDER_DEPTH': 0, 'PROGRESS_DEPTH': 0}
# sg.theme_add_new('Dashboard', theme_dict) # if using 4.20.0.1+
sg.LOOK_AND_FEEL_TABLE['Dashboard'] = theme_dict
sg.theme('Dashboard')
BORDER_COLOR = '#C7D5E0'
DARK_HEADER_COLOR = '#1B2838'
BPAD_TOP = ((20,20), (20, 10))
BPAD_LEFT = ((20,10), (0, 10))
BPAD_LEFT_INSIDE = (0, 10)
BPAD_RIGHT = ((10,20), (10, 20))
top_banner = [[sg.Text('Dashboard'+ ' '*64, font='Any 20', background_color=DARK_HEADER_COLOR),
sg.Text('Tuesday 9 June 2020', font='Any 20', background_color=DARK_HEADER_COLOR)]]
top = [[sg.Text('The Weather Will Go Here', size=(50,1), justification='c', pad=BPAD_TOP, font='Any 20')],
[sg.T(f'{i*25}-{i*34}') for i in range(7)],]
block_3 = [[sg.Text('Block 3', font='Any 20')],
[sg.Input(), sg.Text('Some Text')],
[sg.Button('Go'), sg.Button('Exit')] ]
block_2 = [[sg.Text('Block 2', font='Any 20')],
[sg.T('This is some random text')],
[sg.Image(data=sg.DEFAULT_BASE64_ICON)] ]
block_4 = [[sg.Text('Block 4', font='Any 20')],
[sg.T('This is some random text')],
[sg.T('This is some random text')],
[sg.T('This is some random text')],
[sg.T('This is some random text')]]
layout = [[sg.Column(top_banner, size=(960, 60), pad=(0,0), background_color=DARK_HEADER_COLOR)],
[sg.Column(top, size=(920, 90), pad=BPAD_TOP)],
[sg.Column([[sg.Column(block_2, size=(450,150), pad=BPAD_LEFT_INSIDE)],
[sg.Column(block_3, size=(450,150), pad=BPAD_LEFT_INSIDE)]], pad=BPAD_LEFT, background_color=BORDER_COLOR),
sg.Column(block_4, size=(450, 320), pad=BPAD_RIGHT)]]
window = sg.Window('Dashboard PySimpleGUI-Style', layout, margins=(0,0), background_color=BORDER_COLOR, no_titlebar=True, grab_anywhere=True)
while True: # Event Loop
event, values = window.read()
if event == sg.WIN_CLOSED or event == 'Exit':
break
window.close()

Some files were not shown because too many files have changed in this diff Show more