Commit Graph

1457 Commits

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