Skip to main content

Type Alias: GtkVideoProps

GtkVideoProps = WidgetProps & object

Defined in: generated/jsx.ts:11017

Props for the GtkVideo widget.

Type Declaration

NameTypeDescriptionDefined in
autoplay?booleanIf the video should automatically begin playing.generated/jsx.ts:11019
file?Gio.File | nullThe file played by this video if the video is playing a file.generated/jsx.ts:11021
graphicsOffload?Gtk.GraphicsOffloadEnabledWhether to enable graphics offload.generated/jsx.ts:11023
loop?booleanIf new media files should be set to loop.generated/jsx.ts:11025
mediaStream?Gtk.MediaStream | nullThe media-stream playedgenerated/jsx.ts:11027
onNotify?(self, propName) => void | nullCalled when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case)generated/jsx.ts:11033
ref?Ref<Gtk.Video>-generated/jsx.ts:11036