Commit graph

2189 commits

Author SHA1 Message Date
Orsiris de Jong
4d137e19c4
Merge PR #1433 to avoid conflicts as same lines affected 2019-05-17 13:17:24 +02:00
Orsiris de Jong
7aa110b1fe
Multiple improvements on CalendarButton
Allow passing optional format argument (as of datetime.strftime() format given https://docs.python.org/3.6/library/datetime.html?highlight=strftime#strftime-strptime-behavior)
Also use current timestamp when updating calendar instead of 00:00:00
2019-05-17 13:11:55 +02:00
Orsiris de Jong
e35fdd8518
Allow calendar button locale
Fixes half of #977
2019-05-17 12:12:38 +02:00
PySimpleGUI
2780e20262
Merge pull request #1401 from musteresel/fix-graph-images-memleak
Fix memory leak due to Images of Graph
2019-05-15 10:16:46 -04:00
MikeTheWatchGuy
8a50dd7052
Merge pull request #1413 from PySimpleGUI/Dev-latest
Better coments.  Uses "Work ID" concept
2019-05-15 09:02:18 -04:00
MikeTheWatchGuy
a37911616f
Merge branch 'master' into Dev-latest 2019-05-15 09:02:10 -04:00
MikeTheWatchGuy
54aff5921c
Merge pull request #1412 from PySimpleGUI/pulls_go_here
Better commenting and message passing with "Work ID" checks
2019-05-15 08:58:49 -04:00
MikeTheWatchGuy
0072cef950 Better coments. Uses "Work ID" concept 2019-05-15 08:58:03 -04:00
MikeTheWatchGuy
6acdac5a96 Better commenting and message passing with "Work ID" checks 2019-05-15 08:56:56 -04:00
MikeTheWatchGuy
3f6938bd8a
Merge pull request #1410 from PySimpleGUI/Dev-latest
Dev latest
2019-05-14 20:59:55 -04:00
MikeTheWatchGuy
8c20619b2a More cleanup. Added Popup button and code. Location strings 2019-05-14 20:59:12 -04:00
MikeTheWatchGuy
d0ebb2bfa2 typo 2019-05-14 19:45:18 -04:00
MikeTheWatchGuy
ab0db14928
Merge pull request #1409 from PySimpleGUI/Dev-latest
Big assed comments
2019-05-14 19:43:07 -04:00
MikeTheWatchGuy
ce3abed7d1 Big assed comments 2019-05-14 19:40:16 -04:00
MikeTheWatchGuy
4c8535f238
Merge pull request #1408 from PySimpleGUI/Dev-latest
Lots of comments
2019-05-14 17:40:49 -04:00
MikeTheWatchGuy
3ce0e8e300 Lots of comments 2019-05-14 17:40:30 -04:00
MikeTheWatchGuy
668fef17f2
Merge pull request #1407 from PySimpleGUI/Dev-latest
Added counter to demo
2019-05-14 14:39:16 -04:00
MikeTheWatchGuy
e3286ae1f1 Added counter to demo 2019-05-14 14:38:56 -04:00
MikeTheWatchGuy
6af5d9176b
Merge pull request #1406 from PySimpleGUI/Dev-latest
New Demo program showing long tasks
2019-05-14 14:24:00 -04:00
MikeTheWatchGuy
2887887385 New Demo program showing long tasks 2019-05-14 14:23:30 -04:00
MikeTheWatchGuy
794f6cd2d9
Merge pull request #1405 from PySimpleGUI/Dev-latest
Dev latest
2019-05-14 12:56:17 -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
73861245ef
Merge pull request #1404 from PySimpleGUI/Dev-latest
New Element level method - SetToolTip.  Made a new element.Widget pro…
2019-05-14 10:07:09 -04:00
MikeTheWatchGuy
abd0caa631 New Element level method - SetToolTip. Made a new element.Widget property 2019-05-14 09:28:33 -04:00
Daniel Jour
78c84b9f8f Fix memory leak due to Images of Graph (PySimpleGui27)
- 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:51:23 +02:00
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
7bfa71acda
Merge pull request #1400 from PySimpleGUI/Dev-latest
Expanded Menu Element Definition to include colors
2019-05-12 15:25:37 -04:00
MikeTheWatchGuy
c5080b8d42 Expanded Menu Element Definition to include colors 2019-05-12 14:05:57 -04:00
MikeTheWatchGuy
fe62360cf8
Merge pull request #1396 from PySimpleGUI/Dev-latest
Menus!
2019-05-11 15:19:20 -04:00
MikeTheWatchGuy
7e3b7433cb Menus! 2019-05-11 15:19:01 -04:00
MikeTheWatchGuy
5811a43353
Merge pull request #1395 from PySimpleGUI/Dev-latest
Made DEFAULT_ICON a GIF so that version 2.7 loads correctly. Made Com…
2019-05-11 07:52:39 -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
70efa14d5c
Merge pull request #1394 from PySimpleGUI/Dev-latest
Addition of Button.Click() method
2019-05-11 07:02:47 -04:00
MikeTheWatchGuy
845e5ce620 Addition of Button.Click() method 2019-05-11 07:02:25 -04:00
MikeTheWatchGuy
c947e506f8
Merge pull request #1390 from PySimpleGUI/Dev-latest
Tabs and Menu support being worked on.
2019-05-10 15:18:23 -04:00
MikeTheWatchGuy
535c18890e Tabs and Menu support being worked on. 2019-05-10 12:38:06 -04:00
MikeTheWatchGuy
bf76e23b7a
Merge pull request #1388 from PySimpleGUI/Dev-latest
New Window parameter - hide_vertical_scroll, fix for Popup's hard cod…
2019-05-10 11:13:28 -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
1706c9ee5c
Merge pull request #1386 from PySimpleGUI/Dev-latest
Dev latest
2019-05-09 10:12:59 -04:00
MikeTheWatchGuy
73f0ebe02a Correctly handle transparent rectangles. Make Crosswork demo run on Web. 2019-05-09 10:12:38 -04:00
MikeTheWatchGuy
16d96109a7 Ver 0.27.0 released 2019-05-08 15:24:30 -04:00
MikeTheWatchGuy
823dac6cc8
Merge pull request #1384 from PySimpleGUI/Dev-latest
Dev latest
2019-05-08 14:54:30 -04:00
MikeTheWatchGuy
89c060884e Fix for draw rectangle 2019-05-08 14:53:06 -04:00
MikeTheWatchGuy
f52f188b4f Option to run on PySimpleGUI or PySimpleGUIWeb, Added Slider display 2019-05-08 14:52:56 -04:00
MikeTheWatchGuy
d70c1b3ae6
Merge pull request #1382 from PySimpleGUI/Dev-latest
EraseFigure works!  Beginnings of Tabs are working
2019-05-08 12:42:37 -04:00
MikeTheWatchGuy
653d4084ff EraseFigure works! Beginnings of Tabs are working 2019-05-08 12:42:13 -04:00
MikeTheWatchGuy
5ed6b4f50e
Merge pull request #1381 from PySimpleGUI/Dev-latest
Fixed DrawRectangle, still struggleing with DeleteFigure
2019-05-07 15:22:58 -04:00
MikeTheWatchGuy
548c69317c Fixed DrawRectangle, still struggleing with DeleteFigure 2019-05-07 15:18:06 -04:00
MikeTheWatchGuy
9c1a0349d0
Merge pull request #1376 from PySimpleGUI/Dev-latest
Changed icon from string to bytes (again), changed load function to l…
2019-05-05 10:19:25 -04:00