Merge pull request #5510 from PySimpleGUI/Dev-latest

Fixed Spin element docstring - readonly was incorrect
This commit is contained in:
PySimpleGUI 2022-05-26 05:38:51 -04:00 committed by GitHub
commit 24bde45954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3 #!/usr/bin/python3
version = __version__ = "4.60.0.10 Unreleased" version = __version__ = "4.60.0.11 Unreleased"
_change_log = """ _change_log = """
Changelog since 4.60.0 released to PyPI on 8-May-2022 Changelog since 4.60.0 released to PyPI on 8-May-2022
@ -31,6 +31,8 @@ _change_log = """
4.60.0.10 4.60.0.10
Added wrap parameter to Spin element - if True, wraps back to the first value when at the end Added wrap parameter to Spin element - if True, wraps back to the first value when at the end
Temp test code added for a new verification feature Temp test code added for a new verification feature
4.60.0.11
Fixed Spin Element docstring - readonly was not correct
""" """
__version__ = version.split()[0] # For PEP 396 and PEP 345 __version__ = version.split()[0] # For PEP 396 and PEP 345
@ -3104,7 +3106,7 @@ class Spin(Element):
:type change_submits: (bool) :type change_submits: (bool)
:param enable_events: Turns on the element specific events. Spin events happen when an item changes :param enable_events: Turns on the element specific events. Spin events happen when an item changes
:type enable_events: (bool) :type enable_events: (bool)
:param readonly: Turns on the element specific events. Spin events happen when an item changes :param readonly: If True, then users cannot type in values. Only values from the values list are allowed.
:type readonly: (bool) :type readonly: (bool)
:param size: (w, h) w=characters-wide, h=rows-high. If an int instead of a tuple is supplied, then height is auto-set to 1 :param size: (w, h) w=characters-wide, h=rows-high. If an int instead of a tuple is supplied, then height is auto-set to 1
:type size: (int, int) | (None, None) | int :type size: (int, int) | (None, None) | int