Commit Graph

1330 Commits

Author SHA1 Message Date
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
PySimpleGUI 09cf44ccd1 popup_get_file - set parent=None when running on Mac so doesn't generate warning message. 2021-05-31 16:31:34 -04:00
PySimpleGUI 8dd2bfcdb0 cwd is automatically set to the folder of the application being launched when execute_py_file is called with cwd=None 2021-05-28 15:29:25 -04:00
PySimpleGUI d6dbcb7c61 Changed get_versions to be more clear. Exclude canvas from return values. 2021-05-25 15:20:31 -04:00
PySimpleGUI d3cb3f74c2 Release 4.43.0 2021-05-23 20:14:46 -04:00
PySimpleGUI b8dd1f0c00 Multiline new parms expand_x, expand_y removes need to do an expand call. Debug print window now resizable. popup_scrolled now resizable. A BUNCH of docstring changes. 2021-05-23 20:07:56 -04:00
PySimpleGUI 1186dca8ad Added Window.ding(). Added more error information when a "Finalize is needed" error happens. Traceback added to all finalize needed errors so that user can be taken to the error. 2021-05-23 16:38:41 -04:00
PySimpleGUI 06be391d11 Release 4.42.0 2021-05-23 14:07:50 -04:00
PySimpleGUI e49204855e Removed Sizegrip images and uses built-in Sizegrip instead. This will keep things native and is more SIMPLE. Added Element.grab_anywhere_exclude to exclude a specific element from the grab_anywhere feature. Great for Graph elements where you want to capture the drag events. 2021-05-22 16:32:26 -04:00
PySimpleGUI dd25e39d13 Finishing up the MenubarCustom - docstrings, color settings, etc.... Done is being officially declared.... 2021-05-20 15:06:27 -04:00
PySimpleGUI ec83092de3 Addition of MenubarCustom "element" for use with the CustomTitlebar. Without this it's not possible to have a custom titlebar and a menubar. It is a must-have thing. Improved the location of menus that are torn off. 2021-05-20 10:42:01 -04:00
PySimpleGUI 8d4fc14416 Sizegrip element - parm change to grip_image that can be a bytestring or a filename, new SIZE_GRIP_WHITE_BASE64 constant 2021-05-19 20:52:27 -04:00
PySimpleGUI 1bb22307f5 New Sizegrip Element. FIX for grab_anywhere! Now sliders, scrollbars, multiline, input elements will no longer move the window. 2021-05-19 14:00:12 -04:00
PySimpleGUI ed11316f18 Added bind_return_key to Combo. Note that it works like the Listbox bind_return_key in that the Combo's key is the event returned. 2021-05-15 09:35:36 -04:00
PySimpleGUI f2a0dddf2d Fix for getting wrong Tab ID in Tab.update 2021-05-14 16:34:58 -04:00
PySimpleGUI 32e31946dc Release 4.41.2 2021-05-12 19:14:23 -04:00
PySimpleGUI 35efc51149 Release 4.41.0 2021-05-12 19:04:51 -04:00
PySimpleGUI 9fa57daba2 Some new symbols, docstring updates to better explain the expand layout and contents_changed calls, text that the Global button setting isn't implemented yet. 2021-05-08 10:50:25 -04:00
PySimpleGUI abf98c4a56 Better doctring for read_all_windows. Some stuff for Custom Titlebars, but not ready yet. Start of some ttk global settings (also partial) 2021-05-01 17:11:42 -04:00
PySimpleGUI 48530f123b Fix for scrollable column still scrolling despite contents being smaller than what should require scrollbars 2021-04-29 16:20:38 -04:00
PySimpleGUI 33178fe29f Release 4.40.0 2021-04-26 17:07:31 -04:00