]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/streams.py
1 # This file was created automatically by SWIG.
4 class wxInputStreamPtr
:
5 def __init__(self
,this
):
8 def close(self
, *_args
, **_kwargs
):
9 val
= apply(streamsc
.wxInputStream_close
,(self
,) + _args
, _kwargs
)
11 def flush(self
, *_args
, **_kwargs
):
12 val
= apply(streamsc
.wxInputStream_flush
,(self
,) + _args
, _kwargs
)
14 def eof(self
, *_args
, **_kwargs
):
15 val
= apply(streamsc
.wxInputStream_eof
,(self
,) + _args
, _kwargs
)
17 def read(self
, *_args
, **_kwargs
):
18 val
= apply(streamsc
.wxInputStream_read
,(self
,) + _args
, _kwargs
)
20 def readline(self
, *_args
, **_kwargs
):
21 val
= apply(streamsc
.wxInputStream_readline
,(self
,) + _args
, _kwargs
)
23 def readlines(self
, *_args
, **_kwargs
):
24 val
= apply(streamsc
.wxInputStream_readlines
,(self
,) + _args
, _kwargs
)
26 def seek(self
, *_args
, **_kwargs
):
27 val
= apply(streamsc
.wxInputStream_seek
,(self
,) + _args
, _kwargs
)
29 def tell(self
, *_args
, **_kwargs
):
30 val
= apply(streamsc
.wxInputStream_tell
,(self
,) + _args
, _kwargs
)
32 def Peek(self
, *_args
, **_kwargs
):
33 val
= apply(streamsc
.wxInputStream_Peek
,(self
,) + _args
, _kwargs
)
35 def GetC(self
, *_args
, **_kwargs
):
36 val
= apply(streamsc
.wxInputStream_GetC
,(self
,) + _args
, _kwargs
)
38 def LastRead(self
, *_args
, **_kwargs
):
39 val
= apply(streamsc
.wxInputStream_LastRead
,(self
,) + _args
, _kwargs
)
41 def CanRead(self
, *_args
, **_kwargs
):
42 val
= apply(streamsc
.wxInputStream_CanRead
,(self
,) + _args
, _kwargs
)
44 def Eof(self
, *_args
, **_kwargs
):
45 val
= apply(streamsc
.wxInputStream_Eof
,(self
,) + _args
, _kwargs
)
47 def Ungetch(self
, *_args
, **_kwargs
):
48 val
= apply(streamsc
.wxInputStream_Ungetch
,(self
,) + _args
, _kwargs
)
50 def SeekI(self
, *_args
, **_kwargs
):
51 val
= apply(streamsc
.wxInputStream_SeekI
,(self
,) + _args
, _kwargs
)
53 def TellI(self
, *_args
, **_kwargs
):
54 val
= apply(streamsc
.wxInputStream_TellI
,(self
,) + _args
, _kwargs
)
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
)
66 class wxOutputStreamPtr
:
67 def __init__(self
,this
):
70 def write(self
, *_args
, **_kwargs
):
71 val
= apply(streamsc
.wxOutputStream_write
,(self
,) + _args
, _kwargs
)
74 return "<C wxOutputStream instance at %s>" % (self
.this
,)
75 class wxOutputStream(wxOutputStreamPtr
):
76 def __init__(self
,this
):
84 #-------------- FUNCTION WRAPPERS ------------------
88 #-------------- VARIABLE WRAPPERS ------------------
90 wxFromStart
= streamsc
.wxFromStart
91 wxFromCurrent
= streamsc
.wxFromCurrent
92 wxFromEnd
= streamsc
.wxFromEnd