本文整理汇总了Python中FxStudio.connectSignal方法的典型用法代码示例。如果您正苦于以下问题:Python FxStudio.connectSignal方法的具体用法?Python FxStudio.connectSignal怎么用?Python FxStudio.connectSignal使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FxStudio
的用法示例。
在下文中一共展示了FxStudio.connectSignal方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: import FxStudio [as 别名]
# 或者: from FxStudio import connectSignal [as 别名]
def __init__(self, parent, errorAreas):
self.errorIndex = -1
self._init_ctrls(parent)
self.errorAreas = errorAreas
# Define FxStudio signals here.
# Clean up the plugin
FxStudio.connectSignal('appshutdown', self.OnAppShutdown)
示例2: load
# 需要导入模块: import FxStudio [as 别名]
# 或者: from FxStudio import connectSignal [as 别名]
def load():
""" Load the plugin by connecting it to the drop handler of the render
window.
"""
FxStudio.connectSignal('messagelogged', messagehandler.on_message_logged)
FxStudio.connectSignal('filesdroppedonviewport', messagehandler.on_drop)
FxStudio.connectSignal('idle', messagehandler.on_idle)
FxStudio.connectSignal('renderassetloadfailed', messagehandler.on_renderassetloadfailed)
if not FxStudio.isCommandLineMode():
PluginManagerUI.add_menu_item(ui.MENU_ID, ui.MENU_LABEL, ui.show_options_dialog)
示例3: __init__
# 需要导入模块: import FxStudio [as 别名]
# 或者: from FxStudio import connectSignal [as 别名]
def __init__(self, parent):
self._init_ctrls(parent)
# Define FxStudio signals here.
FxStudio.connectSignal('appshutdown', self.OnAppShutdown)