Commit Graph

644 Commits

Author SHA1 Message Date
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
MikeTheWatchGuy 483d2523c4 Fix for dictionary key counter being off, fix for Maximize, new Window.Normal method 2019-05-16 11:16:30 -04:00
MikeTheWatchGuy f7333e6147 Removed illegal append 2019-05-15 10:36:57 -04:00
MikeTheWatchGuy 333e8fd50c Fix from user musteresel - uses dictionary to save images in so no more memory leak 2019-05-15 10:22:58 -04:00
MikeTheWatchGuy ba3d2e57bd Last bit of cleanup 2019-05-15 10:03:54 -04:00
MikeTheWatchGuy 719d0f2ffc Fix for Radio Updates, added try around transparent color since only on Windows 2019-05-15 09:58:32 -04:00
MikeTheWatchGuy eddf5bc97f New Window parameter transparent_color. PopupAnimated now uses a transparent background! 2019-05-14 12:55:48 -04:00
MikeTheWatchGuy 9dc029e9cd Window gets new `transparent_color` parameter and `SetTransparentColor` method 2019-05-14 12:18:29 -04:00
MikeTheWatchGuy abd0caa631 New Element level method - SetToolTip. Made a new element.Widget property 2019-05-14 09:28:33 -04:00
MikeTheWatchGuy 10ca03d118 Made DEFAULT_ICON a GIF so that version 2.7 loads correctly. Made ComboBox unique field stronger, fixed auto numbering of input keys 2019-05-11 07:52:16 -04:00
MikeTheWatchGuy 845e5ce620 Addition of Button.Click() method 2019-05-11 07:02:25 -04:00
MikeTheWatchGuy f16616bdf4 New Window parameter - hide_vertical_scroll, fix for Popup's hard coded return value subscripts, 2019-05-10 11:12:40 -04:00
MikeTheWatchGuy 4df3f8260d Added back automatic key creation. Changed FindElement to use new Key Dictionary 2019-05-04 18:09:31 -04:00
MikeTheWatchGuy 00fc14c189 New Window.AllKeysDict property contains all Keys for the window 2019-05-04 16:35:15 -04:00
MikeTheWatchGuy f89d4810df Changed location of Tooltip to be closer to mouse pointer 2019-05-02 14:27:42 -04:00
MikeTheWatchGuy 57386d5fe8 Cleaned up Graph code by removing a canvas. Added ResetGroup to Radio buttons 2019-04-30 19:37:50 -04:00
MikeTheWatchGuy bb4cf86e95 Added Up, Down, Left, Right buttons 2019-04-23 11:11:34 -04:00
MikeTheWatchGuy deb1f0aee1 New RelocateFigure method for Graph Element 2019-04-21 20:11:53 -04:00
MikeTheWatchGuy bda54f0db6 Turn off focus for Output Element 2019-04-16 11:19:39 -04:00
MikeTheWatchGuy 03e6310834 Mass update for Window Layout Change 2019-04-11 18:20:26 -04:00
MikeTheWatchGuy 910f0eaf15 Added Buttons being detected in FindElementWithFocus 2019-04-06 09:14:08 -04:00
MikeTheWatchGuy 816a7341c5 New shortcut functions Button - B, Btn, Butt. InputText - I. Button Text converted to string when initialized 2019-04-02 11:37:16 -04:00
MikeTheWatchGuy e68234bb15 Release 3.27 2019-03-31 12:28:04 -04:00
MikeTheWatchGuy 680e4ca1ca Fix for OptionMenu not Updating correctly to new values 2019-03-24 11:11:03 -04:00
MikeTheWatchGuy ce50062a11 Release 3.26 & 1.26 2019-03-23 16:45:48 -04:00
MikeTheWatchGuy 0747441df6 BIG CHANGE do_not_clear defaults to TRUE now :-) Enjoy! 2019-03-21 08:42:56 -04:00
MikeTheWatchGuy a74b603a86 Enabled a default title in PopupGetFolder if one isn't specified 2019-03-16 17:13:34 -04:00
MikeTheWatchGuy c7fcd50632 Enabled PopupAnimated to show file based GIFs, Added default title to be message in PopupGetFolder 2019-03-16 17:12:27 -04:00
MikeTheWatchGuy 2340b1e82b Removed comment code that fails in 2.7 2019-03-09 15:09:13 -05:00
MikeTheWatchGuy e68278b948 Added ability to control autoscroll using Update 2019-03-07 11:03:08 -05:00
MikeTheWatchGuy c9d7c9c425 More changes to Radio Buttons 2019-03-05 12:54:35 -05:00
MikeTheWatchGuy 59988dd430 Added ability for Radio Buttons to span Columns 2019-03-05 10:40:04 -05:00
MikeTheWatchGuy 305bcb3671
Revert "Allow custom icon to work via SetOptions" 2019-03-05 08:01:19 -05:00
MikeTheWatchGuy 9ed89debf0
Merge pull request #1172 from PySimpleGUI/Dev-latest
Dev latest
2019-02-20 08:36:39 -05:00
MikeTheWatchGuy b27f86db81 Release 3.25 2019-02-20 08:35:24 -05:00
MikeTheWatchGuy bc1a852ee6
Merge pull request #1167 from PySimpleGUI/Dev-latest
Dev latest
2019-02-18 20:12:30 -05:00
MikeTheWatchGuy 85dfc451a9 OneLineProgressMeter with text updates 2019-02-18 20:10:21 -05:00
MikeTheWatchGuy 1eb3c26878
Merge pull request #1159 from PySimpleGUI/Dev-latest
Dev latest
2019-02-15 18:33:43 -05:00
MikeTheWatchGuy df28c98781 Fix for multiple listboxes on one window, additional exception handling, comments, 2019-02-15 18:33:13 -05:00
MikeTheWatchGuy 6aa771cc51
Merge pull request #1088 from PySimpleGUI/Dev-latest
Dev latest
2019-01-17 00:55:13 -05:00
MikeTheWatchGuy d8cf21d9ad Release 3.24.0, 1.24.0. Included base64 animated GIF in file 2019-01-17 00:33:24 -05:00
MikeTheWatchGuy 9645f17295
Merge pull request #1086 from PySimpleGUI/Dev-latest
Dev latest
2019-01-17 00:19:39 -05:00
MikeTheWatchGuy df471cd354 margins parameter for Windows 2019-01-17 00:02:52 -05:00
MikeTheWatchGuy 051ebc0a7e
Merge pull request #1085 from PySimpleGUI/Dev-latest
Support for text in PopupAnimated
2019-01-16 23:49:00 -05:00
MikeTheWatchGuy 07fe6684f1 Support for text in PopupAnimated 2019-01-16 23:48:38 -05:00
MikeTheWatchGuy 94541fd9b8
Merge pull request #1084 from PySimpleGUI/Dev-latest
PopupAnimated!  Support for changing image source in animated image
2019-01-16 23:44:37 -05:00
MikeTheWatchGuy 8673431681 PopupAnimated! Support for changing image source in animated image 2019-01-16 23:44:21 -05:00
MikeTheWatchGuy 24eed78659
Merge pull request #1083 from PySimpleGUI/Dev-latest
Dev latest
2019-01-16 17:22:45 -05:00
MikeTheWatchGuy ee81ce64fb Button image_subsample paramter now works if no size is set 2019-01-16 17:22:15 -05:00
MikeTheWatchGuy 74060211b6 Release 3.23.0, 1.23.0 2019-01-16 17:03:13 -05:00
MikeTheWatchGuy 61e67a72ff
Merge pull request #1081 from PySimpleGUI/Dev-latest
Dev latest
2019-01-16 16:43:34 -05:00
MikeTheWatchGuy e0d3fb3f73 Calendar chooser window now stays on top of other windows 2019-01-16 16:37:29 -05:00
MikeTheWatchGuy 7a7fac519f Fonts for tables. font parameter now works 2019-01-16 16:30:49 -05:00
MikeTheWatchGuy dac1dbd084 Completed animated GIFs. Support for time_between_frames 2019-01-16 16:27:30 -05:00
MikeTheWatchGuy af94e29b2f
Merge pull request #1079 from PySimpleGUI/Dev-latest
Animated GIFs!  Fix for missing table headers.
2019-01-15 14:00:22 -05:00
MikeTheWatchGuy 607bccac64 Animated GIFs! Fix for missing table headers. 2019-01-15 13:59:44 -05:00
MikeTheWatchGuy 6ee550a8a4
Merge pull request #1076 from PySimpleGUI/Dev-latest
Dev latest
2019-01-13 12:44:54 -05:00
MikeTheWatchGuy c4ba6f35b1 Release 3.22.0 2019-01-13 12:36:52 -05:00
MikeTheWatchGuy a0a3614d66
Merge pull request #1061 from PySimpleGUI/Dev-latest
row_height parameter for Tree Elements
2019-01-10 21:46:00 -05:00
MikeTheWatchGuy e456713a6d row_height parameter for Tree Elements 2019-01-10 21:45:32 -05:00
MikeTheWatchGuy a9a537a96f
Merge pull request #1060 from PySimpleGUI/Dev-latest
Support for icons in Tree Elements! Cool!
2019-01-10 19:37:36 -05:00
MikeTheWatchGuy 493c4a2e6d Support for icons in Tree Elements! Cool! 2019-01-10 19:37:10 -05:00
MikeTheWatchGuy 11334a0ced
Merge pull request #1040 from PySimpleGUI/Dev-latest
Fix for scale not returning float values
2019-01-05 09:51:56 -05:00
MikeTheWatchGuy 0ec5aced50 Fix for scale not returning float values 2019-01-05 09:51:25 -05:00
MikeTheWatchGuy 08382a3b5e
Merge pull request #1034 from PySimpleGUI/Dev-latest
Dev latest
2019-01-04 13:41:42 -05:00
MikeTheWatchGuy b7dfccecd0 Commented out line of code because of Linux compatibility 2019-01-03 19:57:10 -05:00
MikeTheWatchGuy 9c548021d5 Output Element - Visible, Invisible supported 2019-01-03 16:10:37 -05:00
MikeTheWatchGuy 59f866e858 Added ability to change button image size in Button.Update when filename is specified 2019-01-03 12:54:33 -05:00
MikeTheWatchGuy c1ffd5c5ec Enable setting text and background colors for rows 2019-01-03 11:38:33 -05:00
MikeTheWatchGuy 6a6fcd6054 Row colors for Table Element 2019-01-03 11:18:38 -05:00
MikeTheWatchGuy c6f4c8160e
Merge pull request #1022 from deajan/icon-fix
Allow proper propagation of user defined icon in subwindows
2019-01-03 08:38:38 -05:00
MikeTheWatchGuy de26da647b
Merge pull request #1023 from deajan/findElement-allow-none
Allow to silently skip no found elements
2019-01-03 08:37:57 -05:00
MikeTheWatchGuy 8dfaa61d36 Added a few type hints 2019-01-03 08:27:17 -05:00
Orsiris de Jong 5cd4965d2a
Allow to silently skip no found elements 2019-01-03 09:26:12 +01:00
Orsiris de Jong ce669b1ba0
Allow proper propagation of user defined icon in subwindows 2019-01-03 09:22:28 +01:00
MikeTheWatchGuy a9ca26a457
Revert "Fixed default Icon not working for Popups" 2019-01-02 17:18:28 -05:00
MikeTheWatchGuy 59d2f368c2
Merge pull request #1014 from deajan/icon-fix
Fixed default Icon not working for Popups
2019-01-02 09:22:05 -05:00
MikeTheWatchGuy 32f5f83fdb
Merge pull request #1017 from PySimpleGUI/Dev-latest
Dev latest
2019-01-02 09:21:35 -05:00
MikeTheWatchGuy b4c2ab7a5e Default icon encoded as GIF 2019-01-02 09:21:04 -05:00
Orsiris de Jong 8839fce88f
Fixed default Icon not working for Popups
When setting an icon via SetOptions(icon=file), the main window uses that icon, but Popups and sub windows won't unless they're called with icon=None argument.
This propagates the user_defined_icon as default icon, unless otherwise specified.
2019-01-02 11:23:29 +01:00
MikeTheWatchGuy 791b908e17 New way to configure comboboxes (not working) 2019-01-01 14:49:14 -05:00
MikeTheWatchGuy b02518a454
Merge pull request #1011 from MikeTheWatchGuy/Dev-latest
Column element - allow width or heigt to be None so only 1 is set
2018-12-30 12:48:54 -05:00
MikeTheWatchGuy cfeb572c9d Column element - allow width or heigt to be None so only 1 is set 2018-12-30 12:48:32 -05:00
MikeTheWatchGuy 3f833d8b2f
Merge pull request #1010 from MikeTheWatchGuy/Dev-latest
Table horizontal scrollbars - control using vertical_scroll_only (def…
2018-12-30 12:37:43 -05:00
MikeTheWatchGuy 27dc30977a Table horizontal scrollbars - control using vertical_scroll_only (defaults to no horizontal scrollbar) 2018-12-30 12:37:25 -05:00
MikeTheWatchGuy 914b0ce4ff
Merge pull request #1005 from MikeTheWatchGuy/Dev-latest
Columns - continued code on specifying size
2018-12-29 20:01:13 -05:00
MikeTheWatchGuy 1bd1e9a742 Columns - continued code on specifying size 2018-12-29 20:00:49 -05:00