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.
The MainFrame() class provides the main pyp_gui interface.
For more information about this class, see The MainWindow Class.
The MainFrame() class provides the main pyp_gui interface.
_OpenFile() actually loads a pedigree from a file. Once the pedigree is loaded the pedigree metadata is written to the screen.
OnAbout() produces an "about this application" dialogue box.
OnAppExit() produces a "do you really want to exit this application" dialogue box.
OnFileOpenDialog() produces the file dialog used to select a pedigree file to be opened.
OnGraphInbreed() produces a "do you really want to exit this application" dialogue box.
OnMetricsEffectiveFounders() writes effective founders information to the main textbox.
OnMetricsInbreeding() writes summary statistics for inbreeding to the main textbox.
OnPedList() presents a list of the animals in the pedigree.
OnPedMeta() produces the file dialog used when a pedigree file is to be saved.
OnPedView() uses pydot and graphviz to produce a drawing of the pedigree, if they are installed.
OnSettingsViewLog() dumps the logfile to a window.
Save() produces the file dialog used when a pedigree file is to be saved.
SetFilename() writes the name of the opened pedigree file to the statusbar.
ToDo() produces a "this feature has not yet been implemented" dialogue box.