Commit Graph

1053 Commits

Author SHA1 Message Date
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
PySimpleGUI 59c713c9df Added Window.make_modal, modal parm added to popup 2020-07-12 12:57:57 -04:00
PySimpleGUI 887863c481 New version of the _fixed_map function that handles previously defined styles better 2020-07-12 12:45:38 -04:00
PySimpleGUI dfd15dd8b9 New table and tree selected row colors based on the theme. 2020-07-12 10:08:04 -04:00
PySimpleGUI a5c40a71b9 Version bump... forgot 2020-07-11 12:16:27 -04:00
PySimpleGUI 8f97c5bf4a Table & Tree Elements - new parameter selected_row_color. Table & Tree Color fix for 8.6.9 is now enabled by default again. 2020-07-11 12:16:03 -04:00
PySimpleGUI 5b998af8d5 Made Multiline print, cprint, and re-routed print use the autoscroll setting for the Multiline element 2020-07-10 10:57:18 -04:00
PySimpleGUI cb5c0cc69f Added reroute_cprint parameter to Multiline 2020-07-09 13:43:50 -04:00
PySimpleGUI 34700fc3c5 Multiline Element - 2 new parameters to reroute stdout and stderr to this element 2020-07-09 10:27:44 -04:00
PySimpleGUI ff2fe2a7ab Output element will now automatically refresh the parent window after every write. Added refresh to Multiline Update if elment has refresh configured 2020-07-09 09:55:32 -04:00
PySimpleGUI b9a7bfe237 Fix for missing k paramter in FileBrowse button 2020-07-09 05:30:44 -04:00
PySimpleGUI 587cb5f3a5 Multiline - new auto_refresh parameter, new reroute_stdout_to_here, reroute_stderr_to_here, restore_stdout, restore_stderr methods. 2020-07-08 17:01:23 -04:00
PySimpleGUI 5cfc59fe56 New button color definition using "on" string. Rewrote cprint to no longer use kwargs... all parms are shown. Multiline can be set to write_only when defined, All button_color doc strings changed. Caching of Tree images done on a per element basis rather than globally. 2020-07-06 09:21:35 -04:00
PySimpleGUI 2a1031448b New format for button colors - single string with format "text on background" 2020-07-05 10:50:39 -04:00
PySimpleGUI f6a4440c15 Parm k added to shortcut buttons. New text wrapping for popups. New docstring for keys showing objects are OK. 2020-07-04 17:06:54 -04:00
PySimpleGUI 3fbdf1ffe4 Release 4.24.0 - addition of new set_options parameter to control patching of treeview color problem for tk 8.6.9 2020-07-03 15:05:26 -04:00
PySimpleGUI 10ec39bc85 Release 4.23.0 2020-07-03 09:26:51 -04:00
PySimpleGUI d80957e899 Added back hidden window withdraw call. Was deleted by mistake and caused problems with the hidden window remaining visible. 2020-07-03 08:09:32 -04:00
PySimpleGUI 632f9e3a18 More error checks for widget creation, error icons 2020-07-02 18:02:58 -04:00
PySimpleGUI b9b2080047 Added image parameter to popups. Added caching of icons for Trees 2020-07-02 07:44:59 -04:00
PySimpleGUI 3e9072649e image parameter added to popup, popup_error. New base64 image constant. Error checking added for widget usage before init completed. 2020-07-01 14:07:28 -04:00
PySimpleGUI 6a4d510f82 addition of any_key_closes to popup 2020-07-01 07:34:40 -04:00
PySimpleGUI 60177a4cd2 Changed location of 8.6.9 Treeview color patch 2020-07-01 06:17:54 -04:00
PySimpleGUI c7e8db4982 NEw parameter "k" added to al Elements. Will be used as key just like key can be used. The iehy is ano fohee 2020-06-29 23:13:34 -04:00
PySimpleGUI dd3992b549 Removed calls to wm_overrideredirect if platform is a Mac 2020-06-29 21:38:14 -04:00
PySimpleGUI 0e33955b2c Added work-around code for the tkinter 8.6.9 treeview color bug 2020-06-29 14:29:24 -04:00
PySimpleGUI 5423588bb0 Check for window not yet created in window methods and show error popup 2020-06-29 09:50:45 -04:00
PySimpleGUI 89269893ce Added warnings in several Windows methods to check to see if finalized. 2020-06-29 07:18:00 -04:00
PySimpleGUI 6ed8a4d429 Release 4.22.0 2020-06-28 10:33:02 -04:00
PySimpleGUI 3441c740a4 Docstring fixes. More cprint fun! Can have optional window and key parameters 2020-06-28 09:26:19 -04:00
PySimpleGUI c42d957329 Release 4.21.0 2020-06-27 15:38:17 -04:00
PySimpleGUI baf339ad4e cprint - c / colors parameter can be tuple or a string with format "text on text" 2020-06-27 12:38:21 -04:00
PySimpleGUI 81ccd9d54e Addition of cprint functionality! Fun stuff!! 2020-06-27 11:56:25 -04:00
PySimpleGUI 3a9e8683d7 InputText - new paramters - border_width, readonly, disabled_readonly_background_color, disabled_readonly_text_color 2020-06-27 06:22:32 -04:00
PySimpleGUI 7b4586f91d Removed old Python 2 imports. Excluded Separator elements from having keys autoassigned 2020-06-26 08:53:31 -04:00
PySimpleGUI 5e0810dced Changed Graph Element's "UP" event to add either a string or a new member if a tuple is the graph's key 2020-06-25 08:19:28 -04:00
PySimpleGUI 9c0cbd4360 Fix in GitHub upgrade code. Only deletes repositories with "-" at end of name. Was deleting ALL packages that started with pysimplegui. 2020-06-24 06:58:46 -04:00
PySimpleGUI 73aa0676b6 Removed extra copy of VisibilityChanged method. 2020-06-24 05:06:59 -04:00
PySimpleGUI 3c0a851cd5 Automatically add keys for Tables and Trees 2020-06-23 06:51:03 -04:00
PySimpleGUI 8a86b566ef one_line_progress_meter - key parameter now defaults. No need to specify if you have only ONE meter going. 2020-06-23 06:08:13 -04:00
PySimpleGUI 54ecaf8acf More info on Window.get_screen_size added to docstring. Changed Tuple[int, int] to (int,int) in docstrings. 2020-06-21 07:26:48 -04:00
PySimpleGUI 6505a3b9d5 Added color parameter to Separator elements. Defaults to theme's text color 2020-06-17 11:01:23 -04:00
PySimpleGUI 578ccf90ad Added keys to separators 2020-06-17 10:17:56 -04:00
PySimpleGUI 347bacc316 Added Element.set_vscroll_position, NEW HorizontalSeparator element, initial folder used for no_window popup_get_folder, default path used now in no-window version of popup_get_file 2020-06-17 09:59:26 -04:00
PySimpleGUI fbf1a627fa Changed Radio.update (again) so that clearing only clears the individual radio button. (Forgot about reset_group) 2020-06-16 13:19:53 -04:00
PySimpleGUI 46ee5a17e9 Added VSeparator (VSeperator was a spelling error... both are available so take your pick) 2020-06-14 04:59:05 -04:00
PySimpleGUI 1516dd3bc7 LOTS of docstring updates (thank you nngogol!!!!) 2020-06-11 11:09:51 -04:00
PySimpleGUI 92684054ba theme_add_new - can add your own themes easier 2020-06-09 15:17:54 -04:00
PySimpleGUI fdbd8d700a Release 4.20.0 2020-06-06 16:46:09 -04:00
PySimpleGUI e469e67cca Correctly padding table and trees (was 0,0), Added detailed tkinter version number display to test harness 2020-06-02 21:01:29 -04:00
PySimpleGUI 9037c60dec Added Pane support to Window.find_element_with_focus 2020-05-25 09:06:58 -04:00