The pyp_gui Module

pyp_gui provides a simple graphical user interface for PyPedal using the wxPython (http://www.wxpython.org/) and Wax (http://sourceforge.net/projects/waxgui) extensions.

Module Contents

MainWindow(parent, id, title) (class) [#]

The MainFrame() class provides the main pyp_gui interface.

For more information about this class, see The MainWindow Class.

The MainWindow Class

MainWindow(parent, id, title) (class) [#]

The MainFrame() class provides the main pyp_gui interface.

_OpenFile(filename) ⇒ None [#]

_OpenFile() actually loads a pedigree from a file. Once the pedigree is loaded the pedigree metadata is written to the screen.

filename
The pedigree file name.
Returns:
None

OnAbout(event) ⇒ None [#]

OnAbout() produces an "about this application" dialogue box.

event
The type of event causing invocation of this method.
Returns:
None

OnAppExit(event) ⇒ None [#]

OnAppExit() produces a "do you really want to exit this application" dialogue box.

event
The type of event causing invocation of this method.
Returns:
None

OnFileOpenDialog(event) ⇒ None [#]

OnFileOpenDialog() produces the file dialog used to select a pedigree file to be opened.

event
The type of event causing invocation of this method.
Returns:
None

OnGraphInbreed(event) ⇒ None [#]

OnGraphInbreed() produces a "do you really want to exit this application" dialogue box.

event
The type of event causing invocation of this method.
Returns:
None

OnMetricsEffectiveFounders(event) ⇒ None [#]

OnMetricsEffectiveFounders() writes effective founders information to the main textbox.

event
The type of event causing invocation of this method.
Returns:
None

OnMetricsInbreeding(event) ⇒ None [#]

OnMetricsInbreeding() writes summary statistics for inbreeding to the main textbox.

event
The type of event causing invocation of this method.
Returns:
None

OnPedList(event) ⇒ None [#]

OnPedList() presents a list of the animals in the pedigree.

event
The type of event causing invocation of this method.
Returns:
None

OnPedMeta(event) ⇒ None [#]

OnPedMeta() produces the file dialog used when a pedigree file is to be saved.

event
The type of event causing invocation of this method.
Returns:
None

OnPedView(event) ⇒ None [#]

OnPedView() uses pydot and graphviz to produce a drawing of the pedigree, if they are installed.

event
The type of event causing invocation of this method.
Returns:
None

OnSettingsViewLog(event) ⇒ None [#]

OnSettingsViewLog() dumps the logfile to a window.

event
The type of event causing invocation of this method.
Returns:
None

Save(event) ⇒ None [#]

Save() produces the file dialog used when a pedigree file is to be saved.

event
The type of event causing invocation of this method.
Returns:
None

SetFilename(filename) ⇒ None [#]

SetFilename() writes the name of the opened pedigree file to the statusbar.

filename
The pedigree file name.
Returns:
None

ToDo(event) ⇒ None [#]

ToDo() produces a "this feature has not yet been implemented" dialogue box.

event
The type of event causing invocation of this method.
Returns:
None