Features/Evince Introspection Bindings: Difference between revisions
Created page with "<noinclude>{{TOCright}} Category:Feature Page Incomplete WebKit <!-- You can add categories to tie features back to real deployments/schools requesting t..." |
No edit summary |
||
| Line 7: | Line 7: | ||
== Summary == | == Summary == | ||
The pygtk bindings used until F14 to use the evince backend in Read activity, are no longer present in F16. | |||
We need use the new gi based bindings | |||
== Owner == | == Owner == | ||
| Line 12: | Line 15: | ||
== Current status == | == Current status == | ||
* Targeted release: | * Targeted release: 0.96 | ||
* Last updated: | * Last updated: 25/10/2011 | ||
* Percentage of completion: | * Percentage of completion: 0% | ||
== | == Initial information == | ||
* The bindings are not ready to use. We need work closely with upstream to solve the remaining issues. | |||
There are a bug related https://bugzilla.gnome.org/show_bug.cgi?id=635705 | |||
and the method factory_get_document needed to open a document, is marked as not introspectable https://bugzilla.gnome.org/show_bug.cgi?id=662709 | |||
=== Implementation plan === | === Implementation plan === | ||
The first step is port this simple demo to gtk3: | |||
e = evince.View() | |||
docmodel = evince.DocumentModel() | |||
doc = evince.document_factory_get_document('file:///path/to/file/example.pdf') | |||
docmodel.set_document(doc) | |||
e.set_model(model) | |||
== Benefit to Sugar == | == Benefit to Sugar == | ||