Re: What functions should I use in GTK to open a file(such as text or image ) with default application?

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

 



Le Thu, 25 Sep 2008 09:32:35 +0800,"haitao_yang@xxxxxxxxxxxxxxxxx" <haitao_yang@xxxxxxxxxxxxxxxxx> aécrit :
> Hi,> 	I have two problems: 1)How can I open a file(such as text or> image ) with default application? 2)How can I set my program as> default application to open specific type of file? I wonder if GTK> provide some function to carry out such operations? And what> preference materials can I look for? (something like windows function> ShellExecuteA(NULL, "open",.....))> 	Thanks advance!
With xdg-open :)  There are variants for specific desktops: gnome-open,exo-open, and kfmclient.
xdg-open is on top of them.  It is provided with the xdg-utils.
Mike_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux