Table of Contents

Class Video

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class Video : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
Inheritance
Video
Implements
Inherited Members

Constructors

Video()

public Video()

Video(params ConstructArgument[])

protected Video(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Video(IntPtr, bool)

protected Video(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AutoplayPropertyDefinition

public static readonly Property<bool, Video> AutoplayPropertyDefinition

Field Value

Property<bool, Video>

FilePropertyDefinition

public static readonly Property<File, Video> FilePropertyDefinition

Field Value

Property<File, Video>

GraphicsOffloadPropertyDefinition

public static readonly Property<GraphicsOffloadEnabled, Video> GraphicsOffloadPropertyDefinition

Field Value

Property<GraphicsOffloadEnabled, Video>

LoopPropertyDefinition

public static readonly Property<bool, Video> LoopPropertyDefinition

Field Value

Property<bool, Video>

MediaStreamPropertyDefinition

public static readonly Property<MediaStream?, Video> MediaStreamPropertyDefinition

Field Value

Property<MediaStream, Video>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Autoplay

public bool Autoplay { get; set; }

Property Value

bool

File

public File File { get; set; }

Property Value

File

GraphicsOffload

public GraphicsOffloadEnabled GraphicsOffload { get; set; }

Property Value

GraphicsOffloadEnabled

Loop

public bool Loop { get; set; }

Property Value

bool

MediaStream

public MediaStream? MediaStream { get; set; }

Property Value

MediaStream

Methods

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

GetAccessibleParent()

[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetAutoplay()

public bool GetAutoplay()

Returns

bool

GetBounds(out int, out int, out int, out int)

[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)

Parameters

x int
y int
width int
height int

Returns

bool

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetFile()

public File? GetFile()

Returns

File

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetGraphicsOffload()

[Version("4.14")]
public GraphicsOffloadEnabled GetGraphicsOffload()

Returns

GraphicsOffloadEnabled

GetLoop()

public bool GetLoop()

Returns

bool

GetMediaStream()

public MediaStream? GetMediaStream()

Returns

MediaStream

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

New()

public static Video New()

Returns

Video

NewForFile(File?)

public static Video NewForFile(File? file)

Parameters

file File

Returns

Video

NewForFilename(string?)

public static Video NewForFilename(string? filename)

Parameters

filename string

Returns

Video

NewForMediaStream(MediaStream?)

public static Video NewForMediaStream(MediaStream? stream)

Parameters

stream MediaStream

Returns

Video

NewForResource(string?)

public static Video NewForResource(string? resourcePath)

Parameters

resourcePath string

Returns

Video

ResetProperty(AccessibleProperty)

public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty

ResetRelation(AccessibleRelation)

public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation

ResetState(AccessibleState)

public void ResetState(AccessibleState state)

Parameters

state AccessibleState

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

SetAutoplay(bool)

public void SetAutoplay(bool autoplay)

Parameters

autoplay bool

SetFile(File?)

public void SetFile(File? file)

Parameters

file File

SetFilename(string?)

public void SetFilename(string? filename)

Parameters

filename string

SetGraphicsOffload(GraphicsOffloadEnabled)

[Version("4.14")]
public void SetGraphicsOffload(GraphicsOffloadEnabled enabled)

Parameters

enabled GraphicsOffloadEnabled

SetLoop(bool)

public void SetLoop(bool loop)

Parameters

loop bool

SetMediaStream(MediaStream?)

public void SetMediaStream(MediaStream? stream)

Parameters

stream MediaStream

SetResource(string?)

public void SetResource(string? resourcePath)

Parameters

resourcePath string

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible