]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/gizmos.py
Added missing CreateManifest() to initialisation
[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
68bc8549
RD
12from fonts import *
13
ebf4302c
RD
14from clip_dnd import *
15
16from events import *
17
18from streams import *
19
20from utils import *
21
22from mdi import *
23
24from frames import *
25
26from stattool import *
27
28from controls import *
29
30from controls2 import *
31
32from windows2 import *
33
34from cmndlgs import *
35
36from windows3 import *
37
38from image import *
39
40from printfw import *
41
42from sizers import *
43
44from filesys import *
45
46def EVT_DYNAMIC_SASH_SPLIT(win, id, func):
47 win.Connect(id, -1, wxEVT_DYNAMIC_SASH_SPLIT, func)
48
49def EVT_DYNAMIC_SASH_UNIFY(win, id, func):
50 win.Connect(id, -1, wxEVT_DYNAMIC_SASH_UNIFY, func)
51
52class wxDynamicSashSplitEventPtr(wxCommandEventPtr):
53 def __init__(self,this):
54 self.this = this
55 self.thisown = 0
56 def __repr__(self):
57 return "<C wxDynamicSashSplitEvent instance at %s>" % (self.this,)
58class wxDynamicSashSplitEvent(wxDynamicSashSplitEventPtr):
59 def __init__(self,*_args,**_kwargs):
60 self.this = apply(gizmosc.new_wxDynamicSashSplitEvent,_args,_kwargs)
61 self.thisown = 1
62
63
64
65
66class wxDynamicSashUnifyEventPtr(wxCommandEventPtr):
67 def __init__(self,this):
68 self.this = this
69 self.thisown = 0
70 def __repr__(self):
71 return "<C wxDynamicSashUnifyEvent instance at %s>" % (self.this,)
72class wxDynamicSashUnifyEvent(wxDynamicSashUnifyEventPtr):
73 def __init__(self,*_args,**_kwargs):
74 self.this = apply(gizmosc.new_wxDynamicSashUnifyEvent,_args,_kwargs)
75 self.thisown = 1
76
77
78
79
80class wxDynamicSashWindowPtr(wxWindowPtr):
81 def __init__(self,this):
82 self.this = this
83 self.thisown = 0
84 def Create(self, *_args, **_kwargs):
85 val = apply(gizmosc.wxDynamicSashWindow_Create,(self,) + _args, _kwargs)
86 return val
87 def GetHScrollBar(self, *_args, **_kwargs):
88 val = apply(gizmosc.wxDynamicSashWindow_GetHScrollBar,(self,) + _args, _kwargs)
89 if val: val = wxScrollBarPtr(val)
90 return val
91 def GetVScrollBar(self, *_args, **_kwargs):
92 val = apply(gizmosc.wxDynamicSashWindow_GetVScrollBar,(self,) + _args, _kwargs)
93 if val: val = wxScrollBarPtr(val)
94 return val
95 def __repr__(self):
96 return "<C wxDynamicSashWindow instance at %s>" % (self.this,)
97class wxDynamicSashWindow(wxDynamicSashWindowPtr):
98 def __init__(self,*_args,**_kwargs):
99 self.this = apply(gizmosc.new_wxDynamicSashWindow,_args,_kwargs)
100 self.thisown = 1
101 self._setOORInfo(self)
102
103
104
105def wxPreDynamicSashWindow(*_args,**_kwargs):
106 val = wxDynamicSashWindowPtr(apply(gizmosc.new_wxPreDynamicSashWindow,_args,_kwargs))
107 val.thisown = 1
108 val._setOORInfo(val)
109 return val
110
111
7b7ac0ab
RD
112class wxEditableListBoxPtr(wxPanelPtr):
113 def __init__(self,this):
114 self.this = this
115 self.thisown = 0
116 def SetStrings(self, *_args, **_kwargs):
117 val = apply(gizmosc.wxEditableListBox_SetStrings,(self,) + _args, _kwargs)
118 return val
119 def GetStrings(self, *_args, **_kwargs):
120 val = apply(gizmosc.wxEditableListBox_GetStrings,(self,) + _args, _kwargs)
121 return val
122 def __repr__(self):
123 return "<C wxEditableListBox instance at %s>" % (self.this,)
124class wxEditableListBox(wxEditableListBoxPtr):
125 def __init__(self,*_args,**_kwargs):
126 self.this = apply(gizmosc.new_wxEditableListBox,_args,_kwargs)
127 self.thisown = 1
611dc22c
RD
128 self._setOORInfo(self)
129
130
131
132
133class wxRemotelyScrolledTreeCtrlPtr(wxTreeCtrlPtr):
134 def __init__(self,this):
135 self.this = this
136 self.thisown = 0
137 def HideVScrollbar(self, *_args, **_kwargs):
138 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_HideVScrollbar,(self,) + _args, _kwargs)
139 return val
140 def AdjustRemoteScrollbars(self, *_args, **_kwargs):
141 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars,(self,) + _args, _kwargs)
142 return val
143 def GetScrolledWindow(self, *_args, **_kwargs):
144 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_GetScrolledWindow,(self,) + _args, _kwargs)
145 if val: val = wxScrolledWindowPtr(val)
146 return val
147 def ScrollToLine(self, *_args, **_kwargs):
148 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_ScrollToLine,(self,) + _args, _kwargs)
149 return val
150 def SetCompanionWindow(self, *_args, **_kwargs):
151 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_SetCompanionWindow,(self,) + _args, _kwargs)
152 return val
153 def GetCompanionWindow(self, *_args, **_kwargs):
154 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_GetCompanionWindow,(self,) + _args, _kwargs)
155 return val
156 def __repr__(self):
157 return "<C wxRemotelyScrolledTreeCtrl instance at %s>" % (self.this,)
158class wxRemotelyScrolledTreeCtrl(wxRemotelyScrolledTreeCtrlPtr):
159 def __init__(self,*_args,**_kwargs):
160 self.this = apply(gizmosc.new_wxRemotelyScrolledTreeCtrl,_args,_kwargs)
161 self.thisown = 1
162 self._setOORInfo(self)
163
164
165
166
167class wxTreeCompanionWindowPtr(wxWindowPtr):
168 def __init__(self,this):
169 self.this = this
170 self.thisown = 0
171 def _setCallbackInfo(self, *_args, **_kwargs):
172 val = apply(gizmosc.wxTreeCompanionWindow__setCallbackInfo,(self,) + _args, _kwargs)
173 return val
174 def GetTreeCtrl(self, *_args, **_kwargs):
175 val = apply(gizmosc.wxTreeCompanionWindow_GetTreeCtrl,(self,) + _args, _kwargs)
176 if val: val = wxRemotelyScrolledTreeCtrlPtr(val)
177 return val
178 def SetTreeCtrl(self, *_args, **_kwargs):
179 val = apply(gizmosc.wxTreeCompanionWindow_SetTreeCtrl,(self,) + _args, _kwargs)
180 return val
181 def __repr__(self):
182 return "<C wxTreeCompanionWindow instance at %s>" % (self.this,)
183class wxTreeCompanionWindow(wxTreeCompanionWindowPtr):
184 def __init__(self,*_args,**_kwargs):
185 self.this = apply(gizmosc.new_wxTreeCompanionWindow,_args,_kwargs)
186 self.thisown = 1
187 self._setCallbackInfo(self, wxTreeCompanionWindow)
188 self._setOORInfo(self)
189
190
191
192
193class wxThinSplitterWindowPtr(wxSplitterWindowPtr):
194 def __init__(self,this):
195 self.this = this
196 self.thisown = 0
197 def __repr__(self):
198 return "<C wxThinSplitterWindow instance at %s>" % (self.this,)
199class wxThinSplitterWindow(wxThinSplitterWindowPtr):
200 def __init__(self,*_args,**_kwargs):
201 self.this = apply(gizmosc.new_wxThinSplitterWindow,_args,_kwargs)
202 self.thisown = 1
203 self._setOORInfo(self)
204
205
206
207
208class wxSplitterScrolledWindowPtr(wxScrolledWindowPtr):
209 def __init__(self,this):
210 self.this = this
211 self.thisown = 0
212 def __repr__(self):
213 return "<C wxSplitterScrolledWindow instance at %s>" % (self.this,)
214class wxSplitterScrolledWindow(wxSplitterScrolledWindowPtr):
215 def __init__(self,*_args,**_kwargs):
216 self.this = apply(gizmosc.new_wxSplitterScrolledWindow,_args,_kwargs)
217 self.thisown = 1
218 self._setOORInfo(self)
7b7ac0ab
RD
219
220
221
222
950e7faf
RD
223class wxLEDNumberCtrlPtr(wxControlPtr):
224 def __init__(self,this):
225 self.this = this
226 self.thisown = 0
227 def Create(self, *_args, **_kwargs):
228 val = apply(gizmosc.wxLEDNumberCtrl_Create,(self,) + _args, _kwargs)
229 return val
230 def GetAlignment(self, *_args, **_kwargs):
231 val = apply(gizmosc.wxLEDNumberCtrl_GetAlignment,(self,) + _args, _kwargs)
232 return val
233 def GetDrawFaded(self, *_args, **_kwargs):
234 val = apply(gizmosc.wxLEDNumberCtrl_GetDrawFaded,(self,) + _args, _kwargs)
235 return val
236 def GetValue(self, *_args, **_kwargs):
237 val = apply(gizmosc.wxLEDNumberCtrl_GetValue,(self,) + _args, _kwargs)
238 return val
239 def SetAlignment(self, *_args, **_kwargs):
240 val = apply(gizmosc.wxLEDNumberCtrl_SetAlignment,(self,) + _args, _kwargs)
241 return val
242 def SetDrawFaded(self, *_args, **_kwargs):
243 val = apply(gizmosc.wxLEDNumberCtrl_SetDrawFaded,(self,) + _args, _kwargs)
244 return val
245 def SetValue(self, *_args, **_kwargs):
246 val = apply(gizmosc.wxLEDNumberCtrl_SetValue,(self,) + _args, _kwargs)
247 return val
248 def __repr__(self):
249 return "<C wxLEDNumberCtrl instance at %s>" % (self.this,)
250class wxLEDNumberCtrl(wxLEDNumberCtrlPtr):
251 def __init__(self,*_args,**_kwargs):
252 self.this = apply(gizmosc.new_wxLEDNumberCtrl,_args,_kwargs)
253 self.thisown = 1
254 self._setOORInfo(self)
255
256
257
258def wxPreLEDNumberCtrl(*_args,**_kwargs):
259 val = wxLEDNumberCtrlPtr(apply(gizmosc.new_wxPreLEDNumberCtrl,_args,_kwargs))
260 val.thisown = 1
261 val._setOORInfo(val)
262 return val
263
264
ebf4302c
RD
265
266
267#-------------- FUNCTION WRAPPERS ------------------
268
269
270
271#-------------- VARIABLE WRAPPERS ------------------
272
273wxEVT_DYNAMIC_SASH_SPLIT = gizmosc.wxEVT_DYNAMIC_SASH_SPLIT
274wxEVT_DYNAMIC_SASH_UNIFY = gizmosc.wxEVT_DYNAMIC_SASH_UNIFY
275wxDS_MANAGE_SCROLLBARS = gizmosc.wxDS_MANAGE_SCROLLBARS
276wxDS_DRAG_CORNER = gizmosc.wxDS_DRAG_CORNER
6187ec8f
RD
277wxEL_ALLOW_NEW = gizmosc.wxEL_ALLOW_NEW
278wxEL_ALLOW_EDIT = gizmosc.wxEL_ALLOW_EDIT
279wxEL_ALLOW_DELETE = gizmosc.wxEL_ALLOW_DELETE
950e7faf
RD
280wxLED_ALIGN_LEFT = gizmosc.wxLED_ALIGN_LEFT
281wxLED_ALIGN_RIGHT = gizmosc.wxLED_ALIGN_RIGHT
282wxLED_ALIGN_CENTER = gizmosc.wxLED_ALIGN_CENTER
283wxLED_ALIGN_MASK = gizmosc.wxLED_ALIGN_MASK
284wxLED_DRAW_FADED = gizmosc.wxLED_DRAW_FADED
ebf4302c
RD
285
286
287#-------------- USER INCLUDE -----------------------
288
289# Stuff these names into the wx namespace so wxPyConstructObject can find them
290
291wx.wxDynamicSashSplitEventPtr = wxDynamicSashSplitEventPtr
292wx.wxDynamicSashUnifyEventPtr = wxDynamicSashUnifyEventPtr
293wx.wxDynamicSashWindowPtr = wxDynamicSashWindowPtr
611dc22c
RD
294
295wx.wxEditableListBoxPtr = wxEditableListBoxPtr
296
297wx.wxRemotelyScrolledTreeCtrlPtr = wxRemotelyScrolledTreeCtrlPtr
298wx.wxTreeCompanionWindowPtr = wxTreeCompanionWindowPtr
299wx.wxThinSplitterWindowPtr = wxThinSplitterWindowPtr
300wx.wxSplitterScrolledWindowPtr = wxSplitterScrolledWindowPtr