From 7be50d0010cc557425496a59c8bf81119895283d Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Sun, 8 Oct 2023 21:05:25 +0900 Subject: [PATCH] [Chore] remove the code that is no longer in use --- vrct_gui/_CreateDropdownMenuWindow.py | 4 ---- .../setting_box_containers/_SettingBoxGenerator.py | 7 ------- vrct_gui/vrct_gui.py | 3 --- 3 files changed, 14 deletions(-) diff --git a/vrct_gui/_CreateDropdownMenuWindow.py b/vrct_gui/_CreateDropdownMenuWindow.py index e07a89a5..d11a991c 100644 --- a/vrct_gui/_CreateDropdownMenuWindow.py +++ b/vrct_gui/_CreateDropdownMenuWindow.py @@ -48,10 +48,6 @@ class _CreateDropdownMenuWindow(CTkToplevel): self.max_display_length = self.init_max_display_length - - # self.rowconfigure(0,weight=1) - # self.columnconfigure(0,weight=1) - def updateDropdownMenuValues(self, dropdown_menu_widget_id, dropdown_menu_values): self.dropdown_menu_widgets[dropdown_menu_widget_id].widget.destroy() self.createDropdownMenuBox( diff --git a/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/_SettingBoxGenerator.py b/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/_SettingBoxGenerator.py index 4d7798ea..e07f116c 100644 --- a/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/_SettingBoxGenerator.py +++ b/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/_SettingBoxGenerator.py @@ -17,13 +17,6 @@ class _SettingBoxGenerator(): self.dropdown_menu_window = vrct_gui.vrct_gui.dropdown_menu_window - # self.dropdown_menu_window = _CreateDropdownMenuWindow( - # settings=self.settings, - # view_variable=self.view_variable, - # wrapper_widget=self.config_window.main_bg_container, - # ) - - def _createSettingBoxFrame(self, for_var_label_text, for_var_desc_text): setting_box_frame = CTkFrame(self.parent_widget, corner_radius=0, fg_color=self.settings.ctm.SB__BG_COLOR, width=0, height=0) diff --git a/vrct_gui/vrct_gui.py b/vrct_gui/vrct_gui.py index 9f722671..b3a1d59c 100644 --- a/vrct_gui/vrct_gui.py +++ b/vrct_gui/vrct_gui.py @@ -1,7 +1,5 @@ from customtkinter import CTk, CTkImage -# from window_help_and_info import ToplevelWindowInformation - from ._CreateSelectableLanguagesWindow import _CreateSelectableLanguagesWindow from ._CreateModalWindow import _CreateModalWindow @@ -45,7 +43,6 @@ class VRCT_GUI(CTk): settings=self.settings.config_window, view_variable=self._view_variable ) - # self.information_window = ToplevelWindowInformation(self) self.selectable_languages_window = _CreateSelectableLanguagesWindow( vrct_gui=self,