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
constructArgumentsConstructArgument[]
HoverContext(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected HoverContext(CreationData data)
Parameters
dataCreationData
HoverContext(HoverContextHandle)
protected HoverContext(HoverContextHandle handle)
Parameters
handleHoverContextHandle
Methods
GetBounds(out TextIter, out TextIter)
public bool GetBounds(out TextIter begin, out TextIter end)
Parameters
Returns
GetBuffer()
public Buffer GetBuffer()
Returns
GetGType()
public static Type GetGType()
Returns
GetIter(out TextIter)
public bool GetIter(out TextIter iter)
Parameters
iterTextIter
Returns
GetView()
public View GetView()
Returns
NewFromPointer(nint, bool)
Creates a new managed HoverContext instance for a given pointer.
public static HoverContext NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new HoverContext and sets the properties specified by the construct arguments.
public static HoverContext NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.