From 4e5e12b3d2f23c47dc03528c2520251a1afe82a9 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy <13696193+MikeTheWatchGuy@users.noreply.github.com> Date: Wed, 16 Jan 2019 16:47:10 -0500 Subject: [PATCH] readme.md updated from https://stackedit.io/ --- readme.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 37dcc779..ed9f81c6 100644 --- a/readme.md +++ b/readme.md @@ -2350,15 +2350,20 @@ Parameter definitions visible - if False will create image as hidden size_px - size of image in pixels -### Image Methods +### `Update` Method -Like other Elements, the Image Element has an update method. Call Update if you want to change the image. +Like other Elements, the Image Element has an `Update` method. Call Update if you want to change the image. def Update(self, filename=None, data=None, visible=None): Choose **either** a filename or in-ram data image to use to replace current image - + +### `UpdateAnimation` Method + +Starting in version 3.23 you can specify an animated GIF as an image and can animate the GIF by calling `UpdateAnimation`. Exciting stuff. + + ## Button Element @@ -4967,5 +4972,5 @@ In the hands of a competent programmer, this tool is **amazing**. It's a must- The PySimpleGUI window that the results are shown in is an 'input' field which means you can copy and paste the results right into your code. \ No newline at end of file