Table of Contents

Class EditorState

Namespace
WebKit
Assembly
WebKit-6.0.dll
public sealed class EditorState : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
EditorState
Implements
Inherited Members

Constructors

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

Parameters

constructArguments ConstructArgument[]

EditorState(CreationData)

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

Parameters

data CreationData

EditorState(EditorStateHandle)

protected EditorState(EditorStateHandle handle)

Parameters

handle EditorStateHandle

Fields

ChangedSignal

Signal Descriptor for OnChanged.

public static readonly Signal<EditorState> ChangedSignal

Field Value

Signal<EditorState>

TypingAttributesPropertyDefinition

public static readonly Property<uint, EditorState> TypingAttributesPropertyDefinition

Field Value

Property<uint, EditorState>

Properties

TypingAttributes

public uint TypingAttributes { get; }

Property Value

uint

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetTypingAttributes()

[Version("2.10")]
public uint GetTypingAttributes()

Returns

uint

IsCopyAvailable()

[Version("2.20")]
public bool IsCopyAvailable()

Returns

bool

IsCutAvailable()

[Version("2.20")]
public bool IsCutAvailable()

Returns

bool

IsPasteAvailable()

[Version("2.20")]
public bool IsPasteAvailable()

Returns

bool

IsRedoAvailable()

[Version("2.20")]
public bool IsRedoAvailable()

Returns

bool

IsUndoAvailable()

[Version("2.20")]
public bool IsUndoAvailable()

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed EditorState instance for a given pointer.

public static EditorState NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

EditorState

NewWithProperties(ConstructArgument[])

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

public static EditorState NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

EditorState

Events

OnChanged

public event SignalHandler<EditorState> OnChanged

Event Type

SignalHandler<EditorState>