DialogBase

class decida.DialogBase.DialogBase(parent=None, title='', bitmap='')

synopsis:

DialogBase is a base class for dialog windows.

MessageDialog and SelectionDialog inherit DialogBase.

constructor arguments:

parent (Tkinter handle, default=None)

handle of frame or other widget to pack dialog in. if this is not specified, top-level is created.

title (str, default=””)

title to be placed on dialog window

protected methods:

  • _gui: build grapical user-interface. derived classes supply
    _gui_middle method to build middle frame
  • _mouse_wheel: mouse-wheel event callback
  • _page_key: page up/dn key event callback

public methods:

go()

post dialog and wait for user response.