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 SetPalette(self
, *_args
, **_kwargs
):
56 val
= apply(gdic
.wxBitmap_SetPalette
,(self
,) + _args
, _kwargs
)
58 def GetHandle(self
, *_args
, **_kwargs
):
59 val
= apply(gdic
.wxBitmap_GetHandle
,(self
,) + _args
, _kwargs
)
61 def SetHandle(self
, *_args
, **_kwargs
):
62 val
= apply(gdic
.wxBitmap_SetHandle
,(self
,) + _args
, _kwargs
)
64 def Ok(self
, *_args
, **_kwargs
):
65 val
= apply(gdic
.wxBitmap_Ok
,(self
,) + _args
, _kwargs
)
67 def GetWidth(self
, *_args
, **_kwargs
):
68 val
= apply(gdic
.wxBitmap_GetWidth
,(self
,) + _args
, _kwargs
)
70 def GetHeight(self
, *_args
, **_kwargs
):
71 val
= apply(gdic
.wxBitmap_GetHeight
,(self
,) + _args
, _kwargs
)
73 def GetDepth(self
, *_args
, **_kwargs
):
74 val
= apply(gdic
.wxBitmap_GetDepth
,(self
,) + _args
, _kwargs
)
76 def SetWidth(self
, *_args
, **_kwargs
):
77 val
= apply(gdic
.wxBitmap_SetWidth
,(self
,) + _args
, _kwargs
)
79 def SetHeight(self
, *_args
, **_kwargs
):
80 val
= apply(gdic
.wxBitmap_SetHeight
,(self
,) + _args
, _kwargs
)
82 def SetDepth(self
, *_args
, **_kwargs
):
83 val
= apply(gdic
.wxBitmap_SetDepth
,(self
,) + _args
, _kwargs
)
85 def SetSize(self
, *_args
, **_kwargs
):
86 val
= apply(gdic
.wxBitmap_SetSize
,(self
,) + _args
, _kwargs
)
88 def GetSubBitmap(self
, *_args
, **_kwargs
):
89 val
= apply(gdic
.wxBitmap_GetSubBitmap
,(self
,) + _args
, _kwargs
)
90 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
92 def CopyFromIcon(self
, *_args
, **_kwargs
):
93 val
= apply(gdic
.wxBitmap_CopyFromIcon
,(self
,) + _args
, _kwargs
)
95 def CopyFromCursor(self
, *_args
, **_kwargs
):
96 val
= apply(gdic
.wxBitmap_CopyFromCursor
,(self
,) + _args
, _kwargs
)
98 def GetQuality(self
, *_args
, **_kwargs
):
99 val
= apply(gdic
.wxBitmap_GetQuality
,(self
,) + _args
, _kwargs
)
101 def SetQuality(self
, *_args
, **_kwargs
):
102 val
= apply(gdic
.wxBitmap_SetQuality
,(self
,) + _args
, _kwargs
)
105 return "<C wxBitmap instance at %s>" % (self
.this
,)
107 def __del__(self
,gdic
=gdic
):
109 if self
.thisown
== 1 :
110 gdic
.delete_wxBitmap(self
)
114 class wxBitmap(wxBitmapPtr
):
115 def __init__(self
,*_args
,**_kwargs
):
116 self
.this
= apply(gdic
.new_wxBitmap
,_args
,_kwargs
)
122 class wxMaskPtr(wxObjectPtr
):
123 def __init__(self
,this
):
126 def Destroy(self
, *_args
, **_kwargs
):
127 val
= apply(gdic
.wxMask_Destroy
,(self
,) + _args
, _kwargs
)
130 return "<C wxMask instance at %s>" % (self
.this
,)
131 class wxMask(wxMaskPtr
):
132 def __init__(self
,*_args
,**_kwargs
):
133 self
.this
= apply(gdic
.new_wxMask
,_args
,_kwargs
)
139 class wxIconPtr(wxGDIObjectPtr
):
140 def __init__(self
,this
):
143 def __del__(self
,gdic
=gdic
):
144 if self
.thisown
== 1 :
145 gdic
.delete_wxIcon(self
)
146 def LoadFile(self
, *_args
, **_kwargs
):
147 val
= apply(gdic
.wxIcon_LoadFile
,(self
,) + _args
, _kwargs
)
149 def GetHandle(self
, *_args
, **_kwargs
):
150 val
= apply(gdic
.wxIcon_GetHandle
,(self
,) + _args
, _kwargs
)
152 def SetHandle(self
, *_args
, **_kwargs
):
153 val
= apply(gdic
.wxIcon_SetHandle
,(self
,) + _args
, _kwargs
)
155 def Ok(self
, *_args
, **_kwargs
):
156 val
= apply(gdic
.wxIcon_Ok
,(self
,) + _args
, _kwargs
)
158 def GetWidth(self
, *_args
, **_kwargs
):
159 val
= apply(gdic
.wxIcon_GetWidth
,(self
,) + _args
, _kwargs
)
161 def GetHeight(self
, *_args
, **_kwargs
):
162 val
= apply(gdic
.wxIcon_GetHeight
,(self
,) + _args
, _kwargs
)
164 def GetDepth(self
, *_args
, **_kwargs
):
165 val
= apply(gdic
.wxIcon_GetDepth
,(self
,) + _args
, _kwargs
)
167 def SetWidth(self
, *_args
, **_kwargs
):
168 val
= apply(gdic
.wxIcon_SetWidth
,(self
,) + _args
, _kwargs
)
170 def SetHeight(self
, *_args
, **_kwargs
):
171 val
= apply(gdic
.wxIcon_SetHeight
,(self
,) + _args
, _kwargs
)
173 def SetDepth(self
, *_args
, **_kwargs
):
174 val
= apply(gdic
.wxIcon_SetDepth
,(self
,) + _args
, _kwargs
)
176 def SetSize(self
, *_args
, **_kwargs
):
177 val
= apply(gdic
.wxIcon_SetSize
,(self
,) + _args
, _kwargs
)
179 def CopyFromBitmap(self
, *_args
, **_kwargs
):
180 val
= apply(gdic
.wxIcon_CopyFromBitmap
,(self
,) + _args
, _kwargs
)
183 return "<C wxIcon instance at %s>" % (self
.this
,)
185 def __del__(self
,gdic
=gdic
):
187 if self
.thisown
== 1 :
188 gdic
.delete_wxIcon(self
)
192 class wxIcon(wxIconPtr
):
193 def __init__(self
,*_args
,**_kwargs
):
194 self
.this
= apply(gdic
.new_wxIcon
,_args
,_kwargs
)
200 class wxCursorPtr(wxGDIObjectPtr
):
201 def __init__(self
,this
):
204 def __del__(self
,gdic
=gdic
):
205 if self
.thisown
== 1 :
206 gdic
.delete_wxCursor(self
)
207 def GetHandle(self
, *_args
, **_kwargs
):
208 val
= apply(gdic
.wxCursor_GetHandle
,(self
,) + _args
, _kwargs
)
210 def SetHandle(self
, *_args
, **_kwargs
):
211 val
= apply(gdic
.wxCursor_SetHandle
,(self
,) + _args
, _kwargs
)
213 def Ok(self
, *_args
, **_kwargs
):
214 val
= apply(gdic
.wxCursor_Ok
,(self
,) + _args
, _kwargs
)
216 def GetWidth(self
, *_args
, **_kwargs
):
217 val
= apply(gdic
.wxCursor_GetWidth
,(self
,) + _args
, _kwargs
)
219 def GetHeight(self
, *_args
, **_kwargs
):
220 val
= apply(gdic
.wxCursor_GetHeight
,(self
,) + _args
, _kwargs
)
222 def GetDepth(self
, *_args
, **_kwargs
):
223 val
= apply(gdic
.wxCursor_GetDepth
,(self
,) + _args
, _kwargs
)
225 def SetWidth(self
, *_args
, **_kwargs
):
226 val
= apply(gdic
.wxCursor_SetWidth
,(self
,) + _args
, _kwargs
)
228 def SetHeight(self
, *_args
, **_kwargs
):
229 val
= apply(gdic
.wxCursor_SetHeight
,(self
,) + _args
, _kwargs
)
231 def SetDepth(self
, *_args
, **_kwargs
):
232 val
= apply(gdic
.wxCursor_SetDepth
,(self
,) + _args
, _kwargs
)
234 def SetSize(self
, *_args
, **_kwargs
):
235 val
= apply(gdic
.wxCursor_SetSize
,(self
,) + _args
, _kwargs
)
238 return "<C wxCursor instance at %s>" % (self
.this
,)
239 class wxCursor(wxCursorPtr
):
240 def __init__(self
,*_args
,**_kwargs
):
241 self
.this
= apply(gdic
.new_wxCursor
,_args
,_kwargs
)
247 class wxFontPtr(wxGDIObjectPtr
):
248 def __init__(self
,this
):
251 def __del__(self
,gdic
=gdic
):
252 if self
.thisown
== 1 :
253 gdic
.delete_wxFont(self
)
254 def Ok(self
, *_args
, **_kwargs
):
255 val
= apply(gdic
.wxFont_Ok
,(self
,) + _args
, _kwargs
)
257 def GetFaceName(self
, *_args
, **_kwargs
):
258 val
= apply(gdic
.wxFont_GetFaceName
,(self
,) + _args
, _kwargs
)
260 def GetFamily(self
, *_args
, **_kwargs
):
261 val
= apply(gdic
.wxFont_GetFamily
,(self
,) + _args
, _kwargs
)
263 def GetFontId(self
, *_args
, **_kwargs
):
264 val
= apply(gdic
.wxFont_GetFontId
,(self
,) + _args
, _kwargs
)
266 def GetPointSize(self
, *_args
, **_kwargs
):
267 val
= apply(gdic
.wxFont_GetPointSize
,(self
,) + _args
, _kwargs
)
269 def GetStyle(self
, *_args
, **_kwargs
):
270 val
= apply(gdic
.wxFont_GetStyle
,(self
,) + _args
, _kwargs
)
272 def GetUnderlined(self
, *_args
, **_kwargs
):
273 val
= apply(gdic
.wxFont_GetUnderlined
,(self
,) + _args
, _kwargs
)
275 def GetWeight(self
, *_args
, **_kwargs
):
276 val
= apply(gdic
.wxFont_GetWeight
,(self
,) + _args
, _kwargs
)
278 def GetEncoding(self
, *_args
, **_kwargs
):
279 val
= apply(gdic
.wxFont_GetEncoding
,(self
,) + _args
, _kwargs
)
281 def SetFaceName(self
, *_args
, **_kwargs
):
282 val
= apply(gdic
.wxFont_SetFaceName
,(self
,) + _args
, _kwargs
)
284 def SetFamily(self
, *_args
, **_kwargs
):
285 val
= apply(gdic
.wxFont_SetFamily
,(self
,) + _args
, _kwargs
)
287 def SetPointSize(self
, *_args
, **_kwargs
):
288 val
= apply(gdic
.wxFont_SetPointSize
,(self
,) + _args
, _kwargs
)
290 def SetStyle(self
, *_args
, **_kwargs
):
291 val
= apply(gdic
.wxFont_SetStyle
,(self
,) + _args
, _kwargs
)
293 def SetUnderlined(self
, *_args
, **_kwargs
):
294 val
= apply(gdic
.wxFont_SetUnderlined
,(self
,) + _args
, _kwargs
)
296 def SetWeight(self
, *_args
, **_kwargs
):
297 val
= apply(gdic
.wxFont_SetWeight
,(self
,) + _args
, _kwargs
)
299 def SetEncoding(self
, *_args
, **_kwargs
):
300 val
= apply(gdic
.wxFont_SetEncoding
,(self
,) + _args
, _kwargs
)
302 def GetFamilyString(self
, *_args
, **_kwargs
):
303 val
= apply(gdic
.wxFont_GetFamilyString
,(self
,) + _args
, _kwargs
)
305 def GetStyleString(self
, *_args
, **_kwargs
):
306 val
= apply(gdic
.wxFont_GetStyleString
,(self
,) + _args
, _kwargs
)
308 def GetWeightString(self
, *_args
, **_kwargs
):
309 val
= apply(gdic
.wxFont_GetWeightString
,(self
,) + _args
, _kwargs
)
312 return "<C wxFont instance at %s>" % (self
.this
,)
313 class wxFont(wxFontPtr
):
314 def __init__(self
,*_args
,**_kwargs
):
315 self
.this
= apply(gdic
.new_wxFont
,_args
,_kwargs
)
321 class wxFontListPtr(wxObjectPtr
):
322 def __init__(self
,this
):
325 def AddFont(self
, *_args
, **_kwargs
):
326 val
= apply(gdic
.wxFontList_AddFont
,(self
,) + _args
, _kwargs
)
328 def FindOrCreateFont(self
, *_args
, **_kwargs
):
329 val
= apply(gdic
.wxFontList_FindOrCreateFont
,(self
,) + _args
, _kwargs
)
330 if val
: val
= wxFontPtr(val
)
332 def RemoveFont(self
, *_args
, **_kwargs
):
333 val
= apply(gdic
.wxFontList_RemoveFont
,(self
,) + _args
, _kwargs
)
336 return "<C wxFontList instance at %s>" % (self
.this
,)
337 class wxFontList(wxFontListPtr
):
338 def __init__(self
,this
):
344 class wxColourPtr(wxObjectPtr
):
345 def __init__(self
,this
):
348 def __del__(self
,gdic
=gdic
):
349 if self
.thisown
== 1 :
350 gdic
.delete_wxColour(self
)
351 def Red(self
, *_args
, **_kwargs
):
352 val
= apply(gdic
.wxColour_Red
,(self
,) + _args
, _kwargs
)
354 def Green(self
, *_args
, **_kwargs
):
355 val
= apply(gdic
.wxColour_Green
,(self
,) + _args
, _kwargs
)
357 def Blue(self
, *_args
, **_kwargs
):
358 val
= apply(gdic
.wxColour_Blue
,(self
,) + _args
, _kwargs
)
360 def Ok(self
, *_args
, **_kwargs
):
361 val
= apply(gdic
.wxColour_Ok
,(self
,) + _args
, _kwargs
)
363 def Set(self
, *_args
, **_kwargs
):
364 val
= apply(gdic
.wxColour_Set
,(self
,) + _args
, _kwargs
)
366 def Get(self
, *_args
, **_kwargs
):
367 val
= apply(gdic
.wxColour_Get
,(self
,) + _args
, _kwargs
)
370 return "<C wxColour instance at %s>" % (self
.this
,)
372 def __str__(self
): return str(self
.asTuple())
373 def __repr__(self
): return str(self
.asTuple())
374 class wxColour(wxColourPtr
):
375 def __init__(self
,*_args
,**_kwargs
):
376 self
.this
= apply(gdic
.new_wxColour
,_args
,_kwargs
)
382 class wxColourDatabasePtr(wxObjectPtr
):
383 def __init__(self
,this
):
386 def FindColour(self
, *_args
, **_kwargs
):
387 val
= apply(gdic
.wxColourDatabase_FindColour
,(self
,) + _args
, _kwargs
)
388 if val
: val
= wxColourPtr(val
)
390 def FindName(self
, *_args
, **_kwargs
):
391 val
= apply(gdic
.wxColourDatabase_FindName
,(self
,) + _args
, _kwargs
)
393 def Append(self
, *_args
, **_kwargs
):
394 val
= apply(gdic
.wxColourDatabase_Append
,(self
,) + _args
, _kwargs
)
397 return "<C wxColourDatabase instance at %s>" % (self
.this
,)
398 class wxColourDatabase(wxColourDatabasePtr
):
399 def __init__(self
,this
):
405 class wxPenPtr(wxGDIObjectPtr
):
406 def __init__(self
,this
):
409 def __del__(self
,gdic
=gdic
):
410 if self
.thisown
== 1 :
411 gdic
.delete_wxPen(self
)
412 def GetCap(self
, *_args
, **_kwargs
):
413 val
= apply(gdic
.wxPen_GetCap
,(self
,) + _args
, _kwargs
)
415 def GetColour(self
, *_args
, **_kwargs
):
416 val
= apply(gdic
.wxPen_GetColour
,(self
,) + _args
, _kwargs
)
417 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
419 def GetJoin(self
, *_args
, **_kwargs
):
420 val
= apply(gdic
.wxPen_GetJoin
,(self
,) + _args
, _kwargs
)
422 def GetStyle(self
, *_args
, **_kwargs
):
423 val
= apply(gdic
.wxPen_GetStyle
,(self
,) + _args
, _kwargs
)
425 def GetWidth(self
, *_args
, **_kwargs
):
426 val
= apply(gdic
.wxPen_GetWidth
,(self
,) + _args
, _kwargs
)
428 def Ok(self
, *_args
, **_kwargs
):
429 val
= apply(gdic
.wxPen_Ok
,(self
,) + _args
, _kwargs
)
431 def SetCap(self
, *_args
, **_kwargs
):
432 val
= apply(gdic
.wxPen_SetCap
,(self
,) + _args
, _kwargs
)
434 def SetColour(self
, *_args
, **_kwargs
):
435 val
= apply(gdic
.wxPen_SetColour
,(self
,) + _args
, _kwargs
)
437 def SetJoin(self
, *_args
, **_kwargs
):
438 val
= apply(gdic
.wxPen_SetJoin
,(self
,) + _args
, _kwargs
)
440 def SetStyle(self
, *_args
, **_kwargs
):
441 val
= apply(gdic
.wxPen_SetStyle
,(self
,) + _args
, _kwargs
)
443 def SetWidth(self
, *_args
, **_kwargs
):
444 val
= apply(gdic
.wxPen_SetWidth
,(self
,) + _args
, _kwargs
)
446 def GetDashes(self
, *_args
, **_kwargs
):
447 val
= apply(gdic
.wxPen_GetDashes
,(self
,) + _args
, _kwargs
)
449 def SetDashes(self
, *_args
, **_kwargs
):
450 val
= apply(gdic
.wxPen_SetDashes
,(self
,) + _args
, _kwargs
)
452 def GetStipple(self
, *_args
, **_kwargs
):
453 val
= apply(gdic
.wxPen_GetStipple
,(self
,) + _args
, _kwargs
)
454 if val
: val
= wxBitmapPtr(val
)
456 def SetStipple(self
, *_args
, **_kwargs
):
457 val
= apply(gdic
.wxPen_SetStipple
,(self
,) + _args
, _kwargs
)
460 return "<C wxPen instance at %s>" % (self
.this
,)
461 class wxPen(wxPenPtr
):
462 def __init__(self
,*_args
,**_kwargs
):
463 self
.this
= apply(gdic
.new_wxPen
,_args
,_kwargs
)
469 class wxPenListPtr(wxObjectPtr
):
470 def __init__(self
,this
):
473 def AddPen(self
, *_args
, **_kwargs
):
474 val
= apply(gdic
.wxPenList_AddPen
,(self
,) + _args
, _kwargs
)
476 def FindOrCreatePen(self
, *_args
, **_kwargs
):
477 val
= apply(gdic
.wxPenList_FindOrCreatePen
,(self
,) + _args
, _kwargs
)
478 if val
: val
= wxPenPtr(val
)
480 def RemovePen(self
, *_args
, **_kwargs
):
481 val
= apply(gdic
.wxPenList_RemovePen
,(self
,) + _args
, _kwargs
)
484 return "<C wxPenList instance at %s>" % (self
.this
,)
485 class wxPenList(wxPenListPtr
):
486 def __init__(self
,this
):
492 class wxBrushPtr(wxGDIObjectPtr
):
493 def __init__(self
,this
):
496 def __del__(self
,gdic
=gdic
):
497 if self
.thisown
== 1 :
498 gdic
.delete_wxBrush(self
)
499 def GetColour(self
, *_args
, **_kwargs
):
500 val
= apply(gdic
.wxBrush_GetColour
,(self
,) + _args
, _kwargs
)
501 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
503 def GetStipple(self
, *_args
, **_kwargs
):
504 val
= apply(gdic
.wxBrush_GetStipple
,(self
,) + _args
, _kwargs
)
505 if val
: val
= wxBitmapPtr(val
)
507 def GetStyle(self
, *_args
, **_kwargs
):
508 val
= apply(gdic
.wxBrush_GetStyle
,(self
,) + _args
, _kwargs
)
510 def Ok(self
, *_args
, **_kwargs
):
511 val
= apply(gdic
.wxBrush_Ok
,(self
,) + _args
, _kwargs
)
513 def SetColour(self
, *_args
, **_kwargs
):
514 val
= apply(gdic
.wxBrush_SetColour
,(self
,) + _args
, _kwargs
)
516 def SetStipple(self
, *_args
, **_kwargs
):
517 val
= apply(gdic
.wxBrush_SetStipple
,(self
,) + _args
, _kwargs
)
519 def SetStyle(self
, *_args
, **_kwargs
):
520 val
= apply(gdic
.wxBrush_SetStyle
,(self
,) + _args
, _kwargs
)
523 return "<C wxBrush instance at %s>" % (self
.this
,)
524 class wxBrush(wxBrushPtr
):
525 def __init__(self
,*_args
,**_kwargs
):
526 self
.this
= apply(gdic
.new_wxBrush
,_args
,_kwargs
)
532 class wxBrushListPtr
:
533 def __init__(self
,this
):
536 def AddBrush(self
, *_args
, **_kwargs
):
537 val
= apply(gdic
.wxBrushList_AddBrush
,(self
,) + _args
, _kwargs
)
539 def FindOrCreateBrush(self
, *_args
, **_kwargs
):
540 val
= apply(gdic
.wxBrushList_FindOrCreateBrush
,(self
,) + _args
, _kwargs
)
541 if val
: val
= wxBrushPtr(val
)
543 def RemoveBrush(self
, *_args
, **_kwargs
):
544 val
= apply(gdic
.wxBrushList_RemoveBrush
,(self
,) + _args
, _kwargs
)
547 return "<C wxBrushList instance at %s>" % (self
.this
,)
548 class wxBrushList(wxBrushListPtr
):
549 def __init__(self
,this
):
555 class wxDCPtr(wxObjectPtr
):
556 def __init__(self
,this
):
559 def __del__(self
,gdic
=gdic
):
560 if self
.thisown
== 1 :
561 gdic
.delete_wxDC(self
)
562 def BeginDrawing(self
, *_args
, **_kwargs
):
563 val
= apply(gdic
.wxDC_BeginDrawing
,(self
,) + _args
, _kwargs
)
565 def Blit(self
, *_args
, **_kwargs
):
566 val
= apply(gdic
.wxDC_Blit
,(self
,) + _args
, _kwargs
)
568 def Clear(self
, *_args
, **_kwargs
):
569 val
= apply(gdic
.wxDC_Clear
,(self
,) + _args
, _kwargs
)
571 def CrossHair(self
, *_args
, **_kwargs
):
572 val
= apply(gdic
.wxDC_CrossHair
,(self
,) + _args
, _kwargs
)
574 def DestroyClippingRegion(self
, *_args
, **_kwargs
):
575 val
= apply(gdic
.wxDC_DestroyClippingRegion
,(self
,) + _args
, _kwargs
)
577 def DeviceToLogicalX(self
, *_args
, **_kwargs
):
578 val
= apply(gdic
.wxDC_DeviceToLogicalX
,(self
,) + _args
, _kwargs
)
580 def DeviceToLogicalXRel(self
, *_args
, **_kwargs
):
581 val
= apply(gdic
.wxDC_DeviceToLogicalXRel
,(self
,) + _args
, _kwargs
)
583 def DeviceToLogicalY(self
, *_args
, **_kwargs
):
584 val
= apply(gdic
.wxDC_DeviceToLogicalY
,(self
,) + _args
, _kwargs
)
586 def DeviceToLogicalYRel(self
, *_args
, **_kwargs
):
587 val
= apply(gdic
.wxDC_DeviceToLogicalYRel
,(self
,) + _args
, _kwargs
)
589 def DrawArc(self
, *_args
, **_kwargs
):
590 val
= apply(gdic
.wxDC_DrawArc
,(self
,) + _args
, _kwargs
)
592 def DrawCircle(self
, *_args
, **_kwargs
):
593 val
= apply(gdic
.wxDC_DrawCircle
,(self
,) + _args
, _kwargs
)
595 def DrawEllipse(self
, *_args
, **_kwargs
):
596 val
= apply(gdic
.wxDC_DrawEllipse
,(self
,) + _args
, _kwargs
)
598 def DrawEllipticArc(self
, *_args
, **_kwargs
):
599 val
= apply(gdic
.wxDC_DrawEllipticArc
,(self
,) + _args
, _kwargs
)
601 def DrawIcon(self
, *_args
, **_kwargs
):
602 val
= apply(gdic
.wxDC_DrawIcon
,(self
,) + _args
, _kwargs
)
604 def DrawLine(self
, *_args
, **_kwargs
):
605 val
= apply(gdic
.wxDC_DrawLine
,(self
,) + _args
, _kwargs
)
607 def DrawLines(self
, *_args
, **_kwargs
):
608 val
= apply(gdic
.wxDC_DrawLines
,(self
,) + _args
, _kwargs
)
610 def DrawPolygon(self
, *_args
, **_kwargs
):
611 val
= apply(gdic
.wxDC_DrawPolygon
,(self
,) + _args
, _kwargs
)
613 def DrawPoint(self
, *_args
, **_kwargs
):
614 val
= apply(gdic
.wxDC_DrawPoint
,(self
,) + _args
, _kwargs
)
616 def DrawRectangle(self
, *_args
, **_kwargs
):
617 val
= apply(gdic
.wxDC_DrawRectangle
,(self
,) + _args
, _kwargs
)
619 def DrawRotatedText(self
, *_args
, **_kwargs
):
620 val
= apply(gdic
.wxDC_DrawRotatedText
,(self
,) + _args
, _kwargs
)
622 def DrawRoundedRectangle(self
, *_args
, **_kwargs
):
623 val
= apply(gdic
.wxDC_DrawRoundedRectangle
,(self
,) + _args
, _kwargs
)
625 def DrawSpline(self
, *_args
, **_kwargs
):
626 val
= apply(gdic
.wxDC_DrawSpline
,(self
,) + _args
, _kwargs
)
628 def DrawText(self
, *_args
, **_kwargs
):
629 val
= apply(gdic
.wxDC_DrawText
,(self
,) + _args
, _kwargs
)
631 def EndDoc(self
, *_args
, **_kwargs
):
632 val
= apply(gdic
.wxDC_EndDoc
,(self
,) + _args
, _kwargs
)
634 def EndDrawing(self
, *_args
, **_kwargs
):
635 val
= apply(gdic
.wxDC_EndDrawing
,(self
,) + _args
, _kwargs
)
637 def EndPage(self
, *_args
, **_kwargs
):
638 val
= apply(gdic
.wxDC_EndPage
,(self
,) + _args
, _kwargs
)
640 def FloodFill(self
, *_args
, **_kwargs
):
641 val
= apply(gdic
.wxDC_FloodFill
,(self
,) + _args
, _kwargs
)
643 def GetBackground(self
, *_args
, **_kwargs
):
644 val
= apply(gdic
.wxDC_GetBackground
,(self
,) + _args
, _kwargs
)
645 if val
: val
= wxBrushPtr(val
)
647 def GetBrush(self
, *_args
, **_kwargs
):
648 val
= apply(gdic
.wxDC_GetBrush
,(self
,) + _args
, _kwargs
)
649 if val
: val
= wxBrushPtr(val
)
651 def GetCharHeight(self
, *_args
, **_kwargs
):
652 val
= apply(gdic
.wxDC_GetCharHeight
,(self
,) + _args
, _kwargs
)
654 def GetCharWidth(self
, *_args
, **_kwargs
):
655 val
= apply(gdic
.wxDC_GetCharWidth
,(self
,) + _args
, _kwargs
)
657 def GetClippingBox(self
, *_args
, **_kwargs
):
658 val
= apply(gdic
.wxDC_GetClippingBox
,(self
,) + _args
, _kwargs
)
660 def GetFont(self
, *_args
, **_kwargs
):
661 val
= apply(gdic
.wxDC_GetFont
,(self
,) + _args
, _kwargs
)
662 if val
: val
= wxFontPtr(val
)
664 def GetLogicalFunction(self
, *_args
, **_kwargs
):
665 val
= apply(gdic
.wxDC_GetLogicalFunction
,(self
,) + _args
, _kwargs
)
667 def GetLogicalScale(self
, *_args
, **_kwargs
):
668 val
= apply(gdic
.wxDC_GetLogicalScale
,(self
,) + _args
, _kwargs
)
670 def GetMapMode(self
, *_args
, **_kwargs
):
671 val
= apply(gdic
.wxDC_GetMapMode
,(self
,) + _args
, _kwargs
)
673 def GetOptimization(self
, *_args
, **_kwargs
):
674 val
= apply(gdic
.wxDC_GetOptimization
,(self
,) + _args
, _kwargs
)
676 def GetPen(self
, *_args
, **_kwargs
):
677 val
= apply(gdic
.wxDC_GetPen
,(self
,) + _args
, _kwargs
)
678 if val
: val
= wxPenPtr(val
)
680 def GetPixel(self
, *_args
, **_kwargs
):
681 val
= apply(gdic
.wxDC_GetPixel
,(self
,) + _args
, _kwargs
)
682 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
684 def GetSizeTuple(self
, *_args
, **_kwargs
):
685 val
= apply(gdic
.wxDC_GetSizeTuple
,(self
,) + _args
, _kwargs
)
687 def GetSize(self
, *_args
, **_kwargs
):
688 val
= apply(gdic
.wxDC_GetSize
,(self
,) + _args
, _kwargs
)
689 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
691 def GetSizeMM(self
, *_args
, **_kwargs
):
692 val
= apply(gdic
.wxDC_GetSizeMM
,(self
,) + _args
, _kwargs
)
693 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
695 def GetTextBackground(self
, *_args
, **_kwargs
):
696 val
= apply(gdic
.wxDC_GetTextBackground
,(self
,) + _args
, _kwargs
)
697 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
699 def GetTextExtent(self
, *_args
, **_kwargs
):
700 val
= apply(gdic
.wxDC_GetTextExtent
,(self
,) + _args
, _kwargs
)
702 def GetFullTextExtent(self
, *_args
, **_kwargs
):
703 val
= apply(gdic
.wxDC_GetFullTextExtent
,(self
,) + _args
, _kwargs
)
705 def GetTextForeground(self
, *_args
, **_kwargs
):
706 val
= apply(gdic
.wxDC_GetTextForeground
,(self
,) + _args
, _kwargs
)
707 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
709 def GetUserScale(self
, *_args
, **_kwargs
):
710 val
= apply(gdic
.wxDC_GetUserScale
,(self
,) + _args
, _kwargs
)
712 def LogicalToDeviceX(self
, *_args
, **_kwargs
):
713 val
= apply(gdic
.wxDC_LogicalToDeviceX
,(self
,) + _args
, _kwargs
)
715 def LogicalToDeviceXRel(self
, *_args
, **_kwargs
):
716 val
= apply(gdic
.wxDC_LogicalToDeviceXRel
,(self
,) + _args
, _kwargs
)
718 def LogicalToDeviceY(self
, *_args
, **_kwargs
):
719 val
= apply(gdic
.wxDC_LogicalToDeviceY
,(self
,) + _args
, _kwargs
)
721 def LogicalToDeviceYRel(self
, *_args
, **_kwargs
):
722 val
= apply(gdic
.wxDC_LogicalToDeviceYRel
,(self
,) + _args
, _kwargs
)
724 def MaxX(self
, *_args
, **_kwargs
):
725 val
= apply(gdic
.wxDC_MaxX
,(self
,) + _args
, _kwargs
)
727 def MaxY(self
, *_args
, **_kwargs
):
728 val
= apply(gdic
.wxDC_MaxY
,(self
,) + _args
, _kwargs
)
730 def MinX(self
, *_args
, **_kwargs
):
731 val
= apply(gdic
.wxDC_MinX
,(self
,) + _args
, _kwargs
)
733 def MinY(self
, *_args
, **_kwargs
):
734 val
= apply(gdic
.wxDC_MinY
,(self
,) + _args
, _kwargs
)
736 def Ok(self
, *_args
, **_kwargs
):
737 val
= apply(gdic
.wxDC_Ok
,(self
,) + _args
, _kwargs
)
739 def SetDeviceOrigin(self
, *_args
, **_kwargs
):
740 val
= apply(gdic
.wxDC_SetDeviceOrigin
,(self
,) + _args
, _kwargs
)
742 def SetBackground(self
, *_args
, **_kwargs
):
743 val
= apply(gdic
.wxDC_SetBackground
,(self
,) + _args
, _kwargs
)
745 def SetBackgroundMode(self
, *_args
, **_kwargs
):
746 val
= apply(gdic
.wxDC_SetBackgroundMode
,(self
,) + _args
, _kwargs
)
748 def SetClippingRegion(self
, *_args
, **_kwargs
):
749 val
= apply(gdic
.wxDC_SetClippingRegion
,(self
,) + _args
, _kwargs
)
751 def SetPalette(self
, *_args
, **_kwargs
):
752 val
= apply(gdic
.wxDC_SetPalette
,(self
,) + _args
, _kwargs
)
754 def SetBrush(self
, *_args
, **_kwargs
):
755 val
= apply(gdic
.wxDC_SetBrush
,(self
,) + _args
, _kwargs
)
757 def SetFont(self
, *_args
, **_kwargs
):
758 val
= apply(gdic
.wxDC_SetFont
,(self
,) + _args
, _kwargs
)
760 def SetLogicalFunction(self
, *_args
, **_kwargs
):
761 val
= apply(gdic
.wxDC_SetLogicalFunction
,(self
,) + _args
, _kwargs
)
763 def SetLogicalScale(self
, *_args
, **_kwargs
):
764 val
= apply(gdic
.wxDC_SetLogicalScale
,(self
,) + _args
, _kwargs
)
766 def SetMapMode(self
, *_args
, **_kwargs
):
767 val
= apply(gdic
.wxDC_SetMapMode
,(self
,) + _args
, _kwargs
)
769 def SetOptimization(self
, *_args
, **_kwargs
):
770 val
= apply(gdic
.wxDC_SetOptimization
,(self
,) + _args
, _kwargs
)
772 def SetPen(self
, *_args
, **_kwargs
):
773 val
= apply(gdic
.wxDC_SetPen
,(self
,) + _args
, _kwargs
)
775 def SetTextBackground(self
, *_args
, **_kwargs
):
776 val
= apply(gdic
.wxDC_SetTextBackground
,(self
,) + _args
, _kwargs
)
778 def SetTextForeground(self
, *_args
, **_kwargs
):
779 val
= apply(gdic
.wxDC_SetTextForeground
,(self
,) + _args
, _kwargs
)
781 def SetUserScale(self
, *_args
, **_kwargs
):
782 val
= apply(gdic
.wxDC_SetUserScale
,(self
,) + _args
, _kwargs
)
784 def StartDoc(self
, *_args
, **_kwargs
):
785 val
= apply(gdic
.wxDC_StartDoc
,(self
,) + _args
, _kwargs
)
787 def StartPage(self
, *_args
, **_kwargs
):
788 val
= apply(gdic
.wxDC_StartPage
,(self
,) + _args
, _kwargs
)
790 def DrawBitmap(self
, *_args
, **_kwargs
):
791 val
= apply(gdic
.wxDC_DrawBitmap
,(self
,) + _args
, _kwargs
)
793 def CanDrawBitmap(self
, *_args
, **_kwargs
):
794 val
= apply(gdic
.wxDC_CanDrawBitmap
,(self
,) + _args
, _kwargs
)
796 def CanGetTextExtent(self
, *_args
, **_kwargs
):
797 val
= apply(gdic
.wxDC_CanGetTextExtent
,(self
,) + _args
, _kwargs
)
799 def GetDepth(self
, *_args
, **_kwargs
):
800 val
= apply(gdic
.wxDC_GetDepth
,(self
,) + _args
, _kwargs
)
802 def GetPPI(self
, *_args
, **_kwargs
):
803 val
= apply(gdic
.wxDC_GetPPI
,(self
,) + _args
, _kwargs
)
804 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
806 def GetLogicalOrigin(self
, *_args
, **_kwargs
):
807 val
= apply(gdic
.wxDC_GetLogicalOrigin
,(self
,) + _args
, _kwargs
)
809 def SetLogicalOrigin(self
, *_args
, **_kwargs
):
810 val
= apply(gdic
.wxDC_SetLogicalOrigin
,(self
,) + _args
, _kwargs
)
812 def GetDeviceOrigin(self
, *_args
, **_kwargs
):
813 val
= apply(gdic
.wxDC_GetDeviceOrigin
,(self
,) + _args
, _kwargs
)
815 def SetAxisOrientation(self
, *_args
, **_kwargs
):
816 val
= apply(gdic
.wxDC_SetAxisOrientation
,(self
,) + _args
, _kwargs
)
818 def CalcBoundingBox(self
, *_args
, **_kwargs
):
819 val
= apply(gdic
.wxDC_CalcBoundingBox
,(self
,) + _args
, _kwargs
)
821 def ResetBoundingBox(self
, *_args
, **_kwargs
):
822 val
= apply(gdic
.wxDC_ResetBoundingBox
,(self
,) + _args
, _kwargs
)
825 return "<C wxDC instance at %s>" % (self
.this
,)
827 def __init__(self
,this
):
833 class wxMemoryDCPtr(wxDCPtr
):
834 def __init__(self
,this
):
837 def SelectObject(self
, *_args
, **_kwargs
):
838 val
= apply(gdic
.wxMemoryDC_SelectObject
,(self
,) + _args
, _kwargs
)
841 return "<C wxMemoryDC instance at %s>" % (self
.this
,)
842 class wxMemoryDC(wxMemoryDCPtr
):
843 def __init__(self
,*_args
,**_kwargs
):
844 self
.this
= apply(gdic
.new_wxMemoryDC
,_args
,_kwargs
)
850 class wxScreenDCPtr(wxDCPtr
):
851 def __init__(self
,this
):
854 def StartDrawingOnTopWin(self
, *_args
, **_kwargs
):
855 val
= apply(gdic
.wxScreenDC_StartDrawingOnTopWin
,(self
,) + _args
, _kwargs
)
857 def StartDrawingOnTop(self
, *_args
, **_kwargs
):
858 val
= apply(gdic
.wxScreenDC_StartDrawingOnTop
,(self
,) + _args
, _kwargs
)
860 def EndDrawingOnTop(self
, *_args
, **_kwargs
):
861 val
= apply(gdic
.wxScreenDC_EndDrawingOnTop
,(self
,) + _args
, _kwargs
)
864 return "<C wxScreenDC instance at %s>" % (self
.this
,)
865 class wxScreenDC(wxScreenDCPtr
):
866 def __init__(self
,*_args
,**_kwargs
):
867 self
.this
= apply(gdic
.new_wxScreenDC
,_args
,_kwargs
)
873 class wxClientDCPtr(wxDCPtr
):
874 def __init__(self
,this
):
878 return "<C wxClientDC instance at %s>" % (self
.this
,)
879 class wxClientDC(wxClientDCPtr
):
880 def __init__(self
,*_args
,**_kwargs
):
881 self
.this
= apply(gdic
.new_wxClientDC
,_args
,_kwargs
)
887 class wxPaintDCPtr(wxDCPtr
):
888 def __init__(self
,this
):
892 return "<C wxPaintDC instance at %s>" % (self
.this
,)
893 class wxPaintDC(wxPaintDCPtr
):
894 def __init__(self
,*_args
,**_kwargs
):
895 self
.this
= apply(gdic
.new_wxPaintDC
,_args
,_kwargs
)
901 class wxWindowDCPtr(wxDCPtr
):
902 def __init__(self
,this
):
906 return "<C wxWindowDC instance at %s>" % (self
.this
,)
907 class wxWindowDC(wxWindowDCPtr
):
908 def __init__(self
,*_args
,**_kwargs
):
909 self
.this
= apply(gdic
.new_wxWindowDC
,_args
,_kwargs
)
915 class wxMetaFileDCPtr(wxDCPtr
):
916 def __init__(self
,this
):
919 def Close(self
, *_args
, **_kwargs
):
920 val
= apply(gdic
.wxMetaFileDC_Close
,(self
,) + _args
, _kwargs
)
923 return "<C wxMetaFileDC instance at %s>" % (self
.this
,)
924 class wxMetaFileDC(wxMetaFileDCPtr
):
925 def __init__(self
,*_args
,**_kwargs
):
926 self
.this
= apply(gdic
.new_wxMetaFileDC
,_args
,_kwargs
)
932 class wxPalettePtr(wxGDIObjectPtr
):
933 def __init__(self
,this
):
936 def __del__(self
,gdic
=gdic
):
937 if self
.thisown
== 1 :
938 gdic
.delete_wxPalette(self
)
939 def GetPixel(self
, *_args
, **_kwargs
):
940 val
= apply(gdic
.wxPalette_GetPixel
,(self
,) + _args
, _kwargs
)
942 def GetRGB(self
, *_args
, **_kwargs
):
943 val
= apply(gdic
.wxPalette_GetRGB
,(self
,) + _args
, _kwargs
)
945 def Ok(self
, *_args
, **_kwargs
):
946 val
= apply(gdic
.wxPalette_Ok
,(self
,) + _args
, _kwargs
)
949 return "<C wxPalette instance at %s>" % (self
.this
,)
950 class wxPalette(wxPalettePtr
):
951 def __init__(self
,*_args
,**_kwargs
):
952 self
.this
= apply(gdic
.new_wxPalette
,_args
,_kwargs
)
958 class wxImageListPtr(wxObjectPtr
):
959 def __init__(self
,this
):
962 def __del__(self
,gdic
=gdic
):
963 if self
.thisown
== 1 :
964 gdic
.delete_wxImageList(self
)
965 def Add(self
, *_args
, **_kwargs
):
966 val
= apply(gdic
.wxImageList_Add
,(self
,) + _args
, _kwargs
)
968 def AddWithColourMask(self
, *_args
, **_kwargs
):
969 val
= apply(gdic
.wxImageList_AddWithColourMask
,(self
,) + _args
, _kwargs
)
971 def AddIcon(self
, *_args
, **_kwargs
):
972 val
= apply(gdic
.wxImageList_AddIcon
,(self
,) + _args
, _kwargs
)
974 def Replace(self
, *_args
, **_kwargs
):
975 val
= apply(gdic
.wxImageList_Replace
,(self
,) + _args
, _kwargs
)
977 def Draw(self
, *_args
, **_kwargs
):
978 val
= apply(gdic
.wxImageList_Draw
,(self
,) + _args
, _kwargs
)
980 def GetImageCount(self
, *_args
, **_kwargs
):
981 val
= apply(gdic
.wxImageList_GetImageCount
,(self
,) + _args
, _kwargs
)
983 def Remove(self
, *_args
, **_kwargs
):
984 val
= apply(gdic
.wxImageList_Remove
,(self
,) + _args
, _kwargs
)
986 def RemoveAll(self
, *_args
, **_kwargs
):
987 val
= apply(gdic
.wxImageList_RemoveAll
,(self
,) + _args
, _kwargs
)
989 def GetSize(self
, *_args
, **_kwargs
):
990 val
= apply(gdic
.wxImageList_GetSize
,(self
,) + _args
, _kwargs
)
993 return "<C wxImageList instance at %s>" % (self
.this
,)
994 class wxImageList(wxImageListPtr
):
995 def __init__(self
,*_args
,**_kwargs
):
996 self
.this
= apply(gdic
.new_wxImageList
,_args
,_kwargs
)
1002 class wxRegionPtr(wxGDIObjectPtr
):
1003 def __init__(self
,this
):
1006 def __del__(self
,gdic
=gdic
):
1007 if self
.thisown
== 1 :
1008 gdic
.delete_wxRegion(self
)
1009 def Clear(self
, *_args
, **_kwargs
):
1010 val
= apply(gdic
.wxRegion_Clear
,(self
,) + _args
, _kwargs
)
1012 def Contains(self
, *_args
, **_kwargs
):
1013 val
= apply(gdic
.wxRegion_Contains
,(self
,) + _args
, _kwargs
)
1015 def ContainsPoint(self
, *_args
, **_kwargs
):
1016 val
= apply(gdic
.wxRegion_ContainsPoint
,(self
,) + _args
, _kwargs
)
1018 def ContainsRect(self
, *_args
, **_kwargs
):
1019 val
= apply(gdic
.wxRegion_ContainsRect
,(self
,) + _args
, _kwargs
)
1021 def ContainsRectDim(self
, *_args
, **_kwargs
):
1022 val
= apply(gdic
.wxRegion_ContainsRectDim
,(self
,) + _args
, _kwargs
)
1024 def GetBox(self
, *_args
, **_kwargs
):
1025 val
= apply(gdic
.wxRegion_GetBox
,(self
,) + _args
, _kwargs
)
1026 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1028 def Intersect(self
, *_args
, **_kwargs
):
1029 val
= apply(gdic
.wxRegion_Intersect
,(self
,) + _args
, _kwargs
)
1031 def IntersectRect(self
, *_args
, **_kwargs
):
1032 val
= apply(gdic
.wxRegion_IntersectRect
,(self
,) + _args
, _kwargs
)
1034 def IntersectRegion(self
, *_args
, **_kwargs
):
1035 val
= apply(gdic
.wxRegion_IntersectRegion
,(self
,) + _args
, _kwargs
)
1037 def IsEmpty(self
, *_args
, **_kwargs
):
1038 val
= apply(gdic
.wxRegion_IsEmpty
,(self
,) + _args
, _kwargs
)
1040 def Union(self
, *_args
, **_kwargs
):
1041 val
= apply(gdic
.wxRegion_Union
,(self
,) + _args
, _kwargs
)
1043 def UnionRect(self
, *_args
, **_kwargs
):
1044 val
= apply(gdic
.wxRegion_UnionRect
,(self
,) + _args
, _kwargs
)
1046 def UnionRegion(self
, *_args
, **_kwargs
):
1047 val
= apply(gdic
.wxRegion_UnionRegion
,(self
,) + _args
, _kwargs
)
1049 def Subtract(self
, *_args
, **_kwargs
):
1050 val
= apply(gdic
.wxRegion_Subtract
,(self
,) + _args
, _kwargs
)
1052 def SubtractRect(self
, *_args
, **_kwargs
):
1053 val
= apply(gdic
.wxRegion_SubtractRect
,(self
,) + _args
, _kwargs
)
1055 def SubtractRegion(self
, *_args
, **_kwargs
):
1056 val
= apply(gdic
.wxRegion_SubtractRegion
,(self
,) + _args
, _kwargs
)
1058 def Xor(self
, *_args
, **_kwargs
):
1059 val
= apply(gdic
.wxRegion_Xor
,(self
,) + _args
, _kwargs
)
1061 def XorRect(self
, *_args
, **_kwargs
):
1062 val
= apply(gdic
.wxRegion_XorRect
,(self
,) + _args
, _kwargs
)
1064 def XorRegion(self
, *_args
, **_kwargs
):
1065 val
= apply(gdic
.wxRegion_XorRegion
,(self
,) + _args
, _kwargs
)
1068 return "<C wxRegion instance at %s>" % (self
.this
,)
1069 class wxRegion(wxRegionPtr
):
1070 def __init__(self
,*_args
,**_kwargs
):
1071 self
.this
= apply(gdic
.new_wxRegion
,_args
,_kwargs
)
1077 class wxRegionIteratorPtr(wxObjectPtr
):
1078 def __init__(self
,this
):
1081 def __del__(self
,gdic
=gdic
):
1082 if self
.thisown
== 1 :
1083 gdic
.delete_wxRegionIterator(self
)
1084 def GetX(self
, *_args
, **_kwargs
):
1085 val
= apply(gdic
.wxRegionIterator_GetX
,(self
,) + _args
, _kwargs
)
1087 def GetY(self
, *_args
, **_kwargs
):
1088 val
= apply(gdic
.wxRegionIterator_GetY
,(self
,) + _args
, _kwargs
)
1090 def GetW(self
, *_args
, **_kwargs
):
1091 val
= apply(gdic
.wxRegionIterator_GetW
,(self
,) + _args
, _kwargs
)
1093 def GetWidth(self
, *_args
, **_kwargs
):
1094 val
= apply(gdic
.wxRegionIterator_GetWidth
,(self
,) + _args
, _kwargs
)
1096 def GetH(self
, *_args
, **_kwargs
):
1097 val
= apply(gdic
.wxRegionIterator_GetH
,(self
,) + _args
, _kwargs
)
1099 def GetHeight(self
, *_args
, **_kwargs
):
1100 val
= apply(gdic
.wxRegionIterator_GetHeight
,(self
,) + _args
, _kwargs
)
1102 def GetRect(self
, *_args
, **_kwargs
):
1103 val
= apply(gdic
.wxRegionIterator_GetRect
,(self
,) + _args
, _kwargs
)
1104 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1106 def HaveRects(self
, *_args
, **_kwargs
):
1107 val
= apply(gdic
.wxRegionIterator_HaveRects
,(self
,) + _args
, _kwargs
)
1109 def Reset(self
, *_args
, **_kwargs
):
1110 val
= apply(gdic
.wxRegionIterator_Reset
,(self
,) + _args
, _kwargs
)
1112 def Next(self
, *_args
, **_kwargs
):
1113 val
= apply(gdic
.wxRegionIterator_Next
,(self
,) + _args
, _kwargs
)
1116 return "<C wxRegionIterator instance at %s>" % (self
.this
,)
1117 class wxRegionIterator(wxRegionIteratorPtr
):
1118 def __init__(self
,*_args
,**_kwargs
):
1119 self
.this
= apply(gdic
.new_wxRegionIterator
,_args
,_kwargs
)
1127 #-------------- FUNCTION WRAPPERS ------------------
1129 def wxEmptyBitmap(*_args
, **_kwargs
):
1130 val
= apply(gdic
.wxEmptyBitmap
,_args
,_kwargs
)
1131 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1134 def wxBitmapFromXPMData(*_args
, **_kwargs
):
1135 val
= apply(gdic
.wxBitmapFromXPMData
,_args
,_kwargs
)
1136 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1139 def wxBitmapFromIcon(*_args
, **_kwargs
):
1140 val
= apply(gdic
.wxBitmapFromIcon
,_args
,_kwargs
)
1141 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1144 def wxBitmapFromBits(*_args
, **_kwargs
):
1145 val
= apply(gdic
.wxBitmapFromBits
,_args
,_kwargs
)
1146 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1149 def wxMaskColour(*_args
, **_kwargs
):
1150 val
= apply(gdic
.wxMaskColour
,_args
,_kwargs
)
1151 if val
: val
= wxMaskPtr(val
); val
.thisown
= 1
1154 def wxEmptyIcon(*_args
, **_kwargs
):
1155 val
= apply(gdic
.wxEmptyIcon
,_args
,_kwargs
)
1156 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1159 def wxIconFromXPMData(*_args
, **_kwargs
):
1160 val
= apply(gdic
.wxIconFromXPMData
,_args
,_kwargs
)
1161 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1164 def wxStockCursor(*_args
, **_kwargs
):
1165 val
= apply(gdic
.wxStockCursor
,_args
,_kwargs
)
1166 if val
: val
= wxCursorPtr(val
); val
.thisown
= 1
1169 wxFont_GetDefaultEncoding
= gdic
.wxFont_GetDefaultEncoding
1171 wxFont_SetDefaultEncoding
= gdic
.wxFont_SetDefaultEncoding
1173 def wxNamedColour(*_args
, **_kwargs
):
1174 val
= apply(gdic
.wxNamedColour
,_args
,_kwargs
)
1175 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1178 def wxMemoryDCFromDC(*_args
, **_kwargs
):
1179 val
= apply(gdic
.wxMemoryDCFromDC
,_args
,_kwargs
)
1180 if val
: val
= wxMemoryDCPtr(val
); val
.thisown
= 1
1185 #-------------- VARIABLE WRAPPERS ------------------
1187 wxFONTENCODING_SYSTEM
= gdic
.wxFONTENCODING_SYSTEM
1188 wxFONTENCODING_DEFAULT
= gdic
.wxFONTENCODING_DEFAULT
1189 wxFONTENCODING_ISO8859_1
= gdic
.wxFONTENCODING_ISO8859_1
1190 wxFONTENCODING_ISO8859_2
= gdic
.wxFONTENCODING_ISO8859_2
1191 wxFONTENCODING_ISO8859_3
= gdic
.wxFONTENCODING_ISO8859_3
1192 wxFONTENCODING_ISO8859_4
= gdic
.wxFONTENCODING_ISO8859_4
1193 wxFONTENCODING_ISO8859_5
= gdic
.wxFONTENCODING_ISO8859_5
1194 wxFONTENCODING_ISO8859_6
= gdic
.wxFONTENCODING_ISO8859_6
1195 wxFONTENCODING_ISO8859_7
= gdic
.wxFONTENCODING_ISO8859_7
1196 wxFONTENCODING_ISO8859_8
= gdic
.wxFONTENCODING_ISO8859_8
1197 wxFONTENCODING_ISO8859_9
= gdic
.wxFONTENCODING_ISO8859_9
1198 wxFONTENCODING_ISO8859_10
= gdic
.wxFONTENCODING_ISO8859_10
1199 wxFONTENCODING_ISO8859_11
= gdic
.wxFONTENCODING_ISO8859_11
1200 wxFONTENCODING_ISO8859_12
= gdic
.wxFONTENCODING_ISO8859_12
1201 wxFONTENCODING_ISO8859_13
= gdic
.wxFONTENCODING_ISO8859_13
1202 wxFONTENCODING_ISO8859_14
= gdic
.wxFONTENCODING_ISO8859_14
1203 wxFONTENCODING_ISO8859_15
= gdic
.wxFONTENCODING_ISO8859_15
1204 wxFONTENCODING_KOI8
= gdic
.wxFONTENCODING_KOI8
1205 wxFONTENCODING_ALTERNATIVE
= gdic
.wxFONTENCODING_ALTERNATIVE
1206 wxFONTENCODING_BULGARIAN
= gdic
.wxFONTENCODING_BULGARIAN
1207 wxFONTENCODING_CP437
= gdic
.wxFONTENCODING_CP437
1208 wxFONTENCODING_CP850
= gdic
.wxFONTENCODING_CP850
1209 wxFONTENCODING_CP852
= gdic
.wxFONTENCODING_CP852
1210 wxFONTENCODING_CP855
= gdic
.wxFONTENCODING_CP855
1211 wxFONTENCODING_CP866
= gdic
.wxFONTENCODING_CP866
1212 wxFONTENCODING_CP1250
= gdic
.wxFONTENCODING_CP1250
1213 wxFONTENCODING_CP1251
= gdic
.wxFONTENCODING_CP1251
1214 wxFONTENCODING_CP1252
= gdic
.wxFONTENCODING_CP1252
1215 wxFONTENCODING_MAX
= gdic
.wxFONTENCODING_MAX
1217 wxNORMAL_FONT
= wxFontPtr(gdic
.cvar
.wxNORMAL_FONT
)
1218 wxSMALL_FONT
= wxFontPtr(gdic
.cvar
.wxSMALL_FONT
)
1219 wxITALIC_FONT
= wxFontPtr(gdic
.cvar
.wxITALIC_FONT
)
1220 wxSWISS_FONT
= wxFontPtr(gdic
.cvar
.wxSWISS_FONT
)
1221 wxRED_PEN
= wxPenPtr(gdic
.cvar
.wxRED_PEN
)
1222 wxCYAN_PEN
= wxPenPtr(gdic
.cvar
.wxCYAN_PEN
)
1223 wxGREEN_PEN
= wxPenPtr(gdic
.cvar
.wxGREEN_PEN
)
1224 wxBLACK_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_PEN
)
1225 wxWHITE_PEN
= wxPenPtr(gdic
.cvar
.wxWHITE_PEN
)
1226 wxTRANSPARENT_PEN
= wxPenPtr(gdic
.cvar
.wxTRANSPARENT_PEN
)
1227 wxBLACK_DASHED_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_DASHED_PEN
)
1228 wxGREY_PEN
= wxPenPtr(gdic
.cvar
.wxGREY_PEN
)
1229 wxMEDIUM_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxMEDIUM_GREY_PEN
)
1230 wxLIGHT_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxLIGHT_GREY_PEN
)
1231 wxBLUE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLUE_BRUSH
)
1232 wxGREEN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREEN_BRUSH
)
1233 wxWHITE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxWHITE_BRUSH
)
1234 wxBLACK_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLACK_BRUSH
)
1235 wxTRANSPARENT_BRUSH
= wxBrushPtr(gdic
.cvar
.wxTRANSPARENT_BRUSH
)
1236 wxCYAN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxCYAN_BRUSH
)
1237 wxRED_BRUSH
= wxBrushPtr(gdic
.cvar
.wxRED_BRUSH
)
1238 wxGREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREY_BRUSH
)
1239 wxMEDIUM_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxMEDIUM_GREY_BRUSH
)
1240 wxLIGHT_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxLIGHT_GREY_BRUSH
)
1241 wxBLACK
= wxColourPtr(gdic
.cvar
.wxBLACK
)
1242 wxWHITE
= wxColourPtr(gdic
.cvar
.wxWHITE
)
1243 wxRED
= wxColourPtr(gdic
.cvar
.wxRED
)
1244 wxBLUE
= wxColourPtr(gdic
.cvar
.wxBLUE
)
1245 wxGREEN
= wxColourPtr(gdic
.cvar
.wxGREEN
)
1246 wxCYAN
= wxColourPtr(gdic
.cvar
.wxCYAN
)
1247 wxLIGHT_GREY
= wxColourPtr(gdic
.cvar
.wxLIGHT_GREY
)
1248 wxSTANDARD_CURSOR
= wxCursorPtr(gdic
.cvar
.wxSTANDARD_CURSOR
)
1249 wxHOURGLASS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxHOURGLASS_CURSOR
)
1250 wxCROSS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxCROSS_CURSOR
)
1251 wxNullBitmap
= wxBitmapPtr(gdic
.cvar
.wxNullBitmap
)
1252 wxNullIcon
= wxIconPtr(gdic
.cvar
.wxNullIcon
)
1253 wxNullCursor
= wxCursorPtr(gdic
.cvar
.wxNullCursor
)
1254 wxNullPen
= wxPenPtr(gdic
.cvar
.wxNullPen
)
1255 wxNullBrush
= wxBrushPtr(gdic
.cvar
.wxNullBrush
)
1256 wxNullPalette
= wxPalettePtr(gdic
.cvar
.wxNullPalette
)
1257 wxNullFont
= wxFontPtr(gdic
.cvar
.wxNullFont
)
1258 wxNullColour
= wxColourPtr(gdic
.cvar
.wxNullColour
)
1259 wxTheFontList
= wxFontListPtr(gdic
.cvar
.wxTheFontList
)
1260 wxThePenList
= wxPenListPtr(gdic
.cvar
.wxThePenList
)
1261 wxTheColourDatabase
= wxColourDatabasePtr(gdic
.cvar
.wxTheColourDatabase
)
1262 wxIMAGELIST_DRAW_NORMAL
= gdic
.wxIMAGELIST_DRAW_NORMAL
1263 wxIMAGELIST_DRAW_TRANSPARENT
= gdic
.wxIMAGELIST_DRAW_TRANSPARENT
1264 wxIMAGELIST_DRAW_SELECTED
= gdic
.wxIMAGELIST_DRAW_SELECTED
1265 wxIMAGELIST_DRAW_FOCUSED
= gdic
.wxIMAGELIST_DRAW_FOCUSED
1266 wxIMAGE_LIST_NORMAL
= gdic
.wxIMAGE_LIST_NORMAL
1267 wxIMAGE_LIST_SMALL
= gdic
.wxIMAGE_LIST_SMALL
1268 wxIMAGE_LIST_STATE
= gdic
.wxIMAGE_LIST_STATE
1269 wxOutRegion
= gdic
.wxOutRegion
1270 wxPartRegion
= gdic
.wxPartRegion
1271 wxInRegion
= gdic
.wxInRegion