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 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 [[email protected]_hover] and add [iface@HoverProvider] using [[email protected]_provider]. To disable, remove all registered providers with [[email protected]_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:

All known members inherited from class GLib.Object



2022 vala-language.org