Commit Graph

1103 Commits

Author SHA1 Message Date
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
PySimpleGUI 8066b0edd5 Fix for Calendar Button 2020-08-22 15:27:07 -04:00
PySimpleGUI bac5a938eb Theme progress bar bug fix when swapping themes. Now uses DEFAULT_PROGRESS_BAR_COMPUTE to indicate colors will be made from other parts of the theme. Hopefully little side effects but may have bigger effect than desired. Added expand_x & expand_y to Column to more easily justify elements. 2020-08-22 07:57:27 -04:00
PySimpleGUI 56c30e4933 Added back left arrow symbol, tclversion_detailed exposed 2020-08-21 13:53:41 -04:00
PySimpleGUI 52a1f78047 Right click menu for StatusBar. grab parameter for Column element 2020-08-20 19:26:43 -04:00
PySimpleGUI 0180c3a80e grab parameter added to Text element 2020-08-20 18:15:02 -04:00
PySimpleGUI ccfcb8f063 Made vtop, vcenter, vbottom capable of taking a single element or an entire row. 2020-08-20 14:34:33 -04:00
PySimpleGUI 46ec413811 Added a LOT of popup tests to help test features that may have trouble on Mac or Linux 2020-08-18 08:49:00 -04:00
PySimpleGUI f1ab730d3d Fixed error in grab anywhere. Was setting root.x to none and then later trying to perform subtraction when moving causing exception 2020-08-18 07:22:39 -04:00
PySimpleGUI d868227145 Added disabled button to theme previewer in case you're using disabled buttons in your GUI 2020-08-18 06:47:15 -04:00
PySimpleGUI d051a22a89 New statusbar demo to accompany change to StatusBar element. 2020-08-17 11:48:56 -04:00
PySimpleGUI 068a881662 Statusbar now fills the row correctly. 2020-08-17 10:51:38 -04:00
PySimpleGUI 804b968b68 vtop, vcenter, vbottom - pin-like layout helper functions that will align the element to the top, center, or bottom of the row it is on 2020-08-17 06:48:12 -04:00
PySimpleGUI 413a521c89 Added vertical_alignment to pin func. Can use to align elements easier than Column but with a 1-pixel penalty 2020-08-17 06:24:48 -04:00
PySimpleGUI 17ae59bc9c Added vertical_alignment parameter to Frame 2020-08-16 16:09:48 -04:00
PySimpleGUI a48810db73 Fix for element justification in columns. New Column parameter - vertical_alignment 2020-08-16 15:27:38 -04:00
PySimpleGUI bcc0e62538 Changed the overrideredirect check for darwin to a try/except instead. Added DarkGrey9 theme 2020-08-15 14:29:54 -04:00
PySimpleGUI 7a1fcc10be No longer delete the tkroot and rows variable when closing window. Instead set to None 2020-08-13 10:23:37 -04:00
PySimpleGUI 023d41eccf Added X symbol and the Dark Grey 8 theme 2020-08-12 07:51:27 -04:00
PySimpleGUI dcf5a371ce Ver bump 2020-08-10 08:22:19 -04:00
PySimpleGUI 7b56d6011f Expand separators correctly. Added some "symbols" 2020-08-10 08:21:52 -04:00
PySimpleGUI 143714335d Added code to Window.visibility_changed and Column.contents_changed() 2020-08-04 07:37:17 -04:00
PySimpleGUI 523af47883 Release 4.28.0 2020-08-03 15:53:50 -04:00
PySimpleGUI 0669a6d62a Added pin function to pin an element's location in a layout 2020-08-03 15:28:50 -04:00
PySimpleGUI 271ca7d662 border_width parameter for Graph, Canvas. Normally should be 0 2020-08-03 15:22:23 -04:00
PySimpleGUI 61fc824625 Fix for background color not set when combo is readonly 2020-08-03 14:05:53 -04:00
PySimpleGUI 1f1f1ecd29 Changed color of spinner button to match the background of the spinner (arrow defaults to text color), fix for error reporting of bad element keyt lookups (thanks Ruud!) 2020-08-03 08:39:01 -04:00
PySimpleGUI a9f1609f44 Set the combobox's button colors to be the same as the theme's button colors 2020-08-03 08:27:16 -04:00
PySimpleGUI 6f8b276f42 Release 4.27.4 2020-08-03 06:02:09 -04:00
PySimpleGUI a629760ce8 Release 4.27.1 2020-08-03 05:35:10 -04:00
PySimpleGUI be31a0ad80 Support for timeout=0 on read_all_windows (YES!!) 2020-08-02 06:39:05 -04:00
PySimpleGUI 9e9f83c730 Added get_globals function. Added Widget member variable for Column elements 2020-08-01 11:13:11 -04:00
PySimpleGUI 9a54ec9a50 Direction correction for mousewheel on Linux 2020-08-01 07:22:40 -04:00
PySimpleGUI 7b986d5c85 Addtion of mousewheel for Linux when return keyboard events. Fix for not getting keyboard / mouse events when read all windows 2020-08-01 06:59:14 -04:00
PySimpleGUI fc69d73377 New justification parameter for Multiline, Multiline.update, cprint 2020-07-28 07:30:54 -04:00
PySimpleGUI a3357df30a Close window and added try when reading multiple windows with X found 2020-07-26 13:24:25 -04:00
PySimpleGUI 5b1fe16e58 Find the closest match for a key window performing element lookups. More behind the scenes work on multi-window locked moves 2020-07-26 10:01:31 -04:00
PySimpleGUI 50c7903aa9 Added up/down arrows to event bindings for spinner when enabling events. Multiwindow - Move windows together when locked - controlled via class variable 2020-07-25 17:11:09 -04:00
PySimpleGUI 4d67b08c2e Key error formatting. Raise by default 2020-07-25 14:26:07 -04:00
PySimpleGUI a24f2a3dac Removed the extra try block. Not needed as cases double exception 2020-07-25 13:10:09 -04:00
PySimpleGUI 78b9239e12 Turned off raising exception for bad keys by default and make it changeable through set_options. The code is in the popup error now 2020-07-25 10:51:58 -04:00
PySimpleGUI 76cfae8351 Traceback info added to key error popups 2020-07-25 10:01:47 -04:00
PySimpleGUI 77c6dc7a13 Raise KeyError when key not found in find_element 2020-07-24 17:46:41 -04:00
PySimpleGUI cbd4d0d8b3 theme_preview - restore previous theme when exiting 2020-07-23 17:34:23 -04:00
PySimpleGUI 0b13ae8ed0 ProgressBar - can use new color format, combined update_bar with update, search option for theme_preview, theme button in main 2020-07-23 17:26:15 -04:00
PySimpleGUI ab1e305e13 Docstrings for read_all_windows 2020-07-22 14:27:02 -04:00
PySimpleGUI 807fd88223 read_all_windows experimental release 4.26.0.2 2020-07-22 07:00:33 -04:00
PySimpleGUI a0d45d5fe3 Highly experimental read_all_windows version 2020-07-22 06:59:07 -04:00
PySimpleGUI d3eb5686be sponsor support 2020-07-19 15:49:21 -04:00
PySimpleGUI e6d0eca440 Release 4.26.0 2020-07-18 15:34:48 -04:00
PySimpleGUI 530e28a048 Moved creation of the thread strvar to window create time instead of being done by the thread itself. 2020-07-18 13:43:02 -04:00
PySimpleGUI 934cea5881 Release 4.25.0 2020-07-17 14:23:47 -04:00
PySimpleGUI e8e7104477 Force previous tooltip to close when new one is shown 2020-07-17 08:09:22 -04:00
PySimpleGUI 07e8c0737b NEW Window.write_event_value method - use for thread communications with Windows (consider it a beta) 2020-07-16 15:26:47 -04:00
PySimpleGUI 492468f0cb Removed selecting the first entry for combo if updated with new values 2020-07-13 13:56:35 -04:00
PySimpleGUI bc23667d55 modal option added to Window. New parameters for theme_previewer 2020-07-13 09:24:41 -04:00
PySimpleGUI af81d67046 Made all popups modal by default. Added modal parameter to all of them except non-blocking (animations) 2020-07-12 13:43:48 -04:00