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


Python GUI.set_busy方法代码示例

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


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

示例1: force_draw

# 需要导入模块: from pyface.api import GUI [as 别名]
# 或者: from pyface.api.GUI import set_busy [as 别名]
 def force_draw(self):
     r"""
     Method for forcing the current figure to render. This is useful for
     the widgets animation.
     """
     from pyface.api import GUI
     _gui = GUI()
     orig_val = _gui.busy
     _gui.set_busy(busy=True)
     _gui.set_busy(busy=orig_val)
     _gui.process_events()
开发者ID:HaoyangWang,项目名称:menpo3d,代码行数:13,代码来源:viewmayavi.py

示例2: force_render

# 需要导入模块: from pyface.api import GUI [as 别名]
# 或者: from pyface.api.GUI import set_busy [as 别名]
def force_render( figure=None ):
    from mayavi import mlab
    figure.scene.render()
    mlab.draw(figure=figure)
    from pyface.api import GUI
    _gui = GUI()
    orig_val = _gui.busy
    _gui.set_busy(busy=True)
    _gui.process_events()
    _gui.set_busy(busy=orig_val)
    _gui.process_events()
开发者ID:aestrivex,项目名称:ielu,代码行数:13,代码来源:plotting_utils.py

示例3: _busy_changed

# 需要导入模块: from pyface.api import GUI [as 别名]
# 或者: from pyface.api.GUI import set_busy [as 别名]
 def _busy_changed(self, val):
     GUI.set_busy(val)
开发者ID:daytonb,项目名称:mayavi,代码行数:4,代码来源:scene.py

示例4: _fits_hsp_points_fired

# 需要导入模块: from pyface.api import GUI [as 别名]
# 或者: from pyface.api.GUI import set_busy [as 别名]
 def _fits_hsp_points_fired(self):
     GUI.set_busy()
     self.model.fit_scale_hsp_points()
     GUI.set_busy(False)
开发者ID:NeedlessToSay,项目名称:mne-python,代码行数:6,代码来源:_coreg_gui.py

示例5: _fits_fid_fired

# 需要导入模块: from pyface.api import GUI [as 别名]
# 或者: from pyface.api.GUI import set_busy [as 别名]
 def _fits_fid_fired(self):
     GUI.set_busy()
     self.model.fit_scale_fiducials()
     GUI.set_busy(False)
开发者ID:NeedlessToSay,项目名称:mne-python,代码行数:6,代码来源:_coreg_gui.py

示例6: _fits_ap_fired

# 需要导入模块: from pyface.api import GUI [as 别名]
# 或者: from pyface.api.GUI import set_busy [as 别名]
 def _fits_ap_fired(self):
     GUI.set_busy()
     self.model.fit_scale_auricular_points()
     GUI.set_busy(False)
开发者ID:NeedlessToSay,项目名称:mne-python,代码行数:6,代码来源:_coreg_gui.py


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