问题
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