Commit Graph

1330 Commits

Author SHA1 Message Date
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
PySimpleGUI f24300a1fc Fix for Menu.update losing the original font setting. 2020-05-25 06:44:11 -04:00
PySimpleGUI a511bb8688 Set ButtonMenu font for menus to be same as the button font 2020-05-25 06:29:37 -04:00
PySimpleGUI a95fccad69 Ability to have multiple different progress bar styles, fix tearoff menu problem, added title to Tab.update, Combox drop-down now sets font 2020-05-24 19:06:24 -04:00
PySimpleGUI b06d460e2d Docstring fixup 2020-05-20 07:24:24 -04:00
PySimpleGUI 21aefacec3 Made typing module optional so Raspberry Pi users are not forced to install it 2020-05-19 20:04:51 -04:00
PySimpleGUI 8a94d6a143 Option added to set_options to change the default tooltip font. If not specified, no font is added when tooltip is created. 2020-05-19 11:24:43 -04:00
PySimpleGUI 9a16b766c4 Fix for Multiline color tags bug. Changed logic to not use any tags when no colors. 2020-05-18 22:07:40 -04:00
PySimpleGUI 96bd7b3064 Fixed get folder dialog for Mac users. Removed parent window. 2020-05-17 05:51:19 -04:00
PySimpleGUI 269ffbe91f Fixed menu tearoff not working (weird no one reported... dunno what happened) 2020-05-14 22:45:08 -04:00
PySimpleGUI da4305a352 Removed resetting of stdout if a flush is performed 2020-05-11 15:43:01 -04:00
PySimpleGUI 1f0344824c Added Window.set_title 2020-05-08 05:16:06 -04:00
PySimpleGUI 8173d384e4 Release 4.19.0 2020-05-05 08:45:19 -04:00
PySimpleGUI 6aabbe5432 Better multiline multi-colored tag handling, addition of WIN_CLOSE & WINDOW_CLOSED 2020-05-04 20:49:45 -04:00
PySimpleGUI 1ffd8b41d6 Docstring changes, constanct variables for window closed event, check for valid theme names 2020-05-01 10:09:23 -04:00
PySimpleGUI 1db1da0152 Coupole of docstring fixes 2020-04-14 07:28:27 -04:00
PySimpleGUI 9cdd2b0e54 Removed f-string, try block around subprocess import - needed for 3.4 support on the Pi 2020-04-12 21:27:05 -04:00
PySimpleGUI 71306dc46c import typing. Docstrings now showing up correctly in PyCharm 2020-04-10 14:11:41 -04:00
PySimpleGUI a714157d8a Incorrectly setting spin DefaultValue variable if not set in Update. 2020-04-07 19:32:28 -04:00
PySimpleGUI 9352a8425c Fix for scollable columns when scrolling over ComboBoxes 2020-04-07 16:13:02 -04:00
PySimpleGUI 08aa764b9b Newest version of Ruud's upgrade from GitHub 2020-04-06 16:30:03 -04:00
PySimpleGUI 3f4734c102 Scrollable Column Experimental Changes 2020-04-05 12:38:41 -04:00
PySimpleGUI 8342019002 Fixed TabGroup border width 2020-04-04 11:54:12 -04:00
PySimpleGUI 7530ed0a89 Another go at the scollable column (this time for sure!) 2020-04-03 18:12:32 -04:00
PySimpleGUI 20435d98b1 back out part of scrolled column fix as it was scrolling everything in the window when wheel used 2020-04-03 15:23:06 -04:00
PySimpleGUI 52547ec58b New autoscroll parameter added to Multiline.print. FIX FOR SCOLLING COLUMNS 2020-04-03 15:10:35 -04:00
PySimpleGUI 2d3d09ad44 Set the parent window in call to askcolor (color chooser) 2020-04-02 12:57:02 -04:00
PySimpleGUI 9d992d4175 Added year up/down to calendar popup (Thanks Ruud!!) 2020-04-01 12:10:36 -04:00
PySimpleGUI feacb6103b More date popup work... will eventually get there.... 2020-03-31 14:35:41 -04:00
PySimpleGUI f758357d8d Made DrawLines more efficient 2020-03-31 09:22:28 -04:00
PySimpleGUI 63d24b81ae Added Graph.DrawLines (draw_lines) 2020-03-31 09:16:17 -04:00
PySimpleGUI 194c053f12 Quick switch back to previous way of getting month & day names for get_date 2020-03-31 08:25:38 -04:00
PySimpleGUI a29d8488c7 Location parameter added to CalendarButton 2020-03-30 10:23:22 -04:00
PySimpleGUI ff51642ee7 popup_get_date - allow leaving out initial date parameters 2020-03-30 10:08:19 -04:00
PySimpleGUI 08e11e860c Integrated new date chooser!! (FINALLY) 2020-03-30 09:56:42 -04:00
PySimpleGUI 81c021332d popup button size resized from (5,1) to (6,1) 2020-03-30 05:27:46 -04:00
PySimpleGUI 2850b9888f More popup_get_date parms. icon parm for popup_animated 2020-03-29 10:07:50 -04:00
PySimpleGUI 90d8808884 NEW popup_get_date, fixed print sep char handling 2020-03-28 14:08:21 -04:00
PySimpleGUI f220d749de Corrected sep string handling for Print and Multiline.print 2020-03-27 16:45:35 -04:00
PySimpleGUI 6d141100c5 Release 4.18.0 2020-03-26 09:42:58 -04:00
PySimpleGUI 689833b040 Fixed bug in table element- computing bad width, added 10 pixels to tree column sizes, moved block of Image layout code so executes even if no image specified 2020-03-26 08:38:23 -04:00
PySimpleGUI e55b9a3e72 Checkbox.update - ability to change text 2020-03-25 10:34:53 -04:00
PySimpleGUI 282ba3e3b0 popup_animated - added title parameter 2020-03-24 22:42:42 -04:00
PySimpleGUI fad3dfb1d3 Release 4.17.0 2020-03-24 20:26:23 -04:00
PySimpleGUI 5b7e8991cf Versoin bump for last checkin 2020-03-23 23:18:28 -04:00
PySimpleGUI d480899721 More docstring fixes. no_titlebar parameter for one_line_progress_meter, renamed demo file 2020-03-23 23:17:04 -04:00
PySimpleGUI 03aaa144a3 MORE DocStrings 2020-03-06 19:48:44 -05:00
PySimpleGUI d750afcdbf Check for image is bytes in Image.Update. Was crashing trying to get width. Changed upgrade code to use utllib version! Nice! 2020-03-06 13:09:19 -05:00
PySimpleGUI 8b9ddf404c upgrade parameter 2020-03-05 21:06:18 -05:00
PySimpleGUI af4a76f763 "upgrade" command line parameter 2020-03-05 20:53:37 -05:00
PySimpleGUI 84cafb1397 Debugger stack frame changed (still not working most likely). The last of the docstring changes 2020-03-05 20:32:05 -05:00
PySimpleGUI 70cc3cba76 More upgrade utility changes 2020-03-05 17:21:29 -05:00
PySimpleGUI b7986234e0 New version of upgrade utility. LOTS more doctrings from my good friend nngogol 2020-03-05 16:59:03 -05:00
PySimpleGUI 79e00db4cc fix for missing padding on invisible elems, STARTED lots of docstrings changes. Renamed print_to_element 2020-03-05 08:34:25 -05:00
PySimpleGUI 76053a7a17 NEW Multiline.print method - same as print_to_element. More tweaks to the upgrade from GitHub function 2020-03-03 11:51:13 -05:00
PySimpleGUI efbe687c27 More upgrade utility work 2020-03-01 16:08:36 -05:00
PySimpleGUI bf1ae9942c Addition of an upgrade from GitHub button to the test harness 2020-03-01 16:06:46 -05:00
PySimpleGUI b945be6680 Table - measure row height if one isn't specified 2020-03-01 15:29:18 -05:00
PySimpleGUI 0356c3e260 Table - better column sizing based on font used 2020-03-01 15:23:30 -05:00
PySimpleGUI c656a4542e TabGroup - add autonumbered key, timeit_summary decorator, more info added about versions 2020-03-01 13:31:14 -05:00
PySimpleGUI cbe60e7da5 Correctly adjust the output from the shell output by trimming off the beginning and ending chars 2020-02-24 15:40:38 -05:00
PySimpleGUI 9f0159c546 Fixed how args are built with lists 2020-02-24 14:53:34 -05:00
PySimpleGUI 6982c4078d New shell_with_animation function to help long-running operations 2020-02-24 14:12:09 -05:00
PySimpleGUI 40e823e2dd popup_notify, removed TRANSPARENT_BUTTON 2020-02-24 10:33:17 -05:00
PySimpleGUI ec77e94358 Added Image.update_animation_no_buffering 2020-02-23 12:23:57 -05:00
PySimpleGUI b2c39d77d7 Release 4.16.0 2020-02-20 16:08:12 -05:00
PySimpleGUI 7ea32009d7 Element.set_size - retry height failure using length instead 2020-02-19 15:32:14 -05:00
PySimpleGUI 85cef1713b Restructured window.read so that the close is done extrnally to the main read call. 2020-02-19 13:13:07 -05:00
PySimpleGUI 0cbddfc980 New Checkbox.Update parameters for setting the colors 2020-02-13 20:17:11 -05:00
PySimpleGUI 99c32cff27 Addition of font to Menu - sets the font inside the menu itself 2020-02-10 10:43:41 -05:00
PySimpleGUI 174176daf4 System Tray feature addition 2020-02-09 15:59:38 -05:00
PySimpleGUI c64c689d20 Window.read gets a new "close" parameter (thinking of renaming to close_window) 2020-02-08 14:09:39 -05:00
PySimpleGUI 9f0299375f Window.element_list added. Image defaults to filename='' if nothing specified 2020-02-07 14:02:43 -05:00
PySimpleGUI d289de61f9 Added Element.unbind - removes a previously bound event from an Element 2020-02-03 15:29:20 -05:00
PySimpleGUI ce1cc28295 Addition of select_mode parameter to Listbox.,update 2020-02-01 11:56:46 -05:00
PySimpleGUI c1f87f3825 Listbox.get 2020-02-01 11:45:49 -05:00
PySimpleGUI 808866c443 print_to_element - used to "print" to a multiline element 2020-01-28 09:51:13 -05:00
PySimpleGUI fa103b7246 Graph.draw_polygon added 2020-01-20 10:04:46 -05:00
PySimpleGUI 023c158a6c Removed f-string for 3.5 compat. Added lots of popuperrors for bad layout detection of container elements. 2020-01-15 11:14:45 -05:00
PySimpleGUI 2d9c690353 All justification parameters can be shortned to 1 character, Fixed debug window not closing with quit button correctly 2020-01-13 23:31:53 -05:00
PySimpleGUI 4a048efdb0 Fix for Multline update with no value parameter specified 2020-01-13 16:10:23 -05:00
PySimpleGUI 3ef369cc58 Correctly scale draw_pixel 2020-01-10 12:24:23 -05:00
PySimpleGUI 76e2ec49d9 Release 4.15.1 2020-01-09 23:25:54 -05:00
PySimpleGUI 9543c68d1a Release 4.15.0 2020-01-08 23:01:05 -05:00
PySimpleGUI c51edc7719 New theme_text_element_background_color function, Fix for closing debug window with an X when running a non-blocking window, added keep on top to internal calls to popup_error, 2020-01-08 17:36:04 -05:00
PySimpleGUI 370c01e783 Changed warning about layout reuse to indicate Element Reuse instead. Added a delete method for Output Element 2020-01-04 23:23:00 -05:00
PySimpleGUI b4529f80af extend_layout 2020-01-03 20:51:13 -05:00
PySimpleGUI 2f8d90efd4 extend_layout method. _timeit decorator 2020-01-03 19:45:40 -05:00
PySimpleGUI 1da920a1e9 Changed theme's "black" and "white" values to hex values. 2019-12-31 19:59:55 -05:00
PySimpleGUI da14e3517e Compute the background color of checkbox's box and radio button's circle 2019-12-31 19:27:10 -05:00
PySimpleGUI 68cf528a3a Removed restriction that progress bar value cannot be > max 2019-12-31 18:42:06 -05:00
PySimpleGUI 1fbe91a561 Added an extra call to tkroot.update when closing window to fix Linux problem. Added line witdth to DrawArc 2019-12-30 15:57:19 -05:00
PySimpleGUI 2fe1d9a25b new Graph.change_coordinates 2019-12-26 16:19:14 -05:00
PySimpleGUI a0ffc7a1b1 Changed how window.bring_to_front is implemented on Windows 2019-12-25 19:14:19 -05:00
PySimpleGUI 351bcfa170 Back out the row padding change. Fixed crash in set_icon 2019-12-25 18:28:50 -05:00
PySimpleGUI 3a6b7c5ed8 Removed x-margin from Row Frame. blank Text element sized to be default element size, enable_events for calendary button (likely to be removed) 2019-12-25 09:48:14 -05:00
PySimpleGUI 922c6a99bb Release 4.14.0 - Themes! 2019-12-23 09:36:29 -05:00
PySimpleGUI 0d7473eedb Removed Macs being forced to system default. Checked in the latest readme components 2019-12-21 13:23:38 -05:00
PySimpleGUI 9cc43153b5 theme() and associated other functions! New default theme of Dark Blue 3. My new bookmarks - placement 2019-12-20 15:40:17 -05:00
PySimpleGUI 234776e871 New version number 2019-12-19 12:53:02 -05:00
PySimpleGUI da09264616 New Element.set_cursor method. New Look and Feel function "theme()", Combo.update now allows value to be set that is not in the values list. Table and Tree headings font now defaults to window font 2019-12-19 12:50:57 -05:00
PySimpleGUI 577a492673 Release 4.13.0 2019-12-18 22:19:00 -05:00
PySimpleGUI 9d55ebaa9a Fix? for circle radius not being set correctly, NEW Graph primitives - get_figures_at_location, get_bounding_box 2019-12-18 14:30:24 -05:00
PySimpleGUI 5d3db45d9a Table & Tree Element - Header text & background colors, header font 2019-12-17 21:52:00 -05:00
PySimpleGUI 24d7e6bab2 use math.floor instead of int when converting for Graph Element 2019-12-17 17:51:48 -05:00
PySimpleGUI fa7178850f Expand_row should default to true 2019-12-15 21:55:21 -05:00
PySimpleGUI e790b938ed Spinbox skip setting default is None provided, expand_row = True by default in Element.expand 2019-12-15 21:54:16 -05:00
PySimpleGUI 7492d3cbc7 new expand_row parameter to Element.expand 2019-12-15 14:56:37 -05:00
PySimpleGUI 3022748ec7 Release 4.12 2019-12-14 23:33:44 -05:00
PySimpleGUI 749529a04f Accidently reformatted code, Fixed highlighting around all elements (almost) on Linux (was highlightthickness), Disabled Button Colors 2019-12-14 14:35:57 -05:00
PySimpleGUI 3aa0416275 Buttons can set disabled_button_color initially and in update for both tk and ttk buttons 2019-12-13 19:55:45 -05:00
PySimpleGUI 06d398b931 Comboboxes don't have to be disabled before making readonly in update, fix for file/folder browse cancel on Linux 2019-12-13 15:16:53 -05:00
PySimpleGUI fad8e6bea6 Fix for popups not closing on Linux. Switched away from CloseButtons 2019-12-12 19:01:45 -05:00
PySimpleGUI 78116aa9f7 Ability to set disabled text color for tk.Button's 2019-12-12 16:11:27 -05:00
PySimpleGUI 2c6ed5355f Release 4.11.0 2019-12-10 15:48:26 -05:00
PySimpleGUI 77743a4eca Element.bind, Window.bind- wow 2019-12-10 11:14:59 -05:00
PySimpleGUI e97829970d Font setting for TabGroup elements 2019-12-09 22:03:46 -05:00
PySimpleGUI 6348b969e6 Release 4.10.0 2019-12-09 17:08:19 -05:00
PySimpleGUI abba526e70 Added flags around the finalize calls for built-in debugger. Fixed a nasty bug 2019-12-09 15:15:39 -05:00
PySimpleGUI b1f562506a Release 4.9.0 2019-12-07 19:26:51 -05:00
PySimpleGUI 4d4237520e Automatically color Tabs based on Look and Feel setting 2019-12-07 13:27:25 -05:00
PySimpleGUI 6a3e14e03c More instructions added to Window init on look and feel settings 2019-12-07 12:23:17 -05:00
PySimpleGUI b5eb573875 New DefaultNoMoreNagging Look and Feel theme, for those that are hellbent on gray without being nagged about it 2019-12-07 12:09:24 -05:00
PySimpleGUI 75a4f7a2be Removed print 2019-12-07 11:04:44 -05:00
PySimpleGUI 85235af3ba Docstring update 2019-12-06 22:46:25 -05:00
PySimpleGUI 1550d33b2e Colors for tabs! 2019-12-06 22:35:35 -05:00
PySimpleGUI c2ddac7d5d Release 4.8.0 2019-12-04 20:41:45 -05:00
PySimpleGUI d7c0688382 Typo in new delimiter variable 2019-12-04 19:37:33 -05:00
PySimpleGUI 50dfbba145 BROWSE_FILES_DELIMETER global used to control the delimeter file BrowseFiles button 2019-12-04 19:25:04 -05:00
PySimpleGUI c0790d8dab Removed weird import... 2019-12-04 00:18:18 -05:00
PySimpleGUI c74e8b3854 Opened debug window right away in the test harness to simplify the print statements. 2019-12-02 19:35:35 -05:00
PySimpleGUI 4b6a09b67d Change to test harness to demonstrate multi-color debug prints 2019-12-02 19:11:48 -05:00
PySimpleGUI 161fe0aef9 Shorter Window color nag, debug print gets color setting via text_color, background_color parameter additions 2019-12-02 19:07:18 -05:00
PySimpleGUI 47a43fa54a Multiline Element - Multi-Colored updates! Gray window warning 2019-12-01 15:36:29 -05:00
PySimpleGUI 42faecaf54 CURRENT_LOOK_AND_FEEL now holds the current look and feel selection 2019-11-30 16:29:36 -05:00
PySimpleGUI 1daa3e12b8 Support for images on ttk buttons 2019-11-30 15:22:42 -05:00
PySimpleGUI d2f47c079c Patch from 4.7.1, added update of ttk button colors, enable showing all user warnings not just first one 2019-11-28 12:53:36 -05:00
PySimpleGUI 19377a217b Release 4.7.0 2019-11-26 18:32:38 -05:00
PySimpleGUI 471b067604 Removed unnecessary import 2019-11-25 22:50:18 -05:00
PySimpleGUI 292534192e 2 new option for set_option - theme, use_ttk_buttons. System, window and button level control of ttk. System and window level control of theme. Removed progress bar theme setting, centering text on buttons now, 2019-11-25 22:49:36 -05:00
PySimpleGUI 02158860f0 Put back the button_color default = None 2019-11-24 00:26:07 -05:00
PySimpleGUI d5ad2e5044 TTK BUTTONS!!! Fixed TTK Styling! Window Theme setting, Window.send_to_back, more layout error checks, port variable 2019-11-23 23:57:57 -05:00
PySimpleGUI fc98753e6a New use_readonly_for_disable parameter for InputText element (defaults to True). popup_scrolled got (a lot) more parameters, Look and Feel values are sorted when returned from list_of_look_and_feel_values 2019-11-20 19:24:09 -05:00
PySimpleGUI a6e79ae018 Release 4.6.0 2019-11-16 04:25:25 -05:00
PySimpleGUI 64025392c5 change_look_and_feel - if a completely incorrect string passed in, then a completley random color theme will be used instead. 2019-11-15 22:39:00 -05:00
PySimpleGUI 6883a81297 Theme renumbering 2019-11-15 20:46:14 -05:00
PySimpleGUI 14c5f9ade2 Added deiconify to window.Normal, but having some Linux problems on Mint. Renamed a lot of themes. Added more doc strings 2019-11-15 20:25:08 -05:00
PySimpleGUI a8c3ac1beb Removed use of CloseButton for popups that return values. Still have a possible bug in normal popup that uses CloseButton 2019-11-15 14:38:55 -05:00
PySimpleGUI e5dc2c45e3 Added new member variable for Table Element - table_frame - has the Frame Widget that the table is withihn 2019-11-15 14:30:42 -05:00
PySimpleGUI a4bd658ad9 Added a LOT of new look and feel themes. Theme previewer, "Fuzzy" theme l;ookup, 2019-11-15 13:41:25 -05:00
PySimpleGUI d45c054b45 Default value for combobox bug - was checking bool instead of checking for None 2019-11-14 14:02:48 -05:00
PySimpleGUI 4023efaacc Open up look and feel settings to Macs by changing all colors except buttons when system is a Mac 2019-11-14 13:36:08 -05:00
PySimpleGUI 8b2dbc8672 New preview_all_look_and_feel_themes() - shows a window with the different themes and their names 2019-11-14 12:54:34 -05:00
PySimpleGUI 34e397d817 docstring fixes, more PEP8 bindings - for newer Element methods, fix for trough color in sliders, 2019-11-13 22:22:28 -05:00
PySimpleGUI 37c8349b49 Added line_width to Graph.DrawRectangle. tk.PhotoImage can be passed in data parm to Image.update 2019-11-07 09:50:10 -05:00
PySimpleGUI 309c9d50e2 Release 4.5.0 2019-11-05 20:01:30 -05:00
PySimpleGUI 460b4c95e2 Pre-release of release 4.5.0 - removed experimental Mac buttons, fix for choosing icons / icons on Linux 2019-11-05 09:36:01 -05:00
PySimpleGUI bcdc930b7a Fixed range parm on Slider.Update. Was only changing if value changed too. Now independent. 2019-11-04 15:05:11 -05:00
PySimpleGUI 31b8f42586 Fix for BrowseFiles button, added range to Slider update 2019-11-04 14:56:39 -05:00
PySimpleGUI 10c77bceb6 Version number bump 2019-10-27 09:08:25 -04:00
PySimpleGUI ca16fbc4e6 Added text, background colors to Input element update, added value parm to Frame element update, Window deletes self when close called (risky???) 2019-10-27 09:07:15 -04:00
PySimpleGUI 7f52778bcc Major update of all demo programs to use new PEP8 bindings, etc 2019-10-23 16:10:03 -04:00
PySimpleGUI 915e07a075 Combo no longer defaults to first value 2019-10-14 09:44:05 -04:00
PySimpleGUI 52e9852c4f Fix for Radio Buttons not being correct after loading from disk, Experimental Finalize that calls read(timeout=1) 2019-10-13 15:13:42 -04:00
PySimpleGUI b9a161acc5 New Element method!! expand(expand_x, expand_y). Paramters are bools. 2019-10-06 17:06:18 -04:00
PySimpleGUI 5cb8fe18c1 Enable SetGlobalIcon to be a base64 byte string in addition to a filename. Fixed window icon logic to choose correct default 2019-10-02 23:11:50 -04:00
PySimpleGUI d068c2d54e Fix for crash in PopupGetFile if clicking cancel with no_window set to True 2019-09-30 21:12:40 -04:00
PySimpleGUI d1d48a17b2 New element method for button rebinding. Bind destination should be Element.ButtonReboundCallback. 2019-09-26 19:46:58 -04:00
PySimpleGUI f1b5aa29d3 Fix for Print crash. Added get_size, hide_row, unhide_row for all elements. 2019-09-26 17:03:18 -04:00
PySimpleGUI 1d4ca6696f Now sets TKrootDestroyed when user closes window. window.get_screen_dimensions will call get_screen_size is window was closed / destroyed 2019-09-20 13:49:10 -04:00
PySimpleGUI d3a146d436 New Class Method. Window.get_screen_size() returns tuple. Can be called any time. No previous window needed. 2019-09-20 13:14:45 -04:00
PySimpleGUI 338b16652d Added Element.set_size method enabling the resizing of any element. Removed import * restriction 2019-09-20 11:32:21 -04:00
PySimpleGUI 0248d6e968 Comment out import of Typing module 2019-09-19 09:59:14 -04:00
PySimpleGUI 0e691b7875 Block import * attempts. Added metadata doc string to all elements, new parameter in InputText.Update - move_cursor_to. Added border_width to Text element since it can have a relief. 2019-09-18 12:32:28 -04:00
MikeTheWatchGuy 3db33ab659 Addition of Material1 and Material2 "Look and Feel Settings" 2019-09-17 12:36:20 -04:00
MikeTheWatchGuy 0126b3230e Changed mac button settings to crazy values 2019-09-16 19:17:54 -04:00
MikeTheWatchGuy 8bbb704608 Changed Mac to use standard colors. No more restriction on look and feel 2019-09-16 18:18:55 -04:00
MikeTheWatchGuy 97db1d9cd4 The text parm of the Text element is now OPTIONAL. The default is ''. 2019-09-16 16:01:03 -04:00
MikeTheWatchGuy abb0918dbd Version bump 2019-09-16 15:40:53 -04:00
MikeTheWatchGuy 81abc21cf9 Title not a string check removed from Window, Element Justification fix for columns, etc. MAC FIX - using highlightbackground for background 2019-09-16 15:40:12 -04:00
MikeTheWatchGuy 1ac74790a0 Removed Mac button color restriction 2019-09-14 18:26:48 -04:00
MikeTheWatchGuy 3954eacfdc force flag added to ChangeLookAndFeel 2019-09-13 20:31:52 -04:00
MikeTheWatchGuy f6954506f7 ver bump for metadata addition 2019-09-11 17:22:40 -04:00
MikeTheWatchGuy 888808b1f4 Metadata! Added to everything.... all elements, all element constructors, Window too 2019-09-11 17:21:43 -04:00
MikeTheWatchGuy 4b6a574cff NEW Element metadata (Element.metadata) 2019-09-10 15:49:49 -04:00
MikeTheWatchGuy 88222455f9 Fixed Column scrolling, again. New test function == main function 2019-09-08 14:35:31 -04:00
MikeTheWatchGuy ad394dc6a8 Official 4.4.1 & 2.4.1 releases 2019-09-06 11:09:01 -04:00
MikeTheWatchGuy e4463ca1eb Release 4.4.1 -turned off auto expansion 2019-09-06 10:52:33 -04:00
MikeTheWatchGuy 7182b49791 Version 4.4.0.10 Unreleased 2019-09-05 10:48:35 -04:00
MikeTheWatchGuy 4508683999 Shift + Mousewheel will scroll a column horizontally 2019-09-05 10:47:54 -04:00
MikeTheWatchGuy c8b0d37ed6 Fixed "fill=both" bug in Column layouts for both types of columns. Removed Butt, Out, Status, OM shortcuts. Added LB shortcut 2019-09-04 15:23:13 -04:00
MikeTheWatchGuy 5741b36783 A bunch of new element shortcuts (experimental) PBar, Prog, Col, DD, OM, LBox, R, Rad, SpinBox, Spinner, Status, Out, BMenu 2019-09-03 20:15:10 -04:00
MikeTheWatchGuy 63c8782dac The Kolya Release - window() == window.Read(). ML = MLine = Multiline 2019-09-02 13:42:50 -04:00
MikeTheWatchGuy 928c3b2973 Ability to scroll contents of Column using scroll wheel 2019-09-02 11:12:32 -04:00
MikeTheWatchGuy ba01e1bf86 Added Listbox method GetIndexes. Fix bug when duplicate keys, Column and Frame expansion tests (Hope it didn't break anything!) 2019-09-01 11:30:35 -04:00
MikeTheWatchGuy d48b444734 Fixed focus inside containers problem 2019-08-29 11:19:30 -04:00
MikeTheWatchGuy 7f30da5c94 Added Output.Get method. Tabs/TabGroup expand when resizing 2019-08-29 10:15:34 -04:00
MikeTheWatchGuy 2935e3d067 Fix for Tree element not returning keys. Was really messed up. ROWS are expanded now for Frame, Col, multiline, input, output, tab, tabgroup 2019-08-27 14:02:10 -04:00
MikeTheWatchGuy 0b3c93fe5c Added Table.Get as a dummy function as to match the new Get method in the Qt port. Returns the last table provided. Editing is not yet available. 2019-08-24 18:29:28 -04:00
MikeTheWatchGuy d3da31110f Table Element - Fix for columns going nuts when getting near the headers with a mouse! PLEASE be fixed! 2019-08-24 17:59:35 -04:00
MikeTheWatchGuy 7a8dfa2eb3 Removed the F-bomb because kids the source. If icon loads fail, default to built-in icon 2019-08-23 21:47:47 -04:00
MikeTheWatchGuy 4cbbe51992 Changed Input.Update to move the cursor to the end if updating the values 2019-08-23 13:58:11 -04:00
MikeTheWatchGuy 628f4170e7 4.3.0 RELEASE 2019-08-22 17:50:43 -04:00
MikeTheWatchGuy 769ae81746 Fixed layout issues. Made Column element special. It can have a justification specified on it 2019-08-22 16:36:27 -04:00
MikeTheWatchGuy f76cfcdceb New parameter for Columns - justification. Justifies the Column and the row it's on to this setting 2019-08-22 16:05:40 -04:00
MikeTheWatchGuy 30ab03859c Forgot to bump version 2019-08-22 13:21:46 -04:00
MikeTheWatchGuy 7a1d010959 Chagned center_elements to element_justification 2019-08-22 13:11:42 -04:00
MikeTheWatchGuy 7379d0bf62 NEW Sizer Element 2019-08-22 12:20:39 -04:00
MikeTheWatchGuy 96c56b64fa NEW center_elements parm for Window, column, frame and tab 2019-08-22 11:58:23 -04:00
MikeTheWatchGuy 979da6faab LOTS of new error checks. Warning if trying to "re-use" layout, All Element.Update methods checked for unfinalized windows. 2019-08-22 01:23:07 -04:00
MikeTheWatchGuy d239bb582b New Listbox parameter - no_scrollbar. If True then no scrollbar wiill be added to the Widget. 2019-08-21 23:14:56 -04:00
MikeTheWatchGuy 48e81e72f2 Added ParentRowFrame to elements to MAYBE aid in better visibility changes 2019-08-21 18:35:04 -04:00
MikeTheWatchGuy 99748374b1 Added dummy Window.visibility_changed method because it exists in PySimpleGUIQt. Fixed debugger popout 2019-08-21 17:19:25 -04:00
MikeTheWatchGuy e68fb12145 Removed SetFocus from all Elements except for the base Element class. MOVED all of the PEP8 renaming to inside each class 2019-08-20 16:21:17 -04:00
MikeTheWatchGuy b2c304e3d0 Removed some funcs people shouldn't be calling 2019-08-20 15:20:32 -04:00
MikeTheWatchGuy 054690d5b4 PEP8-ify!!! All of the user accessable methods and funcs now have a lower-case version! Wild how it's done 2019-08-20 15:11:46 -04:00
MikeTheWatchGuy 31f7183891 OFFICIAL 4.2.0 Release! 2019-08-19 17:14:34 -04:00
MikeTheWatchGuy 75d46987dd Doc strings, finalize parameter in Window element, fix for not using initial_folder for PopupGetFile 2019-08-19 13:21:34 -04:00
MikeTheWatchGuy 88dc9408a6 Fixed missing return types in Docstrings for pre-defined buttons 2019-08-18 20:01:33 -04:00
MikeTheWatchGuy 593a64225c Added __call__ method to Elements. WOW! Removed many of the __del__ methods. Hope it doesn't BREAK BADLY! 2019-08-18 16:10:49 -04:00
MikeTheWatchGuy 40abc2e20a New capability! __getitem__ added to all ports of PySimpleGUI. Enables skipping the FindElement call 2019-08-17 11:03:36 -04:00
MikeTheWatchGuy 22a6634331 Added `Tearoff ` property to Element to stop crash if trying to use a submenu in a right click menu. Fixup of some docstrings that were causing issues 2019-08-16 19:05:18 -04:00
MikeTheWatchGuy 027f458837 Made a "catch all" for find element with focus so that any element can be checked 2019-08-16 11:31:21 -04:00
MikeTheWatchGuy 5b1f8cdbca Fix for window.FindElementWithForux - wasn't checking listboxes 2019-08-16 11:26:36 -04:00
MikeTheWatchGuy ce6d6a5468 New Graph methods - SendFigureToBack, BringFigureToFront 2019-08-11 12:30:23 -04:00
MikeTheWatchGuy 28c7c35ac0 Lots of doc updates. The recent Tab and TabGroup changes 2019-08-10 22:44:14 -04:00
MikeTheWatchGuy 39fdf072a4 Bumped version 2019-08-10 17:17:33 -04:00
MikeTheWatchGuy 8782494c87 New methods that are replacing some hastily added ones - TabGroup.Get, Tab.Select, Combo.Get, background colors for non-scrollable columns 2019-08-10 17:16:43 -04:00
MikeTheWatchGuy 0e7e72b56d Renamed GetCurrentIndex to GetCurrentlySelectedTabIndex 2019-08-08 16:27:32 -04:00
MikeTheWatchGuy 7dda23eef3 Addition of TabGroup.GetCurrentIndex to tkinter port. Renamed in Qt port 2019-08-08 16:22:54 -04:00
MikeTheWatchGuy 6b050707f9 Ver bump 2019-08-07 19:45:55 -04:00
MikeTheWatchGuy 0976b05ba1 Finally a fix for Column sizes?????? YES! 2019-08-07 19:45:17 -04:00
MikeTheWatchGuy d6458df5ab More documentation... specifically on the Graph Element (plus others) 2019-08-05 16:58:20 -04:00
MikeTheWatchGuy 332a47754a Graph Element drag mouse button UP events changed. Returns key+UP for drag event when mouse is released 2019-08-05 14:38:42 -04:00
MikeTheWatchGuy 8f5472c40b RELEASE 4.1 2019-08-04 15:04:16 -04:00
MikeTheWatchGuy 0b839ccb70 Docstrings, Warnings added to Window so that bad titles and bad layout types are warned. It's crude but will be helpful. Also first time using this warnings module. Hope it's OK! New Demo Program - invisible elements shows using a column for visibility 2019-08-04 13:50:06 -04:00
MikeTheWatchGuy 01b5dc4a32 Forgot docstring for text_location 2019-08-02 07:23:49 -04:00
MikeTheWatchGuy ffdeaaad8b New text_location parameter for DrawText method of Graph. More docstrings 2019-08-02 07:21:23 -04:00
MikeTheWatchGuy 6ea3dbed41 Version bump 2019-07-31 13:29:28 -04:00
MikeTheWatchGuy c48b236bce Added a general "SetFocus" to Element as a "catch all". Utilizes .Widget so hope they all are being set. Added 'Elem' shortcut for FindElement. 2019-07-31 13:29:03 -04:00
MikeTheWatchGuy 871f30d11f Remove buttons from list of values to save to disk 2019-07-29 16:34:13 -04:00
MikeTheWatchGuy 8be71a9f3a Of course, more docstrings, PLUS moved the title parameter is PopupScrolled to the second position like ALL other Popups are already 2019-07-29 14:26:12 -04:00
MikeTheWatchGuy 2c98255a2d More doc strings! More to go! Getting closer 2019-07-27 12:11:32 -04:00
MikeTheWatchGuy eaa67fc0b9 MORE Docstrings! Table and Tree Elements this time 2019-07-24 21:57:01 -04:00
MikeTheWatchGuy b6b766dfdb 1/2 a shit-ton of doc strings. Completed the Pane and Menu (bar) elements 2019-07-19 23:52:03 -04:00
MikeTheWatchGuy 70adb38fc6 Added correct handling of foreground color for tables (text color) when updating 2019-07-19 22:30:50 -04:00
MikeTheWatchGuy b49e17d665 Support for Table Updates for colors (individual row colors and alternating row color) 2019-07-19 22:22:49 -04:00
MikeTheWatchGuy 6c620efc83 Exposed TOOLTIP_BACKGROUND_COLOR 2019-07-19 21:21:55 -04:00
MikeTheWatchGuy 912e4068e3 Two new Table.Update parameters - alternating_row_color and row_colors. Addition of doc strings for Table.Update 2019-07-19 20:14:37 -04:00
MikeTheWatchGuy d7b3d1e150 Testing Pull Request Template 2019-07-19 19:10:21 -04:00
MikeTheWatchGuy b02032af8b Set the button activebackground color in the Update method. Already doing this when button created. 2019-07-19 17:30:29 -04:00
MikeTheWatchGuy 42c4d97920 More.... you guessed it... docstrings! Version 4.1.0.10 2019-07-17 11:35:54 -04:00
MikeTheWatchGuy 5d7324a251 More doc strings. Added check for background color and made optional for call to Update of Graph Element 2019-07-16 17:41:32 -04:00
MikeTheWatchGuy ce2d947c30 Fix for Graph.DrawPoint not returning an id. MORE docstrings 2019-07-16 15:09:08 -04:00
MikeTheWatchGuy 62f905eacd More doc strings 2019-07-15 21:17:07 -04:00
MikeTheWatchGuy 9a970dba70 Added parent window to all of the File Browse calls to tkinter so that the icon from the window is displayed. Added lots of doc strings...more to go! 2019-07-15 17:25:27 -04:00
MikeTheWatchGuy af461df1a0 FINALLY completed the Window class doc strings! 2019-07-10 17:15:51 -04:00
MikeTheWatchGuy 007c23494b More docstrings, renamed functions 2019-07-10 15:12:16 -04:00
MikeTheWatchGuy dab3f1f1f3 LOTS of new doc strings. Renamed some functions to begin with _. Window.Show, ReadNonBlocking, Added giant licensing info 2019-07-06 11:51:03 -04:00
MikeTheWatchGuy 9adb0e3691 New option ENABLE_TK_WINDOWS. If True, will not use hidden master window. Had to add a lot of try statements to get it to work 2019-07-04 10:56:53 -04:00
MikeTheWatchGuy 28175a99e6 Allow set_to_index in the Listbox.Update call to be both an int and a list. Also officially added "Warnings" using the "Warnings" package. 2019-07-03 17:40:23 -04:00
MikeTheWatchGuy b9614eef9f LOTS of doc strings. Newest readme based on doc strings 2019-07-02 19:10:12 -04:00
MikeTheWatchGuy 8220b8c9e2 Finished Input Tesxt doc strings. Removed the Up Arrow character from comments. 2019-06-28 21:21:27 -04:00
MikeTheWatchGuy 7499d3f989 Fix for crash when opening window twice with ComboBoxes 2019-06-28 16:56:25 -04:00
MikeTheWatchGuy 1290b01d60 Filled in doc strings (much more to go!) 2019-06-27 23:54:36 -04:00
MikeTheWatchGuy 4601d62f47 More docstring changes!!! 2019-06-26 22:09:28 -04:00
MikeTheWatchGuy 7acfad658a Bumped version by 1 more digit so that it's 4 digits long. When posting to PyPI, will post only 3 digits 2019-06-25 13:11:48 -04:00
MikeTheWatchGuy f40c4c2710 Changed Listbox.Update(set_to_index) so that all selections are cleared prior to new select 2019-06-25 12:46:22 -04:00
MikeTheWatchGuy f382823810 Combobox - Enable return of original value AND also hand entered values if permitted. Spinner returns supplied value rather than string 2019-06-22 13:10:05 -04:00
MikeTheWatchGuy 89bf807617 Combo - return actual value user supplied when reading. Fix in debugger showing objects, new ComboBox method - GetSelectedItemsIndexes - returns list of indexes currently selected items 2019-06-22 11:43:06 -04:00
MikeTheWatchGuy 704da3f274 New float_values in Graph Element signals to return float values instead of ints 2019-06-20 09:59:08 -04:00
MikeTheWatchGuy ee230a6a62 New version variable, fixed problem not returning None on error in FindElement 2019-06-20 09:13:02 -04:00
MikeTheWatchGuy b1ab9868e1 Release 4.0.0 & 2.0.0 2019-06-19 13:15:03 -04:00
MikeTheWatchGuy 7574c9ea97 Get method for the Radio Element 2019-06-19 10:14:30 -04:00
MikeTheWatchGuy b35c55726d Addition of scroll_to_index parameter to Listbox.Update method 2019-06-19 09:52:50 -04:00
MikeTheWatchGuy 9cce12e8c2 Added new force parameter to all SetFocus calls. Removed calls to WM_DESTROY due to memory leak 2019-06-19 08:30:04 -04:00
MikeTheWatchGuy 6c3da863d3 Remove unneeded code 2019-06-18 21:07:40 -04:00
MikeTheWatchGuy eb01f803fb Added __version__ (finally), Renamed Debugger class (will help a lot with IDE) 2019-06-18 11:47:06 -04:00
MikeTheWatchGuy 7d6765516e
Merge pull request #1571 from PySimpleGUI/Dev-latest
Comments clean-up for check-in test
2019-06-17 14:30:26 -04:00
MikeTheWatchGuy da735004b7 Comments cleansup for check-in test 2019-06-17 14:29:54 -04:00
MikeTheWatchGuy af9e494c77 Merge branch 'pr/1570' 2019-06-17 13:56:42 -04:00
nngogol f4790f3278
added documentation for claases and functions 2019-06-17 19:53:30 +03:00
MikeTheWatchGuy 32df7cf264
Revert "Release 4.0" 2019-06-17 12:46:17 -04:00
MikeTheWatchGuy 0ac22ddd30 Release 4.0 2019-06-17 12:40:59 -04:00
MikeTheWatchGuy 220b33348f Set Print/EasyPrint parameter do_not_reroute_stdout=True. Was supposed to be True. Not sure what happened. 2019-06-16 09:17:22 -04:00
MikeTheWatchGuy c940ab2ec7 Added doc strings, renamed functions so they start with _ if private. 2019-06-15 18:22:36 -04:00
MikeTheWatchGuy 6958b2bc77 Docstrings, addition of Widget class variable 2019-06-15 13:58:20 -04:00
MikeTheWatchGuy 6a76b08539 Updated Button.ButtonColor when Updating so can retrieve at runtime. 2019-06-14 15:14:30 -04:00
MikeTheWatchGuy b30f6ce42c Release 3.39, 1.39 2019-06-13 17:59:07 -04:00
MikeTheWatchGuy d1d3cefde2 New implementations for Window.Disable and Window.Enable 2019-06-13 16:17:55 -04:00
MikeTheWatchGuy 4d4b7b7b3b New TabGroup Method - SelectTab 2019-06-13 15:06:15 -04:00
MikeTheWatchGuy 832443efd8 select_rows - New Table.Update parameter. Begin renaming class methods using _ 2019-06-13 13:15:49 -04:00
MikeTheWatchGuy a1095b8ad0 Fix for bug introduced with DrawImage. Was not deleting the figures, at all. 2019-06-12 19:51:25 -04:00
MikeTheWatchGuy 05d66627bf Final bit of debugger - Object View Button, 2019-06-12 19:22:55 -04:00
MikeTheWatchGuy 4eb12ed570 Allow Combo Element to have zero values initially, change to how debugger windows are bound to keys, NEW imwatchingyou code ported into PySimpleGUI 2019-06-12 11:23:21 -04:00
MikeTheWatchGuy 858d73febf Release 3.38, 1.38 2019-06-10 10:01:14 -04:00
MikeTheWatchGuy 8e03891ed8 Compacted code 2019-06-09 14:04:59 -04:00
MikeTheWatchGuy e49a03095c EXPERIMENTAL - Multiline elems are resizable, Output does in Y direction, scrolling output popup resizeable 2019-06-09 13:51:12 -04:00
MikeTheWatchGuy 1fc718b325 Text wrapping - the FINAL FIX! Update a Disabled multiline works now (enables, changes, disables) 2019-06-08 14:26:02 -04:00
MikeTheWatchGuy 091208916c Yet more wrap fixes 2019-06-04 10:32:15 -04:00
MikeTheWatchGuy 6587d5bea5 Fix for Text Element wrapping 2019-06-04 10:26:23 -04:00
MikeTheWatchGuy f55bad148b Fix for wrapping text element correctly. Demo program updates. 2019-06-04 10:17:04 -04:00
MikeTheWatchGuy fc4e99625c Fix for PopupGetFiles/Folders on Linux showing tk window, More changes for debugger, Lots of general cleanup 2019-06-01 07:49:05 -04:00
MikeTheWatchGuy cc358cf8a9 New show debugger and popout funcs, reached further back on read to correct frame 2019-05-30 19:32:36 -04:00
MikeTheWatchGuy 6656e44326 Debugger flags 2019-05-30 16:45:50 -04:00
MikeTheWatchGuy 24fb9c5840 Give user complete control over debugger. NOTE - Debugger is ENABLED by default. 2019-05-30 15:26:16 -04:00
MikeTheWatchGuy 2e3d812d37 More showing 2019-05-30 13:13:07 -04:00
MikeTheWatchGuy dbbebff429 Key l auncher 2019-05-30 12:30:21 -04:00
MikeTheWatchGuy b1baad7beb Hooked debugger up to debug button 2019-05-30 12:20:46 -04:00
MikeTheWatchGuy 7705d6924a Merged in new calendar code (icon and timestamp) 2019-05-30 10:52:57 -04:00
MikeTheWatchGuy 83992dd520 First attempt at built-in debugger 2019-05-30 10:25:52 -04:00
MikeTheWatchGuy 2dc8972931 Release 3.36 2019-05-29 19:30:36 -04:00
MikeTheWatchGuy a21c60e9e6 New Window methods - GrabAnywhereOn, GrabAnywhereOff 2019-05-29 14:10:42 -04:00
MikeTheWatchGuy eba5b6da79 Added multiple files option to PopupGetFile 2019-05-29 13:53:22 -04:00
MikeTheWatchGuy c556b38e99 Fix for Linux maximize and normal windows, fix for more color crashes 2019-05-25 17:43:29 -04:00
MikeTheWatchGuy 77e0f71b10 Fix for setting look and feel to system default 2019-05-25 15:36:45 -04:00
MikeTheWatchGuy 7348cb67ba Release 3.30. New PySimpleGUIdebugger release to PyPI 2019-05-24 21:04:15 -04:00
MikeTheWatchGuy b9de069343 Fix for OK button not closing the PopupScrolled window 2019-05-20 10:11:00 -04:00
MikeTheWatchGuy 0053c02f27 Better duplicate key handling, added border_depth to multiline element 2019-05-19 10:33:14 -04:00
MikeTheWatchGuy 11ad67b6b2 Added check toi automatically close hidden window when last window is closed 2019-05-17 08:42:11 -04:00
MikeTheWatchGuy 7a30a808a4 New function - ClosePySimpleGUI() - deletes the hidden master window 2019-05-17 08:25:22 -04:00
MikeTheWatchGuy 8a7fc67abe Changed how no_titlebar is implemented on linux 2019-05-16 17:04:08 -04:00
MikeTheWatchGuy 83b8223f01 Fixed missing Radio Buttons from auto key dictionary. Image added to test harness 2019-05-16 15:41:42 -04:00
MikeTheWatchGuy a949dabf92 Changed Combobox "unique field" to be built from element's key instead of date/time. 2019-05-16 12:22:58 -04:00