From f405e9488c5201bebe189abd4c445700cd2f9c8e Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Fri, 22 Jul 2022 15:23:08 -0400 Subject: [PATCH] New coupon + latest SDK changes on GitHub picked up --- docs/call reference.md | 262 +++++++++--------- docs/cookbook.md | 4 +- docs/index.md | 4 +- docs/readme.md | 4 +- readme.md | 4 +- .../markdown input files/1_HEADER_top_part.md | 4 +- readme_creator/output/call reference.md | 262 +++++++++--------- readme_creator/output/index.md | 4 +- 8 files changed, 280 insertions(+), 268 deletions(-) diff --git a/docs/call reference.md b/docs/call reference.md index bc1945cb..7fe4d38b 100644 --- a/docs/call reference.md +++ b/docs/call reference.md @@ -19856,76 +19856,79 @@ set_options(icon = None, sbar_arrow_width = None, sbar_frame_color = None, sbar_relief = None, - alpha_channel = None) + alpha_channel = None, + hide_window_when_creating = None) ``` Parameter Descriptions: |Type|Name|Meaning| |--|--|--| -| bytes or str | icon | Can be either a filename or Base64 value. For Windows if filename, it MUST be ICO format. For Linux, must NOT be ICO. Most portable is to use a Base64 of a PNG file. This works universally across all OS's | -| (str, str) or str | button_color | Color of the button (text, background) | -| (int, int) | element_size | element size (width, height) in characters | -| (int, int) | button_element_size | Size of button | -| (int, int) | margins | (left/right, top/bottom) tkinter margins around outsize. Amount of pixels to leave inside the window's frame around the edges before your elements are shown. | -| (int, int or (int, int),(int,int)) | element_padding | Default amount of padding to put around elements in window (left/right, top/bottom) or ((left, right), (top, bottom)) | -| bool | auto_size_text | True if the Widget should be shrunk to exactly fit the number of chars to show | -| bool | auto_size_buttons | True if Buttons in this Window should be sized to exactly fit the text on this. | -| (str or (str, int[, str]) or None) | font | specifies the font family, size, etc. Tuple or Single string format 'name size styles'. Styles: italic * roman bold normal underline overstrike | -| int | border_width | width of border around element | -| int | slider_border_width | Width of the border around sliders | -| str | slider_relief | Type of relief to use for sliders | -| ??? | slider_orientation | ??? | -| ??? | autoclose_time | ??? | -| ??? | message_box_line_width | ??? | -| ??? | progress_meter_border_depth | ??? | -| ??? | progress_meter_style | You can no longer set a progress bar style. All ttk styles must be the same for the window | -| ??? | progress_meter_relief | | -| ??? | progress_meter_color | ??? | -| ??? | progress_meter_size | ??? | -| 'left' or 'right' or 'center' | text_justification | Default text justification for all Text Elements in window | -| str | background_color | color of background | -| str | element_background_color | element background color | -| str | text_element_background_color | text element background color | -| str | input_elements_background_color | Default color to use for the background of input elements | -| str | input_text_color | Default color to use for the text for Input elements | -| str | scrollbar_color | Default color to use for the slider trough | -| str | text_color | color of the text | -| str | element_text_color | Default color to use for Text elements | -| (int, int) | debug_win_size | window size | -| (int, int) or None | window_location | Default location to place windows. Not setting will center windows on the display | -| ??? | error_button_color | (Default = (None)) | -| int | tooltip_time | time in milliseconds to wait before showing a tooltip. Default is 400ms | -| str or Tuple[str, int] or Tuple[str, int, str] | tooltip_font | font to use for all tooltips | -| bool | use_ttk_buttons | if True will cause all buttons to be ttk buttons | -| str | ttk_theme | Theme to use with ttk widgets. Choices (on Windows) include - 'default', 'winnative', 'clam', 'alt', 'classic', 'vista', 'xpnative' | -| bool | suppress_error_popups | If True then error popups will not be shown if generated internally to PySimpleGUI | -| bool | suppress_raise_key_errors | If True then key errors won't be raised (you'll still get popup error) | -| bool | suppress_key_guessing | If True then key errors won't try and find closest matches for you | -| bool | warn_button_key_duplicates | If True then duplicate Button Keys generate warnings (not recommended as they're expected) | -| bool | enable_treeview_869_patch | If True, then will use the treeview color patch for tk 8.6.9 | -| bool | enable_mac_notitlebar_patch | If True then Windows with no titlebar use an alternative technique when tkinter version < 8.6.10 | -| bool | use_custom_titlebar | If True then a custom titlebar is used instead of the normal system titlebar | -| str or None | titlebar_background_color | If custom titlebar indicated by use_custom_titlebar, then use this as background color | -| str or None | titlebar_text_color | If custom titlebar indicated by use_custom_titlebar, then use this as text color | -| (str or (str, int[, str]) or None) or None | titlebar_font | If custom titlebar indicated by use_custom_titlebar, then use this as title font | -| bytes or str | titlebar_icon | If custom titlebar indicated by use_custom_titlebar, then use this as the icon (file or base64 bytes) | -| str | user_settings_path | default path for user_settings API calls. Expanded with os.path.expanduser so can contain ~ to represent user | -| str | pysimplegui_settings_path | default path for the global PySimpleGUI user_settings | -| str | pysimplegui_settings_filename | default filename for the global PySimpleGUI user_settings | -| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True | -| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) | -| float | scaling | Sets the default scaling for all windows including popups, etc. | -| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows (unless they've been set to FORCED using another option) | -| bool | force_modal_windows | If True then all windows will be modal (the disable option will be ignored... all windows will be forced to be modal) | -| ((None, None) or (int, int)) | tooltip_offset | Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered. | -| str | sbar_trough_color | Scrollbar color of the trough | -| str | sbar_background_color | Scrollbar color of the background of the arrow buttons at the ends AND the color of the "thumb" (the thing you grab and slide). Switches to arrow color when mouse is over | -| str | sbar_arrow_color | Scrollbar color of the arrow at the ends of the scrollbar (it looks like a button). Switches to background color when mouse is over | -| int | sbar_width | Scrollbar width in pixels | -| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar | -| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) | -| type sbar_relief: (str) | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID :param alpha_channel Default alpha channel to be used on all windows | +| bytes or str | icon | Can be either a filename or Base64 value. For Windows if filename, it MUST be ICO format. For Linux, must NOT be ICO. Most portable is to use a Base64 of a PNG file. This works universally across all OS's | +| (str, str) or str | button_color | Color of the button (text, background) | +| (int, int) | element_size | element size (width, height) in characters | +| (int, int) | button_element_size | Size of button | +| (int, int) | margins | (left/right, top/bottom) tkinter margins around outsize. Amount of pixels to leave inside the window's frame around the edges before your elements are shown. | +| (int, int or (int, int),(int,int)) | element_padding | Default amount of padding to put around elements in window (left/right, top/bottom) or ((left, right), (top, bottom)) | +| bool | auto_size_text | True if the Widget should be shrunk to exactly fit the number of chars to show | +| bool | auto_size_buttons | True if Buttons in this Window should be sized to exactly fit the text on this. | +| (str or (str, int[, str]) or None) | font | specifies the font family, size, etc. Tuple or Single string format 'name size styles'. Styles: italic * roman bold normal underline overstrike | +| int | border_width | width of border around element | +| int | slider_border_width | Width of the border around sliders | +| str | slider_relief | Type of relief to use for sliders | +| ??? | slider_orientation | ??? | +| ??? | autoclose_time | ??? | +| ??? | message_box_line_width | ??? | +| ??? | progress_meter_border_depth | ??? | +| ??? | progress_meter_style | You can no longer set a progress bar style. All ttk styles must be the same for the window | +| ??? | progress_meter_relief | | +| ??? | progress_meter_color | ??? | +| ??? | progress_meter_size | ??? | +| 'left' or 'right' or 'center' | text_justification | Default text justification for all Text Elements in window | +| str | background_color | color of background | +| str | element_background_color | element background color | +| str | text_element_background_color | text element background color | +| str | input_elements_background_color | Default color to use for the background of input elements | +| str | input_text_color | Default color to use for the text for Input elements | +| str | scrollbar_color | Default color to use for the slider trough | +| str | text_color | color of the text | +| str | element_text_color | Default color to use for Text elements | +| (int, int) | debug_win_size | window size | +| (int, int) or None | window_location | Default location to place windows. Not setting will center windows on the display | +| ??? | error_button_color | (Default = (None)) | +| int | tooltip_time | time in milliseconds to wait before showing a tooltip. Default is 400ms | +| str or Tuple[str, int] or Tuple[str, int, str] | tooltip_font | font to use for all tooltips | +| bool | use_ttk_buttons | if True will cause all buttons to be ttk buttons | +| str | ttk_theme | Theme to use with ttk widgets. Choices (on Windows) include - 'default', 'winnative', 'clam', 'alt', 'classic', 'vista', 'xpnative' | +| bool | suppress_error_popups | If True then error popups will not be shown if generated internally to PySimpleGUI | +| bool | suppress_raise_key_errors | If True then key errors won't be raised (you'll still get popup error) | +| bool | suppress_key_guessing | If True then key errors won't try and find closest matches for you | +| bool | warn_button_key_duplicates | If True then duplicate Button Keys generate warnings (not recommended as they're expected) | +| bool | enable_treeview_869_patch | If True, then will use the treeview color patch for tk 8.6.9 | +| bool | enable_mac_notitlebar_patch | If True then Windows with no titlebar use an alternative technique when tkinter version < 8.6.10 | +| bool | use_custom_titlebar | If True then a custom titlebar is used instead of the normal system titlebar | +| str or None | titlebar_background_color | If custom titlebar indicated by use_custom_titlebar, then use this as background color | +| str or None | titlebar_text_color | If custom titlebar indicated by use_custom_titlebar, then use this as text color | +| (str or (str, int[, str]) or None) or None | titlebar_font | If custom titlebar indicated by use_custom_titlebar, then use this as title font | +| bytes or str | titlebar_icon | If custom titlebar indicated by use_custom_titlebar, then use this as the icon (file or base64 bytes) | +| str | user_settings_path | default path for user_settings API calls. Expanded with os.path.expanduser so can contain ~ to represent user | +| str | pysimplegui_settings_path | default path for the global PySimpleGUI user_settings | +| str | pysimplegui_settings_filename | default filename for the global PySimpleGUI user_settings | +| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True | +| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) | +| float | scaling | Sets the default scaling for all windows including popups, etc. | +| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows (unless they've been set to FORCED using another option) | +| bool | force_modal_windows | If True then all windows will be modal (the disable option will be ignored... all windows will be forced to be modal) | +| ((None, None) or (int, int)) | tooltip_offset | Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered. | +| str | sbar_trough_color | Scrollbar color of the trough | +| str | sbar_background_color | Scrollbar color of the background of the arrow buttons at the ends AND the color of the "thumb" (the thing you grab and slide). Switches to arrow color when mouse is over | +| str | sbar_arrow_color | Scrollbar color of the arrow at the ends of the scrollbar (it looks like a button). Switches to background color when mouse is over | +| int | sbar_width | Scrollbar width in pixels | +| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar | +| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) | +| str | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID | +| return: None | alpha_channel Default alpha channel to be used on all windows + | type alpha_channel (float) :param hide_window_when_creating If True then alpha will be set to 0 while a window is made and moved to location indicated | | None | **RETURN** | None ### Non PEP8 versions @@ -20007,76 +20010,79 @@ SetOptions(icon = None, sbar_arrow_width = None, sbar_frame_color = None, sbar_relief = None, - alpha_channel = None) + alpha_channel = None, + hide_window_when_creating = None) ``` Parameter Descriptions: |Type|Name|Meaning| |--|--|--| -| bytes or str | icon | Can be either a filename or Base64 value. For Windows if filename, it MUST be ICO format. For Linux, must NOT be ICO. Most portable is to use a Base64 of a PNG file. This works universally across all OS's | -| (str, str) or str | button_color | Color of the button (text, background) | -| (int, int) | element_size | element size (width, height) in characters | -| (int, int) | button_element_size | Size of button | -| (int, int) | margins | (left/right, top/bottom) tkinter margins around outsize. Amount of pixels to leave inside the window's frame around the edges before your elements are shown. | -| (int, int or (int, int),(int,int)) | element_padding | Default amount of padding to put around elements in window (left/right, top/bottom) or ((left, right), (top, bottom)) | -| bool | auto_size_text | True if the Widget should be shrunk to exactly fit the number of chars to show | -| bool | auto_size_buttons | True if Buttons in this Window should be sized to exactly fit the text on this. | -| (str or (str, int[, str]) or None) | font | specifies the font family, size, etc. Tuple or Single string format 'name size styles'. Styles: italic * roman bold normal underline overstrike | -| int | border_width | width of border around element | -| int | slider_border_width | Width of the border around sliders | -| str | slider_relief | Type of relief to use for sliders | -| ??? | slider_orientation | ??? | -| ??? | autoclose_time | ??? | -| ??? | message_box_line_width | ??? | -| ??? | progress_meter_border_depth | ??? | -| ??? | progress_meter_style | You can no longer set a progress bar style. All ttk styles must be the same for the window | -| ??? | progress_meter_relief | | -| ??? | progress_meter_color | ??? | -| ??? | progress_meter_size | ??? | -| 'left' or 'right' or 'center' | text_justification | Default text justification for all Text Elements in window | -| str | background_color | color of background | -| str | element_background_color | element background color | -| str | text_element_background_color | text element background color | -| str | input_elements_background_color | Default color to use for the background of input elements | -| str | input_text_color | Default color to use for the text for Input elements | -| str | scrollbar_color | Default color to use for the slider trough | -| str | text_color | color of the text | -| str | element_text_color | Default color to use for Text elements | -| (int, int) | debug_win_size | window size | -| (int, int) or None | window_location | Default location to place windows. Not setting will center windows on the display | -| ??? | error_button_color | (Default = (None)) | -| int | tooltip_time | time in milliseconds to wait before showing a tooltip. Default is 400ms | -| str or Tuple[str, int] or Tuple[str, int, str] | tooltip_font | font to use for all tooltips | -| bool | use_ttk_buttons | if True will cause all buttons to be ttk buttons | -| str | ttk_theme | Theme to use with ttk widgets. Choices (on Windows) include - 'default', 'winnative', 'clam', 'alt', 'classic', 'vista', 'xpnative' | -| bool | suppress_error_popups | If True then error popups will not be shown if generated internally to PySimpleGUI | -| bool | suppress_raise_key_errors | If True then key errors won't be raised (you'll still get popup error) | -| bool | suppress_key_guessing | If True then key errors won't try and find closest matches for you | -| bool | warn_button_key_duplicates | If True then duplicate Button Keys generate warnings (not recommended as they're expected) | -| bool | enable_treeview_869_patch | If True, then will use the treeview color patch for tk 8.6.9 | -| bool | enable_mac_notitlebar_patch | If True then Windows with no titlebar use an alternative technique when tkinter version < 8.6.10 | -| bool | use_custom_titlebar | If True then a custom titlebar is used instead of the normal system titlebar | -| str or None | titlebar_background_color | If custom titlebar indicated by use_custom_titlebar, then use this as background color | -| str or None | titlebar_text_color | If custom titlebar indicated by use_custom_titlebar, then use this as text color | -| (str or (str, int[, str]) or None) or None | titlebar_font | If custom titlebar indicated by use_custom_titlebar, then use this as title font | -| bytes or str | titlebar_icon | If custom titlebar indicated by use_custom_titlebar, then use this as the icon (file or base64 bytes) | -| str | user_settings_path | default path for user_settings API calls. Expanded with os.path.expanduser so can contain ~ to represent user | -| str | pysimplegui_settings_path | default path for the global PySimpleGUI user_settings | -| str | pysimplegui_settings_filename | default filename for the global PySimpleGUI user_settings | -| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True | -| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) | -| float | scaling | Sets the default scaling for all windows including popups, etc. | -| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows (unless they've been set to FORCED using another option) | -| bool | force_modal_windows | If True then all windows will be modal (the disable option will be ignored... all windows will be forced to be modal) | -| ((None, None) or (int, int)) | tooltip_offset | Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered. | -| str | sbar_trough_color | Scrollbar color of the trough | -| str | sbar_background_color | Scrollbar color of the background of the arrow buttons at the ends AND the color of the "thumb" (the thing you grab and slide). Switches to arrow color when mouse is over | -| str | sbar_arrow_color | Scrollbar color of the arrow at the ends of the scrollbar (it looks like a button). Switches to background color when mouse is over | -| int | sbar_width | Scrollbar width in pixels | -| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar | -| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) | -| type sbar_relief: (str) | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID :param alpha_channel Default alpha channel to be used on all windows | +| bytes or str | icon | Can be either a filename or Base64 value. For Windows if filename, it MUST be ICO format. For Linux, must NOT be ICO. Most portable is to use a Base64 of a PNG file. This works universally across all OS's | +| (str, str) or str | button_color | Color of the button (text, background) | +| (int, int) | element_size | element size (width, height) in characters | +| (int, int) | button_element_size | Size of button | +| (int, int) | margins | (left/right, top/bottom) tkinter margins around outsize. Amount of pixels to leave inside the window's frame around the edges before your elements are shown. | +| (int, int or (int, int),(int,int)) | element_padding | Default amount of padding to put around elements in window (left/right, top/bottom) or ((left, right), (top, bottom)) | +| bool | auto_size_text | True if the Widget should be shrunk to exactly fit the number of chars to show | +| bool | auto_size_buttons | True if Buttons in this Window should be sized to exactly fit the text on this. | +| (str or (str, int[, str]) or None) | font | specifies the font family, size, etc. Tuple or Single string format 'name size styles'. Styles: italic * roman bold normal underline overstrike | +| int | border_width | width of border around element | +| int | slider_border_width | Width of the border around sliders | +| str | slider_relief | Type of relief to use for sliders | +| ??? | slider_orientation | ??? | +| ??? | autoclose_time | ??? | +| ??? | message_box_line_width | ??? | +| ??? | progress_meter_border_depth | ??? | +| ??? | progress_meter_style | You can no longer set a progress bar style. All ttk styles must be the same for the window | +| ??? | progress_meter_relief | | +| ??? | progress_meter_color | ??? | +| ??? | progress_meter_size | ??? | +| 'left' or 'right' or 'center' | text_justification | Default text justification for all Text Elements in window | +| str | background_color | color of background | +| str | element_background_color | element background color | +| str | text_element_background_color | text element background color | +| str | input_elements_background_color | Default color to use for the background of input elements | +| str | input_text_color | Default color to use for the text for Input elements | +| str | scrollbar_color | Default color to use for the slider trough | +| str | text_color | color of the text | +| str | element_text_color | Default color to use for Text elements | +| (int, int) | debug_win_size | window size | +| (int, int) or None | window_location | Default location to place windows. Not setting will center windows on the display | +| ??? | error_button_color | (Default = (None)) | +| int | tooltip_time | time in milliseconds to wait before showing a tooltip. Default is 400ms | +| str or Tuple[str, int] or Tuple[str, int, str] | tooltip_font | font to use for all tooltips | +| bool | use_ttk_buttons | if True will cause all buttons to be ttk buttons | +| str | ttk_theme | Theme to use with ttk widgets. Choices (on Windows) include - 'default', 'winnative', 'clam', 'alt', 'classic', 'vista', 'xpnative' | +| bool | suppress_error_popups | If True then error popups will not be shown if generated internally to PySimpleGUI | +| bool | suppress_raise_key_errors | If True then key errors won't be raised (you'll still get popup error) | +| bool | suppress_key_guessing | If True then key errors won't try and find closest matches for you | +| bool | warn_button_key_duplicates | If True then duplicate Button Keys generate warnings (not recommended as they're expected) | +| bool | enable_treeview_869_patch | If True, then will use the treeview color patch for tk 8.6.9 | +| bool | enable_mac_notitlebar_patch | If True then Windows with no titlebar use an alternative technique when tkinter version < 8.6.10 | +| bool | use_custom_titlebar | If True then a custom titlebar is used instead of the normal system titlebar | +| str or None | titlebar_background_color | If custom titlebar indicated by use_custom_titlebar, then use this as background color | +| str or None | titlebar_text_color | If custom titlebar indicated by use_custom_titlebar, then use this as text color | +| (str or (str, int[, str]) or None) or None | titlebar_font | If custom titlebar indicated by use_custom_titlebar, then use this as title font | +| bytes or str | titlebar_icon | If custom titlebar indicated by use_custom_titlebar, then use this as the icon (file or base64 bytes) | +| str | user_settings_path | default path for user_settings API calls. Expanded with os.path.expanduser so can contain ~ to represent user | +| str | pysimplegui_settings_path | default path for the global PySimpleGUI user_settings | +| str | pysimplegui_settings_filename | default filename for the global PySimpleGUI user_settings | +| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True | +| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) | +| float | scaling | Sets the default scaling for all windows including popups, etc. | +| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows (unless they've been set to FORCED using another option) | +| bool | force_modal_windows | If True then all windows will be modal (the disable option will be ignored... all windows will be forced to be modal) | +| ((None, None) or (int, int)) | tooltip_offset | Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered. | +| str | sbar_trough_color | Scrollbar color of the trough | +| str | sbar_background_color | Scrollbar color of the background of the arrow buttons at the ends AND the color of the "thumb" (the thing you grab and slide). Switches to arrow color when mouse is over | +| str | sbar_arrow_color | Scrollbar color of the arrow at the ends of the scrollbar (it looks like a button). Switches to background color when mouse is over | +| int | sbar_width | Scrollbar width in pixels | +| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar | +| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) | +| str | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID | +| return: None | alpha_channel Default alpha channel to be used on all windows + | type alpha_channel (float) :param hide_window_when_creating If True then alpha will be set to 0 while a window is made and moved to location indicated | | None | **RETURN** | None ## Old Themes (Look and Feel) - Replaced by theme() diff --git a/docs/cookbook.md b/docs/cookbook.md index 86d2e053..4fb8a457 100644 --- a/docs/cookbook.md +++ b/docs/cookbook.md @@ -25,9 +25,9 @@ apply coupon for discount: - D11B305A347585E7A915 + F006AC77434776717B42 - diff --git a/docs/index.md b/docs/index.md index d1e090e7..7ab6095f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,9 +25,9 @@ apply coupon for discount: - D11B305A347585E7A915 + F006AC77434776717B42 - diff --git a/docs/readme.md b/docs/readme.md index 89aefea4..280d9704 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -9,8 +9,8 @@ PySimpleGUI Udemy Course -
apply coupon for discount:
D11B305A347585E7A915
- click here to visit course page +
apply coupon for discount:
F006AC77434776717B42
+ click here to visit course page diff --git a/readme.md b/readme.md index 89aefea4..280d9704 100644 --- a/readme.md +++ b/readme.md @@ -9,8 +9,8 @@ PySimpleGUI Udemy Course -
apply coupon for discount:
D11B305A347585E7A915
- click here to visit course page +
apply coupon for discount:
F006AC77434776717B42
+ 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 c0a19320..9d30cc98 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: - D11B305A347585E7A915 + F006AC77434776717B42 - diff --git a/readme_creator/output/call reference.md b/readme_creator/output/call reference.md index bc1945cb..7fe4d38b 100644 --- a/readme_creator/output/call reference.md +++ b/readme_creator/output/call reference.md @@ -19856,76 +19856,79 @@ set_options(icon = None, sbar_arrow_width = None, sbar_frame_color = None, sbar_relief = None, - alpha_channel = None) + alpha_channel = None, + hide_window_when_creating = None) ``` Parameter Descriptions: |Type|Name|Meaning| |--|--|--| -| bytes or str | icon | Can be either a filename or Base64 value. For Windows if filename, it MUST be ICO format. For Linux, must NOT be ICO. Most portable is to use a Base64 of a PNG file. This works universally across all OS's | -| (str, str) or str | button_color | Color of the button (text, background) | -| (int, int) | element_size | element size (width, height) in characters | -| (int, int) | button_element_size | Size of button | -| (int, int) | margins | (left/right, top/bottom) tkinter margins around outsize. Amount of pixels to leave inside the window's frame around the edges before your elements are shown. | -| (int, int or (int, int),(int,int)) | element_padding | Default amount of padding to put around elements in window (left/right, top/bottom) or ((left, right), (top, bottom)) | -| bool | auto_size_text | True if the Widget should be shrunk to exactly fit the number of chars to show | -| bool | auto_size_buttons | True if Buttons in this Window should be sized to exactly fit the text on this. | -| (str or (str, int[, str]) or None) | font | specifies the font family, size, etc. Tuple or Single string format 'name size styles'. Styles: italic * roman bold normal underline overstrike | -| int | border_width | width of border around element | -| int | slider_border_width | Width of the border around sliders | -| str | slider_relief | Type of relief to use for sliders | -| ??? | slider_orientation | ??? | -| ??? | autoclose_time | ??? | -| ??? | message_box_line_width | ??? | -| ??? | progress_meter_border_depth | ??? | -| ??? | progress_meter_style | You can no longer set a progress bar style. All ttk styles must be the same for the window | -| ??? | progress_meter_relief | | -| ??? | progress_meter_color | ??? | -| ??? | progress_meter_size | ??? | -| 'left' or 'right' or 'center' | text_justification | Default text justification for all Text Elements in window | -| str | background_color | color of background | -| str | element_background_color | element background color | -| str | text_element_background_color | text element background color | -| str | input_elements_background_color | Default color to use for the background of input elements | -| str | input_text_color | Default color to use for the text for Input elements | -| str | scrollbar_color | Default color to use for the slider trough | -| str | text_color | color of the text | -| str | element_text_color | Default color to use for Text elements | -| (int, int) | debug_win_size | window size | -| (int, int) or None | window_location | Default location to place windows. Not setting will center windows on the display | -| ??? | error_button_color | (Default = (None)) | -| int | tooltip_time | time in milliseconds to wait before showing a tooltip. Default is 400ms | -| str or Tuple[str, int] or Tuple[str, int, str] | tooltip_font | font to use for all tooltips | -| bool | use_ttk_buttons | if True will cause all buttons to be ttk buttons | -| str | ttk_theme | Theme to use with ttk widgets. Choices (on Windows) include - 'default', 'winnative', 'clam', 'alt', 'classic', 'vista', 'xpnative' | -| bool | suppress_error_popups | If True then error popups will not be shown if generated internally to PySimpleGUI | -| bool | suppress_raise_key_errors | If True then key errors won't be raised (you'll still get popup error) | -| bool | suppress_key_guessing | If True then key errors won't try and find closest matches for you | -| bool | warn_button_key_duplicates | If True then duplicate Button Keys generate warnings (not recommended as they're expected) | -| bool | enable_treeview_869_patch | If True, then will use the treeview color patch for tk 8.6.9 | -| bool | enable_mac_notitlebar_patch | If True then Windows with no titlebar use an alternative technique when tkinter version < 8.6.10 | -| bool | use_custom_titlebar | If True then a custom titlebar is used instead of the normal system titlebar | -| str or None | titlebar_background_color | If custom titlebar indicated by use_custom_titlebar, then use this as background color | -| str or None | titlebar_text_color | If custom titlebar indicated by use_custom_titlebar, then use this as text color | -| (str or (str, int[, str]) or None) or None | titlebar_font | If custom titlebar indicated by use_custom_titlebar, then use this as title font | -| bytes or str | titlebar_icon | If custom titlebar indicated by use_custom_titlebar, then use this as the icon (file or base64 bytes) | -| str | user_settings_path | default path for user_settings API calls. Expanded with os.path.expanduser so can contain ~ to represent user | -| str | pysimplegui_settings_path | default path for the global PySimpleGUI user_settings | -| str | pysimplegui_settings_filename | default filename for the global PySimpleGUI user_settings | -| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True | -| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) | -| float | scaling | Sets the default scaling for all windows including popups, etc. | -| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows (unless they've been set to FORCED using another option) | -| bool | force_modal_windows | If True then all windows will be modal (the disable option will be ignored... all windows will be forced to be modal) | -| ((None, None) or (int, int)) | tooltip_offset | Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered. | -| str | sbar_trough_color | Scrollbar color of the trough | -| str | sbar_background_color | Scrollbar color of the background of the arrow buttons at the ends AND the color of the "thumb" (the thing you grab and slide). Switches to arrow color when mouse is over | -| str | sbar_arrow_color | Scrollbar color of the arrow at the ends of the scrollbar (it looks like a button). Switches to background color when mouse is over | -| int | sbar_width | Scrollbar width in pixels | -| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar | -| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) | -| type sbar_relief: (str) | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID :param alpha_channel Default alpha channel to be used on all windows | +| bytes or str | icon | Can be either a filename or Base64 value. For Windows if filename, it MUST be ICO format. For Linux, must NOT be ICO. Most portable is to use a Base64 of a PNG file. This works universally across all OS's | +| (str, str) or str | button_color | Color of the button (text, background) | +| (int, int) | element_size | element size (width, height) in characters | +| (int, int) | button_element_size | Size of button | +| (int, int) | margins | (left/right, top/bottom) tkinter margins around outsize. Amount of pixels to leave inside the window's frame around the edges before your elements are shown. | +| (int, int or (int, int),(int,int)) | element_padding | Default amount of padding to put around elements in window (left/right, top/bottom) or ((left, right), (top, bottom)) | +| bool | auto_size_text | True if the Widget should be shrunk to exactly fit the number of chars to show | +| bool | auto_size_buttons | True if Buttons in this Window should be sized to exactly fit the text on this. | +| (str or (str, int[, str]) or None) | font | specifies the font family, size, etc. Tuple or Single string format 'name size styles'. Styles: italic * roman bold normal underline overstrike | +| int | border_width | width of border around element | +| int | slider_border_width | Width of the border around sliders | +| str | slider_relief | Type of relief to use for sliders | +| ??? | slider_orientation | ??? | +| ??? | autoclose_time | ??? | +| ??? | message_box_line_width | ??? | +| ??? | progress_meter_border_depth | ??? | +| ??? | progress_meter_style | You can no longer set a progress bar style. All ttk styles must be the same for the window | +| ??? | progress_meter_relief | | +| ??? | progress_meter_color | ??? | +| ??? | progress_meter_size | ??? | +| 'left' or 'right' or 'center' | text_justification | Default text justification for all Text Elements in window | +| str | background_color | color of background | +| str | element_background_color | element background color | +| str | text_element_background_color | text element background color | +| str | input_elements_background_color | Default color to use for the background of input elements | +| str | input_text_color | Default color to use for the text for Input elements | +| str | scrollbar_color | Default color to use for the slider trough | +| str | text_color | color of the text | +| str | element_text_color | Default color to use for Text elements | +| (int, int) | debug_win_size | window size | +| (int, int) or None | window_location | Default location to place windows. Not setting will center windows on the display | +| ??? | error_button_color | (Default = (None)) | +| int | tooltip_time | time in milliseconds to wait before showing a tooltip. Default is 400ms | +| str or Tuple[str, int] or Tuple[str, int, str] | tooltip_font | font to use for all tooltips | +| bool | use_ttk_buttons | if True will cause all buttons to be ttk buttons | +| str | ttk_theme | Theme to use with ttk widgets. Choices (on Windows) include - 'default', 'winnative', 'clam', 'alt', 'classic', 'vista', 'xpnative' | +| bool | suppress_error_popups | If True then error popups will not be shown if generated internally to PySimpleGUI | +| bool | suppress_raise_key_errors | If True then key errors won't be raised (you'll still get popup error) | +| bool | suppress_key_guessing | If True then key errors won't try and find closest matches for you | +| bool | warn_button_key_duplicates | If True then duplicate Button Keys generate warnings (not recommended as they're expected) | +| bool | enable_treeview_869_patch | If True, then will use the treeview color patch for tk 8.6.9 | +| bool | enable_mac_notitlebar_patch | If True then Windows with no titlebar use an alternative technique when tkinter version < 8.6.10 | +| bool | use_custom_titlebar | If True then a custom titlebar is used instead of the normal system titlebar | +| str or None | titlebar_background_color | If custom titlebar indicated by use_custom_titlebar, then use this as background color | +| str or None | titlebar_text_color | If custom titlebar indicated by use_custom_titlebar, then use this as text color | +| (str or (str, int[, str]) or None) or None | titlebar_font | If custom titlebar indicated by use_custom_titlebar, then use this as title font | +| bytes or str | titlebar_icon | If custom titlebar indicated by use_custom_titlebar, then use this as the icon (file or base64 bytes) | +| str | user_settings_path | default path for user_settings API calls. Expanded with os.path.expanduser so can contain ~ to represent user | +| str | pysimplegui_settings_path | default path for the global PySimpleGUI user_settings | +| str | pysimplegui_settings_filename | default filename for the global PySimpleGUI user_settings | +| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True | +| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) | +| float | scaling | Sets the default scaling for all windows including popups, etc. | +| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows (unless they've been set to FORCED using another option) | +| bool | force_modal_windows | If True then all windows will be modal (the disable option will be ignored... all windows will be forced to be modal) | +| ((None, None) or (int, int)) | tooltip_offset | Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered. | +| str | sbar_trough_color | Scrollbar color of the trough | +| str | sbar_background_color | Scrollbar color of the background of the arrow buttons at the ends AND the color of the "thumb" (the thing you grab and slide). Switches to arrow color when mouse is over | +| str | sbar_arrow_color | Scrollbar color of the arrow at the ends of the scrollbar (it looks like a button). Switches to background color when mouse is over | +| int | sbar_width | Scrollbar width in pixels | +| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar | +| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) | +| str | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID | +| return: None | alpha_channel Default alpha channel to be used on all windows + | type alpha_channel (float) :param hide_window_when_creating If True then alpha will be set to 0 while a window is made and moved to location indicated | | None | **RETURN** | None ### Non PEP8 versions @@ -20007,76 +20010,79 @@ SetOptions(icon = None, sbar_arrow_width = None, sbar_frame_color = None, sbar_relief = None, - alpha_channel = None) + alpha_channel = None, + hide_window_when_creating = None) ``` Parameter Descriptions: |Type|Name|Meaning| |--|--|--| -| bytes or str | icon | Can be either a filename or Base64 value. For Windows if filename, it MUST be ICO format. For Linux, must NOT be ICO. Most portable is to use a Base64 of a PNG file. This works universally across all OS's | -| (str, str) or str | button_color | Color of the button (text, background) | -| (int, int) | element_size | element size (width, height) in characters | -| (int, int) | button_element_size | Size of button | -| (int, int) | margins | (left/right, top/bottom) tkinter margins around outsize. Amount of pixels to leave inside the window's frame around the edges before your elements are shown. | -| (int, int or (int, int),(int,int)) | element_padding | Default amount of padding to put around elements in window (left/right, top/bottom) or ((left, right), (top, bottom)) | -| bool | auto_size_text | True if the Widget should be shrunk to exactly fit the number of chars to show | -| bool | auto_size_buttons | True if Buttons in this Window should be sized to exactly fit the text on this. | -| (str or (str, int[, str]) or None) | font | specifies the font family, size, etc. Tuple or Single string format 'name size styles'. Styles: italic * roman bold normal underline overstrike | -| int | border_width | width of border around element | -| int | slider_border_width | Width of the border around sliders | -| str | slider_relief | Type of relief to use for sliders | -| ??? | slider_orientation | ??? | -| ??? | autoclose_time | ??? | -| ??? | message_box_line_width | ??? | -| ??? | progress_meter_border_depth | ??? | -| ??? | progress_meter_style | You can no longer set a progress bar style. All ttk styles must be the same for the window | -| ??? | progress_meter_relief | | -| ??? | progress_meter_color | ??? | -| ??? | progress_meter_size | ??? | -| 'left' or 'right' or 'center' | text_justification | Default text justification for all Text Elements in window | -| str | background_color | color of background | -| str | element_background_color | element background color | -| str | text_element_background_color | text element background color | -| str | input_elements_background_color | Default color to use for the background of input elements | -| str | input_text_color | Default color to use for the text for Input elements | -| str | scrollbar_color | Default color to use for the slider trough | -| str | text_color | color of the text | -| str | element_text_color | Default color to use for Text elements | -| (int, int) | debug_win_size | window size | -| (int, int) or None | window_location | Default location to place windows. Not setting will center windows on the display | -| ??? | error_button_color | (Default = (None)) | -| int | tooltip_time | time in milliseconds to wait before showing a tooltip. Default is 400ms | -| str or Tuple[str, int] or Tuple[str, int, str] | tooltip_font | font to use for all tooltips | -| bool | use_ttk_buttons | if True will cause all buttons to be ttk buttons | -| str | ttk_theme | Theme to use with ttk widgets. Choices (on Windows) include - 'default', 'winnative', 'clam', 'alt', 'classic', 'vista', 'xpnative' | -| bool | suppress_error_popups | If True then error popups will not be shown if generated internally to PySimpleGUI | -| bool | suppress_raise_key_errors | If True then key errors won't be raised (you'll still get popup error) | -| bool | suppress_key_guessing | If True then key errors won't try and find closest matches for you | -| bool | warn_button_key_duplicates | If True then duplicate Button Keys generate warnings (not recommended as they're expected) | -| bool | enable_treeview_869_patch | If True, then will use the treeview color patch for tk 8.6.9 | -| bool | enable_mac_notitlebar_patch | If True then Windows with no titlebar use an alternative technique when tkinter version < 8.6.10 | -| bool | use_custom_titlebar | If True then a custom titlebar is used instead of the normal system titlebar | -| str or None | titlebar_background_color | If custom titlebar indicated by use_custom_titlebar, then use this as background color | -| str or None | titlebar_text_color | If custom titlebar indicated by use_custom_titlebar, then use this as text color | -| (str or (str, int[, str]) or None) or None | titlebar_font | If custom titlebar indicated by use_custom_titlebar, then use this as title font | -| bytes or str | titlebar_icon | If custom titlebar indicated by use_custom_titlebar, then use this as the icon (file or base64 bytes) | -| str | user_settings_path | default path for user_settings API calls. Expanded with os.path.expanduser so can contain ~ to represent user | -| str | pysimplegui_settings_path | default path for the global PySimpleGUI user_settings | -| str | pysimplegui_settings_filename | default filename for the global PySimpleGUI user_settings | -| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True | -| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) | -| float | scaling | Sets the default scaling for all windows including popups, etc. | -| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows (unless they've been set to FORCED using another option) | -| bool | force_modal_windows | If True then all windows will be modal (the disable option will be ignored... all windows will be forced to be modal) | -| ((None, None) or (int, int)) | tooltip_offset | Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered. | -| str | sbar_trough_color | Scrollbar color of the trough | -| str | sbar_background_color | Scrollbar color of the background of the arrow buttons at the ends AND the color of the "thumb" (the thing you grab and slide). Switches to arrow color when mouse is over | -| str | sbar_arrow_color | Scrollbar color of the arrow at the ends of the scrollbar (it looks like a button). Switches to background color when mouse is over | -| int | sbar_width | Scrollbar width in pixels | -| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar | -| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) | -| type sbar_relief: (str) | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID :param alpha_channel Default alpha channel to be used on all windows | +| bytes or str | icon | Can be either a filename or Base64 value. For Windows if filename, it MUST be ICO format. For Linux, must NOT be ICO. Most portable is to use a Base64 of a PNG file. This works universally across all OS's | +| (str, str) or str | button_color | Color of the button (text, background) | +| (int, int) | element_size | element size (width, height) in characters | +| (int, int) | button_element_size | Size of button | +| (int, int) | margins | (left/right, top/bottom) tkinter margins around outsize. Amount of pixels to leave inside the window's frame around the edges before your elements are shown. | +| (int, int or (int, int),(int,int)) | element_padding | Default amount of padding to put around elements in window (left/right, top/bottom) or ((left, right), (top, bottom)) | +| bool | auto_size_text | True if the Widget should be shrunk to exactly fit the number of chars to show | +| bool | auto_size_buttons | True if Buttons in this Window should be sized to exactly fit the text on this. | +| (str or (str, int[, str]) or None) | font | specifies the font family, size, etc. Tuple or Single string format 'name size styles'. Styles: italic * roman bold normal underline overstrike | +| int | border_width | width of border around element | +| int | slider_border_width | Width of the border around sliders | +| str | slider_relief | Type of relief to use for sliders | +| ??? | slider_orientation | ??? | +| ??? | autoclose_time | ??? | +| ??? | message_box_line_width | ??? | +| ??? | progress_meter_border_depth | ??? | +| ??? | progress_meter_style | You can no longer set a progress bar style. All ttk styles must be the same for the window | +| ??? | progress_meter_relief | | +| ??? | progress_meter_color | ??? | +| ??? | progress_meter_size | ??? | +| 'left' or 'right' or 'center' | text_justification | Default text justification for all Text Elements in window | +| str | background_color | color of background | +| str | element_background_color | element background color | +| str | text_element_background_color | text element background color | +| str | input_elements_background_color | Default color to use for the background of input elements | +| str | input_text_color | Default color to use for the text for Input elements | +| str | scrollbar_color | Default color to use for the slider trough | +| str | text_color | color of the text | +| str | element_text_color | Default color to use for Text elements | +| (int, int) | debug_win_size | window size | +| (int, int) or None | window_location | Default location to place windows. Not setting will center windows on the display | +| ??? | error_button_color | (Default = (None)) | +| int | tooltip_time | time in milliseconds to wait before showing a tooltip. Default is 400ms | +| str or Tuple[str, int] or Tuple[str, int, str] | tooltip_font | font to use for all tooltips | +| bool | use_ttk_buttons | if True will cause all buttons to be ttk buttons | +| str | ttk_theme | Theme to use with ttk widgets. Choices (on Windows) include - 'default', 'winnative', 'clam', 'alt', 'classic', 'vista', 'xpnative' | +| bool | suppress_error_popups | If True then error popups will not be shown if generated internally to PySimpleGUI | +| bool | suppress_raise_key_errors | If True then key errors won't be raised (you'll still get popup error) | +| bool | suppress_key_guessing | If True then key errors won't try and find closest matches for you | +| bool | warn_button_key_duplicates | If True then duplicate Button Keys generate warnings (not recommended as they're expected) | +| bool | enable_treeview_869_patch | If True, then will use the treeview color patch for tk 8.6.9 | +| bool | enable_mac_notitlebar_patch | If True then Windows with no titlebar use an alternative technique when tkinter version < 8.6.10 | +| bool | use_custom_titlebar | If True then a custom titlebar is used instead of the normal system titlebar | +| str or None | titlebar_background_color | If custom titlebar indicated by use_custom_titlebar, then use this as background color | +| str or None | titlebar_text_color | If custom titlebar indicated by use_custom_titlebar, then use this as text color | +| (str or (str, int[, str]) or None) or None | titlebar_font | If custom titlebar indicated by use_custom_titlebar, then use this as title font | +| bytes or str | titlebar_icon | If custom titlebar indicated by use_custom_titlebar, then use this as the icon (file or base64 bytes) | +| str | user_settings_path | default path for user_settings API calls. Expanded with os.path.expanduser so can contain ~ to represent user | +| str | pysimplegui_settings_path | default path for the global PySimpleGUI user_settings | +| str | pysimplegui_settings_filename | default filename for the global PySimpleGUI user_settings | +| bool | keep_on_top | If True then all windows will automatically be set to keep_on_top=True | +| bool | dpi_awareness | If True then will turn on DPI awareness (Windows only at the moment) | +| float | scaling | Sets the default scaling for all windows including popups, etc. | +| bool | disable_modal_windows | If True then all windows, including popups, will not be modal windows (unless they've been set to FORCED using another option) | +| bool | force_modal_windows | If True then all windows will be modal (the disable option will be ignored... all windows will be forced to be modal) | +| ((None, None) or (int, int)) | tooltip_offset | Offset to use for tooltips as a tuple. These values will be added to the mouse location when the widget was entered. | +| str | sbar_trough_color | Scrollbar color of the trough | +| str | sbar_background_color | Scrollbar color of the background of the arrow buttons at the ends AND the color of the "thumb" (the thing you grab and slide). Switches to arrow color when mouse is over | +| str | sbar_arrow_color | Scrollbar color of the arrow at the ends of the scrollbar (it looks like a button). Switches to background color when mouse is over | +| int | sbar_width | Scrollbar width in pixels | +| int | sbar_arrow_width | Scrollbar width of the arrow on the scrollbar. It will potentially impact the overall width of the scrollbar | +| str | sbar_frame_color | Scrollbar Color of frame around scrollbar (available only on some ttk themes) | +| str | sbar_relief | Scrollbar relief that will be used for the "thumb" of the scrollbar (the thing you grab that slides). Should be a constant that is defined at starting with "RELIEF_" - RELIEF_RAISED, RELIEF_SUNKEN, RELIEF_FLAT, RELIEF_RIDGE, RELIEF_GROOVE, RELIEF_SOLID | +| return: None | alpha_channel Default alpha channel to be used on all windows + | type alpha_channel (float) :param hide_window_when_creating If True then alpha will be set to 0 while a window is made and moved to location indicated | | None | **RETURN** | None ## Old Themes (Look and Feel) - Replaced by theme() diff --git a/readme_creator/output/index.md b/readme_creator/output/index.md index d1e090e7..7ab6095f 100644 --- a/readme_creator/output/index.md +++ b/readme_creator/output/index.md @@ -25,9 +25,9 @@ apply coupon for discount: - D11B305A347585E7A915 + F006AC77434776717B42 -