Commit Graph

1550 Commits

Author SHA1 Message Date
PySimpleGUI ee2ccaba4c Enhancement - Addition of button_text to the ButtonMenu.update method. 2022-02-22 12:24:49 -05:00
PySimpleGUI 409846bd3f New coupon for next 30 days 2022-02-19 10:45:14 -05:00
PySimpleGUI 0d7187f1d2 Cast the default for Checkbox to bool 2022-02-18 12:45:13 -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 e0709b081a Release 4.57.0 2022-02-13 16:41:43 -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 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 992c5db3bc Updated Window.perform_long_operation docstring to warn that Threads are used 2022-02-06 17:16:59 -05:00
PySimpleGUI 0205f5c913 PYTHON_COLORED_HEARTS_BASE64 enuf said.. 2022-02-04 13:26:46 -05:00
PySimpleGUI 427a91f9de Listbox - fix for scrollbar not working correctly when invisible then visible 2022-02-02 11:26:41 -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 c57f655138 Added paste parm to Input.update 2022-01-31 04:36:49 -05:00
PySimpleGUI 92ea038adb New U-Code 2022-01-30 13:01:07 -05:00
PySimpleGUI 97a8db5854 Added error popup if filename error in Image.update 2022-01-28 14:06:27 -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 6da458be90 Horizontal scrollbar for Multiline element 2022-01-25 09:45:22 -05:00
PySimpleGUI 13ce12e875 New U-code... 2022-01-24 14:21:26 -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 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 64bb3f954f Fixed typo - CICKED should be CLICKED in the able header code. 2022-01-22 15:36:19 -05:00
PySimpleGUI f11a374cc1 Corrected "hope" name top "clap" 2022-01-16 06:43:59 -05:00
PySimpleGUI 35804b9b10 New 2022 Emojis 2022-01-16 06:39:38 -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 091db79c56 Added Udemy info to main(). 2022-01-11 11:27:25 -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 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 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 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 3c356d31c2 Release 4.56.0 2022-01-05 16:38:48 -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 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 4712041ee1 Fix for set_options - was not checking for True for dpi_awareness 2021-12-25 12:59:12 -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 8d21555f28 Fixed normal (non-ttk) button wraplen 2021-12-15 10:13:36 -05:00
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
PySimpleGUI 2917094fd2 Experimental change to grab anywhere 2021-08-03 15:58:34 -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 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 4bed4c6a66 Added Mac no titlebar patch to Tooltips 2021-07-31 16:41:02 -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 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 0eb0ce0015 set_size - if a Graph Element, then also set the CanvasSize member variable 2021-07-30 14:44:22 -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 14cb70ac73 Move all windows (experimental) updated to use new move all windows algorithm 2021-07-27 13:30:31 -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 29e19579c3 Skip the SECOND no titlebar setup if running on a Mac 2021-07-27 11:24:35 -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 44ccdbc175 Added Mac Patch Control Settings and window to change the settings 2021-07-25 18:51:57 -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 7d2cf157bf Added autosave parameter to UserSettings object. 2021-07-25 07:53:58 -04:00
PySimpleGUI 4970b0b57c "Oh... I guess that function was important after all' 2021-07-24 20:01:49 -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 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 a940d3bcd4 Sizegrip... one FINAL time. Realized it was expanding row frame erronously. 2021-07-24 08:13:37 -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 406c0c0305 Fixed Text.get() - wasn't getting actual current value. 2021-07-23 13:24:01 -04:00
PySimpleGUI b1081f747d Added new Window.perform_long_operation. Fixed Sizegrip row expansion 2021-07-23 08:59:35 -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 0cb4b4ab61 Fixed docstrings that had missing type and rtype lines. 2021-07-19 15:45:24 -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 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 4b8757c124 Check for file exists in execute_py_file 2021-07-17 13:23:22 -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 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 ad708f7176 Added TabGroup.add_tab 2021-07-08 17:41:39 -04:00
PySimpleGUI 3c2e3bf0a2 Warning on FindElement to get users to migrate 2021-07-08 08:58:13 -04:00
PySimpleGUI f9a9f8a95b one_line_progress_meter gets keep_on_top parameter 2021-07-07 15:37:36 -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 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 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 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 30be7fea45 Added class_ parm to the Toplevel windows for the Linux window title problems 2021-06-28 08:17:05 -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 2015846df9 autoscroll parameter added to Multiline.print and cprint 2021-06-25 18:37:47 -04:00
PySimpleGUI 436cb397ce Release 4.45.0 2021-06-21 09:48:10 -04:00
PySimpleGUI ab9344007a Moved *args in one_line_progress_meter 2021-06-20 08:23:59 -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 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 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 be32911baf Fix for tearoff menu location after a new menu definition 2021-06-17 18:33:18 -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 853887edaa Replaced popup_error with traceback error popups when button colors problems are detected 2021-06-17 13:49:11 -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 e29e1d20ee docstring update for Window.current_location - mention the titlebar and menubar can affect accuracy 2021-06-14 08:41:08 -04:00
PySimpleGUI 8a269efc61 Release 4.44.0 2021-06-13 12: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 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 95f4ab7ec0 popup_get_folder also gets a history feature. 2021-06-12 15:08:09 -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 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 e37bfc9861 Removed print accidently left in debugging tags. Cleaned up the color demo. 2021-06-10 13:29:40 -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 00fa20e13b Made expanding Tree element a single operation like other elements. 2021-06-10 10:14:43 -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 b7dfe800f1 Fix for Listbox visibility 2021-06-08 06:50:46 -04:00
PySimpleGUI cae7d9abe6 See through test in test harness changed to be a toggle. 2021-06-04 09:07:53 -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 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