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
constructArgumentsConstructArgument[]
EditorState(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected EditorState(CreationData data)
Parameters
dataCreationData
EditorState(EditorStateHandle)
protected EditorState(EditorStateHandle handle)
Parameters
handleEditorStateHandle
Fields
ChangedSignal
Signal Descriptor for OnChanged.
public static readonly Signal<EditorState> ChangedSignal
Field Value
TypingAttributesPropertyDefinition
public static readonly Property<uint, EditorState> TypingAttributesPropertyDefinition
Field Value
Properties
TypingAttributes
public uint TypingAttributes { get; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
GetTypingAttributes()
[Version("2.10")]
public uint GetTypingAttributes()
Returns
IsCopyAvailable()
[Version("2.20")]
public bool IsCopyAvailable()
Returns
IsCutAvailable()
[Version("2.20")]
public bool IsCutAvailable()
Returns
IsPasteAvailable()
[Version("2.20")]
public bool IsPasteAvailable()
Returns
IsRedoAvailable()
[Version("2.20")]
public bool IsRedoAvailable()
Returns
IsUndoAvailable()
[Version("2.20")]
public bool IsUndoAvailable()
Returns
NewFromPointer(nint, bool)
Creates a new managed EditorState instance for a given pointer.
public static EditorState NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new EditorState and sets the properties specified by the construct arguments.
public static EditorState NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnChanged
public event SignalHandler<EditorState> OnChanged