Commit Graph

1562 Commits

Author SHA1 Message Date
PySimpleGUI 71fc4144bf Made upgrade from GitHub window resizable 2022-06-06 08:10:58 -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 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 0e0a03cdc0 New Demo Program - Using User Settings as a Database 2022-06-04 11:56:00 -04:00
PySimpleGUI 0a5f252a8d Updated docstring for the pin helper function 2022-06-04 07:18:41 -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 3e5ae43886 TabGroup docstring update - visible marked as Depricated 2022-06-03 16:39:48 -04:00
PySimpleGUI cf408bbd98 New logic for checking for the *.* situation for Mac filetypes 2022-06-03 12:23:34 -04:00
PySimpleGUI 967a086605 Added * *.* to the Mac filetypes 2022-06-03 12:14:06 -04:00
PySimpleGUI 55998c7c34 Added more specifications for * for Mac file_type testing 2022-06-03 10:58:21 -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 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 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 20924d97f9 New Udemy coupon (on top of the sale)... have fun kids! 2022-06-02 06:41:07 -04:00
PySimpleGUI 3bc17e75a8 Added Edit Me to the test harness Right Click Menu 2022-06-01 21:39:09 -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 fc42b0d45c Added platform and platform version to the get_versions function and the psgver command 2022-05-30 12:30:53 -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 f9c244dffe (None, None) added to Window docstring as a valid location parameter setting 2022-05-29 18:43:11 -04:00
PySimpleGUI 96a4e9a983 Addition of Window.ubind 2022-05-29 08:43:55 -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 544e38be13 Fixed Spin element docstring - readonly was incorrect 2022-05-26 05:38:41 -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 1f5fb16bc4 Addition of Window.set_resizable 2022-05-24 06:23:43 -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 b85ad8e12a Fix for crash when specifying horizontal scroll in Listbox element 2022-05-19 17:46:54 -04:00
PySimpleGUI 48bb8fe24c Added a reminder to call contents_changed to the Column docstring 2022-05-19 16:38:05 -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 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 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 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 5ee22c0568 Fill in the details fields next to OS in the Open GitHub Issue function 2022-05-08 14:09:25 -04:00
PySimpleGUI 66931d51e1 Release 4.60.0 2022-05-08 12:50:09 -04:00
PySimpleGUI 577af38445 Fix for Scrollable Columns - wasn't scrolling correctly when Column expanded 2022-05-08 09:04:00 -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 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 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 e0b5aff6a8 Docstring fix for file_type (had a missing , drat) 2022-05-06 07:39:10 -04:00
PySimpleGUI 5673ed429e Auto-correct file_types errors for Browse buttons 2022-05-05 18:02:41 -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 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 c20c71601e Added back the filetypes parameter for the Mac (thank you resnbl) 2022-05-03 11:27:19 -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 e42fa34dc7 New coupon 2022-05-02 16:20:34 -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 b31266999b New Column element parameters - size_subsample_width & size_subsample_height 2022-04-28 12:37:23 -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 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 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 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 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 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 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 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 d4f38fd07f New scrollbars now support for GrayGrayGray and themes that have no color settings 2022-04-20 11:45:46 -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 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 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 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 d45846f8c3 One more time for the Debug Print..... 2022-04-19 16:50:13 -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 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 100e68284e New theme 2022-04-18 15:50:40 -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 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 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 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 c9cc588a23 Improved ttk theme error reporting 2022-04-14 13:07:29 -04:00
PySimpleGUI c726436f4e Fixed a terrible ttk bug I checked in yesterday... really sorry! 2022-04-14 11:10:17 -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 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 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 a0e468b0f2 More exception handling around screen capture 2022-04-10 07:14:59 -04:00
PySimpleGUI 846af285b3 Added exception handling to bind methods 2022-04-10 06:55:53 -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 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 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 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 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 3261ec15fa Release 4.59.0 2022-04-05 21:02:08 -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 b04252a864 Release 4.58.0 2022-04-04 17:11:28 -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 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 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 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 ed2bc288ff Completed switching all elements over to the new way of handling visiblity 2022-04-02 15:03:58 -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 b60de0368d Fixed Text.update - crashing when making invisible 2022-04-02 09:31:28 -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 789c6f94d7 New coupon (good for 30 days!) 2022-04-01 11:11:45 -04:00
PySimpleGUI eeba57a971 New 5-day coupon code that's lower than usual.... 2022-03-29 09:19:30 -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 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 ebd6e7d2d3 Added back the list of Elements for the Window.__getitem__ docstring. 2022-03-26 11:08:42 -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 110c71f6f9 New coupon 2022-03-24 11:40:24 -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 cfc43679ec Replaced all temp Tk windows with creating the hidden-master-root 2022-03-19 12:46:36 -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 dc0a05a21e Fixed docstring for Titlebar Element (incorrectly said icon can be an ICO file) 2022-03-16 16:03:08 -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 f64444e423 Allow file browse to generate events for disabled elements being filled 2022-03-16 10:55:23 -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 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 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 3fc4002401 Two new SYMBOL constants. New Demo Program - Desktop Widget Handwritten Digits 2022-02-26 12:50:31 -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 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