Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Features/Evince Introspection Bindings
(view source)
Revision as of 14:33, 25 October 2011
694 bytes added
,
14:33, 25 October 2011
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:
(SUGAR_VERSION)
+
* Targeted release:
0.96
−
* Last updated:
(DATE)
+
* Last updated:
25/10/2011
−
* Percentage of completion:
XX
%
+
* Percentage of completion:
0
%
−
==
Detailed Description
==
+
==
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 ==
Godiard
628
edits