gtksource.hover

Module for [Hover] class

Types 3

Interactive tooltips.

gtksource.hover.Hover allows a gtksource.view.View to provide contextual information. When enabled, if the user hovers over a word in the text editor, a series of registered gtksource.hover_provider.HoverProvider can populate a gtksource.hover_display.HoverDisplay with useful information.

To enable call gtksource.view.View.getHover and add gtksource.hover_provider.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 gtksource.hover.Hover.hoverDelay property in milliseconds.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Hover self() nothrowReturns `this`, for use in `with` statements.
HoverGidBuilder builder() static nothrowGet builder for [gtksource.hover.Hover] Returns: New builder object
uint hoverDelay() @property nothrowGet `hoverDelay` property. Returns: Contains the number of milliseconds to delay before showing the hover assistant.
void hoverDelay(uint propval) @property nothrowSet `hoverDelay` property. Params: propval = Contains the number of milliseconds to delay before showing the hover assistant.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gtksource.hover.Hover

Methods
T hoverDelay(uint propval) nothrowSet `hoverDelay` property. Params: propval = Contains the number of milliseconds to delay before showing the hover assistant. Returns: Builder instance for fluent chaining

Fluent builder for gtksource.hover.Hover

Methods
Hover build() nothrowCreate object from builder. Returns: New object