HoverProvider


Object Hierarchy:

GtkSource.HoverProvider GtkSource.HoverProvider GtkSource.HoverProvider GLib.Object GLib.Object GLib.Object->GtkSource.HoverProvider

Description:

[ CCode ( type_cname = "GtkSourceHoverProviderInterface" , type_id = "gtk_source_hover_provider_get_type ()" ) ]
public interface HoverProvider : Object

Interface to populate interactive tooltips.

`GtkSourceHoverProvider` is an interface that should be implemented to extend the contents of a [class@HoverDisplay]. This is typical in editors that interact external tooling such as those utilizing Language Server Protocol.

If you can populate the [class@HoverDisplay] synchronously, use [vfunc@HoverProvider.populate]. Otherwise, interface implementations that may take additional time should use [vfunc@HoverProvider.populate_async] to avoid blocking the main loop.


Namespace: GtkSource
Package: gtksourceview-5

Content:

Methods:

Inherited Members: