]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/streams.py
added renderer.h/.cpp
[wxWidgets.git] / wxPython / src / msw / streams.py
1 # This file was created automatically by SWIG.
2 import streamsc
3 import wx
4 class wxInputStreamPtr :
5 def __init__(self,this):
6 self.this = this
7 self.thisown = 0
8 def close(self, *_args, **_kwargs):
9 val = apply(streamsc.wxInputStream_close,(self,) + _args, _kwargs)
10 return val
11 def flush(self, *_args, **_kwargs):
12 val = apply(streamsc.wxInputStream_flush,(self,) + _args, _kwargs)
13 return val
14 def eof(self, *_args, **_kwargs):
15 val = apply(streamsc.wxInputStream_eof,(self,) + _args, _kwargs)
16 return val
17 def read(self, *_args, **_kwargs):
18 val = apply(streamsc.wxInputStream_read,(self,) + _args, _kwargs)
19 return val
20 def readline(self, *_args, **_kwargs):
21 val = apply(streamsc.wxInputStream_readline,(self,) + _args, _kwargs)
22 return val
23 def readlines(self, *_args, **_kwargs):
24 val = apply(streamsc.wxInputStream_readlines,(self,) + _args, _kwargs)
25 return val
26 def seek(self, *_args, **_kwargs):
27 val = apply(streamsc.wxInputStream_seek,(self,) + _args, _kwargs)
28 return val
29 def tell(self, *_args, **_kwargs):
30 val = apply(streamsc.wxInputStream_tell,(self,) + _args, _kwargs)
31 return val
32 def Peek(self, *_args, **_kwargs):
33 val = apply(streamsc.wxInputStream_Peek,(self,) + _args, _kwargs)
34 return val
35 def GetC(self, *_args, **_kwargs):
36 val = apply(streamsc.wxInputStream_GetC,(self,) + _args, _kwargs)
37 return val
38 def LastRead(self, *_args, **_kwargs):
39 val = apply(streamsc.wxInputStream_LastRead,(self,) + _args, _kwargs)
40 return val
41 def CanRead(self, *_args, **_kwargs):
42 val = apply(streamsc.wxInputStream_CanRead,(self,) + _args, _kwargs)
43 return val
44 def Eof(self, *_args, **_kwargs):
45 val = apply(streamsc.wxInputStream_Eof,(self,) + _args, _kwargs)
46 return val
47 def Ungetch(self, *_args, **_kwargs):
48 val = apply(streamsc.wxInputStream_Ungetch,(self,) + _args, _kwargs)
49 return val
50 def SeekI(self, *_args, **_kwargs):
51 val = apply(streamsc.wxInputStream_SeekI,(self,) + _args, _kwargs)
52 return val
53 def TellI(self, *_args, **_kwargs):
54 val = apply(streamsc.wxInputStream_TellI,(self,) + _args, _kwargs)
55 return val
56 def __repr__(self):
57 return "<C wxInputStream instance at %s>" % (self.this,)
58 class wxInputStream(wxInputStreamPtr):
59 def __init__(self,*_args,**_kwargs):
60 self.this = apply(streamsc.new_wxInputStream,_args,_kwargs)
61 self.thisown = 1
62
63
64
65
66 class wxOutputStreamPtr :
67 def __init__(self,this):
68 self.this = this
69 self.thisown = 0
70 def write(self, *_args, **_kwargs):
71 val = apply(streamsc.wxOutputStream_write,(self,) + _args, _kwargs)
72 return val
73 def __repr__(self):
74 return "<C wxOutputStream instance at %s>" % (self.this,)
75 class 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
90 wxFromStart = streamsc.wxFromStart
91 wxFromCurrent = streamsc.wxFromCurrent
92 wxFromEnd = streamsc.wxFromEnd