Commit graph

5661 commits

Author SHA1 Message Date
PySimpleGUI
50a83202af Fixed layout-reuse error in the Nested Tabs demo. Added comment block.. .surprised no one noticed... may be time for a $5 prize again in the code 2022-04-20 10:08:20 -04:00
PySimpleGUI
ea7c4d46e7 An updated contributing that will proliferate across the repos... Definitely don't want to ever waste anyone's time on how this works. 2022-04-20 06:38:31 -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
12973c4dcc Cleaned up 4 "rainmeter" demos. Removed exit button, added standard right click exit, edit, versions. Made drive status handle drives being added / removed, all now automatically save their last location for next time they start, version info window pops up on top of window at current location 2022-04-17 09:58:58 -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
f42e042dd0 Some cleaning up 2022-04-16 04:45:35 -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
4bba64d34f New Demo Program - create custom themes and save in user settings file 2022-04-15 07:52:39 -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
53230912a8 Switched to using the PySimpleGUI supplied threading capability instead of manually starting the thread 2022-03-28 18:27:50 -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
6f1d1aa673 New coupon for Cookbook and call ref 2022-03-24 13:10:45 -04:00
PySimpleGUI
110c71f6f9 New coupon 2022-03-24 11:40:24 -04:00