Commit Graph

1159 Commits

Author SHA1 Message Date
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
PySimpleGUI c9fb11362a Reworked the main() GUI to be smaller. Completely re-worked the Issue GUI Help since it was massive, lots of ttk button changes dealing with color, changes to run on 3.4, docstring fixes, s parm added to TabGroup, using error popup for bad button color (may result in a recursive error), and more fun things.... 2021-04-25 20:47:46 -04:00
PySimpleGUI fc095fadcc Fix for extend_layout when a scrollable column is used. New Right Click Menu constant that is an Exit entry only. 2021-04-24 16:36:30 -04:00
PySimpleGUI ada515fa72 Added back functions accidently removed in recent update - popup_annoying popup_no_border popup_no_frame popup_no_wait popup_timed sgprint sgprint_close 2021-04-23 23:12:19 -04:00
PySimpleGUI 68a86b8163 Fix for another problem with color 123456789. Added theme GrayGrayGray to get a completely gray window. 2021-04-23 16:41:23 -04:00
PySimpleGUI 9b4054fd7e Fix for duplicate keys when extending layout 2021-04-23 09:12:04 -04:00
PySimpleGUI bc16f77564 Made GUI window smaller 2021-04-23 08:43:39 -04:00
PySimpleGUI a22b036958 Fix for right click menu for SystemDefaultForReal 2021-04-23 06:56:06 -04:00
PySimpleGUI 5dc24b5a0c Set ColorChooserButton target default to match other chooser buttons 2021-04-22 18:14:50 -04:00
PySimpleGUI 6a98409d82 Made mouseover color code more readable, changed console message when using the word "default" 2021-04-22 16:16:18 -04:00
PySimpleGUI d3b9a6b9d4 Addition of mouseover_colors (so TTK buttons don't look so ugly by default) - many weird things about this feature that need to be explained (UGH), Checkbox.get returns bool now, bug fixed with debug window, Dummy button closes window in a better way, 2021-04-21 10:32:56 -04:00
PySimpleGUI b6697836e9 One more try for RealtimeButton problem. Needed to handle key not found case 2021-04-19 17:07:36 -04:00
PySimpleGUI ee93134da3 Fix for Graph Element dragging complete that was caused when the RealtimeButton problem was fixed. Title parameter for popup_menu now correctly used 2021-04-19 16:31:43 -04:00
PySimpleGUI 834cfc5051 Addition of size parm to TabGroup element, changed when butono keys are set to fix a problem that happened with RealtimeButtons, error popup added to bad button highlight colors, error popup added for bad button images 2021-04-14 15:48:41 -04:00
PySimpleGUI 7e8f1cd9f1 Fix for TCL error in Col element (Nice Jason!) 2021-04-12 04:06:13 -04:00
PySimpleGUI 9a63522db7 Release 4.39.1 2021-04-11 19:22:05 -04:00
PySimpleGUI b408faf0eb Release 4.39.0 2021-04-11 18:51:27 -04:00
PySimpleGUI de88e2944d Added GitHub Issue posting GUI 2021-04-11 12:43:05 -04:00
PySimpleGUI 0e482cd772 Right click menus added to Button & ButtonMenu elements MENU_RIGHT_CLICK_DISABLED constant 2021-04-10 21:46:05 -04:00
PySimpleGUI 2875966ec3 FIX for Window.write_event_value (THANK YOU @daemon2021), error popup for execute_command_subprocess 2021-04-09 13:16:55 -04:00
PySimpleGUI e4552b222c Accidental imports somehow got coped in! 2021-04-08 23:15:53 -04:00
PySimpleGUI 3d4ac6dc7f New Window paramter right_click_menu_selected_colors - dual color string or tuple to indicate color to be used for the menu_popup., title added to popup_menu 2021-04-08 23:13:00 -04:00
PySimpleGUI fa2415d84f s parameter, popup_menu, new symbols, some new figlets 2021-04-08 21:06:49 -04:00
PySimpleGUI 7828e6a7ee put back __version__ 2021-04-06 23:48:26 -04:00
PySimpleGUI 07d1218b75 Fix for RealtimeButton, framework_version - a new variable for all ports, MENU_RIGHT_CLICK_EDITME_EXIT - a pre-defined simple right click menu 2021-04-06 16:10:14 -04:00
PySimpleGUI d37da8bc22 Fixed crash problem with image error happened with Image element. 2021-04-04 18:41:12 -04:00
PySimpleGUI ddb63b4d35 Expand listboxes correctly. 2021-04-04 15:33:34 -04:00
PySimpleGUI 8955b9db77 right_click_menu_tearoff parm added to Window, expand_x & expand_y added to vtop vbottom vcenter, listbox has new listbox_frame member variable needed if wanting listbox to resize with the window, changed print in Image element creation if error happens to an error popup (cannot use stdout/stderr because they've been rerouted and will also cause errors), error popup wraps text better 2021-04-02 20:18:08 -04:00
PySimpleGUI 5458b64f08 Macs can force buttons to be tk buttons rather than ttk only (use with care and good luck.. hope it works out for you!), listbbox now has highlight controls exposed, Element.block_focus method added but needs to be renamed before final release 2021-03-31 09:47:48 -04:00
PySimpleGUI c175416d0b Release 4.,38.0 2021-03-21 18:29:01 -04:00
PySimpleGUI 533af9f3a9 Better duplicate key error reporting 2021-03-21 18:20:17 -04:00
PySimpleGUI 28e2f3c687 Added icon parm to popup_scrolled. Fixed old problem with Menus stripping out &'s, saving the old theme in the debugger code 2021-03-21 16:14:02 -04:00
PySimpleGUI c2e509e097 Removed and replaced debugger logos 2021-03-21 11:47:48 -04:00
PySimpleGUI f4d016b9ea MENU_SHORTCUT_CHARACTER constant, new icon tests, added Exec API call execute_find_callers_filename 2021-03-20 20:57:05 -04:00
PySimpleGUI 160ce5d1ff Multiline scrollbar renamed to no_scrollbar to match the Listbox element 2021-03-16 15:37:00 -04:00
PySimpleGUI bf764aa1e1 Release 4.37.0 2021-03-15 16:39:00 -04:00
PySimpleGUI a3f841cdbe New function execute_subprocess_still_running. Lots of changes to other Exec APIs to deal with the collection of output (controls if the output should be pipped or sent to Null) 2021-03-15 13:33:43 -04:00
PySimpleGUI 002718742a Release 4.36.0 2021-03-14 22:14:30 -04:00
PySimpleGUI 938be932ae Addition of " around commands and changed format of the command parm sent to Popen 2021-03-13 11:27:43 -05:00
PySimpleGUI 659d550441 Fix in execute_command_subprocess - bug caused problems on 3,8, 3.9, 3.10 but not 3.6, 3.7. 2021-03-13 09:15:39 -05:00
PySimpleGUI 501b175c34 scrollbar parm added to Multiline Element 2021-03-12 11:55:31 -05:00
PySimpleGUI 63098232a4 execute_editor will add " " around filenames if there are spaces in the filename and if running on windows and there are no quotes 2021-03-12 11:41:35 -05:00
PySimpleGUI 0a802852e8 Themes - replace user requested name "gray" with "grey" (FINALLY I can stop guessing wrong by making both right!) 2021-03-12 08:36:20 -05:00
PySimpleGUI 0279a53b81 Change how bind events modify tuple keys. Fixed subsample problem in button update. fixed update_animation to get frame count correct. popup_animated returns False if problem updating the popup happened 2021-03-11 08:28:17 -05:00
PySimpleGUI ce80b7d0b3 More checks for COLOR_SYSTEM_DEFAULT, changed GreenTan theme to use black rather than the system default value, some cleanup of debugger 2021-03-09 12:58:53 -05:00
PySimpleGUI 62f7b39602 Release 4.35.0 2021-03-03 16:06:54 -05:00
PySimpleGUI 72c4484629 Immediately apply global theme changes (for all future window creations) 2021-03-03 11:50:56 -05:00
PySimpleGUI 31a65ddf18 Added keep on top to the theme swatches window 2021-03-03 10:12:31 -05:00
PySimpleGUI 65a2dfc85b Theme swatch previewer copies color to clipboard correctly now. Previously only printed it. Also set the window size to a fixed size. 2021-03-03 09:28:54 -05:00
PySimpleGUI a020214fb6 Bump ver for last fix 2021-03-03 07:20:12 -05:00
PySimpleGUI 2b2a9ba079 Fixed bug in the execute_editor call 2021-03-03 07:19:26 -05:00
PySimpleGUI 4b79c54237 New traceback error handling & messages, The Exec APIs exec command, exec py, exec editor, exec file explorer, more global settings, buttoning up the release.... 2021-03-02 17:39:02 -05:00
PySimpleGUI 3613701c11 Addition of Thonny to editor strings, fix in button color conversion code. 2021-02-28 15:28:58 -05:00
PySimpleGUI 59842c5ddd Happy emojis, internal error popup stays open after launching user's IDE so error remains visible, auto-fill the editor launch string when user fills in the editor (10 IDEs are supported) 2021-02-28 10:32:18 -05:00
PySimpleGUI 41afd70ca7 more button color fixups, tooltips for editor strings 2021-02-27 20:04:05 -05:00
PySimpleGUI cad426da41 removed debug info that was in a popup, renamed an emoji 2021-02-27 17:31:40 -05:00
PySimpleGUI 0856ce3fcd Key errors no long raised by default. You can change this easily. Needed so that editor can be launched instead of crashing. 2021-02-27 13:16:27 -05:00
PySimpleGUI 31433e75a2 Frist Exec functions added - need to test on Linux before releasing widely. 2021-02-27 11:13:43 -05:00
PySimpleGUI 685965411f Support for Exec APIs. New Error Message for Keys... many more are coming! :-) 2021-02-27 08:24:56 -05:00
PySimpleGUI 10db88a88d Debug Print auto refreshes the multiline now. Addition of start of the "EXEC" APIs. Added execute_editor and execute_command_subprocess (BETA) 2021-02-26 13:14:43 -05:00
PySimpleGUI 287e8a6668 Button Colors reworked considerably. Better error checks. Can specify a single color, etc. Addition of new EMOJIS!! Happy release adds happy ones too! Removed commented out f-strings so seaches for them will find none (not allowed in 3.4) 2021-02-26 12:16:40 -05:00
PySimpleGUI 433da2b9fa BUTTON_DISABLED_MEANS_IGNORE setting for disabled parameter. Causes button to not generate events. 2021-02-25 19:17:40 -05:00
PySimpleGUI 62deb3aa0b Added call to tkroot.update when closing windows. Was needed on Linux to close a debug print window for some weird reason 2021-02-25 13:55:26 -05:00
PySimpleGUI 7aa031741e Disable modal windows entirely for Macs 2021-02-24 17:20:10 -05:00
PySimpleGUI b06127b397 Check for disabled button in button callbacks. Set TRANSPARENT_BUTTON_COLOR when theme changes (not recommended to use, but in case someone is then this is correct way to update), fixes for 3.4 syntax errors, fix for race condition that tried to close a window set to None 2021-02-23 15:11:49 -05:00
PySimpleGUI d9f123c884 Width parm added to update for both Combo and Option menu. This is because the values can be changed, then the width may need to be changed, better coloring of OptionMenu, fixed docstrings to reflect size parm correctly for both elements 2021-02-19 19:30:02 -05:00
PySimpleGUI 440b8cf8a4 Combo - bug fix in update when default previously specified, OptionMenu no longer sets a default unless explicitly set by user 2021-02-19 16:52:13 -05:00
PySimpleGUI ce2dabc42f Fix in Spin.update with disabled & readonly, added erase_all option to Print, Output element no longer used by Debug Print, fixed popup bug with custom buttons, moved path_stem to be private 2021-02-17 15:39:14 -05:00
PySimpleGUI 33a3d6d77e password_char added to Input.update. Emojis new EMOJI_BASE64 variables 2021-02-14 20:10:39 -05:00
PySimpleGUI 6964fcb2c2 docstring fix... some new characters.... 2021-02-13 18:14:53 -05:00
PySimpleGUI e8f1cbfe0f Added trough_color parm to Slider 2021-02-12 19:54:05 -05:00
PySimpleGUI 7adbc3c742 Added ability to set the circle color for Radio Buttons 2021-02-10 18:26:16 -05:00