KekLib.CanvasDialog#

ファイル名: CanvasDialog.py

処理内容:

デバッグ用の plot

Copyright (c) 2017-2018, Masatsuyo Takahashi, KEK-PF

class CanvasDialog(title, parent=None, adjust_geometry=False, figure=None)#

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(*arg)#
destroy_parent()#
ok(*args)#
show(draw_func, figsize=None, message=None, button_labels=['OK', 'Cancel'], toolbar=False, parent_arg=False)#