]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/gizmos.py
Fixed error in translation ( thanks to Nerijus Baliunas for spotting it )
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.py
1 # This file was created automatically by SWIG.
2 import gizmosc
3
4 from misc import *
5
6 from misc2 import *
7
8 from windows import *
9
10 from gdi import *
11
12 from clip_dnd import *
13
14 from events import *
15
16 from streams import *
17
18 from utils import *
19
20 from mdi import *
21
22 from frames import *
23
24 from stattool import *
25
26 from controls import *
27
28 from controls2 import *
29
30 from windows2 import *
31
32 from cmndlgs import *
33
34 from windows3 import *
35
36 from image import *
37
38 from printfw import *
39
40 from sizers import *
41
42 from filesys import *
43
44 def EVT_DYNAMIC_SASH_SPLIT(win, id, func):
45 win.Connect(id, -1, wxEVT_DYNAMIC_SASH_SPLIT, func)
46
47 def EVT_DYNAMIC_SASH_UNIFY(win, id, func):
48 win.Connect(id, -1, wxEVT_DYNAMIC_SASH_UNIFY, func)
49
50 class wxDynamicSashSplitEventPtr(wxCommandEventPtr):
51 def __init__(self,this):
52 self.this = this
53 self.thisown = 0
54 def __repr__(self):
55 return "<C wxDynamicSashSplitEvent instance at %s>" % (self.this,)
56 class wxDynamicSashSplitEvent(wxDynamicSashSplitEventPtr):
57 def __init__(self,*_args,**_kwargs):
58 self.this = apply(gizmosc.new_wxDynamicSashSplitEvent,_args,_kwargs)
59 self.thisown = 1
60
61
62
63
64 class wxDynamicSashUnifyEventPtr(wxCommandEventPtr):
65 def __init__(self,this):
66 self.this = this
67 self.thisown = 0
68 def __repr__(self):
69 return "<C wxDynamicSashUnifyEvent instance at %s>" % (self.this,)
70 class wxDynamicSashUnifyEvent(wxDynamicSashUnifyEventPtr):
71 def __init__(self,*_args,**_kwargs):
72 self.this = apply(gizmosc.new_wxDynamicSashUnifyEvent,_args,_kwargs)
73 self.thisown = 1
74
75
76
77
78 class wxDynamicSashWindowPtr(wxWindowPtr):
79 def __init__(self,this):
80 self.this = this
81 self.thisown = 0
82 def Create(self, *_args, **_kwargs):
83 val = apply(gizmosc.wxDynamicSashWindow_Create,(self,) + _args, _kwargs)
84 return val
85 def GetHScrollBar(self, *_args, **_kwargs):
86 val = apply(gizmosc.wxDynamicSashWindow_GetHScrollBar,(self,) + _args, _kwargs)
87 if val: val = wxScrollBarPtr(val)
88 return val
89 def GetVScrollBar(self, *_args, **_kwargs):
90 val = apply(gizmosc.wxDynamicSashWindow_GetVScrollBar,(self,) + _args, _kwargs)
91 if val: val = wxScrollBarPtr(val)
92 return val
93 def __repr__(self):
94 return "<C wxDynamicSashWindow instance at %s>" % (self.this,)
95 class wxDynamicSashWindow(wxDynamicSashWindowPtr):
96 def __init__(self,*_args,**_kwargs):
97 self.this = apply(gizmosc.new_wxDynamicSashWindow,_args,_kwargs)
98 self.thisown = 1
99 self._setOORInfo(self)
100
101
102
103 def wxPreDynamicSashWindow(*_args,**_kwargs):
104 val = wxDynamicSashWindowPtr(apply(gizmosc.new_wxPreDynamicSashWindow,_args,_kwargs))
105 val.thisown = 1
106 val._setOORInfo(val)
107 return val
108
109
110 class wxEditableListBoxPtr(wxPanelPtr):
111 def __init__(self,this):
112 self.this = this
113 self.thisown = 0
114 def SetStrings(self, *_args, **_kwargs):
115 val = apply(gizmosc.wxEditableListBox_SetStrings,(self,) + _args, _kwargs)
116 return val
117 def GetStrings(self, *_args, **_kwargs):
118 val = apply(gizmosc.wxEditableListBox_GetStrings,(self,) + _args, _kwargs)
119 return val
120 def __repr__(self):
121 return "<C wxEditableListBox instance at %s>" % (self.this,)
122 class wxEditableListBox(wxEditableListBoxPtr):
123 def __init__(self,*_args,**_kwargs):
124 self.this = apply(gizmosc.new_wxEditableListBox,_args,_kwargs)
125 self.thisown = 1
126
127
128
129
130
131
132 #-------------- FUNCTION WRAPPERS ------------------
133
134
135
136 #-------------- VARIABLE WRAPPERS ------------------
137
138 wxEVT_DYNAMIC_SASH_SPLIT = gizmosc.wxEVT_DYNAMIC_SASH_SPLIT
139 wxEVT_DYNAMIC_SASH_UNIFY = gizmosc.wxEVT_DYNAMIC_SASH_UNIFY
140 wxDS_MANAGE_SCROLLBARS = gizmosc.wxDS_MANAGE_SCROLLBARS
141 wxDS_DRAG_CORNER = gizmosc.wxDS_DRAG_CORNER
142
143
144 #-------------- USER INCLUDE -----------------------
145
146 # Stuff these names into the wx namespace so wxPyConstructObject can find them
147
148 wx.wxDynamicSashSplitEventPtr = wxDynamicSashSplitEventPtr
149 wx.wxDynamicSashUnifyEventPtr = wxDynamicSashUnifyEventPtr
150 wx.wxDynamicSashWindowPtr = wxDynamicSashWindowPtr