Re: glibmm, how to get the mime type of a file?



Den 2015-08-13 04:31, Nicolas Jäger skrev:
Hi,
I guess this mailing list is also for glibmm, right ? I don't find 
the function to get the mime type (Linux). I was expecting to use
`FileInfo`.

Someone can tell me how I do that ?

regards,
Nicolas J.

You can combine Gio::FileInfo::get_content_type() and Gio::content_type_get_mime_type().



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