KekLib.ProgressMinDialog#
ProgressMinDialog.py
Copyright (c) 2018-2024, Masatsuyo Takahashi, KEK-PF
- class ProgressMinDialog(parent, title='ProgressMinDialog', message=None, num_steps=10, length=200, progress_cb=None, geometry_info=None, cancelable=False, interval=500, visible=True)#
Bases:
Dialog
Initialize a dialog.
- Parameters:
window (parent -- a parent)
title (title -- the dialog)
- body(body_frame)#
create dialog body.
return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.
- buttonbox()#
add standard button box.
override if you do not want the standard buttons
- cancel(ask=False)#
- refresh()#
- show()#
used when self has been constructed with visible=False
- run_with_progress(parent, proc, max_iter=10, title=None, on_return=None, debug=True)#