Embed evince Python GI

前端 未结 1 1306
情书的邮戳
情书的邮戳 2021-01-07 05:55

I want to view a pdf document by embedding it in Python using the gi repository. I am trying to follow the code here which is

#!/usr/bin/env python

from gi.         


        
相关标签:
1条回答
  • 2021-01-07 06:53

    You need a newer version of Evince.

    This is working for me in latest Evince, 3.3.3.1, using Fedora 17 (rawhide), and is not working in Evince 3.2.1 using Fedora 16.

    Maybe you can compile Evince to get the bindings working.

    0 讨论(0)
提交回复
热议问题