Package nMOLDYN :: Package GUI :: Module PreferencesDialog :: Class PreferencesDialog
[hide private]
[frames] | no frames]

Class PreferencesDialog

source code

Widgets.Toplevel --+
                   |
                  PreferencesDialog

Sets up a dialog used to change some PREFERENCES.

Instance Methods [hide private]
 
__init__(self, parent, title=None)
The constructor.
source code
 
body(self, master)
Create dialog body.
source code
 
buttonbox(self)
Add standard button box.
source code
 
ok(self, event=None) source code
 
cancel(self, event=None) source code
 
validate(self) source code
 
apply(self)
This method will set the nMOLDYN configuration.
source code
 
changePage(self) source code
 
openDirectory(self, prefKey) source code
 
openFilename(self, prefKey) source code
 
savePreferences(self)
This method will save the preferences defined in the configuration dialog into a file.
source code
 
loadPreferences(self)
This method will load a preferences file and display its contents into the configuration dialog..
source code
Method Details [hide private]

__init__(self, parent, title=None)
(Constructor)

source code 

The constructor.

Parameters:
  • parent - the parent widget.
  • title (string) - a string specifying the title of the dialog.

body(self, master)

source code 

Create dialog body. Return widget that should have initial focus.