HoverContext

class HoverContext(**properties: Any)

Superclasses: Object

Constructors:

HoverContext(**properties)

Methods

class HoverContext
get_bounds() tuple[bool, TextIter, TextIter]

Gets the current word bounds of the hover.

If begin is non-None, it will be set to the start position of the current word being hovered.

If end is non-None, it will be set to the end position for the current word being hovered.

get_buffer() Buffer

A convenience function to get the buffer.

get_iter(iter: TextIter) bool
Parameters:

iter

get_view() View