Commit Graph

1159 Commits

Author SHA1 Message Date
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
PySimpleGUI df203e709c Added ability to set / modify the color of the background of the checkbox itself. Was previously only computed and not settable by user. The parm checkbox_color added to the init and update method. 2021-02-09 17:57:24 -05:00
PySimpleGUI 23d9c900a9 Added live links to online help in SDK help window (awesome feature) 2021-02-04 18:36:46 -05:00
PySimpleGUI e8d43a89a4 Update the graph x,y location when a right click menu item selected. 2021-02-04 13:30:46 -05:00
PySimpleGUI ed877df74b Fixed graph with user bound events. Was treating the event as a button down which caused drag events. Added a method to only update the coordinates without triggering the drag event 2021-02-03 15:48:23 -05:00
PySimpleGUI 34e2b3cebf c & colors parm added to debug print, update graph coordinates if get any user bound events 2021-02-03 15:22:50 -05:00
PySimpleGUI e71d0077b5 Expand the row a column is on if the Column has Expand Y set to True 2021-02-02 15:37:07 -05:00
PySimpleGUI be259860da Convert Combo values into a list in case the user passed something that wasn't a list 2021-02-02 11:31:21 -05:00
PySimpleGUI 9efd1a44aa Indicate when stdout/stderr restored in Multilne.restore, added the alias parms b,t,c, colors to the multiline.print so that it matches cprint 2021-01-30 19:15:53 -05:00
PySimpleGUI 9dbbd60c0c Fixed bug in execute_subprocess_nonblocking when bad command passed in 2021-01-28 22:38:17 -05:00
PySimpleGUI 9d5c37c00b Global settings window, theme_global(), new set_options parm 2021-01-28 14:38:20 -05:00
PySimpleGUI 0673d71ae5 Moved user_settings API default paths to top. Added set_option parm for user_settings default path to override OS default, global PySimpleGUI settings path for truly global settings 2021-01-27 21:38:18 -05:00
PySimpleGUI 25e7f0364b Fix for Debug button color, addition of execute_subprocess_nonblocking(), 2021-01-27 11:56:53 -05:00
PySimpleGUI ef280e95af Allow theme names to have spaces 2021-01-23 21:49:38 -05:00
PySimpleGUI 20cc794029 Fix for popup_get_file - wasn't passing the default_extension correctly 2021-01-23 18:40:50 -05:00
PySimpleGUI 75ad75cfd2 SDK help function sorting 2021-01-23 16:09:47 -05:00
PySimpleGUI 75ce508be7 files_delimiter added to FilesBrowse button & popup_get_file, metadata docstring addedf to several button and a few more docstring fixups, call popup instead of Popup in the variant forms of popup 2021-01-21 20:24:42 -05:00
PySimpleGUI 307c2eedbc Expanded SDK Help with function search - find all functions containing a string 2021-01-20 16:45:41 -05:00
PySimpleGUI 92291b0094 SDK Help - detailed parms & defaults for init & update shown in summary view. "help" command line option to how the sdk help window 2021-01-19 13:34:16 -05:00
PySimpleGUI be146822c2 Release 4.34.0 2021-01-18 14:43:33 -05:00
PySimpleGUI faa701e3de Made Window.metadata and SystemTray.metadata also properties 2021-01-17 12:45:06 -05:00
PySimpleGUI 55871d89bf Element.metadata turned into a property so that it's documented property 2021-01-17 12:38:35 -05:00
PySimpleGUI 64e5e27646 FINALLY swapped the PEP8 and non-PEP8 names so that the defintions are PEP8. Thanks for Chr0nic for the consulting assistance 2021-01-16 16:25:15 -05:00
PySimpleGUI b42890ec19 Added summary mode for SDK help window. Changed font size to fit onto smaller screens 2021-01-15 19:44:50 -05:00
PySimpleGUI 7309527b05 popup_scrolled fix 2021-01-12 15:42:13 -05:00
PySimpleGUI a0a2ff8e67 Aliases shown in the SDK quick reference 2021-01-12 13:45:17 -05:00
PySimpleGUI ea445e126b Release 4.33.0 (Welcome 2021!!) 2021-01-02 16:41:51 -05:00
PySimpleGUI c279172224 Spin - fix in update. Changed bad state (enable) to normal. 2021-01-01 08:25:34 -05:00
PySimpleGUI 5ad73534dd Custom titlebar (OK, officially sick of this feature). Added Window-level controls, added set_option controls for colors font and icon. I think ALL bases are now covered. PLEASE don't screw up 2020-12-26 16:36:19 -05:00
PySimpleGUI 1bda4e7186 Merry Christmas to the invisible wishers - element.visible added to all elements (note, no longer .Visible). 2020-12-25 11:34:00 -05:00
PySimpleGUI afbd02b551 More custom titlebar. Finally can minimize and restore on Linux. Finally.... 2020-12-24 14:17:23 -05:00
PySimpleGUI e52fa57900 Custom Titlebar, the big docstring Union fix (thank you NNGOGOL!!!), new upgrade function 2020-12-23 15:36:40 -05:00
PySimpleGUI fc18adecd1 Not needed. 2020-12-07 10:01:48 -05:00
PySimpleGUI 0d611430ca fill_color added to draw_arv 2020-11-23 14:46:37 -05:00
PySimpleGUI 5d026e972e Addition of CLOSE_ATTEMPTED_EVENT, WIN_X_EVENT and enable_close_attempted_event addd to Window. 2020-11-23 09:40:57 -05:00
PySimpleGUI 9e3efbd082 Added key_dict property. 2020-11-21 16:55:18 -05:00
PySimpleGUI 9e073de007 Removed "faking timeout" print as it can happen when auto-close window closes. Changed how a couple Windows methods are renamed. 2020-11-18 15:27:46 -05:00
PySimpleGUI aa08b84187 Release 4.32.1 2020-11-17 14:06:37 -05:00
PySimpleGUI e397f9707a Release 4.32.0 2020-11-17 13:45:54 -05:00
PySimpleGUI d85a9b74da If window is autoclose and being finalize, then don't start the autoclose until finalize is complete 2020-11-17 13:14:24 -05:00
PySimpleGUI 136469d382 UserSettings initialized check 2020-11-17 09:03:52 -05:00
PySimpleGUI 4f07076d28 Right Click Menu colors and font parameters added to Window 2020-11-16 13:29:36 -05:00
PySimpleGUI d67a999d05 Refactored adding right click menu, sped up reads with timeouts, fix for right click menus 2020-11-15 19:50:43 -05:00
PySimpleGUI 80cfdbcf3d Check for COLOR_SYSTEM_DEFAULT in Button.update 2020-11-15 18:56:40 -05:00
PySimpleGUI a4d86304a8 Changed Menu and ButtonMenu default colors & font. Changed names in ConvertFlexToTK 2020-11-15 13:51:42 -05:00
PySimpleGUI 1ec6e6b1ff Release 4.31.0 2020-11-13 11:57:13 -05:00
PySimpleGUI ba01cb31c5 Changed adding key and saving behavior for User Settings. 2020-11-12 20:31:25 -05:00
PySimpleGUI de5783cdb7 Added UserSettings delete item interface... makes interface look much more like a dictionary by allowing syntax ---> del settings['item'] 2020-11-12 18:35:07 -05:00
PySimpleGUI 9611a4fd08 Renamed UserSettings singleton variable. Added _ to UserSettings.compute_filename to make it private. 2020-11-12 18:08:09 -05:00
PySimpleGUI d53fdcbfc8 Added option for enabling the Mac no_titlebar patch (err... hack) 2020-11-12 17:18:52 -05:00
PySimpleGUI 3e1a24671c Window.read() check to see if queued thread event prior to doing anything else. 2020-11-11 15:34:00 -05:00
PySimpleGUI a131e53c2a Multline docstring fix for stderr 2020-11-11 11:38:52 -05:00
PySimpleGUI 4d42356103 Check event_values thread Queue first in read_all_windows 2020-11-10 14:36:28 -05:00
PySimpleGUI 160ed35e13 Added color paramters for ButtonMenu. Can now set colors like recently added to MenuBar 2020-11-09 10:58:50 -05:00
PySimpleGUI f97bb3ade2 Menubar colors 2020-11-09 08:41:29 -05:00
PySimpleGUI ba552e31bd Renamed UserSettings get_entry and set_entry to just get and set like dictionaries. 2020-11-08 11:03:34 -05:00
PySimpleGUI 43a26779f3 User Setting fix for initial load 2020-11-08 10:03:43 -05:00
PySimpleGUI bf086ebdb6 Added UserSettings.set_default_value(). Added more docstrings. 2020-11-08 09:00:28 -05:00
PySimpleGUI 397137e455 Opened up the UserSettings object for users 2020-11-07 12:57:53 -05:00
PySimpleGUI 658534c82a Added readonly option to Spin. Added default_extension to FileSaveAs button. Now behaves like the popup_get_file. Defaults to '' so should have no impact on existing code. 2020-11-06 14:50:55 -05:00
PySimpleGUI 2aee4aae59 Fixed Spin.get not returning corrct type 2020-11-06 09:52:43 -05:00
PySimpleGUI 86c1647b87 Patch for no titlebar on Mac - EXPERIMENTAL! 2020-11-01 11:45:14 -05:00
PySimpleGUI 9d6275bf0a Convert None default text for Input element to be '' 2020-10-25 14:48:44 -04:00
PySimpleGUI 849a4014ed Fixed supress spelling error :-( 2020-10-24 13:54:06 -04:00
PySimpleGUI acfa42a27a Repaired Multiline docstring, new main_get_debug_data function, reformatted look and feel table (shortened code by 930 lines of code!) 2020-10-24 13:15:12 -04:00
PySimpleGUI d34f2cccad Allow Combo.update to set both readonly and clear disable in same call. 2020-10-19 18:37:10 -04:00
PySimpleGUI 7b7afc2dc2 cprint, mutline.print now autoscrolls 2020-10-19 14:11:04 -04:00
PySimpleGUI a63a0c327a Another __version__ change 2020-10-18 17:08:00 -04:00
PySimpleGUI 90b02c25e2 Rolled back to original versoin statement 2020-10-18 12:37:39 -04:00
PySimpleGUI 138d905283 Switched __version__ 2020-10-18 12:34:47 -04:00
PySimpleGUI a40a0bdeca Swiched back __version__ in upgrade code too 2020-10-18 12:34:20 -04:00
PySimpleGUI 64e3ba11d5 Switched __version__ back to old definition 2020-10-18 12:25:02 -04:00
PySimpleGUI 1a956a0e12 Changed install to use version instead of __version__.. may take a couple tries.... 2020-10-18 12:15:11 -04:00
PySimpleGUI 40bee69a36 Added Window.set_cursor 2020-10-18 11:31:52 -04:00
PySimpleGUI adfeac2d41 Update PySimpleGUI.py 2020-10-17 14:25:02 -04:00
PySimpleGUI 6231e5876a Redefined __version__ to be the shortened version string 2020-10-17 14:24:24 -04:00
PySimpleGUI b6e972c601 Abliilty to set the icon for popup_get_file when no window option set. 2020-10-17 13:38:14 -04:00
PySimpleGUI 7e05146400 Release 4.30.0 2020-10-15 16:43:32 -04:00
PySimpleGUI f45c18e697 Added theme swatch previewer so that seeing the color values and getting hex values is easier 2020-10-14 19:09:03 -04:00
PySimpleGUI 13ad1c27b1 Update PySimpleGUI.py 2020-10-12 17:19:56 -04:00
PySimpleGUI 92559530bf Focus indicators for Buttons, Checkbox, Radio buttons. Colors are only used in Linux but outline used by all of them. Was disabled months ago. 2020-10-10 17:56:01 -04:00
PySimpleGUI ac3847a23d More error handling for user_settings APIs. Re-arranged test GUI so that the popups tests are in their own tab. Added "Buy me a coffee" button, docstring updates for user settings. 2020-10-06 16:47:04 -04:00
PySimpleGUI 6b3484b975 Fixed docstring error 2020-09-27 08:10:41 -04:00
PySimpleGUI 50e1a1f550 Window.set_min_size docstring warning 2020-09-27 08:03:53 -04:00
PySimpleGUI 9d2af2240a Added Window.set_min_size 2020-09-27 08:03:03 -04:00
PySimpleGUI ea730ff41e Fixed preview search string. "Python" theme added. Added images for readme 2020-09-23 15:17:00 -04:00
PySimpleGUI 2d1f704ccc Update PySimpleGUI.py 2020-09-19 14:46:39 -04:00
PySimpleGUI 5ca53d7825 Added user_settings_delete_filename, tweaked a few other user_settings behaviors... it's getting there.... 2020-09-19 06:24:57 -04:00
PySimpleGUI 55112a8d28 Added background color and text color to Radio.update 2020-09-17 08:00:06 -04:00
PySimpleGUI c3bf7c5375 Fixed modal default in docstrings for several popups. Hooked up the image parameter to popup_scrolled 2020-09-17 07:47:39 -04:00
PySimpleGUI f145b4ff36 user settings delete function, ver shortened version string 2020-09-16 10:09:46 -04:00
PySimpleGUI 51b5de94ee echo_stdout_stderr parm added to multiline and output, added Dark Brown 7 theme, changed getting filename 2020-09-15 07:08:46 -04:00
PySimpleGUI 06052565f8 Added text parameter to Radio.update 2020-09-08 12:11:30 -04:00
PySimpleGUI 01ba7cac28 "user_settings" API calls! New DarkGrey14 theme 2020-09-08 11:57:26 -04:00
PySimpleGUI ce5310b00d Removed highlight thickness for buttons so that focus can be seen, new themes DarkGrey10 11 12 13, sdk help window now named main_sdk_help() 2020-09-05 06:45:02 -04:00
PySimpleGUI e6e6d7ec3d Added Window.maximize to get status of maximize, added main_sdk_help_window 2020-09-02 06:36:32 -04:00
PySimpleGUI f62051ae01 shrink parameter added to pin function 2020-08-27 16:04:54 -04:00
PySimpleGUI 154ea792ae Release 4.29.0 2020-08-25 16:56:55 -04:00
PySimpleGUI b086edb26d Changed toplevel create to not have a parent (was changed a couple of releases ago and causes problems now), made 1-line progress meter windows no closable usintg X 2020-08-25 11:52:50 -04:00
PySimpleGUI 6b7e875b7b Do not close the hidden master window when no other windows left open. Always keep around after first created. 2020-08-25 06:40:19 -04:00
PySimpleGUI ef3a54a8b1 Added Window.force_focus. Force focus when no-titlebar window, changed how main test window is created, New test harness features - collapse tabs and change theme 2020-08-23 17:22:05 -04:00