Commit Graph

1377 Commits

Author SHA1 Message Date
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