Class PadTemplate
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public class PadTemplate : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
PadTemplate
- Implements
- Inherited Members
Constructors
PadTemplate(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 PadTemplate(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
PadTemplate(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected PadTemplate(CreationData data)
Parameters
dataCreationData
PadTemplate(PadTemplateHandle)
protected PadTemplate(PadTemplateHandle handle)
Parameters
handlePadTemplateHandle
Fields
CapsPropertyDefinition
public static readonly Property<Caps, PadTemplate> CapsPropertyDefinition
Field Value
DirectionPropertyDefinition
public static readonly Property<PadDirection, PadTemplate> DirectionPropertyDefinition
Field Value
NameTemplatePropertyDefinition
public static readonly Property<string?, PadTemplate> NameTemplatePropertyDefinition
Field Value
PadCreatedSignal
Signal Descriptor for OnPadCreated.
public static readonly Signal<PadTemplate, PadTemplate.PadCreatedSignalArgs> PadCreatedSignal
Field Value
PresencePropertyDefinition
public static readonly Property<PadPresence, PadTemplate> PresencePropertyDefinition
Field Value
Properties
Caps
public Caps Caps { get; }
Property Value
Direction
public PadDirection Direction { get; }
Property Value
NameTemplate
public string? NameTemplate { get; }
Property Value
Presence
public PadPresence Presence { get; }
Property Value
Methods
GetCaps()
public Caps GetCaps()
Returns
GetDocumentationCaps()
[Version("1.18")]
public Caps GetDocumentationCaps()
Returns
GetGType()
public static Type GetGType()
Returns
New(string, PadDirection, PadPresence, Caps)
public static PadTemplate? New(string nameTemplate, PadDirection direction, PadPresence presence, Caps caps)
Parameters
nameTemplatestringdirectionPadDirectionpresencePadPresencecapsCaps
Returns
NewFromPointer(nint, bool)
Creates a new managed PadTemplate instance for a given pointer.
public static PadTemplate NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewFromStaticPadTemplateWithGtype(StaticPadTemplate, Type)
[Version("1.14")]
public static PadTemplate? NewFromStaticPadTemplateWithGtype(StaticPadTemplate padTemplate, Type padType)
Parameters
padTemplateStaticPadTemplatepadTypeType
Returns
NewWithGtype(string, PadDirection, PadPresence, Caps, Type)
[Version("1.14")]
public static PadTemplate? NewWithGtype(string nameTemplate, PadDirection direction, PadPresence presence, Caps caps, Type padType)
Parameters
nameTemplatestringdirectionPadDirectionpresencePadPresencecapsCapspadTypeType
Returns
NewWithProperties(ConstructArgument[])
Creates a new PadTemplate and sets the properties specified by the construct arguments.
public static PadTemplate NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
PadCreated(Pad)
public void PadCreated(Pad pad)
Parameters
padPad
SetDocumentationCaps(Caps)
[Version("1.18")]
public void SetDocumentationCaps(Caps caps)
Parameters
capsCaps
Events
OnPadCreated
public event SignalHandler<PadTemplate, PadTemplate.PadCreatedSignalArgs> OnPadCreated