1 # This file was created automatically by SWIG.
7 class wxGDIObjectPtr(wxObjectPtr
):
8 def __init__(self
,this
):
11 def __del__(self
,gdic
=gdic
):
12 if self
.thisown
== 1 :
13 gdic
.delete_wxGDIObject(self
)
14 def GetVisible(self
, *_args
, **_kwargs
):
15 val
= apply(gdic
.wxGDIObject_GetVisible
,(self
,) + _args
, _kwargs
)
17 def SetVisible(self
, *_args
, **_kwargs
):
18 val
= apply(gdic
.wxGDIObject_SetVisible
,(self
,) + _args
, _kwargs
)
20 def IsNull(self
, *_args
, **_kwargs
):
21 val
= apply(gdic
.wxGDIObject_IsNull
,(self
,) + _args
, _kwargs
)
24 return "<C wxGDIObject instance at %s>" % (self
.this
,)
25 class wxGDIObject(wxGDIObjectPtr
):
26 def __init__(self
,*_args
,**_kwargs
):
27 self
.this
= apply(gdic
.new_wxGDIObject
,_args
,_kwargs
)
33 class wxBitmapPtr(wxGDIObjectPtr
):
34 def __init__(self
,this
):
37 def __del__(self
,gdic
=gdic
):
38 if self
.thisown
== 1 :
39 gdic
.delete_wxBitmap(self
)
40 def GetPalette(self
, *_args
, **_kwargs
):
41 val
= apply(gdic
.wxBitmap_GetPalette
,(self
,) + _args
, _kwargs
)
42 if val
: val
= wxPalettePtr(val
)
44 def GetMask(self
, *_args
, **_kwargs
):
45 val
= apply(gdic
.wxBitmap_GetMask
,(self
,) + _args
, _kwargs
)
46 if val
: val
= wxMaskPtr(val
)
48 def LoadFile(self
, *_args
, **_kwargs
):
49 val
= apply(gdic
.wxBitmap_LoadFile
,(self
,) + _args
, _kwargs
)
51 def SaveFile(self
, *_args
, **_kwargs
):
52 val
= apply(gdic
.wxBitmap_SaveFile
,(self
,) + _args
, _kwargs
)
54 def SetMask(self
, *_args
, **_kwargs
):
55 val
= apply(gdic
.wxBitmap_SetMask
,(self
,) + _args
, _kwargs
)
57 def Ok(self
, *_args
, **_kwargs
):
58 val
= apply(gdic
.wxBitmap_Ok
,(self
,) + _args
, _kwargs
)
60 def GetWidth(self
, *_args
, **_kwargs
):
61 val
= apply(gdic
.wxBitmap_GetWidth
,(self
,) + _args
, _kwargs
)
63 def GetHeight(self
, *_args
, **_kwargs
):
64 val
= apply(gdic
.wxBitmap_GetHeight
,(self
,) + _args
, _kwargs
)
66 def GetDepth(self
, *_args
, **_kwargs
):
67 val
= apply(gdic
.wxBitmap_GetDepth
,(self
,) + _args
, _kwargs
)
69 def SetWidth(self
, *_args
, **_kwargs
):
70 val
= apply(gdic
.wxBitmap_SetWidth
,(self
,) + _args
, _kwargs
)
72 def SetHeight(self
, *_args
, **_kwargs
):
73 val
= apply(gdic
.wxBitmap_SetHeight
,(self
,) + _args
, _kwargs
)
75 def SetDepth(self
, *_args
, **_kwargs
):
76 val
= apply(gdic
.wxBitmap_SetDepth
,(self
,) + _args
, _kwargs
)
78 def GetSubBitmap(self
, *_args
, **_kwargs
):
79 val
= apply(gdic
.wxBitmap_GetSubBitmap
,(self
,) + _args
, _kwargs
)
80 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
82 def CopyFromIcon(self
, *_args
, **_kwargs
):
83 val
= apply(gdic
.wxBitmap_CopyFromIcon
,(self
,) + _args
, _kwargs
)
86 return "<C wxBitmap instance at %s>" % (self
.this
,)
88 def __del__(self
,gdic
=gdic
):
90 if self
.thisown
== 1 :
91 gdic
.delete_wxBitmap(self
)
95 class wxBitmap(wxBitmapPtr
):
96 def __init__(self
,*_args
,**_kwargs
):
97 self
.this
= apply(gdic
.new_wxBitmap
,_args
,_kwargs
)
103 class wxMaskPtr(wxObjectPtr
):
104 def __init__(self
,this
):
107 def Destroy(self
, *_args
, **_kwargs
):
108 val
= apply(gdic
.wxMask_Destroy
,(self
,) + _args
, _kwargs
)
111 return "<C wxMask instance at %s>" % (self
.this
,)
112 class wxMask(wxMaskPtr
):
113 def __init__(self
,*_args
,**_kwargs
):
114 self
.this
= apply(gdic
.new_wxMask
,_args
,_kwargs
)
120 class wxIconPtr(wxGDIObjectPtr
):
121 def __init__(self
,this
):
124 def __del__(self
,gdic
=gdic
):
125 if self
.thisown
== 1 :
126 gdic
.delete_wxIcon(self
)
127 def Ok(self
, *_args
, **_kwargs
):
128 val
= apply(gdic
.wxIcon_Ok
,(self
,) + _args
, _kwargs
)
130 def GetWidth(self
, *_args
, **_kwargs
):
131 val
= apply(gdic
.wxIcon_GetWidth
,(self
,) + _args
, _kwargs
)
133 def GetHeight(self
, *_args
, **_kwargs
):
134 val
= apply(gdic
.wxIcon_GetHeight
,(self
,) + _args
, _kwargs
)
136 def GetDepth(self
, *_args
, **_kwargs
):
137 val
= apply(gdic
.wxIcon_GetDepth
,(self
,) + _args
, _kwargs
)
139 def SetWidth(self
, *_args
, **_kwargs
):
140 val
= apply(gdic
.wxIcon_SetWidth
,(self
,) + _args
, _kwargs
)
142 def SetHeight(self
, *_args
, **_kwargs
):
143 val
= apply(gdic
.wxIcon_SetHeight
,(self
,) + _args
, _kwargs
)
145 def SetDepth(self
, *_args
, **_kwargs
):
146 val
= apply(gdic
.wxIcon_SetDepth
,(self
,) + _args
, _kwargs
)
148 def CopyFromBitmap(self
, *_args
, **_kwargs
):
149 val
= apply(gdic
.wxIcon_CopyFromBitmap
,(self
,) + _args
, _kwargs
)
152 return "<C wxIcon instance at %s>" % (self
.this
,)
154 def __del__(self
,gdic
=gdic
):
156 if self
.thisown
== 1 :
157 gdic
.delete_wxIcon(self
)
161 class wxIcon(wxIconPtr
):
162 def __init__(self
,*_args
,**_kwargs
):
163 self
.this
= apply(gdic
.new_wxIcon
,_args
,_kwargs
)
169 class wxIconBundlePtr
:
170 def __init__(self
,this
):
173 def __del__(self
,gdic
=gdic
):
174 if self
.thisown
== 1 :
175 gdic
.delete_wxIconBundle(self
)
176 def AddIcon(self
, *_args
, **_kwargs
):
177 val
= apply(gdic
.wxIconBundle_AddIcon
,(self
,) + _args
, _kwargs
)
179 def AddIconFromFile(self
, *_args
, **_kwargs
):
180 val
= apply(gdic
.wxIconBundle_AddIconFromFile
,(self
,) + _args
, _kwargs
)
182 def GetIcon(self
, *_args
, **_kwargs
):
183 val
= apply(gdic
.wxIconBundle_GetIcon
,(self
,) + _args
, _kwargs
)
184 if val
: val
= wxIconPtr(val
)
187 return "<C wxIconBundle instance at %s>" % (self
.this
,)
188 class wxIconBundle(wxIconBundlePtr
):
189 def __init__(self
,*_args
,**_kwargs
):
190 self
.this
= apply(gdic
.new_wxIconBundle
,_args
,_kwargs
)
195 def wxIconBundleFromFile(*_args
,**_kwargs
):
196 val
= wxIconBundlePtr(apply(gdic
.new_wxIconBundleFromFile
,_args
,_kwargs
))
200 def wxIconBundleFromIcon(*_args
,**_kwargs
):
201 val
= wxIconBundlePtr(apply(gdic
.new_wxIconBundleFromIcon
,_args
,_kwargs
))
206 class wxCursorPtr(wxGDIObjectPtr
):
207 def __init__(self
,this
):
210 def __del__(self
,gdic
=gdic
):
211 if self
.thisown
== 1 :
212 gdic
.delete_wxCursor(self
)
213 def Ok(self
, *_args
, **_kwargs
):
214 val
= apply(gdic
.wxCursor_Ok
,(self
,) + _args
, _kwargs
)
217 return "<C wxCursor instance at %s>" % (self
.this
,)
218 class wxCursor(wxCursorPtr
):
219 def __init__(self
,this
):
225 class wxColourPtr(wxObjectPtr
):
226 def __init__(self
,this
):
229 def __del__(self
,gdic
=gdic
):
230 if self
.thisown
== 1 :
231 gdic
.delete_wxColour(self
)
232 def Red(self
, *_args
, **_kwargs
):
233 val
= apply(gdic
.wxColour_Red
,(self
,) + _args
, _kwargs
)
235 def Green(self
, *_args
, **_kwargs
):
236 val
= apply(gdic
.wxColour_Green
,(self
,) + _args
, _kwargs
)
238 def Blue(self
, *_args
, **_kwargs
):
239 val
= apply(gdic
.wxColour_Blue
,(self
,) + _args
, _kwargs
)
241 def Ok(self
, *_args
, **_kwargs
):
242 val
= apply(gdic
.wxColour_Ok
,(self
,) + _args
, _kwargs
)
244 def Set(self
, *_args
, **_kwargs
):
245 val
= apply(gdic
.wxColour_Set
,(self
,) + _args
, _kwargs
)
247 def Get(self
, *_args
, **_kwargs
):
248 val
= apply(gdic
.wxColour_Get
,(self
,) + _args
, _kwargs
)
251 return "<C wxColour instance at %s>" % (self
.this
,)
253 def __str__(self
): return str(self
.asTuple())
254 def __repr__(self
): return str(self
.asTuple())
255 class wxColour(wxColourPtr
):
256 def __init__(self
,*_args
,**_kwargs
):
257 self
.this
= apply(gdic
.new_wxColour
,_args
,_kwargs
)
263 class wxColourDatabasePtr(wxObjectPtr
):
264 def __init__(self
,this
):
267 def FindColour(self
, *_args
, **_kwargs
):
268 val
= apply(gdic
.wxColourDatabase_FindColour
,(self
,) + _args
, _kwargs
)
269 if val
: val
= wxColourPtr(val
)
271 def FindName(self
, *_args
, **_kwargs
):
272 val
= apply(gdic
.wxColourDatabase_FindName
,(self
,) + _args
, _kwargs
)
274 def Append(self
, *_args
, **_kwargs
):
275 val
= apply(gdic
.wxColourDatabase_Append
,(self
,) + _args
, _kwargs
)
278 return "<C wxColourDatabase instance at %s>" % (self
.this
,)
279 class wxColourDatabase(wxColourDatabasePtr
):
280 def __init__(self
,this
):
286 class wxPenPtr(wxGDIObjectPtr
):
287 def __init__(self
,this
):
290 def __del__(self
,gdic
=gdic
):
291 if self
.thisown
== 1 :
292 gdic
.delete_wxPen(self
)
293 def GetCap(self
, *_args
, **_kwargs
):
294 val
= apply(gdic
.wxPen_GetCap
,(self
,) + _args
, _kwargs
)
296 def GetColour(self
, *_args
, **_kwargs
):
297 val
= apply(gdic
.wxPen_GetColour
,(self
,) + _args
, _kwargs
)
298 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
300 def GetJoin(self
, *_args
, **_kwargs
):
301 val
= apply(gdic
.wxPen_GetJoin
,(self
,) + _args
, _kwargs
)
303 def GetStyle(self
, *_args
, **_kwargs
):
304 val
= apply(gdic
.wxPen_GetStyle
,(self
,) + _args
, _kwargs
)
306 def GetWidth(self
, *_args
, **_kwargs
):
307 val
= apply(gdic
.wxPen_GetWidth
,(self
,) + _args
, _kwargs
)
309 def Ok(self
, *_args
, **_kwargs
):
310 val
= apply(gdic
.wxPen_Ok
,(self
,) + _args
, _kwargs
)
312 def SetCap(self
, *_args
, **_kwargs
):
313 val
= apply(gdic
.wxPen_SetCap
,(self
,) + _args
, _kwargs
)
315 def SetColour(self
, *_args
, **_kwargs
):
316 val
= apply(gdic
.wxPen_SetColour
,(self
,) + _args
, _kwargs
)
318 def SetJoin(self
, *_args
, **_kwargs
):
319 val
= apply(gdic
.wxPen_SetJoin
,(self
,) + _args
, _kwargs
)
321 def SetStyle(self
, *_args
, **_kwargs
):
322 val
= apply(gdic
.wxPen_SetStyle
,(self
,) + _args
, _kwargs
)
324 def SetWidth(self
, *_args
, **_kwargs
):
325 val
= apply(gdic
.wxPen_SetWidth
,(self
,) + _args
, _kwargs
)
327 def SetDashes(self
, *_args
, **_kwargs
):
328 val
= apply(gdic
.wxPen_SetDashes
,(self
,) + _args
, _kwargs
)
330 def GetDashes(self
, *_args
, **_kwargs
):
331 val
= apply(gdic
.wxPen_GetDashes
,(self
,) + _args
, _kwargs
)
334 return "<C wxPen instance at %s>" % (self
.this
,)
335 class wxPen(wxPenPtr
):
336 def __init__(self
,*_args
,**_kwargs
):
337 self
.this
= apply(gdic
.new_wxPen
,_args
,_kwargs
)
343 class wxPyPenPtr(wxPenPtr
):
344 def __init__(self
,this
):
347 def __del__(self
,gdic
=gdic
):
348 if self
.thisown
== 1 :
349 gdic
.delete_wxPyPen(self
)
350 def SetDashes(self
, *_args
, **_kwargs
):
351 val
= apply(gdic
.wxPyPen_SetDashes
,(self
,) + _args
, _kwargs
)
354 return "<C wxPyPen instance at %s>" % (self
.this
,)
355 class wxPyPen(wxPyPenPtr
):
356 def __init__(self
,*_args
,**_kwargs
):
357 self
.this
= apply(gdic
.new_wxPyPen
,_args
,_kwargs
)
363 class wxPenListPtr(wxObjectPtr
):
364 def __init__(self
,this
):
367 def AddPen(self
, *_args
, **_kwargs
):
368 val
= apply(gdic
.wxPenList_AddPen
,(self
,) + _args
, _kwargs
)
370 def FindOrCreatePen(self
, *_args
, **_kwargs
):
371 val
= apply(gdic
.wxPenList_FindOrCreatePen
,(self
,) + _args
, _kwargs
)
372 if val
: val
= wxPenPtr(val
)
374 def RemovePen(self
, *_args
, **_kwargs
):
375 val
= apply(gdic
.wxPenList_RemovePen
,(self
,) + _args
, _kwargs
)
377 def GetCount(self
, *_args
, **_kwargs
):
378 val
= apply(gdic
.wxPenList_GetCount
,(self
,) + _args
, _kwargs
)
381 return "<C wxPenList instance at %s>" % (self
.this
,)
382 class wxPenList(wxPenListPtr
):
383 def __init__(self
,this
):
389 class wxBrushPtr(wxGDIObjectPtr
):
390 def __init__(self
,this
):
393 def __del__(self
,gdic
=gdic
):
394 if self
.thisown
== 1 :
395 gdic
.delete_wxBrush(self
)
396 def GetColour(self
, *_args
, **_kwargs
):
397 val
= apply(gdic
.wxBrush_GetColour
,(self
,) + _args
, _kwargs
)
398 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
400 def GetStipple(self
, *_args
, **_kwargs
):
401 val
= apply(gdic
.wxBrush_GetStipple
,(self
,) + _args
, _kwargs
)
402 if val
: val
= wxBitmapPtr(val
)
404 def GetStyle(self
, *_args
, **_kwargs
):
405 val
= apply(gdic
.wxBrush_GetStyle
,(self
,) + _args
, _kwargs
)
407 def Ok(self
, *_args
, **_kwargs
):
408 val
= apply(gdic
.wxBrush_Ok
,(self
,) + _args
, _kwargs
)
410 def SetColour(self
, *_args
, **_kwargs
):
411 val
= apply(gdic
.wxBrush_SetColour
,(self
,) + _args
, _kwargs
)
413 def SetStipple(self
, *_args
, **_kwargs
):
414 val
= apply(gdic
.wxBrush_SetStipple
,(self
,) + _args
, _kwargs
)
416 def SetStyle(self
, *_args
, **_kwargs
):
417 val
= apply(gdic
.wxBrush_SetStyle
,(self
,) + _args
, _kwargs
)
420 return "<C wxBrush instance at %s>" % (self
.this
,)
421 class wxBrush(wxBrushPtr
):
422 def __init__(self
,*_args
,**_kwargs
):
423 self
.this
= apply(gdic
.new_wxBrush
,_args
,_kwargs
)
429 class wxBrushListPtr(wxObjectPtr
):
430 def __init__(self
,this
):
433 def AddBrush(self
, *_args
, **_kwargs
):
434 val
= apply(gdic
.wxBrushList_AddBrush
,(self
,) + _args
, _kwargs
)
436 def FindOrCreateBrush(self
, *_args
, **_kwargs
):
437 val
= apply(gdic
.wxBrushList_FindOrCreateBrush
,(self
,) + _args
, _kwargs
)
438 if val
: val
= wxBrushPtr(val
)
440 def RemoveBrush(self
, *_args
, **_kwargs
):
441 val
= apply(gdic
.wxBrushList_RemoveBrush
,(self
,) + _args
, _kwargs
)
443 def GetCount(self
, *_args
, **_kwargs
):
444 val
= apply(gdic
.wxBrushList_GetCount
,(self
,) + _args
, _kwargs
)
447 return "<C wxBrushList instance at %s>" % (self
.this
,)
448 class wxBrushList(wxBrushListPtr
):
449 def __init__(self
,this
):
455 class wxDCPtr(wxObjectPtr
):
456 def __init__(self
,this
):
459 def __del__(self
,gdic
=gdic
):
460 if self
.thisown
== 1 :
461 gdic
.delete_wxDC(self
)
462 def BeginDrawing(self
, *_args
, **_kwargs
):
463 val
= apply(gdic
.wxDC_BeginDrawing
,(self
,) + _args
, _kwargs
)
465 def Blit(self
, *_args
, **_kwargs
):
466 val
= apply(gdic
.wxDC_Blit
,(self
,) + _args
, _kwargs
)
468 def Clear(self
, *_args
, **_kwargs
):
469 val
= apply(gdic
.wxDC_Clear
,(self
,) + _args
, _kwargs
)
471 def CrossHair(self
, *_args
, **_kwargs
):
472 val
= apply(gdic
.wxDC_CrossHair
,(self
,) + _args
, _kwargs
)
474 def DestroyClippingRegion(self
, *_args
, **_kwargs
):
475 val
= apply(gdic
.wxDC_DestroyClippingRegion
,(self
,) + _args
, _kwargs
)
477 def DeviceToLogicalX(self
, *_args
, **_kwargs
):
478 val
= apply(gdic
.wxDC_DeviceToLogicalX
,(self
,) + _args
, _kwargs
)
480 def DeviceToLogicalXRel(self
, *_args
, **_kwargs
):
481 val
= apply(gdic
.wxDC_DeviceToLogicalXRel
,(self
,) + _args
, _kwargs
)
483 def DeviceToLogicalY(self
, *_args
, **_kwargs
):
484 val
= apply(gdic
.wxDC_DeviceToLogicalY
,(self
,) + _args
, _kwargs
)
486 def DeviceToLogicalYRel(self
, *_args
, **_kwargs
):
487 val
= apply(gdic
.wxDC_DeviceToLogicalYRel
,(self
,) + _args
, _kwargs
)
489 def DrawArc(self
, *_args
, **_kwargs
):
490 val
= apply(gdic
.wxDC_DrawArc
,(self
,) + _args
, _kwargs
)
492 def DrawCircle(self
, *_args
, **_kwargs
):
493 val
= apply(gdic
.wxDC_DrawCircle
,(self
,) + _args
, _kwargs
)
495 def DrawEllipse(self
, *_args
, **_kwargs
):
496 val
= apply(gdic
.wxDC_DrawEllipse
,(self
,) + _args
, _kwargs
)
498 def DrawEllipticArc(self
, *_args
, **_kwargs
):
499 val
= apply(gdic
.wxDC_DrawEllipticArc
,(self
,) + _args
, _kwargs
)
501 def DrawIcon(self
, *_args
, **_kwargs
):
502 val
= apply(gdic
.wxDC_DrawIcon
,(self
,) + _args
, _kwargs
)
504 def DrawLabel(self
, *_args
, **_kwargs
):
505 val
= apply(gdic
.wxDC_DrawLabel
,(self
,) + _args
, _kwargs
)
507 def DrawImageLabel(self
, *_args
, **_kwargs
):
508 val
= apply(gdic
.wxDC_DrawImageLabel
,(self
,) + _args
, _kwargs
)
509 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
511 def DrawLine(self
, *_args
, **_kwargs
):
512 val
= apply(gdic
.wxDC_DrawLine
,(self
,) + _args
, _kwargs
)
514 def DrawLines(self
, *_args
, **_kwargs
):
515 val
= apply(gdic
.wxDC_DrawLines
,(self
,) + _args
, _kwargs
)
517 def DrawPolygon(self
, *_args
, **_kwargs
):
518 val
= apply(gdic
.wxDC_DrawPolygon
,(self
,) + _args
, _kwargs
)
520 def DrawPoint(self
, *_args
, **_kwargs
):
521 val
= apply(gdic
.wxDC_DrawPoint
,(self
,) + _args
, _kwargs
)
523 def DrawRectangle(self
, *_args
, **_kwargs
):
524 val
= apply(gdic
.wxDC_DrawRectangle
,(self
,) + _args
, _kwargs
)
526 def DrawRectangleRect(self
, *_args
, **_kwargs
):
527 val
= apply(gdic
.wxDC_DrawRectangleRect
,(self
,) + _args
, _kwargs
)
529 def DrawRotatedText(self
, *_args
, **_kwargs
):
530 val
= apply(gdic
.wxDC_DrawRotatedText
,(self
,) + _args
, _kwargs
)
532 def DrawRoundedRectangle(self
, *_args
, **_kwargs
):
533 val
= apply(gdic
.wxDC_DrawRoundedRectangle
,(self
,) + _args
, _kwargs
)
535 def DrawSpline(self
, *_args
, **_kwargs
):
536 val
= apply(gdic
.wxDC_DrawSpline
,(self
,) + _args
, _kwargs
)
538 def DrawText(self
, *_args
, **_kwargs
):
539 val
= apply(gdic
.wxDC_DrawText
,(self
,) + _args
, _kwargs
)
541 def EndDoc(self
, *_args
, **_kwargs
):
542 val
= apply(gdic
.wxDC_EndDoc
,(self
,) + _args
, _kwargs
)
544 def EndDrawing(self
, *_args
, **_kwargs
):
545 val
= apply(gdic
.wxDC_EndDrawing
,(self
,) + _args
, _kwargs
)
547 def EndPage(self
, *_args
, **_kwargs
):
548 val
= apply(gdic
.wxDC_EndPage
,(self
,) + _args
, _kwargs
)
550 def FloodFill(self
, *_args
, **_kwargs
):
551 val
= apply(gdic
.wxDC_FloodFill
,(self
,) + _args
, _kwargs
)
553 def GetBackground(self
, *_args
, **_kwargs
):
554 val
= apply(gdic
.wxDC_GetBackground
,(self
,) + _args
, _kwargs
)
555 if val
: val
= wxBrushPtr(val
) ; val
.thisown
= 1
557 def GetBrush(self
, *_args
, **_kwargs
):
558 val
= apply(gdic
.wxDC_GetBrush
,(self
,) + _args
, _kwargs
)
559 if val
: val
= wxBrushPtr(val
) ; val
.thisown
= 1
561 def GetCharHeight(self
, *_args
, **_kwargs
):
562 val
= apply(gdic
.wxDC_GetCharHeight
,(self
,) + _args
, _kwargs
)
564 def GetCharWidth(self
, *_args
, **_kwargs
):
565 val
= apply(gdic
.wxDC_GetCharWidth
,(self
,) + _args
, _kwargs
)
567 def GetClippingBox(self
, *_args
, **_kwargs
):
568 val
= apply(gdic
.wxDC_GetClippingBox
,(self
,) + _args
, _kwargs
)
570 def GetFont(self
, *_args
, **_kwargs
):
571 val
= apply(gdic
.wxDC_GetFont
,(self
,) + _args
, _kwargs
)
572 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
574 def GetLogicalFunction(self
, *_args
, **_kwargs
):
575 val
= apply(gdic
.wxDC_GetLogicalFunction
,(self
,) + _args
, _kwargs
)
577 def GetLogicalScale(self
, *_args
, **_kwargs
):
578 val
= apply(gdic
.wxDC_GetLogicalScale
,(self
,) + _args
, _kwargs
)
580 def GetMapMode(self
, *_args
, **_kwargs
):
581 val
= apply(gdic
.wxDC_GetMapMode
,(self
,) + _args
, _kwargs
)
583 def GetOptimization(self
, *_args
, **_kwargs
):
584 val
= apply(gdic
.wxDC_GetOptimization
,(self
,) + _args
, _kwargs
)
586 def GetPen(self
, *_args
, **_kwargs
):
587 val
= apply(gdic
.wxDC_GetPen
,(self
,) + _args
, _kwargs
)
588 if val
: val
= wxPenPtr(val
) ; val
.thisown
= 1
590 def GetPixel(self
, *_args
, **_kwargs
):
591 val
= apply(gdic
.wxDC_GetPixel
,(self
,) + _args
, _kwargs
)
592 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
594 def GetSizeTuple(self
, *_args
, **_kwargs
):
595 val
= apply(gdic
.wxDC_GetSizeTuple
,(self
,) + _args
, _kwargs
)
597 def GetSize(self
, *_args
, **_kwargs
):
598 val
= apply(gdic
.wxDC_GetSize
,(self
,) + _args
, _kwargs
)
599 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
601 def GetSizeMM(self
, *_args
, **_kwargs
):
602 val
= apply(gdic
.wxDC_GetSizeMM
,(self
,) + _args
, _kwargs
)
603 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
605 def GetTextBackground(self
, *_args
, **_kwargs
):
606 val
= apply(gdic
.wxDC_GetTextBackground
,(self
,) + _args
, _kwargs
)
607 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
609 def GetTextExtent(self
, *_args
, **_kwargs
):
610 val
= apply(gdic
.wxDC_GetTextExtent
,(self
,) + _args
, _kwargs
)
612 def GetFullTextExtent(self
, *_args
, **_kwargs
):
613 val
= apply(gdic
.wxDC_GetFullTextExtent
,(self
,) + _args
, _kwargs
)
615 def GetTextForeground(self
, *_args
, **_kwargs
):
616 val
= apply(gdic
.wxDC_GetTextForeground
,(self
,) + _args
, _kwargs
)
617 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
619 def GetUserScale(self
, *_args
, **_kwargs
):
620 val
= apply(gdic
.wxDC_GetUserScale
,(self
,) + _args
, _kwargs
)
622 def LogicalToDeviceX(self
, *_args
, **_kwargs
):
623 val
= apply(gdic
.wxDC_LogicalToDeviceX
,(self
,) + _args
, _kwargs
)
625 def LogicalToDeviceXRel(self
, *_args
, **_kwargs
):
626 val
= apply(gdic
.wxDC_LogicalToDeviceXRel
,(self
,) + _args
, _kwargs
)
628 def LogicalToDeviceY(self
, *_args
, **_kwargs
):
629 val
= apply(gdic
.wxDC_LogicalToDeviceY
,(self
,) + _args
, _kwargs
)
631 def LogicalToDeviceYRel(self
, *_args
, **_kwargs
):
632 val
= apply(gdic
.wxDC_LogicalToDeviceYRel
,(self
,) + _args
, _kwargs
)
634 def MaxX(self
, *_args
, **_kwargs
):
635 val
= apply(gdic
.wxDC_MaxX
,(self
,) + _args
, _kwargs
)
637 def MaxY(self
, *_args
, **_kwargs
):
638 val
= apply(gdic
.wxDC_MaxY
,(self
,) + _args
, _kwargs
)
640 def MinX(self
, *_args
, **_kwargs
):
641 val
= apply(gdic
.wxDC_MinX
,(self
,) + _args
, _kwargs
)
643 def MinY(self
, *_args
, **_kwargs
):
644 val
= apply(gdic
.wxDC_MinY
,(self
,) + _args
, _kwargs
)
646 def Ok(self
, *_args
, **_kwargs
):
647 val
= apply(gdic
.wxDC_Ok
,(self
,) + _args
, _kwargs
)
649 def SetDeviceOrigin(self
, *_args
, **_kwargs
):
650 val
= apply(gdic
.wxDC_SetDeviceOrigin
,(self
,) + _args
, _kwargs
)
652 def SetBackground(self
, *_args
, **_kwargs
):
653 val
= apply(gdic
.wxDC_SetBackground
,(self
,) + _args
, _kwargs
)
655 def SetBackgroundMode(self
, *_args
, **_kwargs
):
656 val
= apply(gdic
.wxDC_SetBackgroundMode
,(self
,) + _args
, _kwargs
)
658 def SetClippingRegion(self
, *_args
, **_kwargs
):
659 val
= apply(gdic
.wxDC_SetClippingRegion
,(self
,) + _args
, _kwargs
)
661 def SetClippingRegionAsRegion(self
, *_args
, **_kwargs
):
662 val
= apply(gdic
.wxDC_SetClippingRegionAsRegion
,(self
,) + _args
, _kwargs
)
664 def SetClippingRect(self
, *_args
, **_kwargs
):
665 val
= apply(gdic
.wxDC_SetClippingRect
,(self
,) + _args
, _kwargs
)
667 def SetPalette(self
, *_args
, **_kwargs
):
668 val
= apply(gdic
.wxDC_SetPalette
,(self
,) + _args
, _kwargs
)
670 def SetBrush(self
, *_args
, **_kwargs
):
671 val
= apply(gdic
.wxDC_SetBrush
,(self
,) + _args
, _kwargs
)
673 def SetFont(self
, *_args
, **_kwargs
):
674 val
= apply(gdic
.wxDC_SetFont
,(self
,) + _args
, _kwargs
)
676 def SetLogicalFunction(self
, *_args
, **_kwargs
):
677 val
= apply(gdic
.wxDC_SetLogicalFunction
,(self
,) + _args
, _kwargs
)
679 def SetLogicalScale(self
, *_args
, **_kwargs
):
680 val
= apply(gdic
.wxDC_SetLogicalScale
,(self
,) + _args
, _kwargs
)
682 def SetMapMode(self
, *_args
, **_kwargs
):
683 val
= apply(gdic
.wxDC_SetMapMode
,(self
,) + _args
, _kwargs
)
685 def SetOptimization(self
, *_args
, **_kwargs
):
686 val
= apply(gdic
.wxDC_SetOptimization
,(self
,) + _args
, _kwargs
)
688 def SetPen(self
, *_args
, **_kwargs
):
689 val
= apply(gdic
.wxDC_SetPen
,(self
,) + _args
, _kwargs
)
691 def SetTextBackground(self
, *_args
, **_kwargs
):
692 val
= apply(gdic
.wxDC_SetTextBackground
,(self
,) + _args
, _kwargs
)
694 def SetTextForeground(self
, *_args
, **_kwargs
):
695 val
= apply(gdic
.wxDC_SetTextForeground
,(self
,) + _args
, _kwargs
)
697 def SetUserScale(self
, *_args
, **_kwargs
):
698 val
= apply(gdic
.wxDC_SetUserScale
,(self
,) + _args
, _kwargs
)
700 def StartDoc(self
, *_args
, **_kwargs
):
701 val
= apply(gdic
.wxDC_StartDoc
,(self
,) + _args
, _kwargs
)
703 def StartPage(self
, *_args
, **_kwargs
):
704 val
= apply(gdic
.wxDC_StartPage
,(self
,) + _args
, _kwargs
)
706 def DrawBitmap(self
, *_args
, **_kwargs
):
707 val
= apply(gdic
.wxDC_DrawBitmap
,(self
,) + _args
, _kwargs
)
709 def CanDrawBitmap(self
, *_args
, **_kwargs
):
710 val
= apply(gdic
.wxDC_CanDrawBitmap
,(self
,) + _args
, _kwargs
)
712 def CanGetTextExtent(self
, *_args
, **_kwargs
):
713 val
= apply(gdic
.wxDC_CanGetTextExtent
,(self
,) + _args
, _kwargs
)
715 def GetDepth(self
, *_args
, **_kwargs
):
716 val
= apply(gdic
.wxDC_GetDepth
,(self
,) + _args
, _kwargs
)
718 def GetPPI(self
, *_args
, **_kwargs
):
719 val
= apply(gdic
.wxDC_GetPPI
,(self
,) + _args
, _kwargs
)
720 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
722 def GetLogicalOrigin(self
, *_args
, **_kwargs
):
723 val
= apply(gdic
.wxDC_GetLogicalOrigin
,(self
,) + _args
, _kwargs
)
725 def SetLogicalOrigin(self
, *_args
, **_kwargs
):
726 val
= apply(gdic
.wxDC_SetLogicalOrigin
,(self
,) + _args
, _kwargs
)
728 def GetDeviceOrigin(self
, *_args
, **_kwargs
):
729 val
= apply(gdic
.wxDC_GetDeviceOrigin
,(self
,) + _args
, _kwargs
)
731 def SetAxisOrientation(self
, *_args
, **_kwargs
):
732 val
= apply(gdic
.wxDC_SetAxisOrientation
,(self
,) + _args
, _kwargs
)
734 def CalcBoundingBox(self
, *_args
, **_kwargs
):
735 val
= apply(gdic
.wxDC_CalcBoundingBox
,(self
,) + _args
, _kwargs
)
737 def ResetBoundingBox(self
, *_args
, **_kwargs
):
738 val
= apply(gdic
.wxDC_ResetBoundingBox
,(self
,) + _args
, _kwargs
)
740 def GetBoundingBox(self
, *_args
, **_kwargs
):
741 val
= apply(gdic
.wxDC_GetBoundingBox
,(self
,) + _args
, _kwargs
)
743 def _DrawPointList(self
, *_args
, **_kwargs
):
744 val
= apply(gdic
.wxDC__DrawPointList
,(self
,) + _args
, _kwargs
)
746 def _DrawLineList(self
, *_args
, **_kwargs
):
747 val
= apply(gdic
.wxDC__DrawLineList
,(self
,) + _args
, _kwargs
)
750 return "<C wxDC instance at %s>" % (self
.this
,)
752 def DrawPointList(self
, points
, pens
=None):
755 elif isinstance(pens
, wxPenPtr
):
757 elif len(pens
) != len(points
):
758 raise ValueError('points and pens must have same length')
759 return self
._DrawPointList
(points
, pens
)
761 def DrawLineList(self
, lines
, pens
=None):
764 elif isinstance(pens
, wxPenPtr
):
766 elif len(pens
) != len(lines
):
767 raise ValueError('lines and pens must have same length')
768 return self
._DrawLineList
(lines
, pens
)
771 def __init__(self
,this
):
777 class wxMemoryDCPtr(wxDCPtr
):
778 def __init__(self
,this
):
781 def SelectObject(self
, *_args
, **_kwargs
):
782 val
= apply(gdic
.wxMemoryDC_SelectObject
,(self
,) + _args
, _kwargs
)
785 return "<C wxMemoryDC instance at %s>" % (self
.this
,)
786 class wxMemoryDC(wxMemoryDCPtr
):
787 def __init__(self
,*_args
,**_kwargs
):
788 self
.this
= apply(gdic
.new_wxMemoryDC
,_args
,_kwargs
)
794 class wxBufferedDCPtr(wxMemoryDCPtr
):
795 def __init__(self
,this
):
798 def UnMask(self
, *_args
, **_kwargs
):
799 val
= apply(gdic
.wxBufferedDC_UnMask
,(self
,) + _args
, _kwargs
)
802 return "<C wxBufferedDC instance at %s>" % (self
.this
,)
803 class wxBufferedDC(wxBufferedDCPtr
):
804 def __init__(self
,*_args
,**_kwargs
):
805 self
.this
= apply(gdic
.new_wxBufferedDC
,_args
,_kwargs
)
807 self
._dc
= _args
[0] # save a ref so the other dc won't be deleted before self
811 def wxBufferedDCInternalBuffer(*_args
,**_kwargs
):
812 val
= wxBufferedDCPtr(apply(gdic
.new_wxBufferedDCInternalBuffer
,_args
,_kwargs
))
814 val
._dc
= _args
[0] # save a ref so the other dc won't be deleted before self
818 class wxBufferedPaintDCPtr(wxBufferedDCPtr
):
819 def __init__(self
,this
):
823 return "<C wxBufferedPaintDC instance at %s>" % (self
.this
,)
824 class wxBufferedPaintDC(wxBufferedPaintDCPtr
):
825 def __init__(self
,*_args
,**_kwargs
):
826 self
.this
= apply(gdic
.new_wxBufferedPaintDC
,_args
,_kwargs
)
832 class wxScreenDCPtr(wxDCPtr
):
833 def __init__(self
,this
):
836 def StartDrawingOnTopWin(self
, *_args
, **_kwargs
):
837 val
= apply(gdic
.wxScreenDC_StartDrawingOnTopWin
,(self
,) + _args
, _kwargs
)
839 def StartDrawingOnTop(self
, *_args
, **_kwargs
):
840 val
= apply(gdic
.wxScreenDC_StartDrawingOnTop
,(self
,) + _args
, _kwargs
)
842 def EndDrawingOnTop(self
, *_args
, **_kwargs
):
843 val
= apply(gdic
.wxScreenDC_EndDrawingOnTop
,(self
,) + _args
, _kwargs
)
846 return "<C wxScreenDC instance at %s>" % (self
.this
,)
847 class wxScreenDC(wxScreenDCPtr
):
848 def __init__(self
,*_args
,**_kwargs
):
849 self
.this
= apply(gdic
.new_wxScreenDC
,_args
,_kwargs
)
855 class wxClientDCPtr(wxDCPtr
):
856 def __init__(self
,this
):
860 return "<C wxClientDC instance at %s>" % (self
.this
,)
861 class wxClientDC(wxClientDCPtr
):
862 def __init__(self
,*_args
,**_kwargs
):
863 self
.this
= apply(gdic
.new_wxClientDC
,_args
,_kwargs
)
869 class wxPaintDCPtr(wxDCPtr
):
870 def __init__(self
,this
):
874 return "<C wxPaintDC instance at %s>" % (self
.this
,)
875 class wxPaintDC(wxPaintDCPtr
):
876 def __init__(self
,*_args
,**_kwargs
):
877 self
.this
= apply(gdic
.new_wxPaintDC
,_args
,_kwargs
)
883 class wxWindowDCPtr(wxDCPtr
):
884 def __init__(self
,this
):
888 return "<C wxWindowDC instance at %s>" % (self
.this
,)
889 class wxWindowDC(wxWindowDCPtr
):
890 def __init__(self
,*_args
,**_kwargs
):
891 self
.this
= apply(gdic
.new_wxWindowDC
,_args
,_kwargs
)
897 class wxPalettePtr(wxGDIObjectPtr
):
898 def __init__(self
,this
):
901 def __del__(self
,gdic
=gdic
):
902 if self
.thisown
== 1 :
903 gdic
.delete_wxPalette(self
)
904 def GetPixel(self
, *_args
, **_kwargs
):
905 val
= apply(gdic
.wxPalette_GetPixel
,(self
,) + _args
, _kwargs
)
907 def GetRGB(self
, *_args
, **_kwargs
):
908 val
= apply(gdic
.wxPalette_GetRGB
,(self
,) + _args
, _kwargs
)
910 def Ok(self
, *_args
, **_kwargs
):
911 val
= apply(gdic
.wxPalette_Ok
,(self
,) + _args
, _kwargs
)
914 return "<C wxPalette instance at %s>" % (self
.this
,)
915 class wxPalette(wxPalettePtr
):
916 def __init__(self
,*_args
,**_kwargs
):
917 self
.this
= apply(gdic
.new_wxPalette
,_args
,_kwargs
)
923 class wxImageListPtr(wxObjectPtr
):
924 def __init__(self
,this
):
927 def __del__(self
,gdic
=gdic
):
928 if self
.thisown
== 1 :
929 gdic
.delete_wxImageList(self
)
930 def Add(self
, *_args
, **_kwargs
):
931 val
= apply(gdic
.wxImageList_Add
,(self
,) + _args
, _kwargs
)
933 def AddWithColourMask(self
, *_args
, **_kwargs
):
934 val
= apply(gdic
.wxImageList_AddWithColourMask
,(self
,) + _args
, _kwargs
)
936 def AddIcon(self
, *_args
, **_kwargs
):
937 val
= apply(gdic
.wxImageList_AddIcon
,(self
,) + _args
, _kwargs
)
939 def Replace(self
, *_args
, **_kwargs
):
940 val
= apply(gdic
.wxImageList_Replace
,(self
,) + _args
, _kwargs
)
942 def Draw(self
, *_args
, **_kwargs
):
943 val
= apply(gdic
.wxImageList_Draw
,(self
,) + _args
, _kwargs
)
945 def GetImageCount(self
, *_args
, **_kwargs
):
946 val
= apply(gdic
.wxImageList_GetImageCount
,(self
,) + _args
, _kwargs
)
948 def Remove(self
, *_args
, **_kwargs
):
949 val
= apply(gdic
.wxImageList_Remove
,(self
,) + _args
, _kwargs
)
951 def RemoveAll(self
, *_args
, **_kwargs
):
952 val
= apply(gdic
.wxImageList_RemoveAll
,(self
,) + _args
, _kwargs
)
954 def GetSize(self
, *_args
, **_kwargs
):
955 val
= apply(gdic
.wxImageList_GetSize
,(self
,) + _args
, _kwargs
)
958 return "<C wxImageList instance at %s>" % (self
.this
,)
959 class wxImageList(wxImageListPtr
):
960 def __init__(self
,*_args
,**_kwargs
):
961 self
.this
= apply(gdic
.new_wxImageList
,_args
,_kwargs
)
967 class wxRegionPtr(wxGDIObjectPtr
):
968 def __init__(self
,this
):
971 def __del__(self
,gdic
=gdic
):
972 if self
.thisown
== 1 :
973 gdic
.delete_wxRegion(self
)
974 def Clear(self
, *_args
, **_kwargs
):
975 val
= apply(gdic
.wxRegion_Clear
,(self
,) + _args
, _kwargs
)
977 def Contains(self
, *_args
, **_kwargs
):
978 val
= apply(gdic
.wxRegion_Contains
,(self
,) + _args
, _kwargs
)
980 def ContainsPoint(self
, *_args
, **_kwargs
):
981 val
= apply(gdic
.wxRegion_ContainsPoint
,(self
,) + _args
, _kwargs
)
983 def ContainsRect(self
, *_args
, **_kwargs
):
984 val
= apply(gdic
.wxRegion_ContainsRect
,(self
,) + _args
, _kwargs
)
986 def ContainsRectDim(self
, *_args
, **_kwargs
):
987 val
= apply(gdic
.wxRegion_ContainsRectDim
,(self
,) + _args
, _kwargs
)
989 def GetBox(self
, *_args
, **_kwargs
):
990 val
= apply(gdic
.wxRegion_GetBox
,(self
,) + _args
, _kwargs
)
991 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
993 def Intersect(self
, *_args
, **_kwargs
):
994 val
= apply(gdic
.wxRegion_Intersect
,(self
,) + _args
, _kwargs
)
996 def IntersectRect(self
, *_args
, **_kwargs
):
997 val
= apply(gdic
.wxRegion_IntersectRect
,(self
,) + _args
, _kwargs
)
999 def IntersectRegion(self
, *_args
, **_kwargs
):
1000 val
= apply(gdic
.wxRegion_IntersectRegion
,(self
,) + _args
, _kwargs
)
1002 def IsEmpty(self
, *_args
, **_kwargs
):
1003 val
= apply(gdic
.wxRegion_IsEmpty
,(self
,) + _args
, _kwargs
)
1005 def Union(self
, *_args
, **_kwargs
):
1006 val
= apply(gdic
.wxRegion_Union
,(self
,) + _args
, _kwargs
)
1008 def UnionRect(self
, *_args
, **_kwargs
):
1009 val
= apply(gdic
.wxRegion_UnionRect
,(self
,) + _args
, _kwargs
)
1011 def UnionRegion(self
, *_args
, **_kwargs
):
1012 val
= apply(gdic
.wxRegion_UnionRegion
,(self
,) + _args
, _kwargs
)
1014 def Subtract(self
, *_args
, **_kwargs
):
1015 val
= apply(gdic
.wxRegion_Subtract
,(self
,) + _args
, _kwargs
)
1017 def SubtractRect(self
, *_args
, **_kwargs
):
1018 val
= apply(gdic
.wxRegion_SubtractRect
,(self
,) + _args
, _kwargs
)
1020 def SubtractRegion(self
, *_args
, **_kwargs
):
1021 val
= apply(gdic
.wxRegion_SubtractRegion
,(self
,) + _args
, _kwargs
)
1023 def Xor(self
, *_args
, **_kwargs
):
1024 val
= apply(gdic
.wxRegion_Xor
,(self
,) + _args
, _kwargs
)
1026 def XorRect(self
, *_args
, **_kwargs
):
1027 val
= apply(gdic
.wxRegion_XorRect
,(self
,) + _args
, _kwargs
)
1029 def XorRegion(self
, *_args
, **_kwargs
):
1030 val
= apply(gdic
.wxRegion_XorRegion
,(self
,) + _args
, _kwargs
)
1033 return "<C wxRegion instance at %s>" % (self
.this
,)
1034 class wxRegion(wxRegionPtr
):
1035 def __init__(self
,*_args
,**_kwargs
):
1036 self
.this
= apply(gdic
.new_wxRegion
,_args
,_kwargs
)
1042 class wxRegionIteratorPtr(wxObjectPtr
):
1043 def __init__(self
,this
):
1046 def __del__(self
,gdic
=gdic
):
1047 if self
.thisown
== 1 :
1048 gdic
.delete_wxRegionIterator(self
)
1049 def GetX(self
, *_args
, **_kwargs
):
1050 val
= apply(gdic
.wxRegionIterator_GetX
,(self
,) + _args
, _kwargs
)
1052 def GetY(self
, *_args
, **_kwargs
):
1053 val
= apply(gdic
.wxRegionIterator_GetY
,(self
,) + _args
, _kwargs
)
1055 def GetW(self
, *_args
, **_kwargs
):
1056 val
= apply(gdic
.wxRegionIterator_GetW
,(self
,) + _args
, _kwargs
)
1058 def GetWidth(self
, *_args
, **_kwargs
):
1059 val
= apply(gdic
.wxRegionIterator_GetWidth
,(self
,) + _args
, _kwargs
)
1061 def GetH(self
, *_args
, **_kwargs
):
1062 val
= apply(gdic
.wxRegionIterator_GetH
,(self
,) + _args
, _kwargs
)
1064 def GetHeight(self
, *_args
, **_kwargs
):
1065 val
= apply(gdic
.wxRegionIterator_GetHeight
,(self
,) + _args
, _kwargs
)
1067 def GetRect(self
, *_args
, **_kwargs
):
1068 val
= apply(gdic
.wxRegionIterator_GetRect
,(self
,) + _args
, _kwargs
)
1069 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1071 def HaveRects(self
, *_args
, **_kwargs
):
1072 val
= apply(gdic
.wxRegionIterator_HaveRects
,(self
,) + _args
, _kwargs
)
1074 def Reset(self
, *_args
, **_kwargs
):
1075 val
= apply(gdic
.wxRegionIterator_Reset
,(self
,) + _args
, _kwargs
)
1077 def Next(self
, *_args
, **_kwargs
):
1078 val
= apply(gdic
.wxRegionIterator_Next
,(self
,) + _args
, _kwargs
)
1081 return "<C wxRegionIterator instance at %s>" % (self
.this
,)
1082 class wxRegionIterator(wxRegionIteratorPtr
):
1083 def __init__(self
,*_args
,**_kwargs
):
1084 self
.this
= apply(gdic
.new_wxRegionIterator
,_args
,_kwargs
)
1092 #-------------- FUNCTION WRAPPERS ------------------
1094 def wxEmptyBitmap(*_args
, **_kwargs
):
1095 val
= apply(gdic
.wxEmptyBitmap
,_args
,_kwargs
)
1096 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1099 def wxBitmapFromXPMData(*_args
, **_kwargs
):
1100 val
= apply(gdic
.wxBitmapFromXPMData
,_args
,_kwargs
)
1101 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1104 def wxBitmapFromIcon(*_args
, **_kwargs
):
1105 val
= apply(gdic
.wxBitmapFromIcon
,_args
,_kwargs
)
1106 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1109 def wxBitmapFromBits(*_args
, **_kwargs
):
1110 val
= apply(gdic
.wxBitmapFromBits
,_args
,_kwargs
)
1111 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1114 def wxMaskColour(*_args
, **_kwargs
):
1115 val
= apply(gdic
.wxMaskColour
,_args
,_kwargs
)
1116 if val
: val
= wxMaskPtr(val
); val
.thisown
= 1
1119 def wxEmptyIcon(*_args
, **_kwargs
):
1120 val
= apply(gdic
.wxEmptyIcon
,_args
,_kwargs
)
1121 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1124 def wxIconFromXPMData(*_args
, **_kwargs
):
1125 val
= apply(gdic
.wxIconFromXPMData
,_args
,_kwargs
)
1126 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1129 def wxIconFromBitmap(*_args
, **_kwargs
):
1130 val
= apply(gdic
.wxIconFromBitmap
,_args
,_kwargs
)
1131 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1134 def wxStockCursor(*_args
, **_kwargs
):
1135 val
= apply(gdic
.wxStockCursor
,_args
,_kwargs
)
1136 if val
: val
= wxCursorPtr(val
); val
.thisown
= 1
1139 def wxNamedColour(*_args
, **_kwargs
):
1140 val
= apply(gdic
.wxNamedColour
,_args
,_kwargs
)
1141 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1144 def wxMemoryDCFromDC(*_args
, **_kwargs
):
1145 val
= apply(gdic
.wxMemoryDCFromDC
,_args
,_kwargs
)
1146 if val
: val
= wxMemoryDCPtr(val
); val
.thisown
= 1
1151 #-------------- VARIABLE WRAPPERS ------------------
1153 wxIMAGELIST_DRAW_NORMAL
= gdic
.wxIMAGELIST_DRAW_NORMAL
1154 wxIMAGELIST_DRAW_TRANSPARENT
= gdic
.wxIMAGELIST_DRAW_TRANSPARENT
1155 wxIMAGELIST_DRAW_SELECTED
= gdic
.wxIMAGELIST_DRAW_SELECTED
1156 wxIMAGELIST_DRAW_FOCUSED
= gdic
.wxIMAGELIST_DRAW_FOCUSED
1157 wxIMAGE_LIST_NORMAL
= gdic
.wxIMAGE_LIST_NORMAL
1158 wxIMAGE_LIST_SMALL
= gdic
.wxIMAGE_LIST_SMALL
1159 wxIMAGE_LIST_STATE
= gdic
.wxIMAGE_LIST_STATE
1160 wxOutRegion
= gdic
.wxOutRegion
1161 wxPartRegion
= gdic
.wxPartRegion
1162 wxInRegion
= gdic
.wxInRegion
1164 wxNORMAL_FONT
= wxFontPtr(gdic
.cvar
.wxNORMAL_FONT
)
1165 wxSMALL_FONT
= wxFontPtr(gdic
.cvar
.wxSMALL_FONT
)
1166 wxITALIC_FONT
= wxFontPtr(gdic
.cvar
.wxITALIC_FONT
)
1167 wxSWISS_FONT
= wxFontPtr(gdic
.cvar
.wxSWISS_FONT
)
1168 wxRED_PEN
= wxPenPtr(gdic
.cvar
.wxRED_PEN
)
1169 wxCYAN_PEN
= wxPenPtr(gdic
.cvar
.wxCYAN_PEN
)
1170 wxGREEN_PEN
= wxPenPtr(gdic
.cvar
.wxGREEN_PEN
)
1171 wxBLACK_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_PEN
)
1172 wxWHITE_PEN
= wxPenPtr(gdic
.cvar
.wxWHITE_PEN
)
1173 wxTRANSPARENT_PEN
= wxPenPtr(gdic
.cvar
.wxTRANSPARENT_PEN
)
1174 wxBLACK_DASHED_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_DASHED_PEN
)
1175 wxGREY_PEN
= wxPenPtr(gdic
.cvar
.wxGREY_PEN
)
1176 wxMEDIUM_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxMEDIUM_GREY_PEN
)
1177 wxLIGHT_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxLIGHT_GREY_PEN
)
1178 wxBLUE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLUE_BRUSH
)
1179 wxGREEN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREEN_BRUSH
)
1180 wxWHITE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxWHITE_BRUSH
)
1181 wxBLACK_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLACK_BRUSH
)
1182 wxTRANSPARENT_BRUSH
= wxBrushPtr(gdic
.cvar
.wxTRANSPARENT_BRUSH
)
1183 wxCYAN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxCYAN_BRUSH
)
1184 wxRED_BRUSH
= wxBrushPtr(gdic
.cvar
.wxRED_BRUSH
)
1185 wxGREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREY_BRUSH
)
1186 wxMEDIUM_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxMEDIUM_GREY_BRUSH
)
1187 wxLIGHT_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxLIGHT_GREY_BRUSH
)
1188 wxBLACK
= wxColourPtr(gdic
.cvar
.wxBLACK
)
1189 wxWHITE
= wxColourPtr(gdic
.cvar
.wxWHITE
)
1190 wxRED
= wxColourPtr(gdic
.cvar
.wxRED
)
1191 wxBLUE
= wxColourPtr(gdic
.cvar
.wxBLUE
)
1192 wxGREEN
= wxColourPtr(gdic
.cvar
.wxGREEN
)
1193 wxCYAN
= wxColourPtr(gdic
.cvar
.wxCYAN
)
1194 wxLIGHT_GREY
= wxColourPtr(gdic
.cvar
.wxLIGHT_GREY
)
1195 wxSTANDARD_CURSOR
= wxCursorPtr(gdic
.cvar
.wxSTANDARD_CURSOR
)
1196 wxHOURGLASS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxHOURGLASS_CURSOR
)
1197 wxCROSS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxCROSS_CURSOR
)
1198 wxNullBitmap
= wxBitmapPtr(gdic
.cvar
.wxNullBitmap
)
1199 wxNullIcon
= wxIconPtr(gdic
.cvar
.wxNullIcon
)
1200 wxNullCursor
= wxCursorPtr(gdic
.cvar
.wxNullCursor
)
1201 wxNullPen
= wxPenPtr(gdic
.cvar
.wxNullPen
)
1202 wxNullBrush
= wxBrushPtr(gdic
.cvar
.wxNullBrush
)
1203 wxNullPalette
= wxPalettePtr(gdic
.cvar
.wxNullPalette
)
1204 wxNullFont
= wxFontPtr(gdic
.cvar
.wxNullFont
)
1205 wxNullColour
= wxColourPtr(gdic
.cvar
.wxNullColour
)
1206 wxTheFontList
= wxFontListPtr(gdic
.cvar
.wxTheFontList
)
1207 wxThePenList
= wxPenListPtr(gdic
.cvar
.wxThePenList
)
1208 wxTheBrushList
= wxBrushListPtr(gdic
.cvar
.wxTheBrushList
)
1209 wxTheColourDatabase
= wxColourDatabasePtr(gdic
.cvar
.wxTheColourDatabase
)