Chore: Change the name of variable optionmenu_attr_name and dropdown_menu_attr_name in Setting Boxes.
This commit is contained in:
@@ -59,8 +59,8 @@ def createSettingBox_Appearance(setting_box_wrapper, config_window, settings):
|
||||
parent_widget=setting_box_wrapper,
|
||||
label_text="Theme",
|
||||
desc_text="Change the color theme from \"Light\" and \"Dark\". If you select \"System\", It will adjust based on your Windows theme. (Default: System)",
|
||||
optionmenu_attr_name="sb__appearance_theme_optionmenu",
|
||||
dropdown_menu_attr_name="sb__appearance_theme_dropdown",
|
||||
optionmenu_attr_name="sb__optionmenu_appearance_theme",
|
||||
dropdown_menu_attr_name="sb__dropdown_appearance_theme",
|
||||
dropdown_menu_values=["Light", "Dark", "System"],
|
||||
command=lambda value: optionmenu_appearance_theme_callback(value),
|
||||
variable=StringVar(value=config.APPEARANCE_THEME)
|
||||
@@ -73,8 +73,8 @@ def createSettingBox_Appearance(setting_box_wrapper, config_window, settings):
|
||||
parent_widget=setting_box_wrapper,
|
||||
label_text="UI Size",
|
||||
desc_text="(Default: 100%)",
|
||||
optionmenu_attr_name="sb__ui_scaling_optionmenu",
|
||||
dropdown_menu_attr_name="sb__ui_scaling_dropdown",
|
||||
optionmenu_attr_name="sb__optionmenu_ui_scaling",
|
||||
dropdown_menu_attr_name="sb__dropdown_ui_scaling",
|
||||
dropdown_menu_values=["80%", "90%", "100%", "110%", "120%"],
|
||||
command=lambda value: optionmenu_ui_scaling_callback(value),
|
||||
variable=StringVar(value=config.UI_SCALING)
|
||||
@@ -88,8 +88,8 @@ def createSettingBox_Appearance(setting_box_wrapper, config_window, settings):
|
||||
parent_widget=setting_box_wrapper,
|
||||
label_text="Font Family",
|
||||
desc_text="(Default: Yu Gothic UI)",
|
||||
optionmenu_attr_name="sb__font_family_optionmenu",
|
||||
dropdown_menu_attr_name="sb__font_family_dropdown",
|
||||
optionmenu_attr_name="sb__optionmenu_font_family",
|
||||
dropdown_menu_attr_name="sb__dropdown_font_family",
|
||||
dropdown_menu_values=["Font A", "Font B"],
|
||||
# dropdown_menu_values=font_families,
|
||||
command=lambda value: optionmenu_font_family_callback(value),
|
||||
@@ -104,8 +104,8 @@ def createSettingBox_Appearance(setting_box_wrapper, config_window, settings):
|
||||
parent_widget=setting_box_wrapper,
|
||||
label_text="UI Language",
|
||||
desc_text="(Default: English)",
|
||||
optionmenu_attr_name="sb__ui_language_optionmenu",
|
||||
dropdown_menu_attr_name="sb__ui_language_dropdown",
|
||||
optionmenu_attr_name="sb__optionmenu_ui_language",
|
||||
dropdown_menu_attr_name="sb__dropdown_ui_language",
|
||||
dropdown_menu_values=selectable_languages_values,
|
||||
command=lambda value: optionmenu_ui_language_callback(value),
|
||||
variable=StringVar(value=selectable_languages[config.UI_LANGUAGE]),
|
||||
|
||||
@@ -88,8 +88,8 @@ def createSettingBox_Mic(setting_box_wrapper, config_window, settings):
|
||||
parent_widget=setting_box_wrapper,
|
||||
label_text="Mic Host",
|
||||
desc_text="Select the mic host. (Default: ?)",
|
||||
optionmenu_attr_name="sb__mic_host_optionmenu",
|
||||
dropdown_menu_attr_name="sb__mic_host_dropdown",
|
||||
optionmenu_attr_name="sb__optionmenu_mic_host",
|
||||
dropdown_menu_attr_name="sb__dropdown_mic_host",
|
||||
# dropdown_menu_values=model.getListInputHost(),
|
||||
dropdown_menu_values=["host1", "host2", "host3"],
|
||||
command=lambda value: optionmenu_mic_host_callback(value),
|
||||
@@ -102,8 +102,8 @@ def createSettingBox_Mic(setting_box_wrapper, config_window, settings):
|
||||
parent_widget=setting_box_wrapper,
|
||||
label_text="Mic Device",
|
||||
desc_text="Select the mic devise. (Default: ?)",
|
||||
optionmenu_attr_name="sb__mic_device_optionmenu",
|
||||
dropdown_menu_attr_name="sb__mic_device_dropdown",
|
||||
optionmenu_attr_name="sb__optionmenu_mic_device",
|
||||
dropdown_menu_attr_name="sb__dropdown_mic_device",
|
||||
# dropdown_menu_values=model.getListInputDevice(),
|
||||
dropdown_menu_values=["device1", "device2", "device3"],
|
||||
command=lambda value: optionmenu_input_mic_device_callback(value),
|
||||
|
||||
@@ -73,8 +73,8 @@ def createSettingBox_Speaker(setting_box_wrapper, config_window, settings):
|
||||
parent_widget=setting_box_wrapper,
|
||||
label_text="Speaker Device",
|
||||
desc_text="Select the speaker devise. (Default: ?)",
|
||||
optionmenu_attr_name="sb__speaker_device_optionmenu",
|
||||
dropdown_menu_attr_name="sb__speaker_device_dropdown",
|
||||
optionmenu_attr_name="sb__optionmenu_speaker_device",
|
||||
dropdown_menu_attr_name="sb__dropdown_speaker_device",
|
||||
# dropdown_menu_values=model.getListOutputDevice(),
|
||||
dropdown_menu_values=["device1", "device2", "device3"],
|
||||
command=lambda value: optionmenu_input_speaker_device_callback(value),
|
||||
|
||||
Reference in New Issue
Block a user