setResource

open fun setResource(resourcePath: String? = null)

Makes @self play the resource at the given @resource_path.

This is a utility function that calls method@Gtk.Video.set_file.

Parameters

resourcePath

the resource to set