Method

Gtk.Video.set_resource

Declaration [src]

void
gtk_video_set_resource (
  GtkVideo* self,
  const char* resource_path
)

Description [src]

Makes self play the resource at the given resource_path.

This is a utility function that calls gtk_video_set_file().

Parameters

resource_path const char*
 

the resource to set

 Can be NULL
 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string