This class contains "overrides" to the defaults for ttk scrollbars that are defined in the global settings file. This class is used in every element, in the Window class and there's a global one that is used by set_options.
| 756 | |
| 757 | |
| 758 | class TTKPartOverrides: |
| 759 | """ |
| 760 | This class contains "overrides" to the defaults for ttk scrollbars that are defined in the global settings file. |
| 761 | This class is used in every element, in the Window class and there's a global one that is used by set_options. |
| 762 | """ |
| 763 | |
| 764 | def __init__(self, sbar_trough_color=None, sbar_background_color=None, sbar_arrow_color=None, sbar_width=None, sbar_arrow_width=None, sbar_frame_color=None, sbar_relief=None): |
| 765 | self.sbar_trough_color = sbar_trough_color |
| 766 | self.sbar_background_color = sbar_background_color |
| 767 | self.sbar_arrow_color = sbar_arrow_color |
| 768 | self.sbar_width = sbar_width |
| 769 | self.sbar_arrow_width = sbar_arrow_width |
| 770 | self.sbar_frame_color = sbar_frame_color |
| 771 | self.sbar_relief = sbar_relief |
| 772 | |
| 773 | |
| 774 | ttk_part_overrides_from_options = TTKPartOverrides() |
no outgoing calls
no test coverage detected