Type Alias: GtkVideoProps
GtkVideoProps =
WidgetProps&object
Defined in: generated/jsx.ts:11017
Props for the GtkVideo widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
autoplay? | boolean | If the video should automatically begin playing. | generated/jsx.ts:11019 |
file? | Gio.File | null | The file played by this video if the video is playing a file. | generated/jsx.ts:11021 |
graphicsOffload? | Gtk.GraphicsOffloadEnabled | Whether to enable graphics offload. | generated/jsx.ts:11023 |
loop? | boolean | If new media files should be set to loop. | generated/jsx.ts:11025 |
mediaStream? | Gtk.MediaStream | null | The media-stream played | generated/jsx.ts:11027 |
onNotify? | (self, propName) => void | null | Called 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 |