Hover


Object Hierarchy:

GtkSource.Hover GtkSource.Hover GtkSource.Hover GLib.Object GLib.Object GLib.Object->GtkSource.Hover

Description:

[ CCode ( type_id = "gtk_source_hover_get_type ()" ) ]
public sealed class Hover : Object

Interactive tooltips.

`GtkSourceHover` 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 [method@View.get_hover] and add [iface@HoverProvider] using [method@Hover.add_provider]. To disable, remove all registered providers with [method@Hover.remove_provider].

You can change how long to wait to display the interactive tooltip by setting the [property@Hover:hover-delay] property in milliseconds.


Namespace: GtkSource
Package: gtksourceview-5

Content:

Properties:

Creation methods:

Methods:

Inherited Members: