HoverProvider
interface HoverProvider
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.
Properties
Link copied to clipboard
abstract val gtksourceHoverProviderPointer: <Error class: unknown class><<Error class: unknown class>>
Functions
Link copied to clipboard
open fun populateAsync(context: HoverContext, display: HoverDisplay, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>)
Link copied to clipboard
open fun populateFinish(result: <Error class: unknown class>): <Error class: unknown class><Boolean>