Addition of Thonny to editor strings, fix in button color conversion code.
This commit is contained in:
parent
59842c5ddd
commit
3613701c11
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
version = __version__ = "4.34.0.38 Unreleased\nSDK Help Expanded to init & update parms, SDK Help function search, files_delimiter added to FilesBrowse & popup_get_file, SDK help sort by case, popup_get_file fixed default_extension not being passed to button correctly, changed themes so that spaces can be used in defined name, addition of subprocess non-blocking launcher, fix for Debug button color, set_option for default user_settings path to override normal default, define a truly global PySimpleGUI settings path, theme_global() gets the theme for all progams, execute_subprocess_nonblocking bug fix, mark when strout/stderr is restored in multiline elem, Listbox element convert values to list when updated, Column will expand row if y expand set to True, Added color/c parm to debug print, update graph coordinates if a user bound event happens, another attempt at graphs with user events, update mouse location when right click menu item selected, links added to SDK help, checkbox checkbox color parm added, radio button circle color added, SDK help enable toggle summary, Slider trough_color parm, new emojis! Input.update password_char added, erase_all option added to Print, removed use of Output Element from Debug Print window (100% Multiline now), moved path_stem so will be private, fixed popup bug when custom buttons used, fixed Spin.update bug when changing disabled, OptionMenu no longer set a default if none specified, Combo update bug fix for when default was previously specified, Combo - make autosize 1 char wider, OptionMenu correct font and colors for list when shown, added size parm to Combo and OptionMenu update, fixed syntax errors happening on Pi with Python 3.4, update TRANSPARENT_BUTTON colors when theme changes, new button behavior - if button is disabled ignore clicks, disable modal windows if on a Mac, added call to tkroot.update() when closing window - fixes problem on Linux with Print window, new disabled value for Buttons when creating and updating - set disabled=BUTTON_DISABLED_MEANS_IGNORE, button colors reworked - better error checking and handling of single colors, debug Print auto refreshes the Multline line, initial set of 'execute' APIs, first of the Take me to Error popups, removed debug info, button color strings to lower, toolstips for editor strings, autofill editor strings for 10 IDEs, error box stays open during launch now so the error is on the screen, new happy emojis"
|
version = __version__ = "4.34.0.39 Unreleased\nSDK Help Expanded to init & update parms, SDK Help function search, files_delimiter added to FilesBrowse & popup_get_file, SDK help sort by case, popup_get_file fixed default_extension not being passed to button correctly, changed themes so that spaces can be used in defined name, addition of subprocess non-blocking launcher, fix for Debug button color, set_option for default user_settings path to override normal default, define a truly global PySimpleGUI settings path, theme_global() gets the theme for all progams, execute_subprocess_nonblocking bug fix, mark when strout/stderr is restored in multiline elem, Listbox element convert values to list when updated, Column will expand row if y expand set to True, Added color/c parm to debug print, update graph coordinates if a user bound event happens, another attempt at graphs with user events, update mouse location when right click menu item selected, links added to SDK help, checkbox checkbox color parm added, radio button circle color added, SDK help enable toggle summary, Slider trough_color parm, new emojis! Input.update password_char added, erase_all option added to Print, removed use of Output Element from Debug Print window (100% Multiline now), moved path_stem so will be private, fixed popup bug when custom buttons used, fixed Spin.update bug when changing disabled, OptionMenu no longer set a default if none specified, Combo update bug fix for when default was previously specified, Combo - make autosize 1 char wider, OptionMenu correct font and colors for list when shown, added size parm to Combo and OptionMenu update, fixed syntax errors happening on Pi with Python 3.4, update TRANSPARENT_BUTTON colors when theme changes, new button behavior - if button is disabled ignore clicks, disable modal windows if on a Mac, added call to tkroot.update() when closing window - fixes problem on Linux with Print window, new disabled value for Buttons when creating and updating - set disabled=BUTTON_DISABLED_MEANS_IGNORE, button colors reworked - better error checking and handling of single colors, debug Print auto refreshes the Multline line, initial set of 'execute' APIs, first of the Take me to Error popups, removed debug info, button color strings to lower, toolstips for editor strings, autofill editor strings for 10 IDEs, error box stays open during launch now so the error is on the screen, new happy emojis, added Thonny to editors, fix in the button color function"
|
||||||
|
|
||||||
__version__ = version.split()[0] # For PEP 396 and PEP 345
|
__version__ = version.split()[0] # For PEP 396 and PEP 345
|
||||||
|
|
||||||
|
@ -15013,15 +15013,15 @@ def theme_button_color(color=None):
|
||||||
:rtype: Tuple[str, str]
|
:rtype: Tuple[str, str]
|
||||||
"""
|
"""
|
||||||
if color is not None:
|
if color is not None:
|
||||||
colors = button_color_to_tuple(color, (None, None))
|
color_tuple = button_color_to_tuple(color, (None, None))
|
||||||
if colors == (None, None):
|
if color_tuple == (None, None):
|
||||||
if not SUPPRESS_ERROR_POPUPS:
|
if not SUPPRESS_ERROR_POPUPS:
|
||||||
popup_error('theme_button_color - bad color string passed in', color)
|
popup_error('theme_button_color - bad color string passed in', color)
|
||||||
else:
|
else:
|
||||||
print('** Badly formatted button color... not a tuple nor string **', color_tuple_or_string)
|
print('** Badly formatted button color... not a tuple nor string **', color)
|
||||||
set_options(button_color=color) # go ahead and try with their string
|
set_options(button_color=color) # go ahead and try with their string
|
||||||
else:
|
else:
|
||||||
set_options(button_color=colors)
|
set_options(button_color=color_tuple)
|
||||||
return DEFAULT_BUTTON_COLOR
|
return DEFAULT_BUTTON_COLOR
|
||||||
|
|
||||||
|
|
||||||
|
@ -18623,11 +18623,12 @@ def main_global_pysimplegui_settings():
|
||||||
'pycharm':'<editor> --line <line> <file>',
|
'pycharm':'<editor> --line <line> <file>',
|
||||||
'notepad++':'<editor> -n<line> <file>',
|
'notepad++':'<editor> -n<line> <file>',
|
||||||
'sublime':'<editor> <file>:<line>',
|
'sublime':'<editor> <file>:<line>',
|
||||||
'vim':' <editor> +<line> <file>',
|
'vim':'<editor> +<line> <file>',
|
||||||
'wing':'<editor> <file>:<line>',
|
'wing':'<editor> <file>:<line>',
|
||||||
'visual studio':'<editor> <file> /command "edit.goto <line>"',
|
'visual studio':'<editor> <file> /command "edit.goto <line>"',
|
||||||
'atom':'<editor> <file>:<line>',
|
'atom':'<editor> <file>:<line>',
|
||||||
'spyder':'<editor> <file>',
|
'spyder':'<editor> <file>',
|
||||||
|
'thonny':'<editor> <file>',
|
||||||
'pydev':'<editor> <file>:<line>',
|
'pydev':'<editor> <file>:<line>',
|
||||||
'idle':'<editor> <file>'}
|
'idle':'<editor> <file>'}
|
||||||
|
|
||||||
|
@ -18640,6 +18641,7 @@ def main_global_pysimplegui_settings():
|
||||||
'Visual Studio - <editor> <file> /command "edit.goto <line>"\n' + \
|
'Visual Studio - <editor> <file> /command "edit.goto <line>"\n' + \
|
||||||
'Atom - <editor> <file>:<line>\n' +\
|
'Atom - <editor> <file>:<line>\n' +\
|
||||||
'Spyder - <editor> <file>\n' +\
|
'Spyder - <editor> <file>\n' +\
|
||||||
|
'Thonny - <editor> <file>\n' +\
|
||||||
'PyDev - <editor> <file>:<line>\n' +\
|
'PyDev - <editor> <file>:<line>\n' +\
|
||||||
'IDLE - <editor> <file>\n'
|
'IDLE - <editor> <file>\n'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue