]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/streams.py
Added LoadFile and SaveFile methods
[wxWidgets.git] / wxPython / src / gtk / streams.py
index 6394f609465be3fdd9fe3147b2eed31f89b0eff4..d2a8b1880078015ce9971899d46adfcc4708cd86 100644 (file)
@@ -1,7 +1,6 @@
 # This file was created automatically by SWIG.
 import streamsc
 import wx
-import string
 class wxInputStreamPtr :
     def __init__(self,this):
         self.this = this
@@ -30,6 +29,30 @@ class wxInputStreamPtr :
     def tell(self, *_args, **_kwargs):
         val = apply(streamsc.wxInputStream_tell,(self,) + _args, _kwargs)
         return val
+    def Peek(self, *_args, **_kwargs):
+        val = apply(streamsc.wxInputStream_Peek,(self,) + _args, _kwargs)
+        return val
+    def GetC(self, *_args, **_kwargs):
+        val = apply(streamsc.wxInputStream_GetC,(self,) + _args, _kwargs)
+        return val
+    def LastRead(self, *_args, **_kwargs):
+        val = apply(streamsc.wxInputStream_LastRead,(self,) + _args, _kwargs)
+        return val
+    def CanRead(self, *_args, **_kwargs):
+        val = apply(streamsc.wxInputStream_CanRead,(self,) + _args, _kwargs)
+        return val
+    def Eof(self, *_args, **_kwargs):
+        val = apply(streamsc.wxInputStream_Eof,(self,) + _args, _kwargs)
+        return val
+    def Ungetch(self, *_args, **_kwargs):
+        val = apply(streamsc.wxInputStream_Ungetch,(self,) + _args, _kwargs)
+        return val
+    def SeekI(self, *_args, **_kwargs):
+        val = apply(streamsc.wxInputStream_SeekI,(self,) + _args, _kwargs)
+        return val
+    def TellI(self, *_args, **_kwargs):
+        val = apply(streamsc.wxInputStream_TellI,(self,) + _args, _kwargs)
+        return val
     def __repr__(self):
         return "<C wxInputStream instance at %s>" % (self.this,)
 class wxInputStream(wxInputStreamPtr):
@@ -64,3 +87,6 @@ class wxOutputStream(wxOutputStreamPtr):
 
 #-------------- VARIABLE WRAPPERS ------------------
 
+wxFromStart = streamsc.wxFromStart
+wxFromCurrent = streamsc.wxFromCurrent
+wxFromEnd = streamsc.wxFromEnd