HoverContext


Object Hierarchy:

GtkSource.HoverContext GtkSource.HoverContext GtkSource.HoverContext GLib.Object GLib.Object GLib.Object->GtkSource.HoverContext

Description:

[ CCode ( type_id = "gtk_source_hover_context_get_type ()" ) ]
public sealed class HoverContext : Object

Context for populating [class@HoverDisplay] contents.

`GtkSourceHoverContext` contains information about the request to populate contents for a [class@HoverDisplay].

It can be used to retrieve the [class@View], [class@Buffer], and [struct@Gtk.TextIter] for the regions of text which are being displayed.

Use [method@HoverContext.get_bounds] to get the word that was requested. [method@HoverContext.get_iter] will get you the location of the pointer when the request was made.


Namespace: GtkSource
Package: gtksourceview-5

Content:

Creation methods:

Methods:

Inherited Members: