Vte.EventContext

Fields

None

Methods

get_coordinates (x, y)

Details

class Vte.EventContext

Provides context information for a context menu event.

New in version 0.76.

get_coordinates(x, y)
Parameters:
  • x (float or None) – location to store the X coordinate

  • y (float or None) – location to store the Y coordinate

Returns:

True if the event has coordinates attached that are within the terminal, with x and y filled in; False otherwise

Return type:

bool

New in version 0.76.