]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/msw/streams.py
use generic timer in wxMGL and wxX11
[wxWidgets.git] / wxPython / src / msw / streams.py
... / ...
CommitLineData
1# This file was created automatically by SWIG.
2import streamsc
3import wx
4import string
5class 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,)
35class 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
43class 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,)
52class 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