]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/streams.py
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / src / msw / 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):
5a2a9da2 9 val = streamsc.wxInputStream_close(self, *_args, **_kwargs)
c368d904
RD
10 return val
11 def flush(self, *_args, **_kwargs):
5a2a9da2 12 val = streamsc.wxInputStream_flush(self, *_args, **_kwargs)
c368d904
RD
13 return val
14 def eof(self, *_args, **_kwargs):
5a2a9da2 15 val = streamsc.wxInputStream_eof(self, *_args, **_kwargs)
c368d904
RD
16 return val
17 def read(self, *_args, **_kwargs):
5a2a9da2 18 val = streamsc.wxInputStream_read(self, *_args, **_kwargs)
c368d904
RD
19 return val
20 def readline(self, *_args, **_kwargs):
5a2a9da2 21 val = streamsc.wxInputStream_readline(self, *_args, **_kwargs)
c368d904
RD
22 return val
23 def readlines(self, *_args, **_kwargs):
5a2a9da2 24 val = streamsc.wxInputStream_readlines(self, *_args, **_kwargs)
c368d904
RD
25 return val
26 def seek(self, *_args, **_kwargs):
5a2a9da2 27 val = streamsc.wxInputStream_seek(self, *_args, **_kwargs)
c368d904
RD
28 return val
29 def tell(self, *_args, **_kwargs):
5a2a9da2 30 val = streamsc.wxInputStream_tell(self, *_args, **_kwargs)
c368d904 31 return val
7e50db3f 32 def Peek(self, *_args, **_kwargs):
5a2a9da2 33 val = streamsc.wxInputStream_Peek(self, *_args, **_kwargs)
7e50db3f
RD
34 return val
35 def GetC(self, *_args, **_kwargs):
5a2a9da2 36 val = streamsc.wxInputStream_GetC(self, *_args, **_kwargs)
7e50db3f
RD
37 return val
38 def LastRead(self, *_args, **_kwargs):
5a2a9da2 39 val = streamsc.wxInputStream_LastRead(self, *_args, **_kwargs)
7e50db3f
RD
40 return val
41 def CanRead(self, *_args, **_kwargs):
5a2a9da2 42 val = streamsc.wxInputStream_CanRead(self, *_args, **_kwargs)
7e50db3f
RD
43 return val
44 def Eof(self, *_args, **_kwargs):
5a2a9da2 45 val = streamsc.wxInputStream_Eof(self, *_args, **_kwargs)
7e50db3f
RD
46 return val
47 def Ungetch(self, *_args, **_kwargs):
5a2a9da2 48 val = streamsc.wxInputStream_Ungetch(self, *_args, **_kwargs)
7e50db3f
RD
49 return val
50 def SeekI(self, *_args, **_kwargs):
5a2a9da2 51 val = streamsc.wxInputStream_SeekI(self, *_args, **_kwargs)
7e50db3f
RD
52 return val
53 def TellI(self, *_args, **_kwargs):
5a2a9da2 54 val = streamsc.wxInputStream_TellI(self, *_args, **_kwargs)
7e50db3f 55 return val
c368d904 56 def __repr__(self):
5a2a9da2 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):
5a2a9da2 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):
5a2a9da2 71 val = streamsc.wxOutputStream_write(self, *_args, **_kwargs)
c368d904
RD
72 return val
73 def __repr__(self):
5a2a9da2 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
7e50db3f
RD
90wxFromStart = streamsc.wxFromStart
91wxFromCurrent = streamsc.wxFromCurrent
92wxFromEnd = streamsc.wxFromEnd