Re: Embedding evince in python app



В Чтв, 22/02/2007 в 10:00 +0100, Irvin Probst пишет:
> Hi all,
> I'm toying with python, gtk, openGL and GMT ( 
> http://gmt.soest.hawaii.edu/ ), to parse and render data related to 
> underwater stuff. Usually such data are rendered to A0 postscript files 
> before being printed with dedicated printers. After digging around for a 
> while I found no satisfying way to embedd a postscript (pre)viewer in my 
> app [1]:
> 
> Right now what I've found is:
> 1/ call ggv from bonobo, it works but ggv is dying and I would hate to 
> have to maintain a ggv package if one day it disappears from debian (and 
> bonobo is quite an heavy dependency but I can live with that)
> 2/ write a minimal set of python bindings for  libpoppler
> 3/ find a way to embedd evince in my python app
> 4/ launch another application for previewing and then ask the user to 
> come back to my app (I don't like this solution)
> 

Hello Irvin

I suppose that 4 is preferable solution for us and for GNOME. Evince
preview mode (--preview option) used in gtk printing dialog will render
document as required.

I don't quite understand why don't you like this.

Attachment: signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]