Callbacks

SelectionFunc (terminal, column, row, *data)

TerminalSpawnAsyncCallback (terminal, pid, error, *user_data)

Details

Vte.SelectionFunc(terminal, column, row, *data)
Parameters:
  • terminal (Vte.Terminal) – terminal in which the cell is.

  • column (int) – column in which the cell is.

  • row (int) – row in which the cell is.

  • data (object or None) – user data.

Returns:

True if cell has to be selected; False if otherwise.

Return type:

bool

Specifies the type of a selection function used to check whether a cell has to be selected or not.

Deprecated since version 0.76.

Vte.TerminalSpawnAsyncCallback(terminal, pid, error, *user_data)
Parameters:

Callback for Vte.Terminal.spawn_async().

On success, pid contains the PID of the spawned process, and error is None. On failure, pid is -1 and error contains the error information.

New in version 0.48.