Skip to content

Commit 18a763e

Browse files
authored
Merge pull request PySimpleGUI#4222 from PySimpleGUI/Dev-latest
Added back functions accidently removed in recent update - popup_anno…
2 parents aeca089 + ada515f commit 18a763e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

PySimpleGUI.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python3
2-
version = __version__ = "4.39.1.13 Unreleased\nfix for TCL error when scrolling col element (Jason99020 scores again!), Button error popups with trace when bad images found, addition of size parameter to TabGroup, changed where key gets set for buttons - was causing problems with buttons that set a key explicitly, fix for grraph drag events that was caused by the realtime button fix, one more fix for realtimebutton problem, Checkbox.get now returns bool, Button gets mouseover_colors parm, fix for Debug window, changed the console message when using the word default in the theme, set ColorChooser target default to match other chooser buttons, fix for SystemDefaultForReal theme right click menu, reworked the Issues GUI to fit on smaller screens, fixed extend_layout so key counter not restarted, hopefully last fix for COLOR_SYSTEM_DEFAULTS problem. New theme GrayGrayGray for those that insist"
2+
version = __version__ = "4.39.1.14 Unreleased\nfix for TCL error when scrolling col element (Jason99020 scores again!), Button error popups with trace when bad images found, addition of size parameter to TabGroup, changed where key gets set for buttons - was causing problems with buttons that set a key explicitly, fix for grraph drag events that was caused by the realtime button fix, one more fix for realtimebutton problem, Checkbox.get now returns bool, Button gets mouseover_colors parm, fix for Debug window, changed the console message when using the word default in the theme, set ColorChooser target default to match other chooser buttons, fix for SystemDefaultForReal theme right click menu, reworked the Issues GUI to fit on smaller screens, fixed extend_layout so key counter not restarted, hopefully last fix for COLOR_SYSTEM_DEFAULTS problem. New theme GrayGrayGray for those that insist, added back popup_annoying, popup_no_border, popup_no_frame, popup_no_wait, popup_timed, sgprint, sgprint_close"
33

44
__version__ = version.split()[0] # For PEP 396 and PEP 345
55

@@ -14417,12 +14417,6 @@ def Close(self):
1441714417
self.window = None
1441814418

1441914419

14420-
def PrintClose():
14421-
"""
14422-
Close a previously opened EasyPrint window
14423-
"""
14424-
EasyPrintClose()
14425-
1442614420

1442714421
def easy_print(*args, size=(None, None), end=None, sep=None, location=(None, None), font=None, no_titlebar=False,
1442814422
no_button=False, grab_anywhere=False, keep_on_top=False, do_not_reroute_stdout=True, text_color=None, background_color=None, colors=None, c=None, erase_all=False):
@@ -20275,6 +20269,9 @@ def main():
2027520269
EasyPrint = easy_print
2027620270
Print = easy_print
2027720271
eprint = easy_print
20272+
sgprint = easy_print
20273+
PrintClose = easy_print_close
20274+
sgprint_close = easy_print_close
2027820275
EasyPrintClose = easy_print_close
2027920276
FillFormWithValues = fill_form_with_values
2028020277
GetComplimentaryHex = get_complimentary_hex
@@ -20285,8 +20282,11 @@ def main():
2028520282
OneLineProgressMeterCancel = one_line_progress_meter_cancel
2028620283
Popup = popup
2028720284
PopupNoFrame = popup_no_titlebar
20285+
popup_no_frame = popup_no_titlebar
2028820286
PopupNoBorder = popup_no_titlebar
20287+
popup_no_border = popup_no_titlebar
2028920288
PopupAnnoying = popup_no_titlebar
20289+
popup_annoying = popup_no_titlebar
2029020290
PopupAnimated = popup_animated
2029120291
PopupAutoClose = popup_auto_close
2029220292
PopupCancel = popup_cancel
@@ -20297,24 +20297,24 @@ def main():
2029720297
PopupNoButtons = popup_no_buttons
2029820298
PopupNoTitlebar = popup_no_titlebar
2029920299
PopupNoWait = popup_non_blocking
20300+
popup_no_wait = popup_non_blocking
2030020301
PopupNonBlocking = popup_non_blocking
2030120302
PopupOK = popup_ok
2030220303
PopupOKCancel = popup_ok_cancel
2030320304
PopupQuick = popup_quick
2030420305
PopupQuickMessage = popup_quick_message
2030520306
PopupScrolled = popup_scrolled
2030620307
PopupTimed = popup_auto_close
20308+
popup_timed = popup_auto_close
2030720309
PopupYesNo = popup_yes_no
20308-
Print = easy_print
20309-
PrintClose = easy_print_close
20310+
2031020311
RGB = rgb
2031120312
SetGlobalIcon = set_global_icon
2031220313
SetOptions = set_options
2031320314
sprint = popup_scrolled
2031420315
ScrolledTextBox = popup_scrolled
2031520316
TimerStart = timer_start
2031620317
TimerStop = timer_stop
20317-
2031820318
test = main
2031920319
sdk_help = main_sdk_help
2032020320

0 commit comments

Comments
 (0)