[Chore] remove the code that is no longer in use

This commit is contained in:
Sakamoto Shiina
2023-09-09 06:24:45 +09:00
parent 0c43fd8965
commit 5222f7cc68
3 changed files with 0 additions and 15 deletions

View File

@@ -1,4 +1,3 @@
# from .widgets import createConfigWindowTitle, createSideMenuAndSettingsBoxContainers, createSettingBoxTopBar
from functools import partial
from .ui_utils import bindButtonReleaseFunction, bindEnterAndLeaveColor, bindButtonPressColor
@@ -36,7 +35,6 @@ class _CreateSelectableLanguagesWindow(CTkToplevel):
self.selectable_language_window_type = None
def createContainer(self, selectable_language_window_type):
print(selectable_language_window_type)
self.selectable_language_window_type = selectable_language_window_type
if self.is_created is True:
pass
@@ -61,9 +59,6 @@ class _CreateSelectableLanguagesWindow(CTkToplevel):
def _createContainer(self):
print("create")
self.x_pos = self.attach.winfo_rootx()
self.y_pos = self.attach.winfo_rooty()
self.width_new = self.attach.winfo_width()

View File

@@ -27,9 +27,6 @@ def createSidebarLanguagesSettings(settings, main_window, view_variable):
def switchPresetTabFunction(target_active_widget):
switchActiveAndPassivePresetsTabsColor(target_active_widget)
switchActiveTabAndPassiveTab(target_active_widget, main_window.current_active_preset_tab, main_window.current_active_preset_tab.passive_function, settings.ctm.SLS__PRESETS_TAB_BG_HOVERED_COLOR, settings.ctm.SLS__PRESETS_TAB_BG_CLICKED_COLOR, settings.ctm.SLS__PRESETS_TAB_BG_PASSIVE_COLOR)
# main_window.sls__optionmenu_your_language.set(view_variable.VAR_YOUR_LANGUAGE.get())
# main_window.sls__optionmenu_target_language.set(view_variable.VAR_TARGET_LANGUAGE.get())
main_window.current_active_preset_tab = target_active_widget