#### PyKDE - Python Bindings for KDE

# class KPty |
Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | KPty
Inherits |

### methods

- KPty ()

  returns a KPty instance
  In versions KDE 3.2.0 and above only

- close ()

  returns nothing
  In versions KDE 3.2.0 and above only

- login (user = 0, remotehost = 0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  user | char | 0
  remotehost | char | 0

- logout ()

  returns nothing
  In versions KDE 3.2.0 and above only

- masterFd ()

  returns (int)
  In versions KDE 3.2.0 and above only

- open ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- setCTty ()

  returns nothing
  In versions KDE 3.2.0 and above only

- setWinSize (lines, columns)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  lines | int |
  columns | int |

- setXonXoff (useXonXoff)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  useXonXoff | bool |

- slaveFd ()

  returns (int)
  In versions KDE 3.2.0 and above only

- ttyName ()

  returns (char)
  In versions KDE 3.2.0 and above only