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


Python UIInterface.populateUI方法代码示例

本文整理汇总了Python中windows.UIInterface.populateUI方法的典型用法代码示例。如果您正苦于以下问题:Python UIInterface.populateUI方法的具体用法?Python UIInterface.populateUI怎么用?Python UIInterface.populateUI使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在windows.UIInterface的用法示例。


在下文中一共展示了UIInterface.populateUI方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: populateUI

# 需要导入模块: from windows import UIInterface [as 别名]
# 或者: from windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     self.uiHolder.addExternalCallbacks({self.GET_COLORS: self.onGetColors})
     from account_helpers.settings_core.SettingsCore import g_settingsCore
     g_settingsCore.onSettingsChanged += self.__onAccountSettingsChange
     self.update()
     self.inited = True
开发者ID:kblw,项目名称:wot_client,代码行数:9,代码来源:colorschememanager.py

示例2: populateUI

# 需要导入模块: from windows import UIInterface [as 别名]
# 或者: from windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     self.uiHolder.addExternalCallbacks({'movingText.setDisplayObject': self.onSetDisplayObject})
     self.flashDO = None
     self.__updateCbID = None
     self.__updateCallback()
     return
开发者ID:aevitas,项目名称:wotsdk,代码行数:9,代码来源:scaleformmovingtext.py

示例3: populateUI

# 需要导入模块: from windows import UIInterface [as 别名]
# 或者: from windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     self.GUICtrl = self.uiHolder.getMember('_level0.radialMenu')
     self.GUICtrl.script = self
     for state in self.ALL_SHORTCUTS:
         self.GUICtrl.setState(state)
         list = self.__getDataForFlash(state)
         self.GUICtrl.buildData(list)
开发者ID:19colt87,项目名称:WOTDecompiled,代码行数:10,代码来源:radialmenu.py

示例4: populateUI

# 需要导入模块: from windows import UIInterface [as 别名]
# 或者: from windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     voipMgr = getVOIPManager()
     voipMgr.onFailedToConnect += self.processFailedMessage
     voipMgr.onInitialized += self.__initResponse
     voipMgr.OnCaptureDevicesUpdated += self.__captureDevicesResponse
     voipMgr.onPlayerSpeaking += self.__onPlayerSpeaking
     voipMgr.onStateToggled += self.__onStateToggled
     if not voipMgr.isInitialized():
         self.__doInitialize()
开发者ID:webiumsk,项目名称:WoT,代码行数:12,代码来源:voicechatinterface.py

示例5: populateUI

# 需要导入模块: from windows import UIInterface [as 别名]
# 或者: from windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     self.uiHolder.addExternalCallbacks({SettingsInterface.POPULATE_UI: self.onPopulateUI,
      SettingsInterface.APPLY_SETTINGS: self.onApplySettings,
      SettingsInterface.COMMIT_SETTINGS: self.onCommitSettings,
      SettingsInterface.DELAY_SETTINGS: self.onDelaySettings,
      SettingsInterface.AUTODETECT_QUALITY: self.onAutodetectSettings,
      'SettingsDialog.useRedifineKeysMode': self.onUseRedifineKeyMode,
      'SettingsDialog.processVivoxTest': self.onProcessVivoxTest,
      'SettingsDialog.voiceChatEnable': self.onVoiceChatEnable,
      'SettingsDialog.updateCaptureDevices': self.onUpdateCaptureDevices,
      'SettingsDialog.setVivoxMicVolume': self.onSetVivoxMicVolume,
      'SettingsDialog.killDialog': self.onDialogClose})
     VibroManager.g_instance.onConnect += self.__vm_onConnect
     VibroManager.g_instance.onDisconnect += self.__vm_onDisconnect
     g_guiResetters.add(self.onRecreateDevice)
     BigWorld.wg_setAdapterOrdinalNotifyCallback(self.onRecreateDevice)
开发者ID:19colt87,项目名称:WOTDecompiled,代码行数:19,代码来源:settingsinterface.py

示例6: populateUI

# 需要导入模块: from windows import UIInterface [as 别名]
# 或者: from windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     self.uiHolder.addExternalCallbacks(
         {
             SettingsInterface.POPULATE_UI: self.onPopulateUI,
             SettingsInterface.APPLY_SETTINGS: self.onApplySettings,
             SettingsInterface.COMMIT_SETTINGS: self.onCommitSettings,
             SettingsInterface.SETTINGS_TAB_SELECTED: self.onTabSelected,
             SettingsInterface.DELAY_SETTINGS: self.onDelaySettings,
             SettingsInterface.AUTODETECT_QUALITY: self.onAutodetectSettings,
             SettingsInterface.SET_DIALOG_VISIBILITY: self.onSetVisibility,
             "SettingsDialog.useRedifineKeysMode": self.onUseRedifineKeyMode,
             "SettingsDialog.processVivoxTest": self.onProcessVivoxTest,
             "SettingsDialog.voiceChatEnable": self.onVoiceChatEnable,
             "SettingsDialog.updateCaptureDevices": self.onUpdateCaptureDevices,
             "SettingsDialog.setVivoxMicVolume": self.onSetVivoxMicVolume,
             "SettingsDialog.killDialog": self.onDialogClose,
             "SettingsDialog.graphicsChangeConfirmationStatus": self.graphicsChangeConfirmationStatus,
         }
     )
     VibroManager.g_instance.onConnect += self.__vm_onConnect
     VibroManager.g_instance.onDisconnect += self.__vm_onDisconnect
     g_guiResetters.add(self.onRecreateDevice)
     BigWorld.wg_setAdapterOrdinalNotifyCallback(self.onRecreateDevice)
开发者ID:webiumsk,项目名称:WOT0.10.0,代码行数:26,代码来源:settingsinterface.py

示例7: populateUI

# 需要导入模块: from windows import UIInterface [as 别名]
# 或者: from windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     import VOIP
     VOIP.getVOIPManager().channelsMgr.onFailedToConnect += self.processFailedMessage
     VOIP.getVOIPManager().channelsMgr.onInitialized += self.__initResponse
     VOIP.getVOIPManager().OnCaptureDevicesUpdated += self.__captureDevicesResponse
开发者ID:wotmods,项目名称:WOTDecompiled,代码行数:8,代码来源:voicechatinterface.py

示例8: populateUI

# 需要导入模块: from windows import UIInterface [as 别名]
# 或者: from windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     chatManager.subscribeChatAction(self.processFailedMessage, CHAT_ACTIONS.VOIPSettings)
     import VOIP
     VOIP.getVOIPManager().channelsMgr.onInitialized += self.__initResponse
     VOIP.getVOIPManager().OnCaptureDevicesUpdated += self.__captureDevicesResponse
开发者ID:19colt87,项目名称:WOTDecompiled,代码行数:8,代码来源:voicechatinterface.py


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