get_icon_url
Description:
Get a URL pointing to the icon most closely matching the given criteria, or null
.
If requested_mime_type
is set, only icons with this mime type will be returned. If requested_depth
is set, only
icons with this or lower depth will be returned. If requested_width
and/or requested_height
are set, only icons that
are this size or smaller are returned, unless prefer_bigger
is set, in which case the next biggest icon will be returned. The
returned strings should be freed.
Parameters:
this | |
requested_mime_type |
The requested file format, or |
requested_depth |
The requested color depth, or -1 for any |
requested_width |
The requested width, or -1 for any |
requested_height |
The requested height, or -1 for any |
prefer_bigger |
|
mime_type |
The location where to store the the format of the returned icon, or |
depth |
The location where to store the depth of the returned icon, or |
width |
The location where to store the width of the returned icon, or |
height |
The location where to store the height of the returned icon, or |
Returns:
a string, or |