AsyncImage.from_gicon_async
Description:
public AsyncImage.from_gicon_async (Icon icon, int size, bool load_on_realize = true, bool auto_size_request = true)
Creates a new Granite.AsyncImage with the supplied icon
and
size
. See Granite.AsyncImage.AsyncImage for more
details.
This is equivalent to calling Granite.AsyncImage.AsyncImage and Granite.AsyncImage.set_from_gicon_async.
Parameters:
icon |
the GLib.Icon to display in the image |
size |
the size of the icon, |
load_on_realize |
if |
auto_size_request |
if the widget should act as a placeholder when the image is not yet loaded |