readme.md updated from https://stackedit.io/
This commit is contained in:
parent
eb080904da
commit
4e5e12b3d2
11
readme.md
11
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.
|
||||
<!--stackedit_data:
|
||||
eyJoaXN0b3J5IjpbMTk2MTk5ODU0Nl19
|
||||
eyJoaXN0b3J5IjpbLTExNDg0OTA2MjNdfQ==
|
||||
-->
|
Loading…
Reference in New Issue