Package schrodinger :: Package ui :: Module appframework :: Class WriteDialog
[hide private]
[frames] | no frames]

Class WriteDialog

Toplevel Tkinter widget that mimics the Write dialog.

The jobname is returned by activate()

Instance Methods [hide private]
 
__init__(self, parent, jobname='', title='Write job', **kw)
The 'jobname' will be the starting value of the job name EntryField.
 
warning(self, text)
Display a warning window with the specified text.
 
activate(self)
 
execute(self, result)
Callback for the dialog.
Method Details [hide private]

__init__(self, parent, jobname='', title='Write job', **kw)
(Constructor)

 

The 'jobname' will be the starting value of the job name EntryField. The 'title' will be used as the title of the window.

execute(self, result)

 

Callback for the dialog. Take action based on the button pressed. If writing the job files, store the job name in the parent JobParameters object (as 'jobname').