Skip to content

Commit

Permalink
Add folder path variables
Browse files Browse the repository at this point in the history
  • Loading branch information
KORINZ committed Apr 5, 2023
1 parent c2dab7f commit 6eaebc3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions customtkinter_GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Initial setup
VERSION = "v1.3.2"
button_colors = ['blue', 'green', 'dark-blue']
ctk.set_default_color_theme(button_colors[1])
ctk.set_default_color_theme(button_colors[2])
PRONOUN_QUIZ_LOCATION = r'./txt_files/pronunciation_quiz.txt'
DEF_QUIZ_LOCATION = r'./txt_files/definition_quiz.txt'
LOG_LOCATION = r'./txt_files/push_log.txt'
Expand All @@ -26,6 +26,8 @@
SHEET_ICON_LOCATION = r'./icons/sheet.ico'
TOKEN_ID_LOCATION = r'./json_files/secrets.json'
SETTINGS_FILE_LOCATION = r'./json_files/settings.json'
JSON_FOLDER_PATH = r'./json_files'
TXT_FOLDER_PATH = r'./txt_files'


def create_default_settings_file() -> None:
Expand Down Expand Up @@ -74,8 +76,8 @@ def __init__(self, master, datetime_label, quiz_type_dropdown, quiz_number_entry
self.broadcast_on_label = broadcast_on_label
self.font = ctk.CTkFont(family="Yu Gothic UI", size=16)
self._segmented_button.configure(font=self.font)
self.txt_folder_path = "txt_files"
self.json_folder_path = "json_files"
self.txt_folder_path = TXT_FOLDER_PATH
self.json_folder_path = JSON_FOLDER_PATH

# *ファイル Tab
self.add("ファイル表示")
Expand Down

0 comments on commit 6eaebc3

Please sign in to comment.