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
constructArgumentsConstructArgument[]
GhostPad(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected GhostPad(CreationData data)
Parameters
dataCreationData
GhostPad(GhostPadHandle)
protected GhostPad(GhostPadHandle handle)
Parameters
handleGhostPadHandle
Methods
ActivateModeDefault(Pad, Object?, PadMode, bool)
public static bool ActivateModeDefault(Pad pad, Object? parent, PadMode mode, bool active)
Parameters
Returns
Construct()
public bool Construct()
Returns
GetGType()
public static Type GetGType()
Returns
GetTarget()
public Pad? GetTarget()
Returns
InternalActivateModeDefault(Pad, Object?, PadMode, bool)
public static bool InternalActivateModeDefault(Pad pad, Object? parent, PadMode mode, bool active)
Parameters
Returns
New(string?, Pad)
public static GhostPad? New(string? name, Pad target)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed GhostPad instance for a given pointer.
public static GhostPad NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewFromTemplate(string?, Pad, PadTemplate)
public static GhostPad? NewFromTemplate(string? name, Pad target, PadTemplate templ)
Parameters
namestringtargetPadtemplPadTemplate
Returns
NewNoTarget(string?, PadDirection)
public static GhostPad? NewNoTarget(string? name, PadDirection dir)
Parameters
namestringdirPadDirection
Returns
NewNoTargetFromTemplate(string?, PadTemplate)
public static GhostPad? NewNoTargetFromTemplate(string? name, PadTemplate templ)
Parameters
namestringtemplPadTemplate
Returns
NewWithProperties(ConstructArgument[])
Creates a new GhostPad and sets the properties specified by the construct arguments.
public static GhostPad NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetTarget(Pad?)
public bool SetTarget(Pad? newtarget)
Parameters
newtargetPad