]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/gizmos.py
compilation fix
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.py
CommitLineData
ebf4302c
RD
1# This file was created automatically by SWIG.
2import gizmosc
3
4from misc import *
5
6from misc2 import *
7
8from windows import *
9
10from gdi import *
11
12from clip_dnd import *
13
14from events import *
15
16from streams import *
17
18from utils import *
19
20from mdi import *
21
22from frames import *
23
24from stattool import *
25
26from controls import *
27
28from controls2 import *
29
30from windows2 import *
31
32from cmndlgs import *
33
34from windows3 import *
35
36from image import *
37
38from printfw import *
39
40from sizers import *
41
42from filesys import *
43
44def EVT_DYNAMIC_SASH_SPLIT(win, id, func):
45 win.Connect(id, -1, wxEVT_DYNAMIC_SASH_SPLIT, func)
46
47def EVT_DYNAMIC_SASH_UNIFY(win, id, func):
48 win.Connect(id, -1, wxEVT_DYNAMIC_SASH_UNIFY, func)
49
50class 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,)
56class 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
64class 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,)
70class 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
78class 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,)
95class 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
103def 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
7b7ac0ab
RD
110class 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,)
122class wxEditableListBox(wxEditableListBoxPtr):
123 def __init__(self,*_args,**_kwargs):
124 self.this = apply(gizmosc.new_wxEditableListBox,_args,_kwargs)
125 self.thisown = 1
611dc22c
RD
126 self._setOORInfo(self)
127
128
129
130
131class wxRemotelyScrolledTreeCtrlPtr(wxTreeCtrlPtr):
132 def __init__(self,this):
133 self.this = this
134 self.thisown = 0
135 def HideVScrollbar(self, *_args, **_kwargs):
136 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_HideVScrollbar,(self,) + _args, _kwargs)
137 return val
138 def AdjustRemoteScrollbars(self, *_args, **_kwargs):
139 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars,(self,) + _args, _kwargs)
140 return val
141 def GetScrolledWindow(self, *_args, **_kwargs):
142 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_GetScrolledWindow,(self,) + _args, _kwargs)
143 if val: val = wxScrolledWindowPtr(val)
144 return val
145 def ScrollToLine(self, *_args, **_kwargs):
146 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_ScrollToLine,(self,) + _args, _kwargs)
147 return val
148 def SetCompanionWindow(self, *_args, **_kwargs):
149 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_SetCompanionWindow,(self,) + _args, _kwargs)
150 return val
151 def GetCompanionWindow(self, *_args, **_kwargs):
152 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_GetCompanionWindow,(self,) + _args, _kwargs)
153 return val
154 def __repr__(self):
155 return "<C wxRemotelyScrolledTreeCtrl instance at %s>" % (self.this,)
156class wxRemotelyScrolledTreeCtrl(wxRemotelyScrolledTreeCtrlPtr):
157 def __init__(self,*_args,**_kwargs):
158 self.this = apply(gizmosc.new_wxRemotelyScrolledTreeCtrl,_args,_kwargs)
159 self.thisown = 1
160 self._setOORInfo(self)
161
162
163
164
165class wxTreeCompanionWindowPtr(wxWindowPtr):
166 def __init__(self,this):
167 self.this = this
168 self.thisown = 0
169 def _setCallbackInfo(self, *_args, **_kwargs):
170 val = apply(gizmosc.wxTreeCompanionWindow__setCallbackInfo,(self,) + _args, _kwargs)
171 return val
172 def GetTreeCtrl(self, *_args, **_kwargs):
173 val = apply(gizmosc.wxTreeCompanionWindow_GetTreeCtrl,(self,) + _args, _kwargs)
174 if val: val = wxRemotelyScrolledTreeCtrlPtr(val)
175 return val
176 def SetTreeCtrl(self, *_args, **_kwargs):
177 val = apply(gizmosc.wxTreeCompanionWindow_SetTreeCtrl,(self,) + _args, _kwargs)
178 return val
179 def __repr__(self):
180 return "<C wxTreeCompanionWindow instance at %s>" % (self.this,)
181class wxTreeCompanionWindow(wxTreeCompanionWindowPtr):
182 def __init__(self,*_args,**_kwargs):
183 self.this = apply(gizmosc.new_wxTreeCompanionWindow,_args,_kwargs)
184 self.thisown = 1
185 self._setCallbackInfo(self, wxTreeCompanionWindow)
186 self._setOORInfo(self)
187
188
189
190
191class wxThinSplitterWindowPtr(wxSplitterWindowPtr):
192 def __init__(self,this):
193 self.this = this
194 self.thisown = 0
195 def __repr__(self):
196 return "<C wxThinSplitterWindow instance at %s>" % (self.this,)
197class wxThinSplitterWindow(wxThinSplitterWindowPtr):
198 def __init__(self,*_args,**_kwargs):
199 self.this = apply(gizmosc.new_wxThinSplitterWindow,_args,_kwargs)
200 self.thisown = 1
201 self._setOORInfo(self)
202
203
204
205
206class wxSplitterScrolledWindowPtr(wxScrolledWindowPtr):
207 def __init__(self,this):
208 self.this = this
209 self.thisown = 0
210 def __repr__(self):
211 return "<C wxSplitterScrolledWindow instance at %s>" % (self.this,)
212class wxSplitterScrolledWindow(wxSplitterScrolledWindowPtr):
213 def __init__(self,*_args,**_kwargs):
214 self.this = apply(gizmosc.new_wxSplitterScrolledWindow,_args,_kwargs)
215 self.thisown = 1
216 self._setOORInfo(self)
7b7ac0ab
RD
217
218
219
220
950e7faf
RD
221class wxLEDNumberCtrlPtr(wxControlPtr):
222 def __init__(self,this):
223 self.this = this
224 self.thisown = 0
225 def Create(self, *_args, **_kwargs):
226 val = apply(gizmosc.wxLEDNumberCtrl_Create,(self,) + _args, _kwargs)
227 return val
228 def GetAlignment(self, *_args, **_kwargs):
229 val = apply(gizmosc.wxLEDNumberCtrl_GetAlignment,(self,) + _args, _kwargs)
230 return val
231 def GetDrawFaded(self, *_args, **_kwargs):
232 val = apply(gizmosc.wxLEDNumberCtrl_GetDrawFaded,(self,) + _args, _kwargs)
233 return val
234 def GetValue(self, *_args, **_kwargs):
235 val = apply(gizmosc.wxLEDNumberCtrl_GetValue,(self,) + _args, _kwargs)
236 return val
237 def SetAlignment(self, *_args, **_kwargs):
238 val = apply(gizmosc.wxLEDNumberCtrl_SetAlignment,(self,) + _args, _kwargs)
239 return val
240 def SetDrawFaded(self, *_args, **_kwargs):
241 val = apply(gizmosc.wxLEDNumberCtrl_SetDrawFaded,(self,) + _args, _kwargs)
242 return val
243 def SetValue(self, *_args, **_kwargs):
244 val = apply(gizmosc.wxLEDNumberCtrl_SetValue,(self,) + _args, _kwargs)
245 return val
246 def __repr__(self):
247 return "<C wxLEDNumberCtrl instance at %s>" % (self.this,)
248class wxLEDNumberCtrl(wxLEDNumberCtrlPtr):
249 def __init__(self,*_args,**_kwargs):
250 self.this = apply(gizmosc.new_wxLEDNumberCtrl,_args,_kwargs)
251 self.thisown = 1
252 self._setOORInfo(self)
253
254
255
256def wxPreLEDNumberCtrl(*_args,**_kwargs):
257 val = wxLEDNumberCtrlPtr(apply(gizmosc.new_wxPreLEDNumberCtrl,_args,_kwargs))
258 val.thisown = 1
259 val._setOORInfo(val)
260 return val
261
262
ebf4302c
RD
263
264
265#-------------- FUNCTION WRAPPERS ------------------
266
267
268
269#-------------- VARIABLE WRAPPERS ------------------
270
271wxEVT_DYNAMIC_SASH_SPLIT = gizmosc.wxEVT_DYNAMIC_SASH_SPLIT
272wxEVT_DYNAMIC_SASH_UNIFY = gizmosc.wxEVT_DYNAMIC_SASH_UNIFY
273wxDS_MANAGE_SCROLLBARS = gizmosc.wxDS_MANAGE_SCROLLBARS
274wxDS_DRAG_CORNER = gizmosc.wxDS_DRAG_CORNER
950e7faf
RD
275wxLED_ALIGN_LEFT = gizmosc.wxLED_ALIGN_LEFT
276wxLED_ALIGN_RIGHT = gizmosc.wxLED_ALIGN_RIGHT
277wxLED_ALIGN_CENTER = gizmosc.wxLED_ALIGN_CENTER
278wxLED_ALIGN_MASK = gizmosc.wxLED_ALIGN_MASK
279wxLED_DRAW_FADED = gizmosc.wxLED_DRAW_FADED
ebf4302c
RD
280
281
282#-------------- USER INCLUDE -----------------------
283
284# Stuff these names into the wx namespace so wxPyConstructObject can find them
285
286wx.wxDynamicSashSplitEventPtr = wxDynamicSashSplitEventPtr
287wx.wxDynamicSashUnifyEventPtr = wxDynamicSashUnifyEventPtr
288wx.wxDynamicSashWindowPtr = wxDynamicSashWindowPtr
611dc22c
RD
289
290wx.wxEditableListBoxPtr = wxEditableListBoxPtr
291
292wx.wxRemotelyScrolledTreeCtrlPtr = wxRemotelyScrolledTreeCtrlPtr
293wx.wxTreeCompanionWindowPtr = wxTreeCompanionWindowPtr
294wx.wxThinSplitterWindowPtr = wxThinSplitterWindowPtr
295wx.wxSplitterScrolledWindowPtr = wxSplitterScrolledWindowPtr