I'm trying to write a simple "hello-world"-type program using the python-evince package for lucid-lynx gnome, that embeds Evince in a python-gtk window. The samples I've found on the web go like this:
import evince
import gtk
w = gtk.Window()
w.show()
e = evince.View()
w.add(e)
e.show()
document = evince.document_factory_get_document('my pdf file')
e.set_document(document)
gtk.main()
The problem is that "evince.set_document" no longer exists: The forums seem to indicate that there have been recent changes, but I have been unable to figure out the (probably very simple) modifications necessary to get this working. Can anyone help?