AsyncImage.from_icon_name_async
Description:
public AsyncImage.from_icon_name_async (string icon_name, IconSize icon_size, bool load_on_realize = true, bool auto_size_request = true)
Creates a new Granite.AsyncImage with the supplied icon_name
and
Gtk.IconSize. See
Granite.AsyncImage.AsyncImage for more details.
This is equivalent to calling Granite.AsyncImage.AsyncImage and Granite.AsyncImage.set_from_icon_name_async.
Parameters:
icon_name |
the icon name to display in the image |
icon_size |
the Gtk.IconSize as the size for the image |
load_on_realize |
if |
auto_size_request |
if the widget should act as a placeholder when the image is not yet loaded |