]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/gizmos.py
Font updates
[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
366d7bd6
RD
122 def GetListCtrl(self, *_args, **_kwargs):
123 val = apply(gizmosc.wxEditableListBox_GetListCtrl,(self,) + _args, _kwargs)
366d7bd6
RD
124 return val
125 def GetDelButton(self, *_args, **_kwargs):
126 val = apply(gizmosc.wxEditableListBox_GetDelButton,(self,) + _args, _kwargs)
366d7bd6
RD
127 return val
128 def GetNewButton(self, *_args, **_kwargs):
129 val = apply(gizmosc.wxEditableListBox_GetNewButton,(self,) + _args, _kwargs)
366d7bd6
RD
130 return val
131 def GetUpButton(self, *_args, **_kwargs):
132 val = apply(gizmosc.wxEditableListBox_GetUpButton,(self,) + _args, _kwargs)
366d7bd6
RD
133 return val
134 def GetDownButton(self, *_args, **_kwargs):
135 val = apply(gizmosc.wxEditableListBox_GetDownButton,(self,) + _args, _kwargs)
366d7bd6
RD
136 return val
137 def GetEditButton(self, *_args, **_kwargs):
138 val = apply(gizmosc.wxEditableListBox_GetEditButton,(self,) + _args, _kwargs)
366d7bd6 139 return val
7b7ac0ab
RD
140 def __repr__(self):
141 return "<C wxEditableListBox instance at %s>" % (self.this,)
142class wxEditableListBox(wxEditableListBoxPtr):
143 def __init__(self,*_args,**_kwargs):
144 self.this = apply(gizmosc.new_wxEditableListBox,_args,_kwargs)
145 self.thisown = 1
611dc22c
RD
146 self._setOORInfo(self)
147
148
149
150
151class wxRemotelyScrolledTreeCtrlPtr(wxTreeCtrlPtr):
152 def __init__(self,this):
153 self.this = this
154 self.thisown = 0
155 def HideVScrollbar(self, *_args, **_kwargs):
156 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_HideVScrollbar,(self,) + _args, _kwargs)
157 return val
158 def AdjustRemoteScrollbars(self, *_args, **_kwargs):
159 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars,(self,) + _args, _kwargs)
160 return val
161 def GetScrolledWindow(self, *_args, **_kwargs):
162 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_GetScrolledWindow,(self,) + _args, _kwargs)
163 if val: val = wxScrolledWindowPtr(val)
164 return val
165 def ScrollToLine(self, *_args, **_kwargs):
166 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_ScrollToLine,(self,) + _args, _kwargs)
167 return val
168 def SetCompanionWindow(self, *_args, **_kwargs):
169 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_SetCompanionWindow,(self,) + _args, _kwargs)
170 return val
171 def GetCompanionWindow(self, *_args, **_kwargs):
172 val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_GetCompanionWindow,(self,) + _args, _kwargs)
173 return val
174 def __repr__(self):
175 return "<C wxRemotelyScrolledTreeCtrl instance at %s>" % (self.this,)
176class wxRemotelyScrolledTreeCtrl(wxRemotelyScrolledTreeCtrlPtr):
177 def __init__(self,*_args,**_kwargs):
178 self.this = apply(gizmosc.new_wxRemotelyScrolledTreeCtrl,_args,_kwargs)
179 self.thisown = 1
180 self._setOORInfo(self)
181
182
183
184
185class wxTreeCompanionWindowPtr(wxWindowPtr):
186 def __init__(self,this):
187 self.this = this
188 self.thisown = 0
189 def _setCallbackInfo(self, *_args, **_kwargs):
190 val = apply(gizmosc.wxTreeCompanionWindow__setCallbackInfo,(self,) + _args, _kwargs)
191 return val
192 def GetTreeCtrl(self, *_args, **_kwargs):
193 val = apply(gizmosc.wxTreeCompanionWindow_GetTreeCtrl,(self,) + _args, _kwargs)
194 if val: val = wxRemotelyScrolledTreeCtrlPtr(val)
195 return val
196 def SetTreeCtrl(self, *_args, **_kwargs):
197 val = apply(gizmosc.wxTreeCompanionWindow_SetTreeCtrl,(self,) + _args, _kwargs)
198 return val
199 def __repr__(self):
200 return "<C wxTreeCompanionWindow instance at %s>" % (self.this,)
201class wxTreeCompanionWindow(wxTreeCompanionWindowPtr):
202 def __init__(self,*_args,**_kwargs):
203 self.this = apply(gizmosc.new_wxTreeCompanionWindow,_args,_kwargs)
204 self.thisown = 1
205 self._setCallbackInfo(self, wxTreeCompanionWindow)
206 self._setOORInfo(self)
207
208
209
210
211class wxThinSplitterWindowPtr(wxSplitterWindowPtr):
212 def __init__(self,this):
213 self.this = this
214 self.thisown = 0
215 def __repr__(self):
216 return "<C wxThinSplitterWindow instance at %s>" % (self.this,)
217class wxThinSplitterWindow(wxThinSplitterWindowPtr):
218 def __init__(self,*_args,**_kwargs):
219 self.this = apply(gizmosc.new_wxThinSplitterWindow,_args,_kwargs)
220 self.thisown = 1
221 self._setOORInfo(self)
222
223
224
225
226class wxSplitterScrolledWindowPtr(wxScrolledWindowPtr):
227 def __init__(self,this):
228 self.this = this
229 self.thisown = 0
230 def __repr__(self):
231 return "<C wxSplitterScrolledWindow instance at %s>" % (self.this,)
232class wxSplitterScrolledWindow(wxSplitterScrolledWindowPtr):
233 def __init__(self,*_args,**_kwargs):
234 self.this = apply(gizmosc.new_wxSplitterScrolledWindow,_args,_kwargs)
235 self.thisown = 1
236 self._setOORInfo(self)
7b7ac0ab
RD
237
238
239
240
950e7faf
RD
241class wxLEDNumberCtrlPtr(wxControlPtr):
242 def __init__(self,this):
243 self.this = this
244 self.thisown = 0
245 def Create(self, *_args, **_kwargs):
246 val = apply(gizmosc.wxLEDNumberCtrl_Create,(self,) + _args, _kwargs)
247 return val
248 def GetAlignment(self, *_args, **_kwargs):
249 val = apply(gizmosc.wxLEDNumberCtrl_GetAlignment,(self,) + _args, _kwargs)
250 return val
251 def GetDrawFaded(self, *_args, **_kwargs):
252 val = apply(gizmosc.wxLEDNumberCtrl_GetDrawFaded,(self,) + _args, _kwargs)
253 return val
254 def GetValue(self, *_args, **_kwargs):
255 val = apply(gizmosc.wxLEDNumberCtrl_GetValue,(self,) + _args, _kwargs)
256 return val
257 def SetAlignment(self, *_args, **_kwargs):
258 val = apply(gizmosc.wxLEDNumberCtrl_SetAlignment,(self,) + _args, _kwargs)
259 return val
260 def SetDrawFaded(self, *_args, **_kwargs):
261 val = apply(gizmosc.wxLEDNumberCtrl_SetDrawFaded,(self,) + _args, _kwargs)
262 return val
263 def SetValue(self, *_args, **_kwargs):
264 val = apply(gizmosc.wxLEDNumberCtrl_SetValue,(self,) + _args, _kwargs)
265 return val
266 def __repr__(self):
267 return "<C wxLEDNumberCtrl instance at %s>" % (self.this,)
268class wxLEDNumberCtrl(wxLEDNumberCtrlPtr):
269 def __init__(self,*_args,**_kwargs):
270 self.this = apply(gizmosc.new_wxLEDNumberCtrl,_args,_kwargs)
271 self.thisown = 1
272 self._setOORInfo(self)
273
274
275
276def wxPreLEDNumberCtrl(*_args,**_kwargs):
277 val = wxLEDNumberCtrlPtr(apply(gizmosc.new_wxPreLEDNumberCtrl,_args,_kwargs))
278 val.thisown = 1
279 val._setOORInfo(val)
280 return val
281
282
ebf4302c
RD
283
284
285#-------------- FUNCTION WRAPPERS ------------------
286
287
288
289#-------------- VARIABLE WRAPPERS ------------------
290
291wxEVT_DYNAMIC_SASH_SPLIT = gizmosc.wxEVT_DYNAMIC_SASH_SPLIT
292wxEVT_DYNAMIC_SASH_UNIFY = gizmosc.wxEVT_DYNAMIC_SASH_UNIFY
293wxDS_MANAGE_SCROLLBARS = gizmosc.wxDS_MANAGE_SCROLLBARS
294wxDS_DRAG_CORNER = gizmosc.wxDS_DRAG_CORNER
6187ec8f
RD
295wxEL_ALLOW_NEW = gizmosc.wxEL_ALLOW_NEW
296wxEL_ALLOW_EDIT = gizmosc.wxEL_ALLOW_EDIT
297wxEL_ALLOW_DELETE = gizmosc.wxEL_ALLOW_DELETE
950e7faf
RD
298wxLED_ALIGN_LEFT = gizmosc.wxLED_ALIGN_LEFT
299wxLED_ALIGN_RIGHT = gizmosc.wxLED_ALIGN_RIGHT
300wxLED_ALIGN_CENTER = gizmosc.wxLED_ALIGN_CENTER
301wxLED_ALIGN_MASK = gizmosc.wxLED_ALIGN_MASK
302wxLED_DRAW_FADED = gizmosc.wxLED_DRAW_FADED
ebf4302c
RD
303
304
305#-------------- USER INCLUDE -----------------------
306
307# Stuff these names into the wx namespace so wxPyConstructObject can find them
308
309wx.wxDynamicSashSplitEventPtr = wxDynamicSashSplitEventPtr
310wx.wxDynamicSashUnifyEventPtr = wxDynamicSashUnifyEventPtr
311wx.wxDynamicSashWindowPtr = wxDynamicSashWindowPtr
611dc22c
RD
312
313wx.wxEditableListBoxPtr = wxEditableListBoxPtr
314
315wx.wxRemotelyScrolledTreeCtrlPtr = wxRemotelyScrolledTreeCtrlPtr
316wx.wxTreeCompanionWindowPtr = wxTreeCompanionWindowPtr
317wx.wxThinSplitterWindowPtr = wxThinSplitterWindowPtr
318wx.wxSplitterScrolledWindowPtr = wxSplitterScrolledWindowPtr