]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/gizmos/gtk/gizmos.py
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / gtk / gizmos.py
index c3e8aad52208415bb0ed71cafa359ceabd99025e..f455fc70ca8e4ca25ee731cf5ef131b79b3964e4 100644 (file)
@@ -54,10 +54,10 @@ import _core
 import _controls
 import wx 
 __docfilter__ = wx._core.__DocFilter(globals()) 
-wxEVT_DYNAMIC_SASH_SPLIT = _gizmos.wxEVT_DYNAMIC_SASH_SPLIT
-wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY
 DS_MANAGE_SCROLLBARS = _gizmos.DS_MANAGE_SCROLLBARS
 DS_DRAG_CORNER = _gizmos.DS_DRAG_CORNER
+wxEVT_DYNAMIC_SASH_SPLIT = _gizmos.wxEVT_DYNAMIC_SASH_SPLIT
+wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY
 class DynamicSashSplitEvent(_core.CommandEvent):
     """Proxy of C++ DynamicSashSplitEvent class"""
     def __repr__(self):
@@ -79,6 +79,7 @@ cvar = _gizmos.cvar
 DynamicSashNameStr = cvar.DynamicSashNameStr
 EditableListBoxNameStr = cvar.EditableListBoxNameStr
 TreeListCtrlNameStr = cvar.TreeListCtrlNameStr
+StaticPictureNameStr = cvar.StaticPictureNameStr
 
 class DynamicSashUnifyEvent(_core.CommandEvent):
     """Proxy of C++ DynamicSashUnifyEvent class"""
@@ -930,4 +931,86 @@ def PreTreeListCtrl(*args, **kwargs):
     val.thisown = 1
     return val
 
+SCALE_HORIZONTAL = _gizmos.SCALE_HORIZONTAL
+SCALE_VERTICAL = _gizmos.SCALE_VERTICAL
+SCALE_UNIFORM = _gizmos.SCALE_UNIFORM
+SCALE_CUSTOM = _gizmos.SCALE_CUSTOM
+class StaticPicture(_core.Control):
+    """Proxy of C++ StaticPicture class"""
+    def __repr__(self):
+        return "<%s.%s; proxy of C++ wxStaticPicture instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+    def __init__(self, *args, **kwargs):
+        """
+        __init__(self, Window parent, int id=-1, Bitmap label=wxNullBitmap, 
+            Point pos=DefaultPosition, Size size=DefaultSize, 
+            long style=0, String name=StaticPictureNameStr) -> StaticPicture
+        """
+        newobj = _gizmos.new_StaticPicture(*args, **kwargs)
+        self.this = newobj.this
+        self.thisown = 1
+        del newobj.thisown
+        self._setOORInfo(self)
+
+    def Create(*args, **kwargs):
+        """
+        Create(self, Window parent, int id=-1, Bitmap label=wxNullBitmap, 
+            Point pos=DefaultPosition, Size size=DefaultSize, 
+            long style=0, String name=StaticPictureNameStr) -> bool
+        """
+        return _gizmos.StaticPicture_Create(*args, **kwargs)
+
+    def SetBitmap(*args, **kwargs):
+        """SetBitmap(self, Bitmap bmp)"""
+        return _gizmos.StaticPicture_SetBitmap(*args, **kwargs)
+
+    def GetBitmap(*args, **kwargs):
+        """GetBitmap(self) -> Bitmap"""
+        return _gizmos.StaticPicture_GetBitmap(*args, **kwargs)
+
+    def SetIcon(*args, **kwargs):
+        """SetIcon(self, Icon icon)"""
+        return _gizmos.StaticPicture_SetIcon(*args, **kwargs)
+
+    def GetIcon(*args, **kwargs):
+        """GetIcon(self) -> Icon"""
+        return _gizmos.StaticPicture_GetIcon(*args, **kwargs)
+
+    def SetAlignment(*args, **kwargs):
+        """SetAlignment(self, int align)"""
+        return _gizmos.StaticPicture_SetAlignment(*args, **kwargs)
+
+    def GetAlignment(*args, **kwargs):
+        """GetAlignment(self) -> int"""
+        return _gizmos.StaticPicture_GetAlignment(*args, **kwargs)
+
+    def SetScale(*args, **kwargs):
+        """SetScale(self, int scale)"""
+        return _gizmos.StaticPicture_SetScale(*args, **kwargs)
+
+    def GetScale(*args, **kwargs):
+        """GetScale(self) -> int"""
+        return _gizmos.StaticPicture_GetScale(*args, **kwargs)
+
+    def SetCustomScale(*args, **kwargs):
+        """SetCustomScale(self, float sx, float sy)"""
+        return _gizmos.StaticPicture_SetCustomScale(*args, **kwargs)
+
+    def GetCustomScale(*args, **kwargs):
+        """GetCustomScale(self, float OUTPUT, float OUTPUT)"""
+        return _gizmos.StaticPicture_GetCustomScale(*args, **kwargs)
+
+
+class StaticPicturePtr(StaticPicture):
+    def __init__(self, this):
+        self.this = this
+        if not hasattr(self,"thisown"): self.thisown = 0
+        self.__class__ = StaticPicture
+_gizmos.StaticPicture_swigregister(StaticPicturePtr)
+
+def PreStaticPicture(*args, **kwargs):
+    """PreStaticPicture() -> StaticPicture"""
+    val = _gizmos.new_PreStaticPicture(*args, **kwargs)
+    val.thisown = 1
+    return val
+