class documentation

支持进度条的控制台shell的Mixin类。

方法 __init__ 未记录
类方法 _progress_handler 进度条处理程序,当igraph报告操作进度时调用
类方法 _status_handler 状态消息处理程序,当igraph发送状态消息以显示时调用。
方法 _disable_handlers 如果终端功能不足,则禁用状态和进度处理程序。
@classmethod
def _progress_handler(cls, message, percentage): (source)

进度条处理程序,当igraph报告操作进度时调用

参数
messageigraph 提供的消息
percentageigraph 提供的百分比
@classmethod
def _status_handler(cls, message): (source)

状态消息处理程序,当igraph发送状态消息以显示时调用。

参数
messageigraph 提供的消息
def _disable_handlers(self): (source)

如果终端能力不足,则禁用状态和进度处理程序。