Table of Contents

Class HoverContext

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class HoverContext : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
HoverContext
Implements
Inherited Members

Constructors

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

Parameters

constructArguments ConstructArgument[]

HoverContext(CreationData)

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

Parameters

data CreationData

HoverContext(HoverContextHandle)

protected HoverContext(HoverContextHandle handle)

Parameters

handle HoverContextHandle

Methods

GetBounds(out TextIter, out TextIter)

public bool GetBounds(out TextIter begin, out TextIter end)

Parameters

begin TextIter
end TextIter

Returns

bool

GetBuffer()

public Buffer GetBuffer()

Returns

Buffer

GetGType()

public static Type GetGType()

Returns

Type

GetIter(out TextIter)

public bool GetIter(out TextIter iter)

Parameters

iter TextIter

Returns

bool

GetView()

public View GetView()

Returns

View

NewFromPointer(nint, bool)

Creates a new managed HoverContext instance for a given pointer.

public static HoverContext NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

HoverContext

NewWithProperties(ConstructArgument[])

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

public static HoverContext NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

HoverContext