[Pipet Devel] loci-gui python version

J.W. Bizzaro bizzaro at bc.edu
Thu May 6 01:05:20 EDT 1999


Ahem.

After playing around with C-GTK code for a while today, I have once again found
that Python-GTK is umpteen times easier.  So, I made a Python version of
loci-gui, sort of.  It is in the CVS module "loci-gui".  Notice that the C
version is loci_gui.

Run the Python program loci-gui.py:

    $ ./loci-gui.py loci-gui.glade

The .glade files in the directory are GUI-XML files generated by GLADE.  Since I
made the C version in glade, I put the .glade file in the directory.

What has to be done next though is to hard code the double-paned window in PyGTK
and change the GUI-XML mechanism to draw all widgets in the right pane.  The
left pane will contain a high-level C-GTK widget for the OpenGL molecule and
etc. rendering, which will be wrapped in Python.

Thanks to James Henstridge for much of the code to get us started here.


Bye.
Jeff
-- 
J.W. Bizzaro                  mailto:bizzaro at bc.edu
Boston College Chemistry      http://www.uml.edu/Dept/Chem/Bizzaro/
--




More information about the Pipet-Devel mailing list