setFromResource

open fun setFromResource(resourcePath: String? = null)

Sets a GtkImage to show a resource.

See ctor@Gtk.Image.new_from_resource for details.

Parameters

resourcePath

a resource path