本文整理汇总了Python中launcher.launcher_config.LauncherConfig.update_kickstart方法的典型用法代码示例。如果您正苦于以下问题:Python LauncherConfig.update_kickstart方法的具体用法?Python LauncherConfig.update_kickstart怎么用?Python LauncherConfig.update_kickstart使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类launcher.launcher_config.LauncherConfig
的用法示例。
在下文中一共展示了LauncherConfig.update_kickstart方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: on_done
# 需要导入模块: from launcher.launcher_config import LauncherConfig [as 别名]
# 或者: from launcher.launcher_config.LauncherConfig import update_kickstart [as 别名]
def on_done():
# FIXME: these should be removed soon
LauncherSettings.set("last_scan", str(time.time()))
LauncherSettings.set("__config_refresh", str(time.time()))
# this must be called from main, since callbacks are broadcast
# when settings are changed
LauncherSignal.broadcast("scan_done")
LauncherConfig.update_kickstart()
示例2: on_ext_rom_type_changed
# 需要导入模块: from launcher.launcher_config import LauncherConfig [as 别名]
# 或者: from launcher.launcher_config.LauncherConfig import update_kickstart [as 别名]
def on_ext_rom_type_changed(self):
index = self.ext_rom_type_choice.get_index()
if index == 0:
if LauncherConfig.get("kickstart_ext_file") == "":
return
LauncherConfig.set("kickstart_ext_file", "")
else:
LauncherConfig.set("kickstart_ext_file",
LauncherConfig.get("x_kickstart_ext_file"))
LauncherConfig.update_kickstart()
示例3: on_scan_done_signal
# 需要导入模块: from launcher.launcher_config import LauncherConfig [as 别名]
# 或者: from launcher.launcher_config.LauncherConfig import update_kickstart [as 别名]
def on_scan_done_signal(self):
print("LauncherWindow.on_scan_done_signal")
LauncherConfig.update_kickstart()
示例4: on_amiga_model_config
# 需要导入模块: from launcher.launcher_config import LauncherConfig [as 别名]
# 或者: from launcher.launcher_config.LauncherConfig import update_kickstart [as 别名]
def on_amiga_model_config(self, value):
LauncherConfig.update_kickstart()
if value != self.amiga_model:
self.amiga_model = value
self.amiga_model_calculated = value.split("/")[0]
self.rebuild_warnings_and_refresh()