Class HoverContext

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class HoverContext extends GObject
Context for populating HoverDisplay contents.

GtkSourceHoverContext contains information about the request to populate contents for a HoverDisplay.

It can be used to retrieve the View, Buffer, and Gtk.TextIter for the regions of text which are being displayed.

Use getBounds(org.gnome.gtk.TextIter, org.gnome.gtk.TextIter) to get the word that was requested. getIter(org.gnome.gtk.TextIter) will get you the location of the pointer when the request was made.