Ghostview?

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

5 posts / 0 new
Last post
Ghostview?

I am wanting to take the ghostview object and drop it on a form in a executable that I currently working on. Is there a way to do this so that I don`t have to shell gv (ghostview) from the commandline?

I want to be able to view post script files, etc. from within an excutable that I am working on. Ghostview appears to have the functionality that I am looking for and would save me a lot of trouble in not having to recreate the logic that ghostview provides; however, including the object into my app would be nice and I am wondering if this is possible.

Thanks.
C. Lamb

ICS_support

You`d need to add Motif drag&drop functionality to Ghostview such that it understands the drag and can transmit the file name to your drop site in your application, which can then open the file (assuming the same file system).

It may be possible for you instead to embed the Ghostview application. Several years ago, several PostScript viewers were being produced; several were implemented as widgets, and Ghostview might be one of them. In that case, you`d instantiate that widget.

Anonymous

I believe that you are correct about there being a Ghostview widget that I can drop onto a form, dialog, etc... I have seen hints of this; however, I haven`t found the jackpot yet.

Would you happen to know of a good place that will help narrow my search? If not I guess it will be back to the net...

Thanks.
C. Lamb

ICS_support

I`d start on the Free Software Foundation web site, which could be http//www.fsf.org (although I remember ftp//prep.ai.mit.edu).

Anonymous

Thanks dbl..

Here is a good site as well.
http//wwwthep.physik.uni-mainz.de/~plass/gv/#availability

I now have a lot of code to look over. >)

C. Lamb