Interface HoverProvider

All Superinterfaces:
Proxy
All Known Implementing Classes:
HoverProvider.HoverProvider$Impl

@Generated("org.javagi.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(HoverContext, HoverDisplay, Cancellable, AsyncReadyCallback) to avoid blocking the main loop.