gtksource.hover_context
Module for [HoverContext] class
Types 3
Context for populating gtksource.hover_display.HoverDisplay contents.
gtksource.hover_context.HoverContext contains information about the request to populate contents for a gtksource.hover_display.HoverDisplay.
It can be used to retrieve the gtksource.view.View, gtksource.buffer.Buffer, and gtk.text_iter.TextIter for the regions of text which are being displayed.
Use gtksource.hover_context.HoverContext.getBounds to get the word that was requested. gtksource.hover_context.HoverContext.getIter will get you the location of the pointer when the request was made.
Methods
HoverContextGidBuilder builder() static nothrowGet builder for [gtksource.hover_context.HoverContext] Returns: New builder objectbool getBounds(out gtk.text_iter.TextIter begin, out gtk.text_iter.TextIter end) nothrowGets the current word bounds of the hover.gtksource.buffer.Buffer getBuffer() nothrowA convenience function to get the buffer. Returns: The #GtkSourceBuffer for the viewbool getIter(gtk.text_iter.TextIter iter) nothrowgtksource.view.View getView() nothrowFluent builder implementation template for gtksource.hover_context.HoverContext
Fluent builder for gtksource.hover_context.HoverContext
Methods