Interface HoverProvider

All Superinterfaces:
Proxy
All Known Implementing Classes:
HoverProvider.HoverProviderImpl

@Generated("io.github.jwharm.JavaGI") public interface HoverProvider extends Proxy
Interface to populate interactive tooltips.

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

If you can populate the HoverDisplay synchronously, use HoverProvider#populate. Otherwise, interface implementations that may take additional time should use populateAsync(org.gnome.gtksourceview.HoverContext, org.gnome.gtksourceview.HoverDisplay, org.gnome.gio.Cancellable, org.gnome.gio.AsyncReadyCallback) to avoid blocking the main loop.