1 # This file was created automatically by SWIG.
5 class wxGDIObjectPtr(wxObjectPtr
):
6 def __init__(self
,this
):
9 def __del__(self
,gdic
=gdic
):
10 if self
.thisown
== 1 :
11 gdic
.delete_wxGDIObject(self
)
12 def GetVisible(self
, *_args
, **_kwargs
):
13 val
= apply(gdic
.wxGDIObject_GetVisible
,(self
,) + _args
, _kwargs
)
15 def SetVisible(self
, *_args
, **_kwargs
):
16 val
= apply(gdic
.wxGDIObject_SetVisible
,(self
,) + _args
, _kwargs
)
18 def IsNull(self
, *_args
, **_kwargs
):
19 val
= apply(gdic
.wxGDIObject_IsNull
,(self
,) + _args
, _kwargs
)
22 return "<C wxGDIObject instance at %s>" % (self
.this
,)
23 class wxGDIObject(wxGDIObjectPtr
):
24 def __init__(self
,*_args
,**_kwargs
):
25 self
.this
= apply(gdic
.new_wxGDIObject
,_args
,_kwargs
)
31 class wxBitmapPtr(wxGDIObjectPtr
):
32 def __init__(self
,this
):
35 def __del__(self
,gdic
=gdic
):
36 if self
.thisown
== 1 :
37 gdic
.delete_wxBitmap(self
)
38 def GetPalette(self
, *_args
, **_kwargs
):
39 val
= apply(gdic
.wxBitmap_GetPalette
,(self
,) + _args
, _kwargs
)
40 if val
: val
= wxPalettePtr(val
)
42 def GetMask(self
, *_args
, **_kwargs
):
43 val
= apply(gdic
.wxBitmap_GetMask
,(self
,) + _args
, _kwargs
)
44 if val
: val
= wxMaskPtr(val
)
46 def LoadFile(self
, *_args
, **_kwargs
):
47 val
= apply(gdic
.wxBitmap_LoadFile
,(self
,) + _args
, _kwargs
)
49 def SaveFile(self
, *_args
, **_kwargs
):
50 val
= apply(gdic
.wxBitmap_SaveFile
,(self
,) + _args
, _kwargs
)
52 def SetMask(self
, *_args
, **_kwargs
):
53 val
= apply(gdic
.wxBitmap_SetMask
,(self
,) + _args
, _kwargs
)
55 def Ok(self
, *_args
, **_kwargs
):
56 val
= apply(gdic
.wxBitmap_Ok
,(self
,) + _args
, _kwargs
)
58 def GetWidth(self
, *_args
, **_kwargs
):
59 val
= apply(gdic
.wxBitmap_GetWidth
,(self
,) + _args
, _kwargs
)
61 def GetHeight(self
, *_args
, **_kwargs
):
62 val
= apply(gdic
.wxBitmap_GetHeight
,(self
,) + _args
, _kwargs
)
64 def GetDepth(self
, *_args
, **_kwargs
):
65 val
= apply(gdic
.wxBitmap_GetDepth
,(self
,) + _args
, _kwargs
)
67 def SetWidth(self
, *_args
, **_kwargs
):
68 val
= apply(gdic
.wxBitmap_SetWidth
,(self
,) + _args
, _kwargs
)
70 def SetHeight(self
, *_args
, **_kwargs
):
71 val
= apply(gdic
.wxBitmap_SetHeight
,(self
,) + _args
, _kwargs
)
73 def SetDepth(self
, *_args
, **_kwargs
):
74 val
= apply(gdic
.wxBitmap_SetDepth
,(self
,) + _args
, _kwargs
)
76 def GetSubBitmap(self
, *_args
, **_kwargs
):
77 val
= apply(gdic
.wxBitmap_GetSubBitmap
,(self
,) + _args
, _kwargs
)
78 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
81 return "<C wxBitmap instance at %s>" % (self
.this
,)
83 def __del__(self
,gdic
=gdic
):
85 if self
.thisown
== 1 :
86 gdic
.delete_wxBitmap(self
)
90 class wxBitmap(wxBitmapPtr
):
91 def __init__(self
,*_args
,**_kwargs
):
92 self
.this
= apply(gdic
.new_wxBitmap
,_args
,_kwargs
)
98 class wxMaskPtr(wxObjectPtr
):
99 def __init__(self
,this
):
102 def Destroy(self
, *_args
, **_kwargs
):
103 val
= apply(gdic
.wxMask_Destroy
,(self
,) + _args
, _kwargs
)
106 return "<C wxMask instance at %s>" % (self
.this
,)
107 class wxMask(wxMaskPtr
):
108 def __init__(self
,*_args
,**_kwargs
):
109 self
.this
= apply(gdic
.new_wxMask
,_args
,_kwargs
)
115 class wxIconPtr(wxGDIObjectPtr
):
116 def __init__(self
,this
):
119 def __del__(self
,gdic
=gdic
):
120 if self
.thisown
== 1 :
121 gdic
.delete_wxIcon(self
)
122 def LoadFile(self
, *_args
, **_kwargs
):
123 val
= apply(gdic
.wxIcon_LoadFile
,(self
,) + _args
, _kwargs
)
125 def Ok(self
, *_args
, **_kwargs
):
126 val
= apply(gdic
.wxIcon_Ok
,(self
,) + _args
, _kwargs
)
128 def GetWidth(self
, *_args
, **_kwargs
):
129 val
= apply(gdic
.wxIcon_GetWidth
,(self
,) + _args
, _kwargs
)
131 def GetHeight(self
, *_args
, **_kwargs
):
132 val
= apply(gdic
.wxIcon_GetHeight
,(self
,) + _args
, _kwargs
)
134 def GetDepth(self
, *_args
, **_kwargs
):
135 val
= apply(gdic
.wxIcon_GetDepth
,(self
,) + _args
, _kwargs
)
137 def SetWidth(self
, *_args
, **_kwargs
):
138 val
= apply(gdic
.wxIcon_SetWidth
,(self
,) + _args
, _kwargs
)
140 def SetHeight(self
, *_args
, **_kwargs
):
141 val
= apply(gdic
.wxIcon_SetHeight
,(self
,) + _args
, _kwargs
)
143 def SetDepth(self
, *_args
, **_kwargs
):
144 val
= apply(gdic
.wxIcon_SetDepth
,(self
,) + _args
, _kwargs
)
146 def CopyFromBitmap(self
, *_args
, **_kwargs
):
147 val
= apply(gdic
.wxIcon_CopyFromBitmap
,(self
,) + _args
, _kwargs
)
150 return "<C wxIcon instance at %s>" % (self
.this
,)
152 def __del__(self
,gdic
=gdic
):
154 if self
.thisown
== 1 :
155 gdic
.delete_wxIcon(self
)
159 class wxIcon(wxIconPtr
):
160 def __init__(self
,*_args
,**_kwargs
):
161 self
.this
= apply(gdic
.new_wxIcon
,_args
,_kwargs
)
167 class wxCursorPtr(wxGDIObjectPtr
):
168 def __init__(self
,this
):
171 def __del__(self
,gdic
=gdic
):
172 if self
.thisown
== 1 :
173 gdic
.delete_wxCursor(self
)
174 def Ok(self
, *_args
, **_kwargs
):
175 val
= apply(gdic
.wxCursor_Ok
,(self
,) + _args
, _kwargs
)
178 return "<C wxCursor instance at %s>" % (self
.this
,)
179 class wxCursor(wxCursorPtr
):
180 def __init__(self
,this
):
186 class wxNativeFontInfoPtr
:
187 def __init__(self
,this
):
190 def FromString(self
, *_args
, **_kwargs
):
191 val
= apply(gdic
.wxNativeFontInfo_FromString
,(self
,) + _args
, _kwargs
)
193 def ToString(self
, *_args
, **_kwargs
):
194 val
= apply(gdic
.wxNativeFontInfo_ToString
,(self
,) + _args
, _kwargs
)
196 def __str__(self
, *_args
, **_kwargs
):
197 val
= apply(gdic
.wxNativeFontInfo___str__
,(self
,) + _args
, _kwargs
)
200 return "<C wxNativeFontInfo instance at %s>" % (self
.this
,)
201 class wxNativeFontInfo(wxNativeFontInfoPtr
):
202 def __init__(self
,this
):
208 class wxFontMapperPtr
:
209 def __init__(self
,this
):
212 def __del__(self
,gdic
=gdic
):
213 if self
.thisown
== 1 :
214 gdic
.delete_wxFontMapper(self
)
215 def GetAltForEncoding(self
, *_args
, **_kwargs
):
216 val
= apply(gdic
.wxFontMapper_GetAltForEncoding
,(self
,) + _args
, _kwargs
)
218 def IsEncodingAvailable(self
, *_args
, **_kwargs
):
219 val
= apply(gdic
.wxFontMapper_IsEncodingAvailable
,(self
,) + _args
, _kwargs
)
221 def CharsetToEncoding(self
, *_args
, **_kwargs
):
222 val
= apply(gdic
.wxFontMapper_CharsetToEncoding
,(self
,) + _args
, _kwargs
)
224 def SetDialogParent(self
, *_args
, **_kwargs
):
225 val
= apply(gdic
.wxFontMapper_SetDialogParent
,(self
,) + _args
, _kwargs
)
227 def SetDialogTitle(self
, *_args
, **_kwargs
):
228 val
= apply(gdic
.wxFontMapper_SetDialogTitle
,(self
,) + _args
, _kwargs
)
230 def SetConfig(self
, *_args
, **_kwargs
):
231 val
= apply(gdic
.wxFontMapper_SetConfig
,(self
,) + _args
, _kwargs
)
233 def SetConfigPath(self
, *_args
, **_kwargs
):
234 val
= apply(gdic
.wxFontMapper_SetConfigPath
,(self
,) + _args
, _kwargs
)
237 return "<C wxFontMapper instance at %s>" % (self
.this
,)
238 class wxFontMapper(wxFontMapperPtr
):
239 def __init__(self
,*_args
,**_kwargs
):
240 self
.this
= apply(gdic
.new_wxFontMapper
,_args
,_kwargs
)
246 class wxFontPtr(wxGDIObjectPtr
):
247 def __init__(self
,this
):
250 def __del__(self
,gdic
=gdic
):
251 if self
.thisown
== 1 :
252 gdic
.delete_wxFont(self
)
253 def Ok(self
, *_args
, **_kwargs
):
254 val
= apply(gdic
.wxFont_Ok
,(self
,) + _args
, _kwargs
)
256 def GetPointSize(self
, *_args
, **_kwargs
):
257 val
= apply(gdic
.wxFont_GetPointSize
,(self
,) + _args
, _kwargs
)
259 def GetFamily(self
, *_args
, **_kwargs
):
260 val
= apply(gdic
.wxFont_GetFamily
,(self
,) + _args
, _kwargs
)
262 def GetStyle(self
, *_args
, **_kwargs
):
263 val
= apply(gdic
.wxFont_GetStyle
,(self
,) + _args
, _kwargs
)
265 def GetWeight(self
, *_args
, **_kwargs
):
266 val
= apply(gdic
.wxFont_GetWeight
,(self
,) + _args
, _kwargs
)
268 def GetUnderlined(self
, *_args
, **_kwargs
):
269 val
= apply(gdic
.wxFont_GetUnderlined
,(self
,) + _args
, _kwargs
)
271 def GetFaceName(self
, *_args
, **_kwargs
):
272 val
= apply(gdic
.wxFont_GetFaceName
,(self
,) + _args
, _kwargs
)
274 def GetEncoding(self
, *_args
, **_kwargs
):
275 val
= apply(gdic
.wxFont_GetEncoding
,(self
,) + _args
, _kwargs
)
277 def GetNativeFontInfo(self
, *_args
, **_kwargs
):
278 val
= apply(gdic
.wxFont_GetNativeFontInfo
,(self
,) + _args
, _kwargs
)
279 if val
: val
= wxNativeFontInfoPtr(val
)
281 def SetPointSize(self
, *_args
, **_kwargs
):
282 val
= apply(gdic
.wxFont_SetPointSize
,(self
,) + _args
, _kwargs
)
284 def SetFamily(self
, *_args
, **_kwargs
):
285 val
= apply(gdic
.wxFont_SetFamily
,(self
,) + _args
, _kwargs
)
287 def SetStyle(self
, *_args
, **_kwargs
):
288 val
= apply(gdic
.wxFont_SetStyle
,(self
,) + _args
, _kwargs
)
290 def SetWeight(self
, *_args
, **_kwargs
):
291 val
= apply(gdic
.wxFont_SetWeight
,(self
,) + _args
, _kwargs
)
293 def SetFaceName(self
, *_args
, **_kwargs
):
294 val
= apply(gdic
.wxFont_SetFaceName
,(self
,) + _args
, _kwargs
)
296 def SetUnderlined(self
, *_args
, **_kwargs
):
297 val
= apply(gdic
.wxFont_SetUnderlined
,(self
,) + _args
, _kwargs
)
299 def SetEncoding(self
, *_args
, **_kwargs
):
300 val
= apply(gdic
.wxFont_SetEncoding
,(self
,) + _args
, _kwargs
)
302 def SetNativeFontInfo(self
, *_args
, **_kwargs
):
303 val
= apply(gdic
.wxFont_SetNativeFontInfo
,(self
,) + _args
, _kwargs
)
305 def GetFamilyString(self
, *_args
, **_kwargs
):
306 val
= apply(gdic
.wxFont_GetFamilyString
,(self
,) + _args
, _kwargs
)
308 def GetStyleString(self
, *_args
, **_kwargs
):
309 val
= apply(gdic
.wxFont_GetStyleString
,(self
,) + _args
, _kwargs
)
311 def GetWeightString(self
, *_args
, **_kwargs
):
312 val
= apply(gdic
.wxFont_GetWeightString
,(self
,) + _args
, _kwargs
)
315 return "<C wxFont instance at %s>" % (self
.this
,)
316 class wxFont(wxFontPtr
):
317 def __init__(self
,*_args
,**_kwargs
):
318 self
.this
= apply(gdic
.new_wxFont
,_args
,_kwargs
)
323 def wxFontFromNativeInfo(*_args
,**_kwargs
):
324 val
= wxFontPtr(apply(gdic
.new_wxFontFromNativeInfo
,_args
,_kwargs
))
329 class wxFontListPtr(wxObjectPtr
):
330 def __init__(self
,this
):
333 def AddFont(self
, *_args
, **_kwargs
):
334 val
= apply(gdic
.wxFontList_AddFont
,(self
,) + _args
, _kwargs
)
336 def FindOrCreateFont(self
, *_args
, **_kwargs
):
337 val
= apply(gdic
.wxFontList_FindOrCreateFont
,(self
,) + _args
, _kwargs
)
338 if val
: val
= wxFontPtr(val
)
340 def RemoveFont(self
, *_args
, **_kwargs
):
341 val
= apply(gdic
.wxFontList_RemoveFont
,(self
,) + _args
, _kwargs
)
344 return "<C wxFontList instance at %s>" % (self
.this
,)
345 class wxFontList(wxFontListPtr
):
346 def __init__(self
,this
):
352 class wxColourPtr(wxObjectPtr
):
353 def __init__(self
,this
):
356 def __del__(self
,gdic
=gdic
):
357 if self
.thisown
== 1 :
358 gdic
.delete_wxColour(self
)
359 def Red(self
, *_args
, **_kwargs
):
360 val
= apply(gdic
.wxColour_Red
,(self
,) + _args
, _kwargs
)
362 def Green(self
, *_args
, **_kwargs
):
363 val
= apply(gdic
.wxColour_Green
,(self
,) + _args
, _kwargs
)
365 def Blue(self
, *_args
, **_kwargs
):
366 val
= apply(gdic
.wxColour_Blue
,(self
,) + _args
, _kwargs
)
368 def Ok(self
, *_args
, **_kwargs
):
369 val
= apply(gdic
.wxColour_Ok
,(self
,) + _args
, _kwargs
)
371 def Set(self
, *_args
, **_kwargs
):
372 val
= apply(gdic
.wxColour_Set
,(self
,) + _args
, _kwargs
)
374 def Get(self
, *_args
, **_kwargs
):
375 val
= apply(gdic
.wxColour_Get
,(self
,) + _args
, _kwargs
)
378 return "<C wxColour instance at %s>" % (self
.this
,)
380 def __str__(self
): return str(self
.asTuple())
381 def __repr__(self
): return str(self
.asTuple())
382 class wxColour(wxColourPtr
):
383 def __init__(self
,*_args
,**_kwargs
):
384 self
.this
= apply(gdic
.new_wxColour
,_args
,_kwargs
)
390 class wxColourDatabasePtr(wxObjectPtr
):
391 def __init__(self
,this
):
394 def FindColour(self
, *_args
, **_kwargs
):
395 val
= apply(gdic
.wxColourDatabase_FindColour
,(self
,) + _args
, _kwargs
)
396 if val
: val
= wxColourPtr(val
)
398 def FindName(self
, *_args
, **_kwargs
):
399 val
= apply(gdic
.wxColourDatabase_FindName
,(self
,) + _args
, _kwargs
)
401 def Append(self
, *_args
, **_kwargs
):
402 val
= apply(gdic
.wxColourDatabase_Append
,(self
,) + _args
, _kwargs
)
405 return "<C wxColourDatabase instance at %s>" % (self
.this
,)
406 class wxColourDatabase(wxColourDatabasePtr
):
407 def __init__(self
,this
):
413 class wxPenPtr(wxGDIObjectPtr
):
414 def __init__(self
,this
):
417 def __del__(self
,gdic
=gdic
):
418 if self
.thisown
== 1 :
419 gdic
.delete_wxPen(self
)
420 def GetCap(self
, *_args
, **_kwargs
):
421 val
= apply(gdic
.wxPen_GetCap
,(self
,) + _args
, _kwargs
)
423 def GetColour(self
, *_args
, **_kwargs
):
424 val
= apply(gdic
.wxPen_GetColour
,(self
,) + _args
, _kwargs
)
425 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
427 def GetJoin(self
, *_args
, **_kwargs
):
428 val
= apply(gdic
.wxPen_GetJoin
,(self
,) + _args
, _kwargs
)
430 def GetStyle(self
, *_args
, **_kwargs
):
431 val
= apply(gdic
.wxPen_GetStyle
,(self
,) + _args
, _kwargs
)
433 def GetWidth(self
, *_args
, **_kwargs
):
434 val
= apply(gdic
.wxPen_GetWidth
,(self
,) + _args
, _kwargs
)
436 def Ok(self
, *_args
, **_kwargs
):
437 val
= apply(gdic
.wxPen_Ok
,(self
,) + _args
, _kwargs
)
439 def SetCap(self
, *_args
, **_kwargs
):
440 val
= apply(gdic
.wxPen_SetCap
,(self
,) + _args
, _kwargs
)
442 def SetColour(self
, *_args
, **_kwargs
):
443 val
= apply(gdic
.wxPen_SetColour
,(self
,) + _args
, _kwargs
)
445 def SetJoin(self
, *_args
, **_kwargs
):
446 val
= apply(gdic
.wxPen_SetJoin
,(self
,) + _args
, _kwargs
)
448 def SetStyle(self
, *_args
, **_kwargs
):
449 val
= apply(gdic
.wxPen_SetStyle
,(self
,) + _args
, _kwargs
)
451 def SetWidth(self
, *_args
, **_kwargs
):
452 val
= apply(gdic
.wxPen_SetWidth
,(self
,) + _args
, _kwargs
)
454 def GetDashes(self
, *_args
, **_kwargs
):
455 val
= apply(gdic
.wxPen_GetDashes
,(self
,) + _args
, _kwargs
)
457 def SetDashes(self
, *_args
, **_kwargs
):
458 val
= apply(gdic
.wxPen_SetDashes
,(self
,) + _args
, _kwargs
)
461 return "<C wxPen instance at %s>" % (self
.this
,)
462 class wxPen(wxPenPtr
):
463 def __init__(self
,*_args
,**_kwargs
):
464 self
.this
= apply(gdic
.new_wxPen
,_args
,_kwargs
)
470 class wxPenListPtr(wxObjectPtr
):
471 def __init__(self
,this
):
474 def AddPen(self
, *_args
, **_kwargs
):
475 val
= apply(gdic
.wxPenList_AddPen
,(self
,) + _args
, _kwargs
)
477 def FindOrCreatePen(self
, *_args
, **_kwargs
):
478 val
= apply(gdic
.wxPenList_FindOrCreatePen
,(self
,) + _args
, _kwargs
)
479 if val
: val
= wxPenPtr(val
)
481 def RemovePen(self
, *_args
, **_kwargs
):
482 val
= apply(gdic
.wxPenList_RemovePen
,(self
,) + _args
, _kwargs
)
485 return "<C wxPenList instance at %s>" % (self
.this
,)
486 class wxPenList(wxPenListPtr
):
487 def __init__(self
,this
):
493 class wxBrushPtr(wxGDIObjectPtr
):
494 def __init__(self
,this
):
497 def __del__(self
,gdic
=gdic
):
498 if self
.thisown
== 1 :
499 gdic
.delete_wxBrush(self
)
500 def GetColour(self
, *_args
, **_kwargs
):
501 val
= apply(gdic
.wxBrush_GetColour
,(self
,) + _args
, _kwargs
)
502 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
504 def GetStipple(self
, *_args
, **_kwargs
):
505 val
= apply(gdic
.wxBrush_GetStipple
,(self
,) + _args
, _kwargs
)
506 if val
: val
= wxBitmapPtr(val
)
508 def GetStyle(self
, *_args
, **_kwargs
):
509 val
= apply(gdic
.wxBrush_GetStyle
,(self
,) + _args
, _kwargs
)
511 def Ok(self
, *_args
, **_kwargs
):
512 val
= apply(gdic
.wxBrush_Ok
,(self
,) + _args
, _kwargs
)
514 def SetColour(self
, *_args
, **_kwargs
):
515 val
= apply(gdic
.wxBrush_SetColour
,(self
,) + _args
, _kwargs
)
517 def SetStipple(self
, *_args
, **_kwargs
):
518 val
= apply(gdic
.wxBrush_SetStipple
,(self
,) + _args
, _kwargs
)
520 def SetStyle(self
, *_args
, **_kwargs
):
521 val
= apply(gdic
.wxBrush_SetStyle
,(self
,) + _args
, _kwargs
)
524 return "<C wxBrush instance at %s>" % (self
.this
,)
525 class wxBrush(wxBrushPtr
):
526 def __init__(self
,*_args
,**_kwargs
):
527 self
.this
= apply(gdic
.new_wxBrush
,_args
,_kwargs
)
533 class wxBrushListPtr
:
534 def __init__(self
,this
):
537 def AddBrush(self
, *_args
, **_kwargs
):
538 val
= apply(gdic
.wxBrushList_AddBrush
,(self
,) + _args
, _kwargs
)
540 def FindOrCreateBrush(self
, *_args
, **_kwargs
):
541 val
= apply(gdic
.wxBrushList_FindOrCreateBrush
,(self
,) + _args
, _kwargs
)
542 if val
: val
= wxBrushPtr(val
)
544 def RemoveBrush(self
, *_args
, **_kwargs
):
545 val
= apply(gdic
.wxBrushList_RemoveBrush
,(self
,) + _args
, _kwargs
)
548 return "<C wxBrushList instance at %s>" % (self
.this
,)
549 class wxBrushList(wxBrushListPtr
):
550 def __init__(self
,this
):
556 class wxDCPtr(wxObjectPtr
):
557 def __init__(self
,this
):
560 def __del__(self
,gdic
=gdic
):
561 if self
.thisown
== 1 :
562 gdic
.delete_wxDC(self
)
563 def BeginDrawing(self
, *_args
, **_kwargs
):
564 val
= apply(gdic
.wxDC_BeginDrawing
,(self
,) + _args
, _kwargs
)
566 def Blit(self
, *_args
, **_kwargs
):
567 val
= apply(gdic
.wxDC_Blit
,(self
,) + _args
, _kwargs
)
569 def Clear(self
, *_args
, **_kwargs
):
570 val
= apply(gdic
.wxDC_Clear
,(self
,) + _args
, _kwargs
)
572 def CrossHair(self
, *_args
, **_kwargs
):
573 val
= apply(gdic
.wxDC_CrossHair
,(self
,) + _args
, _kwargs
)
575 def DestroyClippingRegion(self
, *_args
, **_kwargs
):
576 val
= apply(gdic
.wxDC_DestroyClippingRegion
,(self
,) + _args
, _kwargs
)
578 def DeviceToLogicalX(self
, *_args
, **_kwargs
):
579 val
= apply(gdic
.wxDC_DeviceToLogicalX
,(self
,) + _args
, _kwargs
)
581 def DeviceToLogicalXRel(self
, *_args
, **_kwargs
):
582 val
= apply(gdic
.wxDC_DeviceToLogicalXRel
,(self
,) + _args
, _kwargs
)
584 def DeviceToLogicalY(self
, *_args
, **_kwargs
):
585 val
= apply(gdic
.wxDC_DeviceToLogicalY
,(self
,) + _args
, _kwargs
)
587 def DeviceToLogicalYRel(self
, *_args
, **_kwargs
):
588 val
= apply(gdic
.wxDC_DeviceToLogicalYRel
,(self
,) + _args
, _kwargs
)
590 def DrawArc(self
, *_args
, **_kwargs
):
591 val
= apply(gdic
.wxDC_DrawArc
,(self
,) + _args
, _kwargs
)
593 def DrawCircle(self
, *_args
, **_kwargs
):
594 val
= apply(gdic
.wxDC_DrawCircle
,(self
,) + _args
, _kwargs
)
596 def DrawEllipse(self
, *_args
, **_kwargs
):
597 val
= apply(gdic
.wxDC_DrawEllipse
,(self
,) + _args
, _kwargs
)
599 def DrawEllipticArc(self
, *_args
, **_kwargs
):
600 val
= apply(gdic
.wxDC_DrawEllipticArc
,(self
,) + _args
, _kwargs
)
602 def DrawIcon(self
, *_args
, **_kwargs
):
603 val
= apply(gdic
.wxDC_DrawIcon
,(self
,) + _args
, _kwargs
)
605 def DrawLine(self
, *_args
, **_kwargs
):
606 val
= apply(gdic
.wxDC_DrawLine
,(self
,) + _args
, _kwargs
)
608 def DrawLines(self
, *_args
, **_kwargs
):
609 val
= apply(gdic
.wxDC_DrawLines
,(self
,) + _args
, _kwargs
)
611 def DrawPolygon(self
, *_args
, **_kwargs
):
612 val
= apply(gdic
.wxDC_DrawPolygon
,(self
,) + _args
, _kwargs
)
614 def DrawPoint(self
, *_args
, **_kwargs
):
615 val
= apply(gdic
.wxDC_DrawPoint
,(self
,) + _args
, _kwargs
)
617 def DrawRectangle(self
, *_args
, **_kwargs
):
618 val
= apply(gdic
.wxDC_DrawRectangle
,(self
,) + _args
, _kwargs
)
620 def DrawRotatedText(self
, *_args
, **_kwargs
):
621 val
= apply(gdic
.wxDC_DrawRotatedText
,(self
,) + _args
, _kwargs
)
623 def DrawRoundedRectangle(self
, *_args
, **_kwargs
):
624 val
= apply(gdic
.wxDC_DrawRoundedRectangle
,(self
,) + _args
, _kwargs
)
626 def DrawSpline(self
, *_args
, **_kwargs
):
627 val
= apply(gdic
.wxDC_DrawSpline
,(self
,) + _args
, _kwargs
)
629 def DrawText(self
, *_args
, **_kwargs
):
630 val
= apply(gdic
.wxDC_DrawText
,(self
,) + _args
, _kwargs
)
632 def EndDoc(self
, *_args
, **_kwargs
):
633 val
= apply(gdic
.wxDC_EndDoc
,(self
,) + _args
, _kwargs
)
635 def EndDrawing(self
, *_args
, **_kwargs
):
636 val
= apply(gdic
.wxDC_EndDrawing
,(self
,) + _args
, _kwargs
)
638 def EndPage(self
, *_args
, **_kwargs
):
639 val
= apply(gdic
.wxDC_EndPage
,(self
,) + _args
, _kwargs
)
641 def FloodFill(self
, *_args
, **_kwargs
):
642 val
= apply(gdic
.wxDC_FloodFill
,(self
,) + _args
, _kwargs
)
644 def GetBackground(self
, *_args
, **_kwargs
):
645 val
= apply(gdic
.wxDC_GetBackground
,(self
,) + _args
, _kwargs
)
646 if val
: val
= wxBrushPtr(val
)
648 def GetBrush(self
, *_args
, **_kwargs
):
649 val
= apply(gdic
.wxDC_GetBrush
,(self
,) + _args
, _kwargs
)
650 if val
: val
= wxBrushPtr(val
)
652 def GetCharHeight(self
, *_args
, **_kwargs
):
653 val
= apply(gdic
.wxDC_GetCharHeight
,(self
,) + _args
, _kwargs
)
655 def GetCharWidth(self
, *_args
, **_kwargs
):
656 val
= apply(gdic
.wxDC_GetCharWidth
,(self
,) + _args
, _kwargs
)
658 def GetClippingBox(self
, *_args
, **_kwargs
):
659 val
= apply(gdic
.wxDC_GetClippingBox
,(self
,) + _args
, _kwargs
)
661 def GetFont(self
, *_args
, **_kwargs
):
662 val
= apply(gdic
.wxDC_GetFont
,(self
,) + _args
, _kwargs
)
663 if val
: val
= wxFontPtr(val
)
665 def GetLogicalFunction(self
, *_args
, **_kwargs
):
666 val
= apply(gdic
.wxDC_GetLogicalFunction
,(self
,) + _args
, _kwargs
)
668 def GetLogicalScale(self
, *_args
, **_kwargs
):
669 val
= apply(gdic
.wxDC_GetLogicalScale
,(self
,) + _args
, _kwargs
)
671 def GetMapMode(self
, *_args
, **_kwargs
):
672 val
= apply(gdic
.wxDC_GetMapMode
,(self
,) + _args
, _kwargs
)
674 def GetOptimization(self
, *_args
, **_kwargs
):
675 val
= apply(gdic
.wxDC_GetOptimization
,(self
,) + _args
, _kwargs
)
677 def GetPen(self
, *_args
, **_kwargs
):
678 val
= apply(gdic
.wxDC_GetPen
,(self
,) + _args
, _kwargs
)
679 if val
: val
= wxPenPtr(val
)
681 def GetPixel(self
, *_args
, **_kwargs
):
682 val
= apply(gdic
.wxDC_GetPixel
,(self
,) + _args
, _kwargs
)
683 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
685 def GetSizeTuple(self
, *_args
, **_kwargs
):
686 val
= apply(gdic
.wxDC_GetSizeTuple
,(self
,) + _args
, _kwargs
)
688 def GetSize(self
, *_args
, **_kwargs
):
689 val
= apply(gdic
.wxDC_GetSize
,(self
,) + _args
, _kwargs
)
690 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
692 def GetSizeMM(self
, *_args
, **_kwargs
):
693 val
= apply(gdic
.wxDC_GetSizeMM
,(self
,) + _args
, _kwargs
)
694 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
696 def GetTextBackground(self
, *_args
, **_kwargs
):
697 val
= apply(gdic
.wxDC_GetTextBackground
,(self
,) + _args
, _kwargs
)
698 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
700 def GetTextExtent(self
, *_args
, **_kwargs
):
701 val
= apply(gdic
.wxDC_GetTextExtent
,(self
,) + _args
, _kwargs
)
703 def GetFullTextExtent(self
, *_args
, **_kwargs
):
704 val
= apply(gdic
.wxDC_GetFullTextExtent
,(self
,) + _args
, _kwargs
)
706 def GetTextForeground(self
, *_args
, **_kwargs
):
707 val
= apply(gdic
.wxDC_GetTextForeground
,(self
,) + _args
, _kwargs
)
708 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
710 def GetUserScale(self
, *_args
, **_kwargs
):
711 val
= apply(gdic
.wxDC_GetUserScale
,(self
,) + _args
, _kwargs
)
713 def LogicalToDeviceX(self
, *_args
, **_kwargs
):
714 val
= apply(gdic
.wxDC_LogicalToDeviceX
,(self
,) + _args
, _kwargs
)
716 def LogicalToDeviceXRel(self
, *_args
, **_kwargs
):
717 val
= apply(gdic
.wxDC_LogicalToDeviceXRel
,(self
,) + _args
, _kwargs
)
719 def LogicalToDeviceY(self
, *_args
, **_kwargs
):
720 val
= apply(gdic
.wxDC_LogicalToDeviceY
,(self
,) + _args
, _kwargs
)
722 def LogicalToDeviceYRel(self
, *_args
, **_kwargs
):
723 val
= apply(gdic
.wxDC_LogicalToDeviceYRel
,(self
,) + _args
, _kwargs
)
725 def MaxX(self
, *_args
, **_kwargs
):
726 val
= apply(gdic
.wxDC_MaxX
,(self
,) + _args
, _kwargs
)
728 def MaxY(self
, *_args
, **_kwargs
):
729 val
= apply(gdic
.wxDC_MaxY
,(self
,) + _args
, _kwargs
)
731 def MinX(self
, *_args
, **_kwargs
):
732 val
= apply(gdic
.wxDC_MinX
,(self
,) + _args
, _kwargs
)
734 def MinY(self
, *_args
, **_kwargs
):
735 val
= apply(gdic
.wxDC_MinY
,(self
,) + _args
, _kwargs
)
737 def Ok(self
, *_args
, **_kwargs
):
738 val
= apply(gdic
.wxDC_Ok
,(self
,) + _args
, _kwargs
)
740 def SetDeviceOrigin(self
, *_args
, **_kwargs
):
741 val
= apply(gdic
.wxDC_SetDeviceOrigin
,(self
,) + _args
, _kwargs
)
743 def SetBackground(self
, *_args
, **_kwargs
):
744 val
= apply(gdic
.wxDC_SetBackground
,(self
,) + _args
, _kwargs
)
746 def SetBackgroundMode(self
, *_args
, **_kwargs
):
747 val
= apply(gdic
.wxDC_SetBackgroundMode
,(self
,) + _args
, _kwargs
)
749 def SetClippingRegion(self
, *_args
, **_kwargs
):
750 val
= apply(gdic
.wxDC_SetClippingRegion
,(self
,) + _args
, _kwargs
)
752 def SetClippingRegionAsRegion(self
, *_args
, **_kwargs
):
753 val
= apply(gdic
.wxDC_SetClippingRegionAsRegion
,(self
,) + _args
, _kwargs
)
755 def SetPalette(self
, *_args
, **_kwargs
):
756 val
= apply(gdic
.wxDC_SetPalette
,(self
,) + _args
, _kwargs
)
758 def SetBrush(self
, *_args
, **_kwargs
):
759 val
= apply(gdic
.wxDC_SetBrush
,(self
,) + _args
, _kwargs
)
761 def SetFont(self
, *_args
, **_kwargs
):
762 val
= apply(gdic
.wxDC_SetFont
,(self
,) + _args
, _kwargs
)
764 def SetLogicalFunction(self
, *_args
, **_kwargs
):
765 val
= apply(gdic
.wxDC_SetLogicalFunction
,(self
,) + _args
, _kwargs
)
767 def SetLogicalScale(self
, *_args
, **_kwargs
):
768 val
= apply(gdic
.wxDC_SetLogicalScale
,(self
,) + _args
, _kwargs
)
770 def SetMapMode(self
, *_args
, **_kwargs
):
771 val
= apply(gdic
.wxDC_SetMapMode
,(self
,) + _args
, _kwargs
)
773 def SetOptimization(self
, *_args
, **_kwargs
):
774 val
= apply(gdic
.wxDC_SetOptimization
,(self
,) + _args
, _kwargs
)
776 def SetPen(self
, *_args
, **_kwargs
):
777 val
= apply(gdic
.wxDC_SetPen
,(self
,) + _args
, _kwargs
)
779 def SetTextBackground(self
, *_args
, **_kwargs
):
780 val
= apply(gdic
.wxDC_SetTextBackground
,(self
,) + _args
, _kwargs
)
782 def SetTextForeground(self
, *_args
, **_kwargs
):
783 val
= apply(gdic
.wxDC_SetTextForeground
,(self
,) + _args
, _kwargs
)
785 def SetUserScale(self
, *_args
, **_kwargs
):
786 val
= apply(gdic
.wxDC_SetUserScale
,(self
,) + _args
, _kwargs
)
788 def StartDoc(self
, *_args
, **_kwargs
):
789 val
= apply(gdic
.wxDC_StartDoc
,(self
,) + _args
, _kwargs
)
791 def StartPage(self
, *_args
, **_kwargs
):
792 val
= apply(gdic
.wxDC_StartPage
,(self
,) + _args
, _kwargs
)
794 def DrawBitmap(self
, *_args
, **_kwargs
):
795 val
= apply(gdic
.wxDC_DrawBitmap
,(self
,) + _args
, _kwargs
)
797 def CanDrawBitmap(self
, *_args
, **_kwargs
):
798 val
= apply(gdic
.wxDC_CanDrawBitmap
,(self
,) + _args
, _kwargs
)
800 def CanGetTextExtent(self
, *_args
, **_kwargs
):
801 val
= apply(gdic
.wxDC_CanGetTextExtent
,(self
,) + _args
, _kwargs
)
803 def GetDepth(self
, *_args
, **_kwargs
):
804 val
= apply(gdic
.wxDC_GetDepth
,(self
,) + _args
, _kwargs
)
806 def GetPPI(self
, *_args
, **_kwargs
):
807 val
= apply(gdic
.wxDC_GetPPI
,(self
,) + _args
, _kwargs
)
808 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
810 def GetLogicalOrigin(self
, *_args
, **_kwargs
):
811 val
= apply(gdic
.wxDC_GetLogicalOrigin
,(self
,) + _args
, _kwargs
)
813 def SetLogicalOrigin(self
, *_args
, **_kwargs
):
814 val
= apply(gdic
.wxDC_SetLogicalOrigin
,(self
,) + _args
, _kwargs
)
816 def GetDeviceOrigin(self
, *_args
, **_kwargs
):
817 val
= apply(gdic
.wxDC_GetDeviceOrigin
,(self
,) + _args
, _kwargs
)
819 def SetAxisOrientation(self
, *_args
, **_kwargs
):
820 val
= apply(gdic
.wxDC_SetAxisOrientation
,(self
,) + _args
, _kwargs
)
822 def CalcBoundingBox(self
, *_args
, **_kwargs
):
823 val
= apply(gdic
.wxDC_CalcBoundingBox
,(self
,) + _args
, _kwargs
)
825 def ResetBoundingBox(self
, *_args
, **_kwargs
):
826 val
= apply(gdic
.wxDC_ResetBoundingBox
,(self
,) + _args
, _kwargs
)
829 return "<C wxDC instance at %s>" % (self
.this
,)
831 def __init__(self
,this
):
837 class wxMemoryDCPtr(wxDCPtr
):
838 def __init__(self
,this
):
841 def SelectObject(self
, *_args
, **_kwargs
):
842 val
= apply(gdic
.wxMemoryDC_SelectObject
,(self
,) + _args
, _kwargs
)
845 return "<C wxMemoryDC instance at %s>" % (self
.this
,)
846 class wxMemoryDC(wxMemoryDCPtr
):
847 def __init__(self
,*_args
,**_kwargs
):
848 self
.this
= apply(gdic
.new_wxMemoryDC
,_args
,_kwargs
)
854 class wxScreenDCPtr(wxDCPtr
):
855 def __init__(self
,this
):
858 def StartDrawingOnTopWin(self
, *_args
, **_kwargs
):
859 val
= apply(gdic
.wxScreenDC_StartDrawingOnTopWin
,(self
,) + _args
, _kwargs
)
861 def StartDrawingOnTop(self
, *_args
, **_kwargs
):
862 val
= apply(gdic
.wxScreenDC_StartDrawingOnTop
,(self
,) + _args
, _kwargs
)
864 def EndDrawingOnTop(self
, *_args
, **_kwargs
):
865 val
= apply(gdic
.wxScreenDC_EndDrawingOnTop
,(self
,) + _args
, _kwargs
)
868 return "<C wxScreenDC instance at %s>" % (self
.this
,)
869 class wxScreenDC(wxScreenDCPtr
):
870 def __init__(self
,*_args
,**_kwargs
):
871 self
.this
= apply(gdic
.new_wxScreenDC
,_args
,_kwargs
)
877 class wxClientDCPtr(wxDCPtr
):
878 def __init__(self
,this
):
882 return "<C wxClientDC instance at %s>" % (self
.this
,)
883 class wxClientDC(wxClientDCPtr
):
884 def __init__(self
,*_args
,**_kwargs
):
885 self
.this
= apply(gdic
.new_wxClientDC
,_args
,_kwargs
)
891 class wxPaintDCPtr(wxDCPtr
):
892 def __init__(self
,this
):
896 return "<C wxPaintDC instance at %s>" % (self
.this
,)
897 class wxPaintDC(wxPaintDCPtr
):
898 def __init__(self
,*_args
,**_kwargs
):
899 self
.this
= apply(gdic
.new_wxPaintDC
,_args
,_kwargs
)
905 class wxWindowDCPtr(wxDCPtr
):
906 def __init__(self
,this
):
910 return "<C wxWindowDC instance at %s>" % (self
.this
,)
911 class wxWindowDC(wxWindowDCPtr
):
912 def __init__(self
,*_args
,**_kwargs
):
913 self
.this
= apply(gdic
.new_wxWindowDC
,_args
,_kwargs
)
919 class wxPostScriptDCPtr(wxDCPtr
):
920 def __init__(self
,this
):
924 return "<C wxPostScriptDC instance at %s>" % (self
.this
,)
925 class wxPostScriptDC(wxPostScriptDCPtr
):
926 def __init__(self
,*_args
,**_kwargs
):
927 self
.this
= apply(gdic
.new_wxPostScriptDC
,_args
,_kwargs
)
933 class wxPalettePtr(wxGDIObjectPtr
):
934 def __init__(self
,this
):
937 def __del__(self
,gdic
=gdic
):
938 if self
.thisown
== 1 :
939 gdic
.delete_wxPalette(self
)
940 def GetPixel(self
, *_args
, **_kwargs
):
941 val
= apply(gdic
.wxPalette_GetPixel
,(self
,) + _args
, _kwargs
)
943 def GetRGB(self
, *_args
, **_kwargs
):
944 val
= apply(gdic
.wxPalette_GetRGB
,(self
,) + _args
, _kwargs
)
946 def Ok(self
, *_args
, **_kwargs
):
947 val
= apply(gdic
.wxPalette_Ok
,(self
,) + _args
, _kwargs
)
950 return "<C wxPalette instance at %s>" % (self
.this
,)
951 class wxPalette(wxPalettePtr
):
952 def __init__(self
,*_args
,**_kwargs
):
953 self
.this
= apply(gdic
.new_wxPalette
,_args
,_kwargs
)
959 class wxImageListPtr(wxObjectPtr
):
960 def __init__(self
,this
):
963 def __del__(self
,gdic
=gdic
):
964 if self
.thisown
== 1 :
965 gdic
.delete_wxImageList(self
)
966 def Add(self
, *_args
, **_kwargs
):
967 val
= apply(gdic
.wxImageList_Add
,(self
,) + _args
, _kwargs
)
969 def AddWithColourMask(self
, *_args
, **_kwargs
):
970 val
= apply(gdic
.wxImageList_AddWithColourMask
,(self
,) + _args
, _kwargs
)
972 def AddIcon(self
, *_args
, **_kwargs
):
973 val
= apply(gdic
.wxImageList_AddIcon
,(self
,) + _args
, _kwargs
)
975 def Replace(self
, *_args
, **_kwargs
):
976 val
= apply(gdic
.wxImageList_Replace
,(self
,) + _args
, _kwargs
)
978 def Draw(self
, *_args
, **_kwargs
):
979 val
= apply(gdic
.wxImageList_Draw
,(self
,) + _args
, _kwargs
)
981 def GetImageCount(self
, *_args
, **_kwargs
):
982 val
= apply(gdic
.wxImageList_GetImageCount
,(self
,) + _args
, _kwargs
)
984 def Remove(self
, *_args
, **_kwargs
):
985 val
= apply(gdic
.wxImageList_Remove
,(self
,) + _args
, _kwargs
)
987 def RemoveAll(self
, *_args
, **_kwargs
):
988 val
= apply(gdic
.wxImageList_RemoveAll
,(self
,) + _args
, _kwargs
)
990 def GetSize(self
, *_args
, **_kwargs
):
991 val
= apply(gdic
.wxImageList_GetSize
,(self
,) + _args
, _kwargs
)
994 return "<C wxImageList instance at %s>" % (self
.this
,)
995 class wxImageList(wxImageListPtr
):
996 def __init__(self
,*_args
,**_kwargs
):
997 self
.this
= apply(gdic
.new_wxImageList
,_args
,_kwargs
)
1003 class wxRegionPtr(wxGDIObjectPtr
):
1004 def __init__(self
,this
):
1007 def __del__(self
,gdic
=gdic
):
1008 if self
.thisown
== 1 :
1009 gdic
.delete_wxRegion(self
)
1010 def Clear(self
, *_args
, **_kwargs
):
1011 val
= apply(gdic
.wxRegion_Clear
,(self
,) + _args
, _kwargs
)
1013 def Contains(self
, *_args
, **_kwargs
):
1014 val
= apply(gdic
.wxRegion_Contains
,(self
,) + _args
, _kwargs
)
1016 def ContainsPoint(self
, *_args
, **_kwargs
):
1017 val
= apply(gdic
.wxRegion_ContainsPoint
,(self
,) + _args
, _kwargs
)
1019 def ContainsRect(self
, *_args
, **_kwargs
):
1020 val
= apply(gdic
.wxRegion_ContainsRect
,(self
,) + _args
, _kwargs
)
1022 def ContainsRectDim(self
, *_args
, **_kwargs
):
1023 val
= apply(gdic
.wxRegion_ContainsRectDim
,(self
,) + _args
, _kwargs
)
1025 def GetBox(self
, *_args
, **_kwargs
):
1026 val
= apply(gdic
.wxRegion_GetBox
,(self
,) + _args
, _kwargs
)
1027 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1029 def Intersect(self
, *_args
, **_kwargs
):
1030 val
= apply(gdic
.wxRegion_Intersect
,(self
,) + _args
, _kwargs
)
1032 def IntersectRect(self
, *_args
, **_kwargs
):
1033 val
= apply(gdic
.wxRegion_IntersectRect
,(self
,) + _args
, _kwargs
)
1035 def IntersectRegion(self
, *_args
, **_kwargs
):
1036 val
= apply(gdic
.wxRegion_IntersectRegion
,(self
,) + _args
, _kwargs
)
1038 def IsEmpty(self
, *_args
, **_kwargs
):
1039 val
= apply(gdic
.wxRegion_IsEmpty
,(self
,) + _args
, _kwargs
)
1041 def Union(self
, *_args
, **_kwargs
):
1042 val
= apply(gdic
.wxRegion_Union
,(self
,) + _args
, _kwargs
)
1044 def UnionRect(self
, *_args
, **_kwargs
):
1045 val
= apply(gdic
.wxRegion_UnionRect
,(self
,) + _args
, _kwargs
)
1047 def UnionRegion(self
, *_args
, **_kwargs
):
1048 val
= apply(gdic
.wxRegion_UnionRegion
,(self
,) + _args
, _kwargs
)
1050 def Subtract(self
, *_args
, **_kwargs
):
1051 val
= apply(gdic
.wxRegion_Subtract
,(self
,) + _args
, _kwargs
)
1053 def SubtractRect(self
, *_args
, **_kwargs
):
1054 val
= apply(gdic
.wxRegion_SubtractRect
,(self
,) + _args
, _kwargs
)
1056 def SubtractRegion(self
, *_args
, **_kwargs
):
1057 val
= apply(gdic
.wxRegion_SubtractRegion
,(self
,) + _args
, _kwargs
)
1059 def Xor(self
, *_args
, **_kwargs
):
1060 val
= apply(gdic
.wxRegion_Xor
,(self
,) + _args
, _kwargs
)
1062 def XorRect(self
, *_args
, **_kwargs
):
1063 val
= apply(gdic
.wxRegion_XorRect
,(self
,) + _args
, _kwargs
)
1065 def XorRegion(self
, *_args
, **_kwargs
):
1066 val
= apply(gdic
.wxRegion_XorRegion
,(self
,) + _args
, _kwargs
)
1069 return "<C wxRegion instance at %s>" % (self
.this
,)
1070 class wxRegion(wxRegionPtr
):
1071 def __init__(self
,*_args
,**_kwargs
):
1072 self
.this
= apply(gdic
.new_wxRegion
,_args
,_kwargs
)
1078 class wxRegionIteratorPtr(wxObjectPtr
):
1079 def __init__(self
,this
):
1082 def __del__(self
,gdic
=gdic
):
1083 if self
.thisown
== 1 :
1084 gdic
.delete_wxRegionIterator(self
)
1085 def GetX(self
, *_args
, **_kwargs
):
1086 val
= apply(gdic
.wxRegionIterator_GetX
,(self
,) + _args
, _kwargs
)
1088 def GetY(self
, *_args
, **_kwargs
):
1089 val
= apply(gdic
.wxRegionIterator_GetY
,(self
,) + _args
, _kwargs
)
1091 def GetW(self
, *_args
, **_kwargs
):
1092 val
= apply(gdic
.wxRegionIterator_GetW
,(self
,) + _args
, _kwargs
)
1094 def GetWidth(self
, *_args
, **_kwargs
):
1095 val
= apply(gdic
.wxRegionIterator_GetWidth
,(self
,) + _args
, _kwargs
)
1097 def GetH(self
, *_args
, **_kwargs
):
1098 val
= apply(gdic
.wxRegionIterator_GetH
,(self
,) + _args
, _kwargs
)
1100 def GetHeight(self
, *_args
, **_kwargs
):
1101 val
= apply(gdic
.wxRegionIterator_GetHeight
,(self
,) + _args
, _kwargs
)
1103 def GetRect(self
, *_args
, **_kwargs
):
1104 val
= apply(gdic
.wxRegionIterator_GetRect
,(self
,) + _args
, _kwargs
)
1105 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1107 def HaveRects(self
, *_args
, **_kwargs
):
1108 val
= apply(gdic
.wxRegionIterator_HaveRects
,(self
,) + _args
, _kwargs
)
1110 def Reset(self
, *_args
, **_kwargs
):
1111 val
= apply(gdic
.wxRegionIterator_Reset
,(self
,) + _args
, _kwargs
)
1113 def Next(self
, *_args
, **_kwargs
):
1114 val
= apply(gdic
.wxRegionIterator_Next
,(self
,) + _args
, _kwargs
)
1117 return "<C wxRegionIterator instance at %s>" % (self
.this
,)
1118 class wxRegionIterator(wxRegionIteratorPtr
):
1119 def __init__(self
,*_args
,**_kwargs
):
1120 self
.this
= apply(gdic
.new_wxRegionIterator
,_args
,_kwargs
)
1128 #-------------- FUNCTION WRAPPERS ------------------
1130 def wxEmptyBitmap(*_args
, **_kwargs
):
1131 val
= apply(gdic
.wxEmptyBitmap
,_args
,_kwargs
)
1132 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1135 def wxBitmapFromXPMData(*_args
, **_kwargs
):
1136 val
= apply(gdic
.wxBitmapFromXPMData
,_args
,_kwargs
)
1137 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1140 def wxBitmapFromIcon(*_args
, **_kwargs
):
1141 val
= apply(gdic
.wxBitmapFromIcon
,_args
,_kwargs
)
1142 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1145 def wxBitmapFromBits(*_args
, **_kwargs
):
1146 val
= apply(gdic
.wxBitmapFromBits
,_args
,_kwargs
)
1147 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1150 def wxMaskColour(*_args
, **_kwargs
):
1151 val
= apply(gdic
.wxMaskColour
,_args
,_kwargs
)
1152 if val
: val
= wxMaskPtr(val
); val
.thisown
= 1
1155 def wxEmptyIcon(*_args
, **_kwargs
):
1156 val
= apply(gdic
.wxEmptyIcon
,_args
,_kwargs
)
1157 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1160 def wxIconFromXPMData(*_args
, **_kwargs
):
1161 val
= apply(gdic
.wxIconFromXPMData
,_args
,_kwargs
)
1162 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1165 def wxStockCursor(*_args
, **_kwargs
):
1166 val
= apply(gdic
.wxStockCursor
,_args
,_kwargs
)
1167 if val
: val
= wxCursorPtr(val
); val
.thisown
= 1
1170 def wxNamedColour(*_args
, **_kwargs
):
1171 val
= apply(gdic
.wxNamedColour
,_args
,_kwargs
)
1172 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1175 def wxMemoryDCFromDC(*_args
, **_kwargs
):
1176 val
= apply(gdic
.wxMemoryDCFromDC
,_args
,_kwargs
)
1177 if val
: val
= wxMemoryDCPtr(val
); val
.thisown
= 1
1180 wxFontMapper_GetEncodingName
= gdic
.wxFontMapper_GetEncodingName
1182 wxFontMapper_GetEncodingDescription
= gdic
.wxFontMapper_GetEncodingDescription
1184 wxFontMapper_GetDefaultConfigPath
= gdic
.wxFontMapper_GetDefaultConfigPath
1186 wxFont_GetDefaultEncoding
= gdic
.wxFont_GetDefaultEncoding
1188 wxFont_SetDefaultEncoding
= gdic
.wxFont_SetDefaultEncoding
1192 #-------------- VARIABLE WRAPPERS ------------------
1194 wxFONTFAMILY_DEFAULT
= gdic
.wxFONTFAMILY_DEFAULT
1195 wxFONTFAMILY_DECORATIVE
= gdic
.wxFONTFAMILY_DECORATIVE
1196 wxFONTFAMILY_ROMAN
= gdic
.wxFONTFAMILY_ROMAN
1197 wxFONTFAMILY_SCRIPT
= gdic
.wxFONTFAMILY_SCRIPT
1198 wxFONTFAMILY_SWISS
= gdic
.wxFONTFAMILY_SWISS
1199 wxFONTFAMILY_MODERN
= gdic
.wxFONTFAMILY_MODERN
1200 wxFONTFAMILY_TELETYPE
= gdic
.wxFONTFAMILY_TELETYPE
1201 wxFONTFAMILY_MAX
= gdic
.wxFONTFAMILY_MAX
1202 wxFONTSTYLE_NORMAL
= gdic
.wxFONTSTYLE_NORMAL
1203 wxFONTSTYLE_ITALIC
= gdic
.wxFONTSTYLE_ITALIC
1204 wxFONTSTYLE_SLANT
= gdic
.wxFONTSTYLE_SLANT
1205 wxFONTSTYLE_MAX
= gdic
.wxFONTSTYLE_MAX
1206 wxFONTWEIGHT_NORMAL
= gdic
.wxFONTWEIGHT_NORMAL
1207 wxFONTWEIGHT_LIGHT
= gdic
.wxFONTWEIGHT_LIGHT
1208 wxFONTWEIGHT_BOLD
= gdic
.wxFONTWEIGHT_BOLD
1209 wxFONTWEIGHT_MAX
= gdic
.wxFONTWEIGHT_MAX
1210 wxFONTENCODING_SYSTEM
= gdic
.wxFONTENCODING_SYSTEM
1211 wxFONTENCODING_DEFAULT
= gdic
.wxFONTENCODING_DEFAULT
1212 wxFONTENCODING_ISO8859_1
= gdic
.wxFONTENCODING_ISO8859_1
1213 wxFONTENCODING_ISO8859_2
= gdic
.wxFONTENCODING_ISO8859_2
1214 wxFONTENCODING_ISO8859_3
= gdic
.wxFONTENCODING_ISO8859_3
1215 wxFONTENCODING_ISO8859_4
= gdic
.wxFONTENCODING_ISO8859_4
1216 wxFONTENCODING_ISO8859_5
= gdic
.wxFONTENCODING_ISO8859_5
1217 wxFONTENCODING_ISO8859_6
= gdic
.wxFONTENCODING_ISO8859_6
1218 wxFONTENCODING_ISO8859_7
= gdic
.wxFONTENCODING_ISO8859_7
1219 wxFONTENCODING_ISO8859_8
= gdic
.wxFONTENCODING_ISO8859_8
1220 wxFONTENCODING_ISO8859_9
= gdic
.wxFONTENCODING_ISO8859_9
1221 wxFONTENCODING_ISO8859_10
= gdic
.wxFONTENCODING_ISO8859_10
1222 wxFONTENCODING_ISO8859_11
= gdic
.wxFONTENCODING_ISO8859_11
1223 wxFONTENCODING_ISO8859_12
= gdic
.wxFONTENCODING_ISO8859_12
1224 wxFONTENCODING_ISO8859_13
= gdic
.wxFONTENCODING_ISO8859_13
1225 wxFONTENCODING_ISO8859_14
= gdic
.wxFONTENCODING_ISO8859_14
1226 wxFONTENCODING_ISO8859_15
= gdic
.wxFONTENCODING_ISO8859_15
1227 wxFONTENCODING_ISO8859_MAX
= gdic
.wxFONTENCODING_ISO8859_MAX
1228 wxFONTENCODING_KOI8
= gdic
.wxFONTENCODING_KOI8
1229 wxFONTENCODING_ALTERNATIVE
= gdic
.wxFONTENCODING_ALTERNATIVE
1230 wxFONTENCODING_BULGARIAN
= gdic
.wxFONTENCODING_BULGARIAN
1231 wxFONTENCODING_CP437
= gdic
.wxFONTENCODING_CP437
1232 wxFONTENCODING_CP850
= gdic
.wxFONTENCODING_CP850
1233 wxFONTENCODING_CP852
= gdic
.wxFONTENCODING_CP852
1234 wxFONTENCODING_CP855
= gdic
.wxFONTENCODING_CP855
1235 wxFONTENCODING_CP866
= gdic
.wxFONTENCODING_CP866
1236 wxFONTENCODING_CP874
= gdic
.wxFONTENCODING_CP874
1237 wxFONTENCODING_CP1250
= gdic
.wxFONTENCODING_CP1250
1238 wxFONTENCODING_CP1251
= gdic
.wxFONTENCODING_CP1251
1239 wxFONTENCODING_CP1252
= gdic
.wxFONTENCODING_CP1252
1240 wxFONTENCODING_CP1253
= gdic
.wxFONTENCODING_CP1253
1241 wxFONTENCODING_CP1254
= gdic
.wxFONTENCODING_CP1254
1242 wxFONTENCODING_CP1255
= gdic
.wxFONTENCODING_CP1255
1243 wxFONTENCODING_CP1256
= gdic
.wxFONTENCODING_CP1256
1244 wxFONTENCODING_CP1257
= gdic
.wxFONTENCODING_CP1257
1245 wxFONTENCODING_CP12_MAX
= gdic
.wxFONTENCODING_CP12_MAX
1246 wxFONTENCODING_UTF7
= gdic
.wxFONTENCODING_UTF7
1247 wxFONTENCODING_UTF8
= gdic
.wxFONTENCODING_UTF8
1248 wxFONTENCODING_UNICODE
= gdic
.wxFONTENCODING_UNICODE
1249 wxFONTENCODING_MAX
= gdic
.wxFONTENCODING_MAX
1251 wxNORMAL_FONT
= wxFontPtr(gdic
.cvar
.wxNORMAL_FONT
)
1252 wxSMALL_FONT
= wxFontPtr(gdic
.cvar
.wxSMALL_FONT
)
1253 wxITALIC_FONT
= wxFontPtr(gdic
.cvar
.wxITALIC_FONT
)
1254 wxSWISS_FONT
= wxFontPtr(gdic
.cvar
.wxSWISS_FONT
)
1255 wxRED_PEN
= wxPenPtr(gdic
.cvar
.wxRED_PEN
)
1256 wxCYAN_PEN
= wxPenPtr(gdic
.cvar
.wxCYAN_PEN
)
1257 wxGREEN_PEN
= wxPenPtr(gdic
.cvar
.wxGREEN_PEN
)
1258 wxBLACK_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_PEN
)
1259 wxWHITE_PEN
= wxPenPtr(gdic
.cvar
.wxWHITE_PEN
)
1260 wxTRANSPARENT_PEN
= wxPenPtr(gdic
.cvar
.wxTRANSPARENT_PEN
)
1261 wxBLACK_DASHED_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_DASHED_PEN
)
1262 wxGREY_PEN
= wxPenPtr(gdic
.cvar
.wxGREY_PEN
)
1263 wxMEDIUM_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxMEDIUM_GREY_PEN
)
1264 wxLIGHT_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxLIGHT_GREY_PEN
)
1265 wxBLUE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLUE_BRUSH
)
1266 wxGREEN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREEN_BRUSH
)
1267 wxWHITE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxWHITE_BRUSH
)
1268 wxBLACK_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLACK_BRUSH
)
1269 wxTRANSPARENT_BRUSH
= wxBrushPtr(gdic
.cvar
.wxTRANSPARENT_BRUSH
)
1270 wxCYAN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxCYAN_BRUSH
)
1271 wxRED_BRUSH
= wxBrushPtr(gdic
.cvar
.wxRED_BRUSH
)
1272 wxGREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREY_BRUSH
)
1273 wxMEDIUM_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxMEDIUM_GREY_BRUSH
)
1274 wxLIGHT_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxLIGHT_GREY_BRUSH
)
1275 wxBLACK
= wxColourPtr(gdic
.cvar
.wxBLACK
)
1276 wxWHITE
= wxColourPtr(gdic
.cvar
.wxWHITE
)
1277 wxRED
= wxColourPtr(gdic
.cvar
.wxRED
)
1278 wxBLUE
= wxColourPtr(gdic
.cvar
.wxBLUE
)
1279 wxGREEN
= wxColourPtr(gdic
.cvar
.wxGREEN
)
1280 wxCYAN
= wxColourPtr(gdic
.cvar
.wxCYAN
)
1281 wxLIGHT_GREY
= wxColourPtr(gdic
.cvar
.wxLIGHT_GREY
)
1282 wxSTANDARD_CURSOR
= wxCursorPtr(gdic
.cvar
.wxSTANDARD_CURSOR
)
1283 wxHOURGLASS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxHOURGLASS_CURSOR
)
1284 wxCROSS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxCROSS_CURSOR
)
1285 wxNullBitmap
= wxBitmapPtr(gdic
.cvar
.wxNullBitmap
)
1286 wxNullIcon
= wxIconPtr(gdic
.cvar
.wxNullIcon
)
1287 wxNullCursor
= wxCursorPtr(gdic
.cvar
.wxNullCursor
)
1288 wxNullPen
= wxPenPtr(gdic
.cvar
.wxNullPen
)
1289 wxNullBrush
= wxBrushPtr(gdic
.cvar
.wxNullBrush
)
1290 wxNullPalette
= wxPalettePtr(gdic
.cvar
.wxNullPalette
)
1291 wxNullFont
= wxFontPtr(gdic
.cvar
.wxNullFont
)
1292 wxNullColour
= wxColourPtr(gdic
.cvar
.wxNullColour
)
1293 wxTheFontList
= wxFontListPtr(gdic
.cvar
.wxTheFontList
)
1294 wxThePenList
= wxPenListPtr(gdic
.cvar
.wxThePenList
)
1295 wxTheColourDatabase
= wxColourDatabasePtr(gdic
.cvar
.wxTheColourDatabase
)
1296 wxIMAGELIST_DRAW_NORMAL
= gdic
.wxIMAGELIST_DRAW_NORMAL
1297 wxIMAGELIST_DRAW_TRANSPARENT
= gdic
.wxIMAGELIST_DRAW_TRANSPARENT
1298 wxIMAGELIST_DRAW_SELECTED
= gdic
.wxIMAGELIST_DRAW_SELECTED
1299 wxIMAGELIST_DRAW_FOCUSED
= gdic
.wxIMAGELIST_DRAW_FOCUSED
1300 wxIMAGE_LIST_NORMAL
= gdic
.wxIMAGE_LIST_NORMAL
1301 wxIMAGE_LIST_SMALL
= gdic
.wxIMAGE_LIST_SMALL
1302 wxIMAGE_LIST_STATE
= gdic
.wxIMAGE_LIST_STATE
1303 wxOutRegion
= gdic
.wxOutRegion
1304 wxPartRegion
= gdic
.wxPartRegion
1305 wxInRegion
= gdic
.wxInRegion