Table of Contents

Class GhostPad

Namespace
Gst
Assembly
Gst-1.0.dll
public class GhostPad : ProxyPad, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
GhostPad
Implements
Inherited Members

Constructors

GhostPad(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public GhostPad(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

GhostPad(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected GhostPad(CreationData data)

Parameters

data CreationData

GhostPad(GhostPadHandle)

protected GhostPad(GhostPadHandle handle)

Parameters

handle GhostPadHandle

Methods

ActivateModeDefault(Pad, Object?, PadMode, bool)

public static bool ActivateModeDefault(Pad pad, Object? parent, PadMode mode, bool active)

Parameters

pad Pad
parent Object
mode PadMode
active bool

Returns

bool

Construct()

public bool Construct()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetTarget()

public Pad? GetTarget()

Returns

Pad

InternalActivateModeDefault(Pad, Object?, PadMode, bool)

public static bool InternalActivateModeDefault(Pad pad, Object? parent, PadMode mode, bool active)

Parameters

pad Pad
parent Object
mode PadMode
active bool

Returns

bool

New(string?, Pad)

public static GhostPad? New(string? name, Pad target)

Parameters

name string
target Pad

Returns

GhostPad

NewFromPointer(nint, bool)

Creates a new managed GhostPad instance for a given pointer.

public static GhostPad NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

GhostPad

NewFromTemplate(string?, Pad, PadTemplate)

public static GhostPad? NewFromTemplate(string? name, Pad target, PadTemplate templ)

Parameters

name string
target Pad
templ PadTemplate

Returns

GhostPad

NewNoTarget(string?, PadDirection)

public static GhostPad? NewNoTarget(string? name, PadDirection dir)

Parameters

name string
dir PadDirection

Returns

GhostPad

NewNoTargetFromTemplate(string?, PadTemplate)

public static GhostPad? NewNoTargetFromTemplate(string? name, PadTemplate templ)

Parameters

name string
templ PadTemplate

Returns

GhostPad

NewWithProperties(ConstructArgument[])

Creates a new GhostPad and sets the properties specified by the construct arguments.

public static GhostPad NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

GhostPad

SetTarget(Pad?)

public bool SetTarget(Pad? newtarget)

Parameters

newtarget Pad

Returns

bool