set_from_file
Description:
Sets a `GtkImage` to show a file.
See [ctor@Gtk.Image.new_from_file] for details.
::: warning Note that this function should not be used with untrusted data. Use a proper image loading framework such as libglycin, which can load many image formats into a `GdkTexture`, and then use [method@Gtk.Image.set_from_paintable].
Parameters:
| this |
a `GtkImage` |
| filename |
a filename |