diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 667f6b51..76b95a23 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -version = __version__ = "4.61.0.178 Unreleased" +version = __version__ = "4.61.0.179 Unreleased" _change_log = """ Changelog since 4.60.0 released to PyPI on 8-May-2022 @@ -426,6 +426,8 @@ _change_log = """ Custom Titlebar - Support for disabling resizing (maximizing too), support for disable minimize and disable close 4.61.0.178 Input element - fix for bug with text color & logic wasn't quite right with the "read for disabled" stuff in the update as well as when making window + 4.61.0.179 + New Udemy coupon """ __version__ = version.split()[0] # For PEP 396 and PEP 345 @@ -26660,7 +26662,7 @@ def main(): elif event == 'Get Text': popup_scrolled('Returned:', popup_get_text('Enter some text', keep_on_top=True)) elif event.startswith('-UDEMY-'): - webbrowser.open_new_tab(r'https://www.udemy.com/course/pysimplegui/?couponCode=65DBBEA0EC4C3B093FD1') + webbrowser.open_new_tab(r'https://www.udemy.com/course/pysimplegui/?couponCode=9AF99B123C49D51EB547') elif event.startswith('-SPONSOR-'): if webbrowser_available: webbrowser.open_new_tab(r'https://www.paypal.me/pythongui') @@ -26668,7 +26670,7 @@ def main(): if webbrowser_available: webbrowser.open_new_tab(r'https://www.buymeacoffee.com/PySimpleGUI') elif event in ('-EMOJI-HEARTS-', '-HEART-', '-PYTHON HEARTS-'): - popup_scrolled("Oh look! It's a Udemy discount coupon!", '65DBBEA0EC4C3B093FD1', + popup_scrolled("Oh look! It's a Udemy discount coupon!", '9AF99B123C49D51EB547', 'A personal message from Mike -- thank you so very much for supporting PySimpleGUI!', title='Udemy Coupon', image=EMOJI_BASE64_MIKE, keep_on_top=True) elif event == 'Themes': diff --git a/docs/call reference.md b/docs/call reference.md index d2a0d727..90b18ab3 100644 --- a/docs/call reference.md +++ b/docs/call reference.md @@ -25,9 +25,9 @@ apply coupon for discount: - A2E4F6B1B75EC3D90133. + 9AF99B123C49D51EB547. - @@ -13685,15 +13685,15 @@ IMPORTANT - This method uses THREADS... this means you CANNOT make any PySimpleG the function you provide with the exception of one function, Window.write_event_value. ``` -perform_long_operation(func, end_key) +perform_long_operation(func, end_key = None) ``` Parameter Descriptions: |Type|Name|Meaning| |--|--|--| -| Any | func | A lambda or a function name with no parms | -| Any | end_key | The key that will be generated when the function returns | +| Any | func | A lambda or a function name with no parms | +| (Any or None) | end_key | Optional key that will be generated when the function returns | | threading.Thread | **RETURN** | The id of the thread ### read @@ -13907,15 +13907,15 @@ IMPORTANT - This method uses THREADS... this means you CANNOT make any PySimpleG the function you provide with the exception of one function, Window.write_event_value. ``` -start_thread(func, end_key) +start_thread(func, end_key = None) ``` Parameter Descriptions: |Type|Name|Meaning| |--|--|--| -| Any | func | A lambda or a function name with no parms | -| Any | end_key | The key that will be generated when the function returns | +| Any | func | A lambda or a function name with no parms | +| (Any or None) | end_key | Optional key that will be generated when the function returns | | threading.Thread | **RETURN** | The id of the thread ### timer_get_active_timers diff --git a/docs/cookbook.md b/docs/cookbook.md index 7c8d6778..5118cafa 100644 --- a/docs/cookbook.md +++ b/docs/cookbook.md @@ -25,9 +25,9 @@ apply coupon for discount: - 65DBBEA0EC4C3B093FD1 + 9AF99B123C49D51EB547 - diff --git a/docs/index.md b/docs/index.md index caca6790..fab4bdcc 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,9 +25,9 @@ apply coupon for discount: - 65DBBEA0EC4C3B093FD1 + 9AF99B123C49D51EB547 - diff --git a/docs/readme.md b/docs/readme.md index 56958436..4922869b 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -9,8 +9,8 @@ PySimpleGUI Udemy Course -
apply coupon for discount:
65DBBEA0EC4C3B093FD1
- click here to visit course page +
apply coupon for discount:
9AF99B123C49D51EB547
+ click here to visit course page diff --git a/readme.md b/readme.md index 56958436..4922869b 100644 --- a/readme.md +++ b/readme.md @@ -9,8 +9,8 @@ PySimpleGUI Udemy Course -
apply coupon for discount:
65DBBEA0EC4C3B093FD1
- click here to visit course page +
apply coupon for discount:
9AF99B123C49D51EB547
+ click here to visit course page diff --git a/readme_creator/markdown input files/1_HEADER_top_part.md b/readme_creator/markdown input files/1_HEADER_top_part.md index f0d043bb..35b757c7 100644 --- a/readme_creator/markdown input files/1_HEADER_top_part.md +++ b/readme_creator/markdown input files/1_HEADER_top_part.md @@ -52,9 +52,9 @@ HOW DO I INSERT IMAGES ??? apply coupon for discount: - 65DBBEA0EC4C3B093FD1 + 9AF99B123C49D51EB547 - diff --git a/readme_creator/markdown input files/5_call_reference.md b/readme_creator/markdown input files/5_call_reference.md index b1afb560..1f690a41 100644 --- a/readme_creator/markdown input files/5_call_reference.md +++ b/readme_creator/markdown input files/5_call_reference.md @@ -25,9 +25,9 @@ apply coupon for discount: - A2E4F6B1B75EC3D90133. + 9AF99B123C49D51EB547. - diff --git a/readme_creator/output/call reference.md b/readme_creator/output/call reference.md index d2a0d727..90b18ab3 100644 --- a/readme_creator/output/call reference.md +++ b/readme_creator/output/call reference.md @@ -25,9 +25,9 @@ apply coupon for discount: - A2E4F6B1B75EC3D90133. + 9AF99B123C49D51EB547. - @@ -13685,15 +13685,15 @@ IMPORTANT - This method uses THREADS... this means you CANNOT make any PySimpleG the function you provide with the exception of one function, Window.write_event_value. ``` -perform_long_operation(func, end_key) +perform_long_operation(func, end_key = None) ``` Parameter Descriptions: |Type|Name|Meaning| |--|--|--| -| Any | func | A lambda or a function name with no parms | -| Any | end_key | The key that will be generated when the function returns | +| Any | func | A lambda or a function name with no parms | +| (Any or None) | end_key | Optional key that will be generated when the function returns | | threading.Thread | **RETURN** | The id of the thread ### read @@ -13907,15 +13907,15 @@ IMPORTANT - This method uses THREADS... this means you CANNOT make any PySimpleG the function you provide with the exception of one function, Window.write_event_value. ``` -start_thread(func, end_key) +start_thread(func, end_key = None) ``` Parameter Descriptions: |Type|Name|Meaning| |--|--|--| -| Any | func | A lambda or a function name with no parms | -| Any | end_key | The key that will be generated when the function returns | +| Any | func | A lambda or a function name with no parms | +| (Any or None) | end_key | Optional key that will be generated when the function returns | | threading.Thread | **RETURN** | The id of the thread ### timer_get_active_timers diff --git a/readme_creator/output/index.md b/readme_creator/output/index.md index caca6790..fab4bdcc 100644 --- a/readme_creator/output/index.md +++ b/readme_creator/output/index.md @@ -25,9 +25,9 @@ apply coupon for discount: - 65DBBEA0EC4C3B093FD1 + 9AF99B123C49D51EB547 -