Commit graph

473 commits

Author SHA1 Message Date
Daniel Jour
bdaf9503ee Fix memory leak due to Images of Graph
- Graph used a list self.Images to which new images where appended on
   DrawImage.  Neither in DeleteFigure nor in Erase were any elements
   removed from that list.  Thus any added image was kept in memory as
   long as the corresponding Graph was; even if it wasn't used
   anymore.

 - Even though self.Images is not referred to in any other way,
   removing the list completely does not work; the result
   is that no images are drawn on the Graph.

 - The implemented solution uses a dictionary (id -> image) to keep
   only used images in self.Images.
2019-05-13 22:32:29 +02: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