Release 4.30.0
This commit is contained in:
parent
f45c18e697
commit
7e05146400
3 changed files with 573 additions and 111 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/python3
|
||||
version = __version__ = "4.29.0.19 Unreleased\nAdded shink parameter to pin, added variable Window.maximized, added main_sdk_help_window function, theme DarkGrey10 added, no longer setting highlight thickness to 0 for buttons so that focus can be seen, new themes DarkGrey11 DarkGrey12 DarkGrey13 DarkGrey14, new user_settings APIs, added text parameter to Radio.update, echo_stdout_stderr parm added to Multiline and Output elements, added DarkBrown7 theme, user settings delete function, ver shortened version string, modal docstring fix in some popups, image parameter implemented in popup_scrolled, added Radio background & text colors to update, removed pad parms from DrawImage, added user_settings_file_exists, fixed blank entry with main program's theme previewer, added Python theme, added Window.set_min_size, error message function for soft errors, focus indicator for Button Checkbox Radio using highlights, added Window to SDK reference window, added theme swatch previewer"
|
||||
version = __version__ = "4.30.0 Released 15-Oct-2020"
|
||||
|
||||
# The shortened version of version
|
||||
try:
|
||||
|
@ -3084,7 +3084,7 @@ class Button(Element):
|
|||
:param auto_size_button: if True the button size is sized to fit the text
|
||||
:type auto_size_button: (bool)
|
||||
:param button_color: of button. Easy to remember which is which if you say "ON" between colors. "red" on "green".
|
||||
:type button_color: Tuple[str, str] or str
|
||||
:type button_color: Tuple[str, str] or str or None
|
||||
:param disabled_button_color: colors to use when button is disabled (text, background). Use None for a color if don't want to change. Only ttk buttons support both text and background colors. tk buttons only support changing text color
|
||||
:type disabled_button_color: Tuple[str, str]
|
||||
:param highlight_colors: colors to use when button has focus (highlight, background). None will use computed colors. Only used by Linux and only for non-TTK button
|
||||
|
@ -17443,7 +17443,7 @@ class _Debugger():
|
|||
[Button('', image_data=red_x, key='_EXIT_', button_color=None), ]]
|
||||
|
||||
# ------------------------------- Create main window -------------------------------
|
||||
window = Window("PySimpleGUI Debugger", layout, icon=PSGDebugLogo, margins=(0, 0), location=location)
|
||||
window = Window("PySimpleGUI Debugger", layout, icon=PSGDebugLogo, margins=(0, 0), location=location, keep_on_top=True)
|
||||
|
||||
Window._read_call_from_debugger = True
|
||||
window.finalize()
|
||||
|
@ -18180,6 +18180,10 @@ def _upgrade_gui():
|
|||
popup_quick_message('Cancelled upgrade\nNothing overwritten', background_color='red', text_color='white', keep_on_top=True, non_blocking=False)
|
||||
|
||||
def main_sdk_help():
|
||||
"""
|
||||
Display a window that will display the docstrings for each PySimpleGUI Element and the Window object
|
||||
|
||||
"""
|
||||
|
||||
element_classes = Element.__subclasses__()
|
||||
element_names = {element.__name__: element for element in element_classes}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue