KekLib.OnTheFlyUtils#

KekLib.OnTheFlyUtils.py

Copyright (c) 2024, Masatsuyo Takahashi, KEK-PF

class ProgressDialog(parent, progress_queue, title='Progress', length=400, num_steps=10, interval=500)#

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.

get_progress()#
show()#
update_progress()#
show_progress(func, progress_queue, num_steps, parent=None)#