本文整理汇总了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
示例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
示例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)
示例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()
示例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)
示例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)
示例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
示例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