Video.for_resource


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public Video.for_resource (string? resource_path)

Creates a `GtkVideo` to play back the resource at the given resource_path.

This is a utility function that calls [ctor@Gtk.Video.new_for_file].

Parameters:

resource_path

resource path to play back

Returns:

a new `GtkVideo`