Table of Contents

Class SignalAction

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class SignalAction : ShortcutAction, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
SignalAction
Implements
Inherited Members

Constructors

SignalAction(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 SignalAction(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SignalAction(CreationData)

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

Parameters

data CreationData

SignalAction(SignalActionHandle)

protected SignalAction(SignalActionHandle handle)

Parameters

handle SignalActionHandle

Fields

SignalNamePropertyDefinition

public static readonly Property<string?, SignalAction> SignalNamePropertyDefinition

Field Value

Property<string, SignalAction>

Properties

SignalName

public string? SignalName { get; }

Property Value

string

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetSignalName()

public string GetSignalName()

Returns

string

New(string)

public static SignalAction New(string signalName)

Parameters

signalName string

Returns

SignalAction

NewFromPointer(nint, bool)

Creates a new managed SignalAction instance for a given pointer.

public static SignalAction NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SignalAction

NewWithProperties(ConstructArgument[])

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

public static SignalAction NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

SignalAction