GnuCash  5.6-150-g038405b370+
Public Member Functions | Data Fields | Static Public Attributes
pycons.console.ConsoleIn Class Reference

Public Member Functions

def __init__ (self, console, fn=-1)
 
def close (self)
 
def fileno (self)
 
def isatty (self)
 
def read (self, a)
 
def readline (self)
 
def readlines (self)
 
def write (self, s)
 
def writelines (self, l)
 
def seek (self, a)
 
def tell (self)
 

Data Fields

 fn
 
 console
 

Static Public Attributes

def flush = close
 
def truncate = tell
 

Detailed Description

A fake input file object.  It receives input from a GTK TextView widget,
and if asked for a file number, returns one set on instance creation

Definition at line 91 of file console.py.


The documentation for this class was generated from the following file: