Open text file from motif app
From: Ragini (raginip_at_hotmail.com)
Date: 04/23/04
- Previous message: SysAdmin_at_vs.shawcable.net: "IMPORTANT ANTI VIRUS INFORMATION"
- Next in thread: Will: "Re: Open text file from motif app"
- Reply: Will: "Re: Open text file from motif app"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Apr 2004 16:20:56 -0700
Hi,
I have a motif application on linux, from which I want to open a text
file. I want this text file to be opened in gedit or kedit or any
other editor depending on the file association in the file manager.
Right now I am using the exec call and passing in the full path for
gedit. However, as I want this to run on any desktop environment
(gnome, kde,...) and I do not want to hard code this value.
Is there API which opens a text file, or any other better approach for
doing this?
Thanks,
Ragini.
- Previous message: SysAdmin_at_vs.shawcable.net: "IMPORTANT ANTI VIRUS INFORMATION"
- Next in thread: Will: "Re: Open text file from motif app"
- Reply: Will: "Re: Open text file from motif app"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|