Interactive tooltips.
gtksource.hover.Hover allows a class@View to provide contextual information. When enabled, if the user hovers over a word in the text editor, a series of registered iface@HoverProvider can populate a class@HoverDisplay with useful information.
To enable call gtksource.view.View.getHover and add iface@HoverProvider using gtksource.hover.Hover.addProvider. To disable, remove all registered providers with gtksource.hover.Hover.removeProvider.
You can change how long to wait to display the interactive tooltip by setting the property@Hover:hover-delay property in milliseconds.
Interactive tooltips.
gtksource.hover.Hover allows a class@View to provide contextual information. When enabled, if the user hovers over a word in the text editor, a series of registered iface@HoverProvider can populate a class@HoverDisplay with useful information.
To enable call gtksource.view.View.getHover and add iface@HoverProvider using gtksource.hover.Hover.addProvider. To disable, remove all registered providers with gtksource.hover.Hover.removeProvider.
You can change how long to wait to display the interactive tooltip by setting the property@Hover:hover-delay property in milliseconds.