How to intergrate PDF viewer(display) in the GTK+ interface

Deadly 提交于 2021-02-18 19:16:47

问题


Am working on the project in which am required to fetch files from the server and to display them on the client post.All of this is to be done in the UNIX environment where I used C language for coding client and server and GTK+ for the interface which will display files in the PDF format.

My problem is I do not know how can I intergrate a PDF viewer in such interface. As the final results I would like when I select the file and click GTKbutton it displays the file in a PDF format in that intergrated viewer.


回答1:


Check out the EvView and EvDocument libraries. They are not too well documented but it's a GTK widget for displaying PDFs and other documents.



来源:https://stackoverflow.com/questions/27196985/how-to-intergrate-pdf-viewerdisplay-in-the-gtk-interface

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!