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

This commit is contained in:
Sakamoto Shiina
2023-09-20 23:20:42 +09:00
parent 4cd62309c6
commit bd9f0bb58c
13 changed files with 6 additions and 25 deletions

View File

@@ -1,10 +1,9 @@
from customtkinter import CTkFont, CTkFrame, CTkLabel, CTkSwitch, CTkImage
from ....ui_utils import getImageFileFromUiUtils, openImageKeepAspectRatio, retag, getLatestHeight, bindEnterAndLeaveFunction, bindButtonReleaseFunction, bindButtonPressAndReleaseFunction
from ....ui_utils import openImageKeepAspectRatio, retag, getLatestHeight, bindEnterAndLeaveFunction, bindButtonReleaseFunction, bindButtonPressAndReleaseFunction
from utils import callFunctionIfCallable
def createSidebarFeatures(settings, main_window, view_variable):
def toggleSidebarFeatureSelectedMarkIfTurnedOn(is_turned_on, mark):

View File

@@ -1,6 +1,6 @@
from customtkinter import CTkOptionMenu, CTkFont, CTkFrame, CTkLabel, CTkImage
from customtkinter import CTkFont, CTkFrame, CTkLabel, CTkImage
from ....ui_utils import getImageFileFromUiUtils, bindEnterAndLeaveColor, bindButtonPressColor, bindButtonReleaseFunction, bindButtonFunctionAndColor, switchActiveTabAndPassiveTab, switchTabsColor
from ....ui_utils import bindEnterAndLeaveColor, bindButtonPressColor, bindButtonReleaseFunction, switchActiveTabAndPassiveTab, switchTabsColor
from utils import callFunctionIfCallable

View File

@@ -1,4 +1,3 @@
from customtkinter import CTkFont, CTkFrame, CTkEntry
def createEntryMessageBox(settings, main_window):

View File

@@ -1,7 +1,7 @@
from customtkinter import CTkFrame, CTkLabel, CTkImage
from ...ui_utils import getImageFileFromUiUtils, bindEnterAndLeaveColor, bindButtonPressColor, bindButtonReleaseFunction
from ...ui_utils import bindEnterAndLeaveColor, bindButtonPressColor, bindButtonReleaseFunction
from utils import callFunctionIfCallable

View File

@@ -1,6 +1,6 @@
from customtkinter import CTkFont, CTkFrame, CTkLabel, CTkTextbox
from ...ui_utils import getLatestWidth, getLongestText, bindEnterAndLeaveColor, bindButtonPressColor, bindButtonReleaseFunction, _setDefaultActiveTab, switchActiveTabAndPassiveTab, switchTabsColor
from ...ui_utils import bindEnterAndLeaveColor, bindButtonPressColor, bindButtonReleaseFunction, _setDefaultActiveTab, switchActiveTabAndPassiveTab, switchTabsColor
def createTextbox(settings, main_window, view_variable):