Terminal.getPty

Warning vte_terminal_get_pty has been deprecated since version 0.26 and should not be used in newly-written code. Use vte_terminal_get_pty_object() and vte_pty_get_fd() Returns the file descriptor of the master end of terminal's PTY.

class Terminal
int
getPty
()

Return Value

Type: int

the file descriptor, or -1 if the terminal has no PTY. Since 0.20

Meta