Commit Graph

1415 Commits

Author SHA1 Message Date
PySimpleGUI 9022fd22de TTK Button wraplen and padding height changes 2021-12-15 07:00:59 -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 3845f0de66 Fixed logging github issue problem with overall and python years swapped 2021-12-06 08:52:41 -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 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 668835bb7f Graph - motion_events parm added as a quick experiment. 2021-12-03 17:33:25 -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 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 2d6d4f6e68 Tree element - set the row height based on the font used in the Tree 2021-12-01 16:20:26 -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 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 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 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 f2ab3b7c82 Removal of import of site. Added pad to Sizegrip element. 2021-11-19 09:44:59 -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 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 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 cae8cf360a Release 4.55.1 2021-11-07 13:43:03 -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 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 e078cbe33a Release 4.55.0 2021-11-07 05:21:18 -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 fb0579af3a If pythonw found in psgmain or psgupgrade, then switch it to python 2021-11-07 05:02:23 -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 5c01c523da Release 4.54.0 2021-11-06 17:01:58 -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 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 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 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 5c882851b9 Version bump to 0.15. For to with last release. 2021-11-05 11:04:39 -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 5e73d30f44 Version bump 2021-11-03 14:26:23 -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 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 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 ed5d443682 Propagate right click menus when used on Container Elements (Column, Frame, Tab) 2021-10-30 19:43:24 -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 8196de2eaf Added focus_color to TabGroup element 2021-10-30 14:08:22 -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 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 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 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 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 40ab839d9e Fix for VSeparator (thank you Jason!) 2021-10-25 14:04:22 -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 3bf3845542 Release 4.53.0 2021-10-24 14:41:02 -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 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 040667750a One last time before the final release (maybe.. let's hope...) 2021-10-24 11:58:15 -04:00
PySimpleGUI c8372793e9 Version bump so that install from github will do something 2021-10-24 11:50:25 -04:00
PySimpleGUI b00ad7b3dd Debug print for the main restart 2021-10-24 11:46:36 -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 2fab2c2c24 Fix for 3.4 subprocess import 2021-10-24 11:24:39 -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 741048e95f Relaunches PySimpleGUI.py file when psgupgrade.exe is used 2021-10-23 21:42:28 -04:00
PySimpleGUI 7c5e8321e1 Added scaling parameter to Window and to set_options 2021-10-23 16:15:21 -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 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 c22a7dc699 Fix for grab anywhere bug introduced with control key grab anywhere 2021-10-22 08:08:21 -04:00
PySimpleGUI a6944f2ec7 Version change to match pypi so that pip will install correctlfy. 2021-10-21 18:24:52 -04:00
PySimpleGUI ded8724c40 Fix in the Upgrade from GitHub code. 2021-10-21 18:15:56 -04:00
PySimpleGUI d545918c9f Removed debug popup_scrolled 2021-10-21 16:04:20 -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 88fc8dd5fc Release 4.51.4 2021-10-21 15:21:58 -04:00
PySimpleGUI 6725c21d9b Backed out column changes. 2021-10-21 14:13:47 -04:00
PySimpleGUI 96e6e0a178 Release 4.52.0 2021-10-21 11:05:09 -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 a97fe0ebf1 Fix for expand_x, expand_y on scrollable columns 2021-10-21 09:41:41 -04:00
PySimpleGUI f71b6b60db New Window parameter grab_anywhere_using_control 2021-10-19 15:28:38 -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 f73081fa98 New right-click-menu constant - Added File Location this time. 2021-10-18 20:45:48 -04:00
PySimpleGUI a05af0ad97 Release 4.51.0 2021-10-18 14:28:39 -04:00
PySimpleGUI d0f945c74e Release 4.50.0 2021-10-17 17:13:44 -04:00
PySimpleGUI 4d8dad1efe Docstring updates (ALMOST DONE!) 2021-10-17 17:04:54 -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 890fb432eb Fix for deleting sections in UserSettings, save after the delete if auto-save enabled 2021-10-17 16:25:11 -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 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 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 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 f7da5416f1 Addition of horizonal scrollbar to Listbox 2021-10-13 05:56:13 -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 fe023c2b46 Fixed UserSettings docstring 2021-10-11 15:11:14 -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 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 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 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 0c4361a6e4 New set_options option - warn_button_key_duplicates 2021-10-03 02:58:30 -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 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 99eb2b7c6c User Settings Support for Trinket 2021-10-01 13:43:00 -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 476d949941 Added Element.set_right_click_menu 2021-10-01 09:29:25 -04:00
PySimpleGUI 7c406d917e Release 4.49.0 2021-09-30 15:11:14 -04:00
PySimpleGUI f3147afca8 VPush and VP Aliases for VStretch 2021-09-28 14:08:28 -04:00
PySimpleGUI 919f639c54 Test harness addition... 2021-09-27 18:59:33 -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 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 616b4e3586 Fix for Image.update_animation_no_buffering not looking at the time between frames. 2021-09-26 11:36:04 -04:00
PySimpleGUI 2c36c4e3c6 Release 4.48.0 2021-09-25 19:57:14 -04:00
PySimpleGUI 793e828780 Removed Mac prints at startup.... buttoning up for release 2021-09-25 17:03:54 -04:00
PySimpleGUI 8ea9294648 Redefined the Debug button. 2021-09-25 15:59:45 -04:00
PySimpleGUI 427b32fa5c Fix for debugger (checked into wrong branch) 2021-09-25 15:24:23 -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 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 7809adc17d removed debug print 2021-09-18 16:09:26 -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 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 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 d88f7a32ba Better explanation of ProgressMeter size parm 2021-09-09 09:15:52 -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 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 9caa0cea92 Release 4.47.0 2021-08-30 15:25:37 -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 0d0b7588a0 Added vert parm to Stretch element 2021-08-29 19:13:27 -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 a7bc5c271e Changed the install from GitHub using a new technique 2021-08-29 18:28:42 -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 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 b05b3225db Made multiline larger for the pip output when upgrading 2021-08-28 14:48:21 -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 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 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 c0acba89f8 NEW GitHub Upgrade algorithm and window with status. BIG thank you to Israel Dryer! 2021-08-27 18:04:53 -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 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 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 31b667f3df New constant BLANK_BASE64 - a 1x1 pixel PNG with alpha=0 2021-08-24 06:59:44 -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 bbd3ab6341 new Window.current_location parameter more_accurate. 2021-08-18 10:08:17 -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 1591003a83 Added Jason's fix for the treemap fix found in _fixed_map 2021-08-15 18:23:54 -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 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 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 69f12cc568 Release 4.46.0 2021-08-10 17:40:53 -04:00
PySimpleGUI a129877738 Addition of Project Details to the GitHub Issue GUI 2021-08-10 14:35:08 -04:00
PySimpleGUI 17fbd31dce Text element - changed autosize sizing to None, None with wraplen = 0 2021-08-06 18:23:58 -04:00
PySimpleGUI 1e08105e45 Fix for a couple of docstrings 2021-08-06 17:40:12 -04:00
PySimpleGUI bd32b89caa Exception details for overrideredirect, updated docstrings 2021-08-05 17:55:17 -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 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 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 84553000c5 New Mac option - grab anywhere is disabled if the window has a titlebar 2021-08-03 17:36:58 -04:00
PySimpleGUI 38981a291d Still grabbing at straws...... and sometimes actually getting a window... 2021-08-03 17:09:13 -04:00