Le Thu, 25 Sep 2008 09:32:35 +0800,
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 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 list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to