当前位置: 首页>>代码示例>>Python>>正文


Python LauncherConfig.update_kickstart方法代码示例

本文整理汇总了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()
开发者ID:,项目名称:,代码行数:12,代码来源:

示例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()
开发者ID:EdwardBetts,项目名称:fs-uae-launcher,代码行数:12,代码来源:romram.py

示例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()
开发者ID:EdwardBetts,项目名称:fs-uae-launcher,代码行数:5,代码来源:launcher_window.py

示例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()
开发者ID:EdwardBetts,项目名称:fs-uae-launcher,代码行数:8,代码来源:WarningsElement.py


注:本文中的launcher.launcher_config.LauncherConfig.update_kickstart方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。