GLib.ContentType – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
ContentType
can_be_executable
equals
from_mime_type
get_description
get_generic_icon_name
get_icon
get_mime_type
get_symbolic_icon
guess
guess_for_tree
is_a
is_unknown
list_registered
GLib.ContentType
Description:
Content:
Functions:
public
bool
can_be_executable
(
string
type)
public
bool
equals
(
string
type1,
string
type2)
public
string
?
from_mime_type
(
string
mime_type)
public
string
get_description
(
string
type)
public
string
get_generic_icon_name
(
string
type)
public
Icon
get_icon
(
string
type)
public
string
?
get_mime_type
(
string
type)
public
Icon
get_symbolic_icon
(
string
type)
public
string
guess
(
string
? filename,
uint8
[]? data,
out
bool
result_uncertain)
public
string
[]
guess_for_tree
(
File
root)
public
bool
is_a
(
string
type,
string
supertype)
public
bool
is_unknown
(
string
type)
public
List
<
string
>
list_registered
()