From: Charles R. T. <ct...@ma...> - 2003-10-02 23:10:56
|
John, Looking at pyx was Nathan's main point. He also included a very short program that showed how to preview PyX output in Python: import pygtk; pygtk.require("2.0") import sys import gtk import bonobo import bonobo.ui win = gtk.Window() win.connect("delete-event", gtk.mainquit) win.show() container = bonobo.ui.Container() control = bonobo.ui.Widget("file://home/ctwardy/Library/mcallister.pdf", container.corba_objref()) # A control widget is just like any other GtkWidget. control.show() win.add(control) gtk.main() }Wow, pyx looks great. I didn't even know it existed; I'm not sure how I didn't know either. } }That said, I don't regret doing it myself since... Absolutely. -- Charles R. Twardy, Res.Fellow, Monash University, School of CSSE ctwardy at alumni indiana edu +61(3) 9905 5823 (w) 5146 (fax) "Incongruous places often inspire anomalous stories." -- S.J. Gould |