:right-sidebar: True HoverContext =================================================================== .. currentmodule:: gi.repository.GtkSource .. class:: HoverContext(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.Object` :Constructors: :: HoverContext(**properties) Methods ------- .. rst-class:: interim-class .. class:: HoverContext :no-index: .. method:: get_bounds() -> tuple[bool, ~gi.repository.Gtk.TextIter, ~gi.repository.Gtk.TextIter] Gets the current word bounds of the hover. If ``begin`` is non-:const:`None`, it will be set to the start position of the current word being hovered. If ``end`` is non-:const:`None`, it will be set to the end position for the current word being hovered. .. method:: get_buffer() -> ~gi.repository.GtkSource.Buffer A convenience function to get the buffer. .. method:: get_iter(iter: ~gi.repository.Gtk.TextIter) -> bool :param iter: .. method:: get_view() -> ~gi.repository.GtkSource.View