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.
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 |