]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/streams.py
Save the initial tstate during initialization
[wxWidgets.git] / wxPython / src / gtk / streams.py
CommitLineData
c368d904
RD
1# This file was created automatically by SWIG.
2import streamsc
3import wx
c368d904
RD
4class wxInputStreamPtr :
5 def __init__(self,this):
6 self.this = this
7 self.thisown = 0
8 def close(self, *_args, **_kwargs):
1fded56b 9 val = streamsc.wxInputStream_close(self, *_args, **_kwargs)
c368d904
RD
10 return val
11 def flush(self, *_args, **_kwargs):
1fded56b 12 val = streamsc.wxInputStream_flush(self, *_args, **_kwargs)
c368d904
RD
13 return val
14 def eof(self, *_args, **_kwargs):
1fded56b 15 val = streamsc.wxInputStream_eof(self, *_args, **_kwargs)
c368d904
RD
16 return val
17 def read(self, *_args, **_kwargs):
1fded56b 18 val = streamsc.wxInputStream_read(self, *_args, **_kwargs)
c368d904
RD
19 return val
20 def readline(self, *_args, **_kwargs):
1fded56b 21 val = streamsc.wxInputStream_readline(self, *_args, **_kwargs)
c368d904
RD
22 return val
23 def readlines(self, *_args, **_kwargs):
1fded56b 24 val = streamsc.wxInputStream_readlines(self, *_args, **_kwargs)
c368d904
RD
25 return val
26 def seek(self, *_args, **_kwargs):
1fded56b 27 val = streamsc.wxInputStream_seek(self, *_args, **_kwargs)
c368d904
RD
28 return val
29 def tell(self, *_args, **_kwargs):
1fded56b 30 val = streamsc.wxInputStream_tell(self, *_args, **_kwargs)
c368d904 31 return val
b67a9327 32 def Peek(self, *_args, **_kwargs):
1fded56b 33 val = streamsc.wxInputStream_Peek(self, *_args, **_kwargs)
b67a9327
RD
34 return val
35 def GetC(self, *_args, **_kwargs):
1fded56b 36 val = streamsc.wxInputStream_GetC(self, *_args, **_kwargs)
b67a9327
RD
37 return val
38 def LastRead(self, *_args, **_kwargs):
1fded56b 39 val = streamsc.wxInputStream_LastRead(self, *_args, **_kwargs)
b67a9327
RD
40 return val
41 def CanRead(self, *_args, **_kwargs):
1fded56b 42 val = streamsc.wxInputStream_CanRead(self, *_args, **_kwargs)
b67a9327
RD
43 return val
44 def Eof(self, *_args, **_kwargs):
1fded56b 45 val = streamsc.wxInputStream_Eof(self, *_args, **_kwargs)
b67a9327
RD
46 return val
47 def Ungetch(self, *_args, **_kwargs):
1fded56b 48 val = streamsc.wxInputStream_Ungetch(self, *_args, **_kwargs)
b67a9327
RD
49 return val
50 def SeekI(self, *_args, **_kwargs):
1fded56b 51 val = streamsc.wxInputStream_SeekI(self, *_args, **_kwargs)
b67a9327
RD
52 return val
53 def TellI(self, *_args, **_kwargs):
1fded56b 54 val = streamsc.wxInputStream_TellI(self, *_args, **_kwargs)
b67a9327 55 return val
c368d904 56 def __repr__(self):
1fded56b 57 return "<%s.%s instance; proxy of C++ wxInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
c368d904
RD
58class wxInputStream(wxInputStreamPtr):
59 def __init__(self,*_args,**_kwargs):
1fded56b 60 self.this = streamsc.new_wxInputStream(*_args,**_kwargs)
c368d904
RD
61 self.thisown = 1
62
63
64
65
66class wxOutputStreamPtr :
67 def __init__(self,this):
68 self.this = this
69 self.thisown = 0
70 def write(self, *_args, **_kwargs):
1fded56b 71 val = streamsc.wxOutputStream_write(self, *_args, **_kwargs)
c368d904
RD
72 return val
73 def __repr__(self):
1fded56b 74 return "<%s.%s instance; proxy of C++ wxOutputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
c368d904
RD
75class wxOutputStream(wxOutputStreamPtr):
76 def __init__(self,this):
77 self.this = this
78
79
80
81
82
83
84#-------------- FUNCTION WRAPPERS ------------------
85
86
87
88#-------------- VARIABLE WRAPPERS ------------------
89
b67a9327
RD
90wxFromStart = streamsc.wxFromStart
91wxFromCurrent = streamsc.wxFromCurrent
92wxFromEnd = streamsc.wxFromEnd