]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/streams.py
Some improvements and additions for wxListCtrl and logging
[wxWidgets.git] / wxPython / src / msw / streams.py
1 # This file was created automatically by SWIG.
2 import streamsc
3 import wx
4 import string
5 class wxInputStreamPtr :
6 def __init__(self,this):
7 self.this = this
8 self.thisown = 0
9 def close(self, *_args, **_kwargs):
10 val = apply(streamsc.wxInputStream_close,(self,) + _args, _kwargs)
11 return val
12 def flush(self, *_args, **_kwargs):
13 val = apply(streamsc.wxInputStream_flush,(self,) + _args, _kwargs)
14 return val
15 def eof(self, *_args, **_kwargs):
16 val = apply(streamsc.wxInputStream_eof,(self,) + _args, _kwargs)
17 return val
18 def read(self, *_args, **_kwargs):
19 val = apply(streamsc.wxInputStream_read,(self,) + _args, _kwargs)
20 return val
21 def readline(self, *_args, **_kwargs):
22 val = apply(streamsc.wxInputStream_readline,(self,) + _args, _kwargs)
23 return val
24 def readlines(self, *_args, **_kwargs):
25 val = apply(streamsc.wxInputStream_readlines,(self,) + _args, _kwargs)
26 return val
27 def seek(self, *_args, **_kwargs):
28 val = apply(streamsc.wxInputStream_seek,(self,) + _args, _kwargs)
29 return val
30 def tell(self, *_args, **_kwargs):
31 val = apply(streamsc.wxInputStream_tell,(self,) + _args, _kwargs)
32 return val
33 def __repr__(self):
34 return "<C wxInputStream instance at %s>" % (self.this,)
35 class wxInputStream(wxInputStreamPtr):
36 def __init__(self,*_args,**_kwargs):
37 self.this = apply(streamsc.new_wxInputStream,_args,_kwargs)
38 self.thisown = 1
39
40
41
42
43 class wxOutputStreamPtr :
44 def __init__(self,this):
45 self.this = this
46 self.thisown = 0
47 def write(self, *_args, **_kwargs):
48 val = apply(streamsc.wxOutputStream_write,(self,) + _args, _kwargs)
49 return val
50 def __repr__(self):
51 return "<C wxOutputStream instance at %s>" % (self.this,)
52 class wxOutputStream(wxOutputStreamPtr):
53 def __init__(self,this):
54 self.this = this
55
56
57
58
59
60
61 #-------------- FUNCTION WRAPPERS ------------------
62
63
64
65 #-------------- VARIABLE WRAPPERS ------------------
66