1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
8 #---------------------------------------------------------------------------
10 class GDIObject(core
.Object
):
11 def __init__(self
, *args
, **kwargs
):
12 newobj
= _gdi
.new_GDIObject(*args
, **kwargs
)
13 self
.this
= newobj
.this
16 def __del__(self
, destroy
=_gdi
.delete_GDIObject
):
18 if self
.thisown
: destroy(self
)
20 def GetVisible(*args
, **kwargs
): return _gdi
.GDIObject_GetVisible(*args
, **kwargs
)
21 def SetVisible(*args
, **kwargs
): return _gdi
.GDIObject_SetVisible(*args
, **kwargs
)
22 def IsNull(*args
, **kwargs
): return _gdi
.GDIObject_IsNull(*args
, **kwargs
)
24 return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
26 class GDIObjectPtr(GDIObject
):
27 def __init__(self
, this
):
29 if not hasattr(self
,"thisown"): self
.thisown
= 0
30 self
.__class
__ = GDIObject
31 _gdi
.GDIObject_swigregister(GDIObjectPtr
)
33 #---------------------------------------------------------------------------
35 class Colour(core
.Object
):
36 def __init__(self
, *args
, **kwargs
):
37 newobj
= _gdi
.new_Colour(*args
, **kwargs
)
38 self
.this
= newobj
.this
41 def __del__(self
, destroy
=_gdi
.delete_Colour
):
43 if self
.thisown
: destroy(self
)
45 def Red(*args
, **kwargs
): return _gdi
.Colour_Red(*args
, **kwargs
)
46 def Green(*args
, **kwargs
): return _gdi
.Colour_Green(*args
, **kwargs
)
47 def Blue(*args
, **kwargs
): return _gdi
.Colour_Blue(*args
, **kwargs
)
48 def Ok(*args
, **kwargs
): return _gdi
.Colour_Ok(*args
, **kwargs
)
49 def Set(*args
, **kwargs
): return _gdi
.Colour_Set(*args
, **kwargs
)
50 def SetRBG(*args
, **kwargs
): return _gdi
.Colour_SetRBG(*args
, **kwargs
)
51 def __eq__(*args
, **kwargs
): return _gdi
.Colour___eq__(*args
, **kwargs
)
52 def __ne__(*args
, **kwargs
): return _gdi
.Colour___ne__(*args
, **kwargs
)
53 def Get(*args
, **kwargs
): return _gdi
.Colour_Get(*args
, **kwargs
)
55 def __str__(self
): return str(self
.asTuple())
56 def __repr__(self
): return 'wxColour' + str(self
.asTuple())
57 def __nonzero__(self
): return self
.Ok()
58 def __getinitargs__(self
): return ()
59 def __getstate__(self
): return self
.asTuple()
60 def __setstate__(self
, state
): self
.Set(*state
)
63 class ColourPtr(Colour
):
64 def __init__(self
, this
):
66 if not hasattr(self
,"thisown"): self
.thisown
= 0
67 self
.__class
__ = Colour
68 _gdi
.Colour_swigregister(ColourPtr
)
70 def NamedColour(*args
, **kwargs
):
71 val
= _gdi
.new_NamedColour(*args
, **kwargs
)
75 def ColourRGB(*args
, **kwargs
):
76 val
= _gdi
.new_ColourRGB(*args
, **kwargs
)
80 class Palette(GDIObject
):
81 def __init__(self
, *args
, **kwargs
):
82 newobj
= _gdi
.new_Palette(*args
, **kwargs
)
83 self
.this
= newobj
.this
86 def __del__(self
, destroy
=_gdi
.delete_Palette
):
88 if self
.thisown
: destroy(self
)
90 def GetPixel(*args
, **kwargs
): return _gdi
.Palette_GetPixel(*args
, **kwargs
)
91 def GetRGB(*args
, **kwargs
): return _gdi
.Palette_GetRGB(*args
, **kwargs
)
92 def Ok(*args
, **kwargs
): return _gdi
.Palette_Ok(*args
, **kwargs
)
94 return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
96 class PalettePtr(Palette
):
97 def __init__(self
, this
):
99 if not hasattr(self
,"thisown"): self
.thisown
= 0
100 self
.__class
__ = Palette
101 _gdi
.Palette_swigregister(PalettePtr
)
103 #---------------------------------------------------------------------------
105 class Pen(GDIObject
):
106 def __init__(self
, *args
, **kwargs
):
107 newobj
= _gdi
.new_Pen(*args
, **kwargs
)
108 self
.this
= newobj
.this
111 def __del__(self
, destroy
=_gdi
.delete_Pen
):
113 if self
.thisown
: destroy(self
)
115 def GetCap(*args
, **kwargs
): return _gdi
.Pen_GetCap(*args
, **kwargs
)
116 def GetColour(*args
, **kwargs
): return _gdi
.Pen_GetColour(*args
, **kwargs
)
117 def GetJoin(*args
, **kwargs
): return _gdi
.Pen_GetJoin(*args
, **kwargs
)
118 def GetStyle(*args
, **kwargs
): return _gdi
.Pen_GetStyle(*args
, **kwargs
)
119 def GetWidth(*args
, **kwargs
): return _gdi
.Pen_GetWidth(*args
, **kwargs
)
120 def Ok(*args
, **kwargs
): return _gdi
.Pen_Ok(*args
, **kwargs
)
121 def SetCap(*args
, **kwargs
): return _gdi
.Pen_SetCap(*args
, **kwargs
)
122 def SetColour(*args
, **kwargs
): return _gdi
.Pen_SetColour(*args
, **kwargs
)
123 def SetJoin(*args
, **kwargs
): return _gdi
.Pen_SetJoin(*args
, **kwargs
)
124 def SetStyle(*args
, **kwargs
): return _gdi
.Pen_SetStyle(*args
, **kwargs
)
125 def SetWidth(*args
, **kwargs
): return _gdi
.Pen_SetWidth(*args
, **kwargs
)
126 def SetDashes(*args
, **kwargs
): return _gdi
.Pen_SetDashes(*args
, **kwargs
)
127 def GetDashes(*args
, **kwargs
): return _gdi
.Pen_GetDashes(*args
, **kwargs
)
128 def __nonzero__(self
): return self
.Ok()
130 return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
133 def __init__(self
, this
):
135 if not hasattr(self
,"thisown"): self
.thisown
= 0
137 _gdi
.Pen_swigregister(PenPtr
)
140 def __init__(self
, *args
, **kwargs
):
141 newobj
= _gdi
.new_PyPen(*args
, **kwargs
)
142 self
.this
= newobj
.this
145 def __del__(self
, destroy
=_gdi
.delete_PyPen
):
147 if self
.thisown
: destroy(self
)
149 def SetDashes(*args
, **kwargs
): return _gdi
.PyPen_SetDashes(*args
, **kwargs
)
151 return "<%s.%s; proxy of C++ wxPyPen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
153 class PyPenPtr(PyPen
):
154 def __init__(self
, this
):
156 if not hasattr(self
,"thisown"): self
.thisown
= 0
157 self
.__class
__ = PyPen
158 _gdi
.PyPen_swigregister(PyPenPtr
)
161 #---------------------------------------------------------------------------
163 class Brush(GDIObject
):
164 def __init__(self
, *args
, **kwargs
):
165 newobj
= _gdi
.new_Brush(*args
, **kwargs
)
166 self
.this
= newobj
.this
169 def __del__(self
, destroy
=_gdi
.delete_Brush
):
171 if self
.thisown
: destroy(self
)
173 def SetColour(*args
, **kwargs
): return _gdi
.Brush_SetColour(*args
, **kwargs
)
174 def SetStyle(*args
, **kwargs
): return _gdi
.Brush_SetStyle(*args
, **kwargs
)
175 def SetStipple(*args
, **kwargs
): return _gdi
.Brush_SetStipple(*args
, **kwargs
)
176 def GetColour(*args
, **kwargs
): return _gdi
.Brush_GetColour(*args
, **kwargs
)
177 def GetStyle(*args
, **kwargs
): return _gdi
.Brush_GetStyle(*args
, **kwargs
)
178 def GetStipple(*args
, **kwargs
): return _gdi
.Brush_GetStipple(*args
, **kwargs
)
179 def Ok(*args
, **kwargs
): return _gdi
.Brush_Ok(*args
, **kwargs
)
180 def GetMacTheme(*args
, **kwargs
): return _gdi
.Brush_GetMacTheme(*args
, **kwargs
)
181 def SetMacTheme(*args
, **kwargs
): return _gdi
.Brush_SetMacTheme(*args
, **kwargs
)
182 def __nonzero__(self
): return self
.Ok()
184 return "<%s.%s; proxy of C++ wxBrush instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
186 class BrushPtr(Brush
):
187 def __init__(self
, this
):
189 if not hasattr(self
,"thisown"): self
.thisown
= 0
190 self
.__class
__ = Brush
191 _gdi
.Brush_swigregister(BrushPtr
)
193 class Bitmap(GDIObject
):
194 def __init__(self
, *args
, **kwargs
):
195 newobj
= _gdi
.new_Bitmap(*args
, **kwargs
)
196 self
.this
= newobj
.this
199 def __del__(self
, destroy
=_gdi
.delete_Bitmap
):
201 if self
.thisown
: destroy(self
)
203 def Ok(*args
, **kwargs
): return _gdi
.Bitmap_Ok(*args
, **kwargs
)
204 def GetWidth(*args
, **kwargs
): return _gdi
.Bitmap_GetWidth(*args
, **kwargs
)
205 def GetHeight(*args
, **kwargs
): return _gdi
.Bitmap_GetHeight(*args
, **kwargs
)
206 def GetDepth(*args
, **kwargs
): return _gdi
.Bitmap_GetDepth(*args
, **kwargs
)
207 def ConvertToImage(*args
, **kwargs
): return _gdi
.Bitmap_ConvertToImage(*args
, **kwargs
)
208 def GetMask(*args
, **kwargs
): return _gdi
.Bitmap_GetMask(*args
, **kwargs
)
209 def SetMask(*args
, **kwargs
): return _gdi
.Bitmap_SetMask(*args
, **kwargs
)
210 def SetMaskColour(*args
, **kwargs
): return _gdi
.Bitmap_SetMaskColour(*args
, **kwargs
)
211 def GetSubBitmap(*args
, **kwargs
): return _gdi
.Bitmap_GetSubBitmap(*args
, **kwargs
)
212 def SaveFile(*args
, **kwargs
): return _gdi
.Bitmap_SaveFile(*args
, **kwargs
)
213 def LoadFile(*args
, **kwargs
): return _gdi
.Bitmap_LoadFile(*args
, **kwargs
)
214 def CopyFromIcon(*args
, **kwargs
): return _gdi
.Bitmap_CopyFromIcon(*args
, **kwargs
)
215 def SetHeight(*args
, **kwargs
): return _gdi
.Bitmap_SetHeight(*args
, **kwargs
)
216 def SetWidth(*args
, **kwargs
): return _gdi
.Bitmap_SetWidth(*args
, **kwargs
)
217 def SetDepth(*args
, **kwargs
): return _gdi
.Bitmap_SetDepth(*args
, **kwargs
)
218 def __nonzero__(self
): return self
.Ok()
220 return "<%s.%s; proxy of C++ wxBitmap instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
222 class BitmapPtr(Bitmap
):
223 def __init__(self
, this
):
225 if not hasattr(self
,"thisown"): self
.thisown
= 0
226 self
.__class
__ = Bitmap
227 _gdi
.Bitmap_swigregister(BitmapPtr
)
229 def EmptyBitmap(*args
, **kwargs
):
230 val
= _gdi
.new_EmptyBitmap(*args
, **kwargs
)
234 def BitmapFromIcon(*args
, **kwargs
):
235 val
= _gdi
.new_BitmapFromIcon(*args
, **kwargs
)
239 def BitmapFromImage(*args
, **kwargs
):
240 val
= _gdi
.new_BitmapFromImage(*args
, **kwargs
)
244 def BitmapFromXPMData(*args
, **kwargs
):
245 val
= _gdi
.new_BitmapFromXPMData(*args
, **kwargs
)
249 def BitmapFromBits(*args
, **kwargs
):
250 val
= _gdi
.new_BitmapFromBits(*args
, **kwargs
)
254 class Mask(core
.Object
):
255 def __init__(self
, *args
, **kwargs
):
256 newobj
= _gdi
.new_Mask(*args
, **kwargs
)
257 self
.this
= newobj
.this
261 return "<%s.%s; proxy of C++ wxMask instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
264 def __init__(self
, this
):
266 if not hasattr(self
,"thisown"): self
.thisown
= 0
267 self
.__class
__ = Mask
268 _gdi
.Mask_swigregister(MaskPtr
)
270 def MaskColour(*args
, **kwargs
):
271 val
= _gdi
.new_MaskColour(*args
, **kwargs
)
275 class Icon(GDIObject
):
276 def __init__(self
, *args
, **kwargs
):
277 newobj
= _gdi
.new_Icon(*args
, **kwargs
)
278 self
.this
= newobj
.this
281 def __del__(self
, destroy
=_gdi
.delete_Icon
):
283 if self
.thisown
: destroy(self
)
285 def Ok(*args
, **kwargs
): return _gdi
.Icon_Ok(*args
, **kwargs
)
286 def GetWidth(*args
, **kwargs
): return _gdi
.Icon_GetWidth(*args
, **kwargs
)
287 def GetHeight(*args
, **kwargs
): return _gdi
.Icon_GetHeight(*args
, **kwargs
)
288 def GetDepth(*args
, **kwargs
): return _gdi
.Icon_GetDepth(*args
, **kwargs
)
289 def SetWidth(*args
, **kwargs
): return _gdi
.Icon_SetWidth(*args
, **kwargs
)
290 def SetHeight(*args
, **kwargs
): return _gdi
.Icon_SetHeight(*args
, **kwargs
)
291 def SetDepth(*args
, **kwargs
): return _gdi
.Icon_SetDepth(*args
, **kwargs
)
292 def CopyFromBitmap(*args
, **kwargs
): return _gdi
.Icon_CopyFromBitmap(*args
, **kwargs
)
293 def __nonzero__(self
): return self
.Ok()
295 return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
298 def __init__(self
, this
):
300 if not hasattr(self
,"thisown"): self
.thisown
= 0
301 self
.__class
__ = Icon
302 _gdi
.Icon_swigregister(IconPtr
)
304 def EmptyIcon(*args
, **kwargs
):
305 val
= _gdi
.new_EmptyIcon(*args
, **kwargs
)
309 def IconFromLocation(*args
, **kwargs
):
310 val
= _gdi
.new_IconFromLocation(*args
, **kwargs
)
314 def IconFromBitmap(*args
, **kwargs
):
315 val
= _gdi
.new_IconFromBitmap(*args
, **kwargs
)
319 def IconFromXPMData(*args
, **kwargs
):
320 val
= _gdi
.new_IconFromXPMData(*args
, **kwargs
)
324 class IconLocation(object):
325 def __init__(self
, *args
, **kwargs
):
326 newobj
= _gdi
.new_IconLocation(*args
, **kwargs
)
327 self
.this
= newobj
.this
330 def __del__(self
, destroy
=_gdi
.delete_IconLocation
):
332 if self
.thisown
: destroy(self
)
334 def IsOk(*args
, **kwargs
): return _gdi
.IconLocation_IsOk(*args
, **kwargs
)
335 def __nonzero__(self
): return self
.Ok()
336 def SetFileName(*args
, **kwargs
): return _gdi
.IconLocation_SetFileName(*args
, **kwargs
)
337 def GetFileName(*args
, **kwargs
): return _gdi
.IconLocation_GetFileName(*args
, **kwargs
)
338 def SetIndex(*args
, **kwargs
): return _gdi
.IconLocation_SetIndex(*args
, **kwargs
)
339 def GetIndex(*args
, **kwargs
): return _gdi
.IconLocation_GetIndex(*args
, **kwargs
)
341 return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
343 class IconLocationPtr(IconLocation
):
344 def __init__(self
, this
):
346 if not hasattr(self
,"thisown"): self
.thisown
= 0
347 self
.__class
__ = IconLocation
348 _gdi
.IconLocation_swigregister(IconLocationPtr
)
350 class IconBundle(object):
351 def __init__(self
, *args
, **kwargs
):
352 newobj
= _gdi
.new_IconBundle(*args
, **kwargs
)
353 self
.this
= newobj
.this
356 def __del__(self
, destroy
=_gdi
.delete_IconBundle
):
358 if self
.thisown
: destroy(self
)
360 def AddIcon(*args
, **kwargs
): return _gdi
.IconBundle_AddIcon(*args
, **kwargs
)
361 def AddIconFromFile(*args
, **kwargs
): return _gdi
.IconBundle_AddIconFromFile(*args
, **kwargs
)
362 def GetIcon(*args
, **kwargs
): return _gdi
.IconBundle_GetIcon(*args
, **kwargs
)
364 return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
366 class IconBundlePtr(IconBundle
):
367 def __init__(self
, this
):
369 if not hasattr(self
,"thisown"): self
.thisown
= 0
370 self
.__class
__ = IconBundle
371 _gdi
.IconBundle_swigregister(IconBundlePtr
)
373 def IconBundleFromFile(*args
, **kwargs
):
374 val
= _gdi
.new_IconBundleFromFile(*args
, **kwargs
)
378 def IconBundleFromIcon(*args
, **kwargs
):
379 val
= _gdi
.new_IconBundleFromIcon(*args
, **kwargs
)
383 class Cursor(GDIObject
):
384 def __init__(self
, *args
, **kwargs
):
385 newobj
= _gdi
.new_Cursor(*args
, **kwargs
)
386 self
.this
= newobj
.this
389 def __del__(self
, destroy
=_gdi
.delete_Cursor
):
391 if self
.thisown
: destroy(self
)
393 def Ok(*args
, **kwargs
): return _gdi
.Cursor_Ok(*args
, **kwargs
)
394 def __nonzero__(self
): return self
.Ok()
396 return "<%s.%s; proxy of C++ wxCursor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
398 class CursorPtr(Cursor
):
399 def __init__(self
, this
):
401 if not hasattr(self
,"thisown"): self
.thisown
= 0
402 self
.__class
__ = Cursor
403 _gdi
.Cursor_swigregister(CursorPtr
)
405 def StockCursor(*args
, **kwargs
):
406 val
= _gdi
.new_StockCursor(*args
, **kwargs
)
410 def CursorFromImage(*args
, **kwargs
):
411 val
= _gdi
.new_CursorFromImage(*args
, **kwargs
)
415 def CursorFromBits(*args
, **kwargs
):
416 val
= _gdi
.new_CursorFromBits(*args
, **kwargs
)
420 #---------------------------------------------------------------------------
422 OutRegion
= _gdi
.OutRegion
423 PartRegion
= _gdi
.PartRegion
424 InRegion
= _gdi
.InRegion
425 class Region(GDIObject
):
426 def __init__(self
, *args
, **kwargs
):
427 newobj
= _gdi
.new_Region(*args
, **kwargs
)
428 self
.this
= newobj
.this
431 def __del__(self
, destroy
=_gdi
.delete_Region
):
433 if self
.thisown
: destroy(self
)
435 def Clear(*args
, **kwargs
): return _gdi
.Region_Clear(*args
, **kwargs
)
436 def Contains(*args
, **kwargs
): return _gdi
.Region_Contains(*args
, **kwargs
)
437 def ContainsPoint(*args
, **kwargs
): return _gdi
.Region_ContainsPoint(*args
, **kwargs
)
438 def ContainsRect(*args
, **kwargs
): return _gdi
.Region_ContainsRect(*args
, **kwargs
)
439 def ContainsRectDim(*args
, **kwargs
): return _gdi
.Region_ContainsRectDim(*args
, **kwargs
)
440 def GetBox(*args
, **kwargs
): return _gdi
.Region_GetBox(*args
, **kwargs
)
441 def Intersect(*args
, **kwargs
): return _gdi
.Region_Intersect(*args
, **kwargs
)
442 def IntersectRect(*args
, **kwargs
): return _gdi
.Region_IntersectRect(*args
, **kwargs
)
443 def IntersectRegion(*args
, **kwargs
): return _gdi
.Region_IntersectRegion(*args
, **kwargs
)
444 def IsEmpty(*args
, **kwargs
): return _gdi
.Region_IsEmpty(*args
, **kwargs
)
445 def Union(*args
, **kwargs
): return _gdi
.Region_Union(*args
, **kwargs
)
446 def UnionRect(*args
, **kwargs
): return _gdi
.Region_UnionRect(*args
, **kwargs
)
447 def UnionRegion(*args
, **kwargs
): return _gdi
.Region_UnionRegion(*args
, **kwargs
)
448 def Subtract(*args
, **kwargs
): return _gdi
.Region_Subtract(*args
, **kwargs
)
449 def SubtractRect(*args
, **kwargs
): return _gdi
.Region_SubtractRect(*args
, **kwargs
)
450 def SubtractRegion(*args
, **kwargs
): return _gdi
.Region_SubtractRegion(*args
, **kwargs
)
451 def Xor(*args
, **kwargs
): return _gdi
.Region_Xor(*args
, **kwargs
)
452 def XorRect(*args
, **kwargs
): return _gdi
.Region_XorRect(*args
, **kwargs
)
453 def XorRegion(*args
, **kwargs
): return _gdi
.Region_XorRegion(*args
, **kwargs
)
454 def ConvertToBitmap(*args
, **kwargs
): return _gdi
.Region_ConvertToBitmap(*args
, **kwargs
)
455 def UnionBitmap(*args
, **kwargs
): return _gdi
.Region_UnionBitmap(*args
, **kwargs
)
457 return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
459 class RegionPtr(Region
):
460 def __init__(self
, this
):
462 if not hasattr(self
,"thisown"): self
.thisown
= 0
463 self
.__class
__ = Region
464 _gdi
.Region_swigregister(RegionPtr
)
466 def RegionFromBitmap(*args
, **kwargs
):
467 val
= _gdi
.new_RegionFromBitmap(*args
, **kwargs
)
471 def RegionFromPoints(*args
, **kwargs
):
472 val
= _gdi
.new_RegionFromPoints(*args
, **kwargs
)
476 class RegionIterator(core
.Object
):
477 def __init__(self
, *args
, **kwargs
):
478 newobj
= _gdi
.new_RegionIterator(*args
, **kwargs
)
479 self
.this
= newobj
.this
482 def __del__(self
, destroy
=_gdi
.delete_RegionIterator
):
484 if self
.thisown
: destroy(self
)
486 def GetX(*args
, **kwargs
): return _gdi
.RegionIterator_GetX(*args
, **kwargs
)
487 def GetY(*args
, **kwargs
): return _gdi
.RegionIterator_GetY(*args
, **kwargs
)
488 def GetW(*args
, **kwargs
): return _gdi
.RegionIterator_GetW(*args
, **kwargs
)
489 def GetWidth(*args
, **kwargs
): return _gdi
.RegionIterator_GetWidth(*args
, **kwargs
)
490 def GetH(*args
, **kwargs
): return _gdi
.RegionIterator_GetH(*args
, **kwargs
)
491 def GetHeight(*args
, **kwargs
): return _gdi
.RegionIterator_GetHeight(*args
, **kwargs
)
492 def GetRect(*args
, **kwargs
): return _gdi
.RegionIterator_GetRect(*args
, **kwargs
)
493 def HaveRects(*args
, **kwargs
): return _gdi
.RegionIterator_HaveRects(*args
, **kwargs
)
494 def Reset(*args
, **kwargs
): return _gdi
.RegionIterator_Reset(*args
, **kwargs
)
495 def Next(*args
, **kwargs
): return _gdi
.RegionIterator_Next(*args
, **kwargs
)
496 def __nonzero__(*args
, **kwargs
): return _gdi
.RegionIterator___nonzero__(*args
, **kwargs
)
498 return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
500 class RegionIteratorPtr(RegionIterator
):
501 def __init__(self
, this
):
503 if not hasattr(self
,"thisown"): self
.thisown
= 0
504 self
.__class
__ = RegionIterator
505 _gdi
.RegionIterator_swigregister(RegionIteratorPtr
)
507 #---------------------------------------------------------------------------
509 FONTFAMILY_DEFAULT
= _gdi
.FONTFAMILY_DEFAULT
510 FONTFAMILY_DECORATIVE
= _gdi
.FONTFAMILY_DECORATIVE
511 FONTFAMILY_ROMAN
= _gdi
.FONTFAMILY_ROMAN
512 FONTFAMILY_SCRIPT
= _gdi
.FONTFAMILY_SCRIPT
513 FONTFAMILY_SWISS
= _gdi
.FONTFAMILY_SWISS
514 FONTFAMILY_MODERN
= _gdi
.FONTFAMILY_MODERN
515 FONTFAMILY_TELETYPE
= _gdi
.FONTFAMILY_TELETYPE
516 FONTFAMILY_MAX
= _gdi
.FONTFAMILY_MAX
517 FONTFAMILY_UNKNOWN
= _gdi
.FONTFAMILY_UNKNOWN
518 FONTSTYLE_NORMAL
= _gdi
.FONTSTYLE_NORMAL
519 FONTSTYLE_ITALIC
= _gdi
.FONTSTYLE_ITALIC
520 FONTSTYLE_SLANT
= _gdi
.FONTSTYLE_SLANT
521 FONTSTYLE_MAX
= _gdi
.FONTSTYLE_MAX
522 FONTWEIGHT_NORMAL
= _gdi
.FONTWEIGHT_NORMAL
523 FONTWEIGHT_LIGHT
= _gdi
.FONTWEIGHT_LIGHT
524 FONTWEIGHT_BOLD
= _gdi
.FONTWEIGHT_BOLD
525 FONTWEIGHT_MAX
= _gdi
.FONTWEIGHT_MAX
526 FONTFLAG_DEFAULT
= _gdi
.FONTFLAG_DEFAULT
527 FONTFLAG_ITALIC
= _gdi
.FONTFLAG_ITALIC
528 FONTFLAG_SLANT
= _gdi
.FONTFLAG_SLANT
529 FONTFLAG_LIGHT
= _gdi
.FONTFLAG_LIGHT
530 FONTFLAG_BOLD
= _gdi
.FONTFLAG_BOLD
531 FONTFLAG_ANTIALIASED
= _gdi
.FONTFLAG_ANTIALIASED
532 FONTFLAG_NOT_ANTIALIASED
= _gdi
.FONTFLAG_NOT_ANTIALIASED
533 FONTFLAG_UNDERLINED
= _gdi
.FONTFLAG_UNDERLINED
534 FONTFLAG_STRIKETHROUGH
= _gdi
.FONTFLAG_STRIKETHROUGH
535 FONTFLAG_MASK
= _gdi
.FONTFLAG_MASK
536 FONTENCODING_SYSTEM
= _gdi
.FONTENCODING_SYSTEM
537 FONTENCODING_DEFAULT
= _gdi
.FONTENCODING_DEFAULT
538 FONTENCODING_ISO8859_1
= _gdi
.FONTENCODING_ISO8859_1
539 FONTENCODING_ISO8859_2
= _gdi
.FONTENCODING_ISO8859_2
540 FONTENCODING_ISO8859_3
= _gdi
.FONTENCODING_ISO8859_3
541 FONTENCODING_ISO8859_4
= _gdi
.FONTENCODING_ISO8859_4
542 FONTENCODING_ISO8859_5
= _gdi
.FONTENCODING_ISO8859_5
543 FONTENCODING_ISO8859_6
= _gdi
.FONTENCODING_ISO8859_6
544 FONTENCODING_ISO8859_7
= _gdi
.FONTENCODING_ISO8859_7
545 FONTENCODING_ISO8859_8
= _gdi
.FONTENCODING_ISO8859_8
546 FONTENCODING_ISO8859_9
= _gdi
.FONTENCODING_ISO8859_9
547 FONTENCODING_ISO8859_10
= _gdi
.FONTENCODING_ISO8859_10
548 FONTENCODING_ISO8859_11
= _gdi
.FONTENCODING_ISO8859_11
549 FONTENCODING_ISO8859_12
= _gdi
.FONTENCODING_ISO8859_12
550 FONTENCODING_ISO8859_13
= _gdi
.FONTENCODING_ISO8859_13
551 FONTENCODING_ISO8859_14
= _gdi
.FONTENCODING_ISO8859_14
552 FONTENCODING_ISO8859_15
= _gdi
.FONTENCODING_ISO8859_15
553 FONTENCODING_ISO8859_MAX
= _gdi
.FONTENCODING_ISO8859_MAX
554 FONTENCODING_KOI8
= _gdi
.FONTENCODING_KOI8
555 FONTENCODING_ALTERNATIVE
= _gdi
.FONTENCODING_ALTERNATIVE
556 FONTENCODING_BULGARIAN
= _gdi
.FONTENCODING_BULGARIAN
557 FONTENCODING_CP437
= _gdi
.FONTENCODING_CP437
558 FONTENCODING_CP850
= _gdi
.FONTENCODING_CP850
559 FONTENCODING_CP852
= _gdi
.FONTENCODING_CP852
560 FONTENCODING_CP855
= _gdi
.FONTENCODING_CP855
561 FONTENCODING_CP866
= _gdi
.FONTENCODING_CP866
562 FONTENCODING_CP874
= _gdi
.FONTENCODING_CP874
563 FONTENCODING_CP932
= _gdi
.FONTENCODING_CP932
564 FONTENCODING_CP936
= _gdi
.FONTENCODING_CP936
565 FONTENCODING_CP949
= _gdi
.FONTENCODING_CP949
566 FONTENCODING_CP950
= _gdi
.FONTENCODING_CP950
567 FONTENCODING_CP1250
= _gdi
.FONTENCODING_CP1250
568 FONTENCODING_CP1251
= _gdi
.FONTENCODING_CP1251
569 FONTENCODING_CP1252
= _gdi
.FONTENCODING_CP1252
570 FONTENCODING_CP1253
= _gdi
.FONTENCODING_CP1253
571 FONTENCODING_CP1254
= _gdi
.FONTENCODING_CP1254
572 FONTENCODING_CP1255
= _gdi
.FONTENCODING_CP1255
573 FONTENCODING_CP1256
= _gdi
.FONTENCODING_CP1256
574 FONTENCODING_CP1257
= _gdi
.FONTENCODING_CP1257
575 FONTENCODING_CP12_MAX
= _gdi
.FONTENCODING_CP12_MAX
576 FONTENCODING_UTF7
= _gdi
.FONTENCODING_UTF7
577 FONTENCODING_UTF8
= _gdi
.FONTENCODING_UTF8
578 FONTENCODING_EUC_JP
= _gdi
.FONTENCODING_EUC_JP
579 FONTENCODING_UTF16BE
= _gdi
.FONTENCODING_UTF16BE
580 FONTENCODING_UTF16LE
= _gdi
.FONTENCODING_UTF16LE
581 FONTENCODING_UTF32BE
= _gdi
.FONTENCODING_UTF32BE
582 FONTENCODING_UTF32LE
= _gdi
.FONTENCODING_UTF32LE
583 FONTENCODING_MAX
= _gdi
.FONTENCODING_MAX
584 FONTENCODING_UTF16
= _gdi
.FONTENCODING_UTF16
585 FONTENCODING_UTF32
= _gdi
.FONTENCODING_UTF32
586 FONTENCODING_UNICODE
= _gdi
.FONTENCODING_UNICODE
587 FONTENCODING_GB2312
= _gdi
.FONTENCODING_GB2312
588 FONTENCODING_BIG5
= _gdi
.FONTENCODING_BIG5
589 FONTENCODING_SHIFT_JIS
= _gdi
.FONTENCODING_SHIFT_JIS
590 #---------------------------------------------------------------------------
592 class NativeFontInfo(object):
593 def __init__(self
, *args
, **kwargs
):
594 newobj
= _gdi
.new_NativeFontInfo(*args
, **kwargs
)
595 self
.this
= newobj
.this
598 def __del__(self
, destroy
=_gdi
.delete_NativeFontInfo
):
600 if self
.thisown
: destroy(self
)
602 def Init(*args
, **kwargs
): return _gdi
.NativeFontInfo_Init(*args
, **kwargs
)
603 def InitFromFont(*args
, **kwargs
): return _gdi
.NativeFontInfo_InitFromFont(*args
, **kwargs
)
604 def GetPointSize(*args
, **kwargs
): return _gdi
.NativeFontInfo_GetPointSize(*args
, **kwargs
)
605 def GetStyle(*args
, **kwargs
): return _gdi
.NativeFontInfo_GetStyle(*args
, **kwargs
)
606 def GetWeight(*args
, **kwargs
): return _gdi
.NativeFontInfo_GetWeight(*args
, **kwargs
)
607 def GetUnderlined(*args
, **kwargs
): return _gdi
.NativeFontInfo_GetUnderlined(*args
, **kwargs
)
608 def GetFaceName(*args
, **kwargs
): return _gdi
.NativeFontInfo_GetFaceName(*args
, **kwargs
)
609 def GetFamily(*args
, **kwargs
): return _gdi
.NativeFontInfo_GetFamily(*args
, **kwargs
)
610 def GetEncoding(*args
, **kwargs
): return _gdi
.NativeFontInfo_GetEncoding(*args
, **kwargs
)
611 def SetPointSize(*args
, **kwargs
): return _gdi
.NativeFontInfo_SetPointSize(*args
, **kwargs
)
612 def SetStyle(*args
, **kwargs
): return _gdi
.NativeFontInfo_SetStyle(*args
, **kwargs
)
613 def SetWeight(*args
, **kwargs
): return _gdi
.NativeFontInfo_SetWeight(*args
, **kwargs
)
614 def SetUnderlined(*args
, **kwargs
): return _gdi
.NativeFontInfo_SetUnderlined(*args
, **kwargs
)
615 def SetFaceName(*args
, **kwargs
): return _gdi
.NativeFontInfo_SetFaceName(*args
, **kwargs
)
616 def SetFamily(*args
, **kwargs
): return _gdi
.NativeFontInfo_SetFamily(*args
, **kwargs
)
617 def SetEncoding(*args
, **kwargs
): return _gdi
.NativeFontInfo_SetEncoding(*args
, **kwargs
)
618 def FromString(*args
, **kwargs
): return _gdi
.NativeFontInfo_FromString(*args
, **kwargs
)
619 def ToString(*args
, **kwargs
): return _gdi
.NativeFontInfo_ToString(*args
, **kwargs
)
620 def __str__(*args
, **kwargs
): return _gdi
.NativeFontInfo___str__(*args
, **kwargs
)
621 def FromUserString(*args
, **kwargs
): return _gdi
.NativeFontInfo_FromUserString(*args
, **kwargs
)
622 def ToUserString(*args
, **kwargs
): return _gdi
.NativeFontInfo_ToUserString(*args
, **kwargs
)
624 return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
626 class NativeFontInfoPtr(NativeFontInfo
):
627 def __init__(self
, this
):
629 if not hasattr(self
,"thisown"): self
.thisown
= 0
630 self
.__class
__ = NativeFontInfo
631 _gdi
.NativeFontInfo_swigregister(NativeFontInfoPtr
)
633 class NativeEncodingInfo(object):
634 facename
= property(_gdi
.NativeEncodingInfo_facename_get
, _gdi
.NativeEncodingInfo_facename_set
)
635 encoding
= property(_gdi
.NativeEncodingInfo_encoding_get
, _gdi
.NativeEncodingInfo_encoding_set
)
636 def __init__(self
, *args
, **kwargs
):
637 newobj
= _gdi
.new_NativeEncodingInfo(*args
, **kwargs
)
638 self
.this
= newobj
.this
641 def __del__(self
, destroy
=_gdi
.delete_NativeEncodingInfo
):
643 if self
.thisown
: destroy(self
)
645 def FromString(*args
, **kwargs
): return _gdi
.NativeEncodingInfo_FromString(*args
, **kwargs
)
646 def ToString(*args
, **kwargs
): return _gdi
.NativeEncodingInfo_ToString(*args
, **kwargs
)
648 return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
650 class NativeEncodingInfoPtr(NativeEncodingInfo
):
651 def __init__(self
, this
):
653 if not hasattr(self
,"thisown"): self
.thisown
= 0
654 self
.__class
__ = NativeEncodingInfo
655 _gdi
.NativeEncodingInfo_swigregister(NativeEncodingInfoPtr
)
658 GetNativeFontEncoding
= _gdi
.GetNativeFontEncoding
660 TestFontEncoding
= _gdi
.TestFontEncoding
661 #---------------------------------------------------------------------------
663 class FontMapper(object):
664 def __init__(self
, *args
, **kwargs
):
665 newobj
= _gdi
.new_FontMapper(*args
, **kwargs
)
666 self
.this
= newobj
.this
669 def __del__(self
, destroy
=_gdi
.delete_FontMapper
):
671 if self
.thisown
: destroy(self
)
673 Get
= staticmethod(_gdi
.FontMapper_Get
)
674 Set
= staticmethod(_gdi
.FontMapper_Set
)
675 def CharsetToEncoding(*args
, **kwargs
): return _gdi
.FontMapper_CharsetToEncoding(*args
, **kwargs
)
676 GetSupportedEncodingsCount
= staticmethod(_gdi
.FontMapper_GetSupportedEncodingsCount
)
677 GetEncoding
= staticmethod(_gdi
.FontMapper_GetEncoding
)
678 GetEncodingName
= staticmethod(_gdi
.FontMapper_GetEncodingName
)
679 GetEncodingDescription
= staticmethod(_gdi
.FontMapper_GetEncodingDescription
)
680 def SetConfig(*args
, **kwargs
): return _gdi
.FontMapper_SetConfig(*args
, **kwargs
)
681 def SetConfigPath(*args
, **kwargs
): return _gdi
.FontMapper_SetConfigPath(*args
, **kwargs
)
682 GetDefaultConfigPath
= staticmethod(_gdi
.FontMapper_GetDefaultConfigPath
)
683 def GetAltForEncoding(*args
, **kwargs
): return _gdi
.FontMapper_GetAltForEncoding(*args
, **kwargs
)
684 def IsEncodingAvailable(*args
, **kwargs
): return _gdi
.FontMapper_IsEncodingAvailable(*args
, **kwargs
)
685 def SetDialogParent(*args
, **kwargs
): return _gdi
.FontMapper_SetDialogParent(*args
, **kwargs
)
686 def SetDialogTitle(*args
, **kwargs
): return _gdi
.FontMapper_SetDialogTitle(*args
, **kwargs
)
688 return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
690 class FontMapperPtr(FontMapper
):
691 def __init__(self
, this
):
693 if not hasattr(self
,"thisown"): self
.thisown
= 0
694 self
.__class
__ = FontMapper
695 _gdi
.FontMapper_swigregister(FontMapperPtr
)
697 FontMapper_Get
= _gdi
.FontMapper_Get
699 FontMapper_Set
= _gdi
.FontMapper_Set
701 FontMapper_GetSupportedEncodingsCount
= _gdi
.FontMapper_GetSupportedEncodingsCount
703 FontMapper_GetEncoding
= _gdi
.FontMapper_GetEncoding
705 FontMapper_GetEncodingName
= _gdi
.FontMapper_GetEncodingName
707 FontMapper_GetEncodingDescription
= _gdi
.FontMapper_GetEncodingDescription
709 FontMapper_GetDefaultConfigPath
= _gdi
.FontMapper_GetDefaultConfigPath
711 #---------------------------------------------------------------------------
713 class Font(GDIObject
):
714 def __init__(self
, *args
, **kwargs
):
715 newobj
= _gdi
.new_Font(*args
, **kwargs
)
716 self
.this
= newobj
.this
719 def __del__(self
, destroy
=_gdi
.delete_Font
):
721 if self
.thisown
: destroy(self
)
723 def Ok(*args
, **kwargs
): return _gdi
.Font_Ok(*args
, **kwargs
)
724 def __nonzero__(self
): return self
.Ok()
725 def __eq__(*args
, **kwargs
): return _gdi
.Font___eq__(*args
, **kwargs
)
726 def __ne__(*args
, **kwargs
): return _gdi
.Font___ne__(*args
, **kwargs
)
727 def GetPointSize(*args
, **kwargs
): return _gdi
.Font_GetPointSize(*args
, **kwargs
)
728 def GetFamily(*args
, **kwargs
): return _gdi
.Font_GetFamily(*args
, **kwargs
)
729 def GetStyle(*args
, **kwargs
): return _gdi
.Font_GetStyle(*args
, **kwargs
)
730 def GetWeight(*args
, **kwargs
): return _gdi
.Font_GetWeight(*args
, **kwargs
)
731 def GetUnderlined(*args
, **kwargs
): return _gdi
.Font_GetUnderlined(*args
, **kwargs
)
732 def GetFaceName(*args
, **kwargs
): return _gdi
.Font_GetFaceName(*args
, **kwargs
)
733 def GetEncoding(*args
, **kwargs
): return _gdi
.Font_GetEncoding(*args
, **kwargs
)
734 def GetNativeFontInfo(*args
, **kwargs
): return _gdi
.Font_GetNativeFontInfo(*args
, **kwargs
)
735 def IsFixedWidth(*args
, **kwargs
): return _gdi
.Font_IsFixedWidth(*args
, **kwargs
)
736 def GetNativeFontInfoDesc(*args
, **kwargs
): return _gdi
.Font_GetNativeFontInfoDesc(*args
, **kwargs
)
737 def GetNativeFontInfoUserDesc(*args
, **kwargs
): return _gdi
.Font_GetNativeFontInfoUserDesc(*args
, **kwargs
)
738 def SetPointSize(*args
, **kwargs
): return _gdi
.Font_SetPointSize(*args
, **kwargs
)
739 def SetFamily(*args
, **kwargs
): return _gdi
.Font_SetFamily(*args
, **kwargs
)
740 def SetStyle(*args
, **kwargs
): return _gdi
.Font_SetStyle(*args
, **kwargs
)
741 def SetWeight(*args
, **kwargs
): return _gdi
.Font_SetWeight(*args
, **kwargs
)
742 def SetFaceName(*args
, **kwargs
): return _gdi
.Font_SetFaceName(*args
, **kwargs
)
743 def SetUnderlined(*args
, **kwargs
): return _gdi
.Font_SetUnderlined(*args
, **kwargs
)
744 def SetEncoding(*args
, **kwargs
): return _gdi
.Font_SetEncoding(*args
, **kwargs
)
745 def SetNativeFontInfo(*args
, **kwargs
): return _gdi
.Font_SetNativeFontInfo(*args
, **kwargs
)
746 def SetNativeFontInfoFromString(*args
, **kwargs
): return _gdi
.Font_SetNativeFontInfoFromString(*args
, **kwargs
)
747 def SetNativeFontInfoUserDesc(*args
, **kwargs
): return _gdi
.Font_SetNativeFontInfoUserDesc(*args
, **kwargs
)
748 def GetFamilyString(*args
, **kwargs
): return _gdi
.Font_GetFamilyString(*args
, **kwargs
)
749 def GetStyleString(*args
, **kwargs
): return _gdi
.Font_GetStyleString(*args
, **kwargs
)
750 def GetWeightString(*args
, **kwargs
): return _gdi
.Font_GetWeightString(*args
, **kwargs
)
751 def SetNoAntiAliasing(*args
, **kwargs
): return _gdi
.Font_SetNoAntiAliasing(*args
, **kwargs
)
752 def GetNoAntiAliasing(*args
, **kwargs
): return _gdi
.Font_GetNoAntiAliasing(*args
, **kwargs
)
753 GetDefaultEncoding
= staticmethod(_gdi
.Font_GetDefaultEncoding
)
754 SetDefaultEncoding
= staticmethod(_gdi
.Font_SetDefaultEncoding
)
756 return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
759 def __init__(self
, this
):
761 if not hasattr(self
,"thisown"): self
.thisown
= 0
762 self
.__class
__ = Font
763 _gdi
.Font_swigregister(FontPtr
)
765 def FontFromNativeInfo(*args
, **kwargs
):
766 val
= _gdi
.new_FontFromNativeInfo(*args
, **kwargs
)
770 def FontFromNativeInfoString(*args
, **kwargs
):
771 val
= _gdi
.new_FontFromNativeInfoString(*args
, **kwargs
)
775 def Font2(*args
, **kwargs
):
776 val
= _gdi
.new_Font2(*args
, **kwargs
)
780 Font_GetDefaultEncoding
= _gdi
.Font_GetDefaultEncoding
782 Font_SetDefaultEncoding
= _gdi
.Font_SetDefaultEncoding
784 #---------------------------------------------------------------------------
786 class FontEnumerator(object):
787 def __init__(self
, *args
, **kwargs
):
788 newobj
= _gdi
.new_FontEnumerator(*args
, **kwargs
)
789 self
.this
= newobj
.this
792 self
._setCallbackInfo
(self
, FontEnumerator
, 0)
793 def __del__(self
, destroy
=_gdi
.delete_FontEnumerator
):
795 if self
.thisown
: destroy(self
)
797 def _setCallbackInfo(*args
, **kwargs
): return _gdi
.FontEnumerator__setCallbackInfo(*args
, **kwargs
)
798 def EnumerateFacenames(*args
, **kwargs
): return _gdi
.FontEnumerator_EnumerateFacenames(*args
, **kwargs
)
799 def EnumerateEncodings(*args
, **kwargs
): return _gdi
.FontEnumerator_EnumerateEncodings(*args
, **kwargs
)
800 def GetEncodings(*args
, **kwargs
): return _gdi
.FontEnumerator_GetEncodings(*args
, **kwargs
)
801 def GetFacenames(*args
, **kwargs
): return _gdi
.FontEnumerator_GetFacenames(*args
, **kwargs
)
803 return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
805 class FontEnumeratorPtr(FontEnumerator
):
806 def __init__(self
, this
):
808 if not hasattr(self
,"thisown"): self
.thisown
= 0
809 self
.__class
__ = FontEnumerator
810 _gdi
.FontEnumerator_swigregister(FontEnumeratorPtr
)
812 #---------------------------------------------------------------------------
814 LANGUAGE_DEFAULT
= _gdi
.LANGUAGE_DEFAULT
815 LANGUAGE_UNKNOWN
= _gdi
.LANGUAGE_UNKNOWN
816 LANGUAGE_ABKHAZIAN
= _gdi
.LANGUAGE_ABKHAZIAN
817 LANGUAGE_AFAR
= _gdi
.LANGUAGE_AFAR
818 LANGUAGE_AFRIKAANS
= _gdi
.LANGUAGE_AFRIKAANS
819 LANGUAGE_ALBANIAN
= _gdi
.LANGUAGE_ALBANIAN
820 LANGUAGE_AMHARIC
= _gdi
.LANGUAGE_AMHARIC
821 LANGUAGE_ARABIC
= _gdi
.LANGUAGE_ARABIC
822 LANGUAGE_ARABIC_ALGERIA
= _gdi
.LANGUAGE_ARABIC_ALGERIA
823 LANGUAGE_ARABIC_BAHRAIN
= _gdi
.LANGUAGE_ARABIC_BAHRAIN
824 LANGUAGE_ARABIC_EGYPT
= _gdi
.LANGUAGE_ARABIC_EGYPT
825 LANGUAGE_ARABIC_IRAQ
= _gdi
.LANGUAGE_ARABIC_IRAQ
826 LANGUAGE_ARABIC_JORDAN
= _gdi
.LANGUAGE_ARABIC_JORDAN
827 LANGUAGE_ARABIC_KUWAIT
= _gdi
.LANGUAGE_ARABIC_KUWAIT
828 LANGUAGE_ARABIC_LEBANON
= _gdi
.LANGUAGE_ARABIC_LEBANON
829 LANGUAGE_ARABIC_LIBYA
= _gdi
.LANGUAGE_ARABIC_LIBYA
830 LANGUAGE_ARABIC_MOROCCO
= _gdi
.LANGUAGE_ARABIC_MOROCCO
831 LANGUAGE_ARABIC_OMAN
= _gdi
.LANGUAGE_ARABIC_OMAN
832 LANGUAGE_ARABIC_QATAR
= _gdi
.LANGUAGE_ARABIC_QATAR
833 LANGUAGE_ARABIC_SAUDI_ARABIA
= _gdi
.LANGUAGE_ARABIC_SAUDI_ARABIA
834 LANGUAGE_ARABIC_SUDAN
= _gdi
.LANGUAGE_ARABIC_SUDAN
835 LANGUAGE_ARABIC_SYRIA
= _gdi
.LANGUAGE_ARABIC_SYRIA
836 LANGUAGE_ARABIC_TUNISIA
= _gdi
.LANGUAGE_ARABIC_TUNISIA
837 LANGUAGE_ARABIC_UAE
= _gdi
.LANGUAGE_ARABIC_UAE
838 LANGUAGE_ARABIC_YEMEN
= _gdi
.LANGUAGE_ARABIC_YEMEN
839 LANGUAGE_ARMENIAN
= _gdi
.LANGUAGE_ARMENIAN
840 LANGUAGE_ASSAMESE
= _gdi
.LANGUAGE_ASSAMESE
841 LANGUAGE_AYMARA
= _gdi
.LANGUAGE_AYMARA
842 LANGUAGE_AZERI
= _gdi
.LANGUAGE_AZERI
843 LANGUAGE_AZERI_CYRILLIC
= _gdi
.LANGUAGE_AZERI_CYRILLIC
844 LANGUAGE_AZERI_LATIN
= _gdi
.LANGUAGE_AZERI_LATIN
845 LANGUAGE_BASHKIR
= _gdi
.LANGUAGE_BASHKIR
846 LANGUAGE_BASQUE
= _gdi
.LANGUAGE_BASQUE
847 LANGUAGE_BELARUSIAN
= _gdi
.LANGUAGE_BELARUSIAN
848 LANGUAGE_BENGALI
= _gdi
.LANGUAGE_BENGALI
849 LANGUAGE_BHUTANI
= _gdi
.LANGUAGE_BHUTANI
850 LANGUAGE_BIHARI
= _gdi
.LANGUAGE_BIHARI
851 LANGUAGE_BISLAMA
= _gdi
.LANGUAGE_BISLAMA
852 LANGUAGE_BRETON
= _gdi
.LANGUAGE_BRETON
853 LANGUAGE_BULGARIAN
= _gdi
.LANGUAGE_BULGARIAN
854 LANGUAGE_BURMESE
= _gdi
.LANGUAGE_BURMESE
855 LANGUAGE_CAMBODIAN
= _gdi
.LANGUAGE_CAMBODIAN
856 LANGUAGE_CATALAN
= _gdi
.LANGUAGE_CATALAN
857 LANGUAGE_CHINESE
= _gdi
.LANGUAGE_CHINESE
858 LANGUAGE_CHINESE_SIMPLIFIED
= _gdi
.LANGUAGE_CHINESE_SIMPLIFIED
859 LANGUAGE_CHINESE_TRADITIONAL
= _gdi
.LANGUAGE_CHINESE_TRADITIONAL
860 LANGUAGE_CHINESE_HONGKONG
= _gdi
.LANGUAGE_CHINESE_HONGKONG
861 LANGUAGE_CHINESE_MACAU
= _gdi
.LANGUAGE_CHINESE_MACAU
862 LANGUAGE_CHINESE_SINGAPORE
= _gdi
.LANGUAGE_CHINESE_SINGAPORE
863 LANGUAGE_CHINESE_TAIWAN
= _gdi
.LANGUAGE_CHINESE_TAIWAN
864 LANGUAGE_CORSICAN
= _gdi
.LANGUAGE_CORSICAN
865 LANGUAGE_CROATIAN
= _gdi
.LANGUAGE_CROATIAN
866 LANGUAGE_CZECH
= _gdi
.LANGUAGE_CZECH
867 LANGUAGE_DANISH
= _gdi
.LANGUAGE_DANISH
868 LANGUAGE_DUTCH
= _gdi
.LANGUAGE_DUTCH
869 LANGUAGE_DUTCH_BELGIAN
= _gdi
.LANGUAGE_DUTCH_BELGIAN
870 LANGUAGE_ENGLISH
= _gdi
.LANGUAGE_ENGLISH
871 LANGUAGE_ENGLISH_UK
= _gdi
.LANGUAGE_ENGLISH_UK
872 LANGUAGE_ENGLISH_US
= _gdi
.LANGUAGE_ENGLISH_US
873 LANGUAGE_ENGLISH_AUSTRALIA
= _gdi
.LANGUAGE_ENGLISH_AUSTRALIA
874 LANGUAGE_ENGLISH_BELIZE
= _gdi
.LANGUAGE_ENGLISH_BELIZE
875 LANGUAGE_ENGLISH_BOTSWANA
= _gdi
.LANGUAGE_ENGLISH_BOTSWANA
876 LANGUAGE_ENGLISH_CANADA
= _gdi
.LANGUAGE_ENGLISH_CANADA
877 LANGUAGE_ENGLISH_CARIBBEAN
= _gdi
.LANGUAGE_ENGLISH_CARIBBEAN
878 LANGUAGE_ENGLISH_DENMARK
= _gdi
.LANGUAGE_ENGLISH_DENMARK
879 LANGUAGE_ENGLISH_EIRE
= _gdi
.LANGUAGE_ENGLISH_EIRE
880 LANGUAGE_ENGLISH_JAMAICA
= _gdi
.LANGUAGE_ENGLISH_JAMAICA
881 LANGUAGE_ENGLISH_NEW_ZEALAND
= _gdi
.LANGUAGE_ENGLISH_NEW_ZEALAND
882 LANGUAGE_ENGLISH_PHILIPPINES
= _gdi
.LANGUAGE_ENGLISH_PHILIPPINES
883 LANGUAGE_ENGLISH_SOUTH_AFRICA
= _gdi
.LANGUAGE_ENGLISH_SOUTH_AFRICA
884 LANGUAGE_ENGLISH_TRINIDAD
= _gdi
.LANGUAGE_ENGLISH_TRINIDAD
885 LANGUAGE_ENGLISH_ZIMBABWE
= _gdi
.LANGUAGE_ENGLISH_ZIMBABWE
886 LANGUAGE_ESPERANTO
= _gdi
.LANGUAGE_ESPERANTO
887 LANGUAGE_ESTONIAN
= _gdi
.LANGUAGE_ESTONIAN
888 LANGUAGE_FAEROESE
= _gdi
.LANGUAGE_FAEROESE
889 LANGUAGE_FARSI
= _gdi
.LANGUAGE_FARSI
890 LANGUAGE_FIJI
= _gdi
.LANGUAGE_FIJI
891 LANGUAGE_FINNISH
= _gdi
.LANGUAGE_FINNISH
892 LANGUAGE_FRENCH
= _gdi
.LANGUAGE_FRENCH
893 LANGUAGE_FRENCH_BELGIAN
= _gdi
.LANGUAGE_FRENCH_BELGIAN
894 LANGUAGE_FRENCH_CANADIAN
= _gdi
.LANGUAGE_FRENCH_CANADIAN
895 LANGUAGE_FRENCH_LUXEMBOURG
= _gdi
.LANGUAGE_FRENCH_LUXEMBOURG
896 LANGUAGE_FRENCH_MONACO
= _gdi
.LANGUAGE_FRENCH_MONACO
897 LANGUAGE_FRENCH_SWISS
= _gdi
.LANGUAGE_FRENCH_SWISS
898 LANGUAGE_FRISIAN
= _gdi
.LANGUAGE_FRISIAN
899 LANGUAGE_GALICIAN
= _gdi
.LANGUAGE_GALICIAN
900 LANGUAGE_GEORGIAN
= _gdi
.LANGUAGE_GEORGIAN
901 LANGUAGE_GERMAN
= _gdi
.LANGUAGE_GERMAN
902 LANGUAGE_GERMAN_AUSTRIAN
= _gdi
.LANGUAGE_GERMAN_AUSTRIAN
903 LANGUAGE_GERMAN_BELGIUM
= _gdi
.LANGUAGE_GERMAN_BELGIUM
904 LANGUAGE_GERMAN_LIECHTENSTEIN
= _gdi
.LANGUAGE_GERMAN_LIECHTENSTEIN
905 LANGUAGE_GERMAN_LUXEMBOURG
= _gdi
.LANGUAGE_GERMAN_LUXEMBOURG
906 LANGUAGE_GERMAN_SWISS
= _gdi
.LANGUAGE_GERMAN_SWISS
907 LANGUAGE_GREEK
= _gdi
.LANGUAGE_GREEK
908 LANGUAGE_GREENLANDIC
= _gdi
.LANGUAGE_GREENLANDIC
909 LANGUAGE_GUARANI
= _gdi
.LANGUAGE_GUARANI
910 LANGUAGE_GUJARATI
= _gdi
.LANGUAGE_GUJARATI
911 LANGUAGE_HAUSA
= _gdi
.LANGUAGE_HAUSA
912 LANGUAGE_HEBREW
= _gdi
.LANGUAGE_HEBREW
913 LANGUAGE_HINDI
= _gdi
.LANGUAGE_HINDI
914 LANGUAGE_HUNGARIAN
= _gdi
.LANGUAGE_HUNGARIAN
915 LANGUAGE_ICELANDIC
= _gdi
.LANGUAGE_ICELANDIC
916 LANGUAGE_INDONESIAN
= _gdi
.LANGUAGE_INDONESIAN
917 LANGUAGE_INTERLINGUA
= _gdi
.LANGUAGE_INTERLINGUA
918 LANGUAGE_INTERLINGUE
= _gdi
.LANGUAGE_INTERLINGUE
919 LANGUAGE_INUKTITUT
= _gdi
.LANGUAGE_INUKTITUT
920 LANGUAGE_INUPIAK
= _gdi
.LANGUAGE_INUPIAK
921 LANGUAGE_IRISH
= _gdi
.LANGUAGE_IRISH
922 LANGUAGE_ITALIAN
= _gdi
.LANGUAGE_ITALIAN
923 LANGUAGE_ITALIAN_SWISS
= _gdi
.LANGUAGE_ITALIAN_SWISS
924 LANGUAGE_JAPANESE
= _gdi
.LANGUAGE_JAPANESE
925 LANGUAGE_JAVANESE
= _gdi
.LANGUAGE_JAVANESE
926 LANGUAGE_KANNADA
= _gdi
.LANGUAGE_KANNADA
927 LANGUAGE_KASHMIRI
= _gdi
.LANGUAGE_KASHMIRI
928 LANGUAGE_KASHMIRI_INDIA
= _gdi
.LANGUAGE_KASHMIRI_INDIA
929 LANGUAGE_KAZAKH
= _gdi
.LANGUAGE_KAZAKH
930 LANGUAGE_KERNEWEK
= _gdi
.LANGUAGE_KERNEWEK
931 LANGUAGE_KINYARWANDA
= _gdi
.LANGUAGE_KINYARWANDA
932 LANGUAGE_KIRGHIZ
= _gdi
.LANGUAGE_KIRGHIZ
933 LANGUAGE_KIRUNDI
= _gdi
.LANGUAGE_KIRUNDI
934 LANGUAGE_KONKANI
= _gdi
.LANGUAGE_KONKANI
935 LANGUAGE_KOREAN
= _gdi
.LANGUAGE_KOREAN
936 LANGUAGE_KURDISH
= _gdi
.LANGUAGE_KURDISH
937 LANGUAGE_LAOTHIAN
= _gdi
.LANGUAGE_LAOTHIAN
938 LANGUAGE_LATIN
= _gdi
.LANGUAGE_LATIN
939 LANGUAGE_LATVIAN
= _gdi
.LANGUAGE_LATVIAN
940 LANGUAGE_LINGALA
= _gdi
.LANGUAGE_LINGALA
941 LANGUAGE_LITHUANIAN
= _gdi
.LANGUAGE_LITHUANIAN
942 LANGUAGE_MACEDONIAN
= _gdi
.LANGUAGE_MACEDONIAN
943 LANGUAGE_MALAGASY
= _gdi
.LANGUAGE_MALAGASY
944 LANGUAGE_MALAY
= _gdi
.LANGUAGE_MALAY
945 LANGUAGE_MALAYALAM
= _gdi
.LANGUAGE_MALAYALAM
946 LANGUAGE_MALAY_BRUNEI_DARUSSALAM
= _gdi
.LANGUAGE_MALAY_BRUNEI_DARUSSALAM
947 LANGUAGE_MALAY_MALAYSIA
= _gdi
.LANGUAGE_MALAY_MALAYSIA
948 LANGUAGE_MALTESE
= _gdi
.LANGUAGE_MALTESE
949 LANGUAGE_MANIPURI
= _gdi
.LANGUAGE_MANIPURI
950 LANGUAGE_MAORI
= _gdi
.LANGUAGE_MAORI
951 LANGUAGE_MARATHI
= _gdi
.LANGUAGE_MARATHI
952 LANGUAGE_MOLDAVIAN
= _gdi
.LANGUAGE_MOLDAVIAN
953 LANGUAGE_MONGOLIAN
= _gdi
.LANGUAGE_MONGOLIAN
954 LANGUAGE_NAURU
= _gdi
.LANGUAGE_NAURU
955 LANGUAGE_NEPALI
= _gdi
.LANGUAGE_NEPALI
956 LANGUAGE_NEPALI_INDIA
= _gdi
.LANGUAGE_NEPALI_INDIA
957 LANGUAGE_NORWEGIAN_BOKMAL
= _gdi
.LANGUAGE_NORWEGIAN_BOKMAL
958 LANGUAGE_NORWEGIAN_NYNORSK
= _gdi
.LANGUAGE_NORWEGIAN_NYNORSK
959 LANGUAGE_OCCITAN
= _gdi
.LANGUAGE_OCCITAN
960 LANGUAGE_ORIYA
= _gdi
.LANGUAGE_ORIYA
961 LANGUAGE_OROMO
= _gdi
.LANGUAGE_OROMO
962 LANGUAGE_PASHTO
= _gdi
.LANGUAGE_PASHTO
963 LANGUAGE_POLISH
= _gdi
.LANGUAGE_POLISH
964 LANGUAGE_PORTUGUESE
= _gdi
.LANGUAGE_PORTUGUESE
965 LANGUAGE_PORTUGUESE_BRAZILIAN
= _gdi
.LANGUAGE_PORTUGUESE_BRAZILIAN
966 LANGUAGE_PUNJABI
= _gdi
.LANGUAGE_PUNJABI
967 LANGUAGE_QUECHUA
= _gdi
.LANGUAGE_QUECHUA
968 LANGUAGE_RHAETO_ROMANCE
= _gdi
.LANGUAGE_RHAETO_ROMANCE
969 LANGUAGE_ROMANIAN
= _gdi
.LANGUAGE_ROMANIAN
970 LANGUAGE_RUSSIAN
= _gdi
.LANGUAGE_RUSSIAN
971 LANGUAGE_RUSSIAN_UKRAINE
= _gdi
.LANGUAGE_RUSSIAN_UKRAINE
972 LANGUAGE_SAMOAN
= _gdi
.LANGUAGE_SAMOAN
973 LANGUAGE_SANGHO
= _gdi
.LANGUAGE_SANGHO
974 LANGUAGE_SANSKRIT
= _gdi
.LANGUAGE_SANSKRIT
975 LANGUAGE_SCOTS_GAELIC
= _gdi
.LANGUAGE_SCOTS_GAELIC
976 LANGUAGE_SERBIAN
= _gdi
.LANGUAGE_SERBIAN
977 LANGUAGE_SERBIAN_CYRILLIC
= _gdi
.LANGUAGE_SERBIAN_CYRILLIC
978 LANGUAGE_SERBIAN_LATIN
= _gdi
.LANGUAGE_SERBIAN_LATIN
979 LANGUAGE_SERBO_CROATIAN
= _gdi
.LANGUAGE_SERBO_CROATIAN
980 LANGUAGE_SESOTHO
= _gdi
.LANGUAGE_SESOTHO
981 LANGUAGE_SETSWANA
= _gdi
.LANGUAGE_SETSWANA
982 LANGUAGE_SHONA
= _gdi
.LANGUAGE_SHONA
983 LANGUAGE_SINDHI
= _gdi
.LANGUAGE_SINDHI
984 LANGUAGE_SINHALESE
= _gdi
.LANGUAGE_SINHALESE
985 LANGUAGE_SISWATI
= _gdi
.LANGUAGE_SISWATI
986 LANGUAGE_SLOVAK
= _gdi
.LANGUAGE_SLOVAK
987 LANGUAGE_SLOVENIAN
= _gdi
.LANGUAGE_SLOVENIAN
988 LANGUAGE_SOMALI
= _gdi
.LANGUAGE_SOMALI
989 LANGUAGE_SPANISH
= _gdi
.LANGUAGE_SPANISH
990 LANGUAGE_SPANISH_ARGENTINA
= _gdi
.LANGUAGE_SPANISH_ARGENTINA
991 LANGUAGE_SPANISH_BOLIVIA
= _gdi
.LANGUAGE_SPANISH_BOLIVIA
992 LANGUAGE_SPANISH_CHILE
= _gdi
.LANGUAGE_SPANISH_CHILE
993 LANGUAGE_SPANISH_COLOMBIA
= _gdi
.LANGUAGE_SPANISH_COLOMBIA
994 LANGUAGE_SPANISH_COSTA_RICA
= _gdi
.LANGUAGE_SPANISH_COSTA_RICA
995 LANGUAGE_SPANISH_DOMINICAN_REPUBLIC
= _gdi
.LANGUAGE_SPANISH_DOMINICAN_REPUBLIC
996 LANGUAGE_SPANISH_ECUADOR
= _gdi
.LANGUAGE_SPANISH_ECUADOR
997 LANGUAGE_SPANISH_EL_SALVADOR
= _gdi
.LANGUAGE_SPANISH_EL_SALVADOR
998 LANGUAGE_SPANISH_GUATEMALA
= _gdi
.LANGUAGE_SPANISH_GUATEMALA
999 LANGUAGE_SPANISH_HONDURAS
= _gdi
.LANGUAGE_SPANISH_HONDURAS
1000 LANGUAGE_SPANISH_MEXICAN
= _gdi
.LANGUAGE_SPANISH_MEXICAN
1001 LANGUAGE_SPANISH_MODERN
= _gdi
.LANGUAGE_SPANISH_MODERN
1002 LANGUAGE_SPANISH_NICARAGUA
= _gdi
.LANGUAGE_SPANISH_NICARAGUA
1003 LANGUAGE_SPANISH_PANAMA
= _gdi
.LANGUAGE_SPANISH_PANAMA
1004 LANGUAGE_SPANISH_PARAGUAY
= _gdi
.LANGUAGE_SPANISH_PARAGUAY
1005 LANGUAGE_SPANISH_PERU
= _gdi
.LANGUAGE_SPANISH_PERU
1006 LANGUAGE_SPANISH_PUERTO_RICO
= _gdi
.LANGUAGE_SPANISH_PUERTO_RICO
1007 LANGUAGE_SPANISH_URUGUAY
= _gdi
.LANGUAGE_SPANISH_URUGUAY
1008 LANGUAGE_SPANISH_US
= _gdi
.LANGUAGE_SPANISH_US
1009 LANGUAGE_SPANISH_VENEZUELA
= _gdi
.LANGUAGE_SPANISH_VENEZUELA
1010 LANGUAGE_SUNDANESE
= _gdi
.LANGUAGE_SUNDANESE
1011 LANGUAGE_SWAHILI
= _gdi
.LANGUAGE_SWAHILI
1012 LANGUAGE_SWEDISH
= _gdi
.LANGUAGE_SWEDISH
1013 LANGUAGE_SWEDISH_FINLAND
= _gdi
.LANGUAGE_SWEDISH_FINLAND
1014 LANGUAGE_TAGALOG
= _gdi
.LANGUAGE_TAGALOG
1015 LANGUAGE_TAJIK
= _gdi
.LANGUAGE_TAJIK
1016 LANGUAGE_TAMIL
= _gdi
.LANGUAGE_TAMIL
1017 LANGUAGE_TATAR
= _gdi
.LANGUAGE_TATAR
1018 LANGUAGE_TELUGU
= _gdi
.LANGUAGE_TELUGU
1019 LANGUAGE_THAI
= _gdi
.LANGUAGE_THAI
1020 LANGUAGE_TIBETAN
= _gdi
.LANGUAGE_TIBETAN
1021 LANGUAGE_TIGRINYA
= _gdi
.LANGUAGE_TIGRINYA
1022 LANGUAGE_TONGA
= _gdi
.LANGUAGE_TONGA
1023 LANGUAGE_TSONGA
= _gdi
.LANGUAGE_TSONGA
1024 LANGUAGE_TURKISH
= _gdi
.LANGUAGE_TURKISH
1025 LANGUAGE_TURKMEN
= _gdi
.LANGUAGE_TURKMEN
1026 LANGUAGE_TWI
= _gdi
.LANGUAGE_TWI
1027 LANGUAGE_UIGHUR
= _gdi
.LANGUAGE_UIGHUR
1028 LANGUAGE_UKRAINIAN
= _gdi
.LANGUAGE_UKRAINIAN
1029 LANGUAGE_URDU
= _gdi
.LANGUAGE_URDU
1030 LANGUAGE_URDU_INDIA
= _gdi
.LANGUAGE_URDU_INDIA
1031 LANGUAGE_URDU_PAKISTAN
= _gdi
.LANGUAGE_URDU_PAKISTAN
1032 LANGUAGE_UZBEK
= _gdi
.LANGUAGE_UZBEK
1033 LANGUAGE_UZBEK_CYRILLIC
= _gdi
.LANGUAGE_UZBEK_CYRILLIC
1034 LANGUAGE_UZBEK_LATIN
= _gdi
.LANGUAGE_UZBEK_LATIN
1035 LANGUAGE_VIETNAMESE
= _gdi
.LANGUAGE_VIETNAMESE
1036 LANGUAGE_VOLAPUK
= _gdi
.LANGUAGE_VOLAPUK
1037 LANGUAGE_WELSH
= _gdi
.LANGUAGE_WELSH
1038 LANGUAGE_WOLOF
= _gdi
.LANGUAGE_WOLOF
1039 LANGUAGE_XHOSA
= _gdi
.LANGUAGE_XHOSA
1040 LANGUAGE_YIDDISH
= _gdi
.LANGUAGE_YIDDISH
1041 LANGUAGE_YORUBA
= _gdi
.LANGUAGE_YORUBA
1042 LANGUAGE_ZHUANG
= _gdi
.LANGUAGE_ZHUANG
1043 LANGUAGE_ZULU
= _gdi
.LANGUAGE_ZULU
1044 LANGUAGE_USER_DEFINED
= _gdi
.LANGUAGE_USER_DEFINED
1045 class LanguageInfo(object):
1046 Language
= property(_gdi
.LanguageInfo_Language_get
, _gdi
.LanguageInfo_Language_set
)
1047 CanonicalName
= property(_gdi
.LanguageInfo_CanonicalName_get
, _gdi
.LanguageInfo_CanonicalName_set
)
1048 Description
= property(_gdi
.LanguageInfo_Description_get
, _gdi
.LanguageInfo_Description_set
)
1049 def __init__(self
): raise RuntimeError, "No constructor defined"
1051 return "<%s.%s; proxy of C++ wxLanguageInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1053 class LanguageInfoPtr(LanguageInfo
):
1054 def __init__(self
, this
):
1056 if not hasattr(self
,"thisown"): self
.thisown
= 0
1057 self
.__class
__ = LanguageInfo
1058 _gdi
.LanguageInfo_swigregister(LanguageInfoPtr
)
1060 LOCALE_CAT_NUMBER
= _gdi
.LOCALE_CAT_NUMBER
1061 LOCALE_CAT_DATE
= _gdi
.LOCALE_CAT_DATE
1062 LOCALE_CAT_MONEY
= _gdi
.LOCALE_CAT_MONEY
1063 LOCALE_CAT_MAX
= _gdi
.LOCALE_CAT_MAX
1064 LOCALE_THOUSANDS_SEP
= _gdi
.LOCALE_THOUSANDS_SEP
1065 LOCALE_DECIMAL_POINT
= _gdi
.LOCALE_DECIMAL_POINT
1066 LOCALE_LOAD_DEFAULT
= _gdi
.LOCALE_LOAD_DEFAULT
1067 LOCALE_CONV_ENCODING
= _gdi
.LOCALE_CONV_ENCODING
1068 class Locale(object):
1069 def __init__(self
, *args
, **kwargs
):
1070 newobj
= _gdi
.new_Locale(*args
, **kwargs
)
1071 self
.this
= newobj
.this
1074 def __del__(self
, destroy
=_gdi
.delete_Locale
):
1076 if self
.thisown
: destroy(self
)
1078 def Init1(*args
, **kwargs
): return _gdi
.Locale_Init1(*args
, **kwargs
)
1079 def Init2(*args
, **kwargs
): return _gdi
.Locale_Init2(*args
, **kwargs
)
1080 def Init(self
, *_args
, **_kwargs
):
1081 if type(_args
[0]) in [type(''), type(u
'')]:
1082 val
= self
.Init1(*_args
, **_kwargs
)
1084 val
= self
.Init2(*_args
, **_kwargs
)
1087 GetSystemLanguage
= staticmethod(_gdi
.Locale_GetSystemLanguage
)
1088 GetSystemEncoding
= staticmethod(_gdi
.Locale_GetSystemEncoding
)
1089 GetSystemEncodingName
= staticmethod(_gdi
.Locale_GetSystemEncodingName
)
1090 def IsOk(*args
, **kwargs
): return _gdi
.Locale_IsOk(*args
, **kwargs
)
1091 def __nonzero__(self
): return self
.IsOk()
1092 def GetLocale(*args
, **kwargs
): return _gdi
.Locale_GetLocale(*args
, **kwargs
)
1093 def GetLanguage(*args
, **kwargs
): return _gdi
.Locale_GetLanguage(*args
, **kwargs
)
1094 def GetSysName(*args
, **kwargs
): return _gdi
.Locale_GetSysName(*args
, **kwargs
)
1095 def GetCanonicalName(*args
, **kwargs
): return _gdi
.Locale_GetCanonicalName(*args
, **kwargs
)
1096 AddCatalogLookupPathPrefix
= staticmethod(_gdi
.Locale_AddCatalogLookupPathPrefix
)
1097 def AddCatalog(*args
, **kwargs
): return _gdi
.Locale_AddCatalog(*args
, **kwargs
)
1098 def IsLoaded(*args
, **kwargs
): return _gdi
.Locale_IsLoaded(*args
, **kwargs
)
1099 GetLanguageInfo
= staticmethod(_gdi
.Locale_GetLanguageInfo
)
1100 GetLanguageName
= staticmethod(_gdi
.Locale_GetLanguageName
)
1101 FindLanguageInfo
= staticmethod(_gdi
.Locale_FindLanguageInfo
)
1102 AddLanguage
= staticmethod(_gdi
.Locale_AddLanguage
)
1103 def GetString(*args
, **kwargs
): return _gdi
.Locale_GetString(*args
, **kwargs
)
1104 def GetName(*args
, **kwargs
): return _gdi
.Locale_GetName(*args
, **kwargs
)
1106 return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1108 class LocalePtr(Locale
):
1109 def __init__(self
, this
):
1111 if not hasattr(self
,"thisown"): self
.thisown
= 0
1112 self
.__class
__ = Locale
1113 _gdi
.Locale_swigregister(LocalePtr
)
1115 Locale_GetSystemLanguage
= _gdi
.Locale_GetSystemLanguage
1117 Locale_GetSystemEncoding
= _gdi
.Locale_GetSystemEncoding
1119 Locale_GetSystemEncodingName
= _gdi
.Locale_GetSystemEncodingName
1121 Locale_AddCatalogLookupPathPrefix
= _gdi
.Locale_AddCatalogLookupPathPrefix
1123 Locale_GetLanguageInfo
= _gdi
.Locale_GetLanguageInfo
1125 Locale_GetLanguageName
= _gdi
.Locale_GetLanguageName
1127 Locale_FindLanguageInfo
= _gdi
.Locale_FindLanguageInfo
1129 Locale_AddLanguage
= _gdi
.Locale_AddLanguage
1132 GetLocale
= _gdi
.GetLocale
1133 #---------------------------------------------------------------------------
1135 CONVERT_STRICT
= _gdi
.CONVERT_STRICT
1136 CONVERT_SUBSTITUTE
= _gdi
.CONVERT_SUBSTITUTE
1137 PLATFORM_CURRENT
= _gdi
.PLATFORM_CURRENT
1138 PLATFORM_UNIX
= _gdi
.PLATFORM_UNIX
1139 PLATFORM_WINDOWS
= _gdi
.PLATFORM_WINDOWS
1140 PLATFORM_OS2
= _gdi
.PLATFORM_OS2
1141 PLATFORM_MAC
= _gdi
.PLATFORM_MAC
1142 class EncodingConverter(core
.Object
):
1143 def __init__(self
, *args
, **kwargs
):
1144 newobj
= _gdi
.new_EncodingConverter(*args
, **kwargs
)
1145 self
.this
= newobj
.this
1148 def __del__(self
, destroy
=_gdi
.delete_EncodingConverter
):
1150 if self
.thisown
: destroy(self
)
1152 def Init(*args
, **kwargs
): return _gdi
.EncodingConverter_Init(*args
, **kwargs
)
1153 def Convert(*args
, **kwargs
): return _gdi
.EncodingConverter_Convert(*args
, **kwargs
)
1154 GetPlatformEquivalents
= staticmethod(_gdi
.EncodingConverter_GetPlatformEquivalents
)
1155 GetAllEquivalents
= staticmethod(_gdi
.EncodingConverter_GetAllEquivalents
)
1156 CanConvert
= staticmethod(_gdi
.EncodingConverter_CanConvert
)
1157 def __nonzero__(self
): return self
.IsOk()
1159 return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1161 class EncodingConverterPtr(EncodingConverter
):
1162 def __init__(self
, this
):
1164 if not hasattr(self
,"thisown"): self
.thisown
= 0
1165 self
.__class
__ = EncodingConverter
1166 _gdi
.EncodingConverter_swigregister(EncodingConverterPtr
)
1168 GetTranslation
= _gdi
.GetTranslation
1170 EncodingConverter_GetPlatformEquivalents
= _gdi
.EncodingConverter_GetPlatformEquivalents
1172 EncodingConverter_GetAllEquivalents
= _gdi
.EncodingConverter_GetAllEquivalents
1174 EncodingConverter_CanConvert
= _gdi
.EncodingConverter_CanConvert
1176 #----------------------------------------------------------------------------
1177 # wxGTK sets the locale when initialized. Doing this at the Python
1178 # level should set it up to match what GTK is doing at the C level.
1179 if wx
.Platform
== "__WXGTK__":
1182 locale
.setlocale(locale
.LC_ALL
, "")
1186 # On MSW add the directory where the wxWindows catalogs were installed
1187 # to the default catalog path.
1188 if wx
.Platform
== "__WXMSW__":
1190 localedir
= os
.path
.join(os
.path
.split(__file__
)[0], "locale")
1191 Locale_AddCatalogLookupPathPrefix(localedir
)
1194 #----------------------------------------------------------------------------
1196 #---------------------------------------------------------------------------
1198 class DC(core
.Object
):
1199 def __del__(self
, destroy
=_gdi
.delete_DC
):
1201 if self
.thisown
: destroy(self
)
1203 def BeginDrawing(*args
, **kwargs
): return _gdi
.DC_BeginDrawing(*args
, **kwargs
)
1204 def EndDrawing(*args
, **kwargs
): return _gdi
.DC_EndDrawing(*args
, **kwargs
)
1205 def FloodFillXY(*args
, **kwargs
): return _gdi
.DC_FloodFillXY(*args
, **kwargs
)
1206 def FloodFill(*args
, **kwargs
): return _gdi
.DC_FloodFill(*args
, **kwargs
)
1207 def GetPixelXY(*args
, **kwargs
): return _gdi
.DC_GetPixelXY(*args
, **kwargs
)
1208 def GetPixel(*args
, **kwargs
): return _gdi
.DC_GetPixel(*args
, **kwargs
)
1209 def DrawLineXY(*args
, **kwargs
): return _gdi
.DC_DrawLineXY(*args
, **kwargs
)
1210 def DrawLine(*args
, **kwargs
): return _gdi
.DC_DrawLine(*args
, **kwargs
)
1211 def CrossHairXY(*args
, **kwargs
): return _gdi
.DC_CrossHairXY(*args
, **kwargs
)
1212 def CrossHair(*args
, **kwargs
): return _gdi
.DC_CrossHair(*args
, **kwargs
)
1213 def DrawArcXY(*args
, **kwargs
): return _gdi
.DC_DrawArcXY(*args
, **kwargs
)
1214 def DrawArc(*args
, **kwargs
): return _gdi
.DC_DrawArc(*args
, **kwargs
)
1215 def DrawCheckMarkXY(*args
, **kwargs
): return _gdi
.DC_DrawCheckMarkXY(*args
, **kwargs
)
1216 def DrawCheckMark(*args
, **kwargs
): return _gdi
.DC_DrawCheckMark(*args
, **kwargs
)
1217 def DrawEllipticArcXY(*args
, **kwargs
): return _gdi
.DC_DrawEllipticArcXY(*args
, **kwargs
)
1218 def DrawEllipticArc(*args
, **kwargs
): return _gdi
.DC_DrawEllipticArc(*args
, **kwargs
)
1219 def DrawPointXY(*args
, **kwargs
): return _gdi
.DC_DrawPointXY(*args
, **kwargs
)
1220 def DrawPoint(*args
, **kwargs
): return _gdi
.DC_DrawPoint(*args
, **kwargs
)
1221 def DrawRectangleXY(*args
, **kwargs
): return _gdi
.DC_DrawRectangleXY(*args
, **kwargs
)
1222 def DrawRectangle(*args
, **kwargs
): return _gdi
.DC_DrawRectangle(*args
, **kwargs
)
1223 def DrawRectangleRect(*args
, **kwargs
): return _gdi
.DC_DrawRectangleRect(*args
, **kwargs
)
1224 def DrawRoundedRectangleXY(*args
, **kwargs
): return _gdi
.DC_DrawRoundedRectangleXY(*args
, **kwargs
)
1225 def DrawRoundedRectangle(*args
, **kwargs
): return _gdi
.DC_DrawRoundedRectangle(*args
, **kwargs
)
1226 def DrawRoundedRectangleRect(*args
, **kwargs
): return _gdi
.DC_DrawRoundedRectangleRect(*args
, **kwargs
)
1227 def DrawCircleXY(*args
, **kwargs
): return _gdi
.DC_DrawCircleXY(*args
, **kwargs
)
1228 def DrawCircle(*args
, **kwargs
): return _gdi
.DC_DrawCircle(*args
, **kwargs
)
1229 def DrawEllipseXY(*args
, **kwargs
): return _gdi
.DC_DrawEllipseXY(*args
, **kwargs
)
1230 def DrawEllipse(*args
, **kwargs
): return _gdi
.DC_DrawEllipse(*args
, **kwargs
)
1231 def DrawEllipseRect(*args
, **kwargs
): return _gdi
.DC_DrawEllipseRect(*args
, **kwargs
)
1232 def DrawIconXY(*args
, **kwargs
): return _gdi
.DC_DrawIconXY(*args
, **kwargs
)
1233 def DrawIcon(*args
, **kwargs
): return _gdi
.DC_DrawIcon(*args
, **kwargs
)
1234 def DrawBitmapXY(*args
, **kwargs
): return _gdi
.DC_DrawBitmapXY(*args
, **kwargs
)
1235 def DrawBitmap(*args
, **kwargs
): return _gdi
.DC_DrawBitmap(*args
, **kwargs
)
1236 def DrawTextXY(*args
, **kwargs
): return _gdi
.DC_DrawTextXY(*args
, **kwargs
)
1237 def DrawText(*args
, **kwargs
): return _gdi
.DC_DrawText(*args
, **kwargs
)
1238 def DrawRotatedTextXY(*args
, **kwargs
): return _gdi
.DC_DrawRotatedTextXY(*args
, **kwargs
)
1239 def DrawRotatedText(*args
, **kwargs
): return _gdi
.DC_DrawRotatedText(*args
, **kwargs
)
1240 def BlitXY(*args
, **kwargs
): return _gdi
.DC_BlitXY(*args
, **kwargs
)
1241 def Blit(*args
, **kwargs
): return _gdi
.DC_Blit(*args
, **kwargs
)
1242 def DrawLines(*args
, **kwargs
): return _gdi
.DC_DrawLines(*args
, **kwargs
)
1243 def DrawPolygon(*args
, **kwargs
): return _gdi
.DC_DrawPolygon(*args
, **kwargs
)
1244 def DrawLabel(*args
, **kwargs
): return _gdi
.DC_DrawLabel(*args
, **kwargs
)
1245 def DrawImageLabel(*args
, **kwargs
): return _gdi
.DC_DrawImageLabel(*args
, **kwargs
)
1246 def DrawSpline(*args
, **kwargs
): return _gdi
.DC_DrawSpline(*args
, **kwargs
)
1247 def Clear(*args
, **kwargs
): return _gdi
.DC_Clear(*args
, **kwargs
)
1248 def StartDoc(*args
, **kwargs
): return _gdi
.DC_StartDoc(*args
, **kwargs
)
1249 def EndDoc(*args
, **kwargs
): return _gdi
.DC_EndDoc(*args
, **kwargs
)
1250 def StartPage(*args
, **kwargs
): return _gdi
.DC_StartPage(*args
, **kwargs
)
1251 def EndPage(*args
, **kwargs
): return _gdi
.DC_EndPage(*args
, **kwargs
)
1252 def SetFont(*args
, **kwargs
): return _gdi
.DC_SetFont(*args
, **kwargs
)
1253 def SetPen(*args
, **kwargs
): return _gdi
.DC_SetPen(*args
, **kwargs
)
1254 def SetBrush(*args
, **kwargs
): return _gdi
.DC_SetBrush(*args
, **kwargs
)
1255 def SetBackground(*args
, **kwargs
): return _gdi
.DC_SetBackground(*args
, **kwargs
)
1256 def SetBackgroundMode(*args
, **kwargs
): return _gdi
.DC_SetBackgroundMode(*args
, **kwargs
)
1257 def SetPalette(*args
, **kwargs
): return _gdi
.DC_SetPalette(*args
, **kwargs
)
1258 def SetClippingRegion(*args
, **kwargs
): return _gdi
.DC_SetClippingRegion(*args
, **kwargs
)
1259 def SetClippingRect(*args
, **kwargs
): return _gdi
.DC_SetClippingRect(*args
, **kwargs
)
1260 def SetClippingRegionAsRegion(*args
, **kwargs
): return _gdi
.DC_SetClippingRegionAsRegion(*args
, **kwargs
)
1261 def DestroyClippingRegion(*args
, **kwargs
): return _gdi
.DC_DestroyClippingRegion(*args
, **kwargs
)
1262 def GetClippingBox(*args
, **kwargs
): return _gdi
.DC_GetClippingBox(*args
, **kwargs
)
1263 def GetClippingRect(*args
, **kwargs
): return _gdi
.DC_GetClippingRect(*args
, **kwargs
)
1264 def GetCharHeight(*args
, **kwargs
): return _gdi
.DC_GetCharHeight(*args
, **kwargs
)
1265 def GetCharWidth(*args
, **kwargs
): return _gdi
.DC_GetCharWidth(*args
, **kwargs
)
1266 def GetTextExtent(*args
, **kwargs
): return _gdi
.DC_GetTextExtent(*args
, **kwargs
)
1267 def GetFullTextExtent(*args
, **kwargs
): return _gdi
.DC_GetFullTextExtent(*args
, **kwargs
)
1268 def GetMultiLineTextExtent(*args
, **kwargs
): return _gdi
.DC_GetMultiLineTextExtent(*args
, **kwargs
)
1269 def GetSizeTuple(*args
, **kwargs
): return _gdi
.DC_GetSizeTuple(*args
, **kwargs
)
1270 def GetSize(*args
, **kwargs
): return _gdi
.DC_GetSize(*args
, **kwargs
)
1271 def GetSizeMMWH(*args
, **kwargs
): return _gdi
.DC_GetSizeMMWH(*args
, **kwargs
)
1272 def GetSizeMM(*args
, **kwargs
): return _gdi
.DC_GetSizeMM(*args
, **kwargs
)
1273 def DeviceToLogicalX(*args
, **kwargs
): return _gdi
.DC_DeviceToLogicalX(*args
, **kwargs
)
1274 def DeviceToLogicalY(*args
, **kwargs
): return _gdi
.DC_DeviceToLogicalY(*args
, **kwargs
)
1275 def DeviceToLogicalXRel(*args
, **kwargs
): return _gdi
.DC_DeviceToLogicalXRel(*args
, **kwargs
)
1276 def DeviceToLogicalYRel(*args
, **kwargs
): return _gdi
.DC_DeviceToLogicalYRel(*args
, **kwargs
)
1277 def LogicalToDeviceX(*args
, **kwargs
): return _gdi
.DC_LogicalToDeviceX(*args
, **kwargs
)
1278 def LogicalToDeviceY(*args
, **kwargs
): return _gdi
.DC_LogicalToDeviceY(*args
, **kwargs
)
1279 def LogicalToDeviceXRel(*args
, **kwargs
): return _gdi
.DC_LogicalToDeviceXRel(*args
, **kwargs
)
1280 def LogicalToDeviceYRel(*args
, **kwargs
): return _gdi
.DC_LogicalToDeviceYRel(*args
, **kwargs
)
1281 def CanDrawBitmap(*args
, **kwargs
): return _gdi
.DC_CanDrawBitmap(*args
, **kwargs
)
1282 def CanGetTextExtent(*args
, **kwargs
): return _gdi
.DC_CanGetTextExtent(*args
, **kwargs
)
1283 def GetDepth(*args
, **kwargs
): return _gdi
.DC_GetDepth(*args
, **kwargs
)
1284 def GetPPI(*args
, **kwargs
): return _gdi
.DC_GetPPI(*args
, **kwargs
)
1285 def Ok(*args
, **kwargs
): return _gdi
.DC_Ok(*args
, **kwargs
)
1286 def GetBackgroundMode(*args
, **kwargs
): return _gdi
.DC_GetBackgroundMode(*args
, **kwargs
)
1287 def GetBackground(*args
, **kwargs
): return _gdi
.DC_GetBackground(*args
, **kwargs
)
1288 def GetBrush(*args
, **kwargs
): return _gdi
.DC_GetBrush(*args
, **kwargs
)
1289 def GetFont(*args
, **kwargs
): return _gdi
.DC_GetFont(*args
, **kwargs
)
1290 def GetPen(*args
, **kwargs
): return _gdi
.DC_GetPen(*args
, **kwargs
)
1291 def GetTextBackground(*args
, **kwargs
): return _gdi
.DC_GetTextBackground(*args
, **kwargs
)
1292 def GetTextForeground(*args
, **kwargs
): return _gdi
.DC_GetTextForeground(*args
, **kwargs
)
1293 def SetTextForeground(*args
, **kwargs
): return _gdi
.DC_SetTextForeground(*args
, **kwargs
)
1294 def SetTextBackground(*args
, **kwargs
): return _gdi
.DC_SetTextBackground(*args
, **kwargs
)
1295 def GetMapMode(*args
, **kwargs
): return _gdi
.DC_GetMapMode(*args
, **kwargs
)
1296 def SetMapMode(*args
, **kwargs
): return _gdi
.DC_SetMapMode(*args
, **kwargs
)
1297 def GetUserScale(*args
, **kwargs
): return _gdi
.DC_GetUserScale(*args
, **kwargs
)
1298 def SetUserScale(*args
, **kwargs
): return _gdi
.DC_SetUserScale(*args
, **kwargs
)
1299 def GetLogicalScale(*args
, **kwargs
): return _gdi
.DC_GetLogicalScale(*args
, **kwargs
)
1300 def SetLogicalScale(*args
, **kwargs
): return _gdi
.DC_SetLogicalScale(*args
, **kwargs
)
1301 def GetLogicalOriginTuple(*args
, **kwargs
): return _gdi
.DC_GetLogicalOriginTuple(*args
, **kwargs
)
1302 def GetLogicalOrigin(*args
, **kwargs
): return _gdi
.DC_GetLogicalOrigin(*args
, **kwargs
)
1303 def SetLogicalOrigin(*args
, **kwargs
): return _gdi
.DC_SetLogicalOrigin(*args
, **kwargs
)
1304 def GetDeviceOriginTuple(*args
, **kwargs
): return _gdi
.DC_GetDeviceOriginTuple(*args
, **kwargs
)
1305 def GetDeviceOrigin(*args
, **kwargs
): return _gdi
.DC_GetDeviceOrigin(*args
, **kwargs
)
1306 def SetDeviceOrigin(*args
, **kwargs
): return _gdi
.DC_SetDeviceOrigin(*args
, **kwargs
)
1307 def SetAxisOrientation(*args
, **kwargs
): return _gdi
.DC_SetAxisOrientation(*args
, **kwargs
)
1308 def GetLogicalFunction(*args
, **kwargs
): return _gdi
.DC_GetLogicalFunction(*args
, **kwargs
)
1309 def SetLogicalFunction(*args
, **kwargs
): return _gdi
.DC_SetLogicalFunction(*args
, **kwargs
)
1310 def SetOptimization(*args
, **kwargs
): return _gdi
.DC_SetOptimization(*args
, **kwargs
)
1311 def GetOptimization(*args
, **kwargs
): return _gdi
.DC_GetOptimization(*args
, **kwargs
)
1312 def CalcBoundingBox(*args
, **kwargs
): return _gdi
.DC_CalcBoundingBox(*args
, **kwargs
)
1313 def ResetBoundingBox(*args
, **kwargs
): return _gdi
.DC_ResetBoundingBox(*args
, **kwargs
)
1314 def MinX(*args
, **kwargs
): return _gdi
.DC_MinX(*args
, **kwargs
)
1315 def MaxX(*args
, **kwargs
): return _gdi
.DC_MaxX(*args
, **kwargs
)
1316 def MinY(*args
, **kwargs
): return _gdi
.DC_MinY(*args
, **kwargs
)
1317 def MaxY(*args
, **kwargs
): return _gdi
.DC_MaxY(*args
, **kwargs
)
1318 def GetBoundingBox(*args
, **kwargs
): return _gdi
.DC_GetBoundingBox(*args
, **kwargs
)
1319 def __nonzero__(self
): return self
.Ok()
1320 def _DrawPointList(*args
, **kwargs
): return _gdi
.DC__DrawPointList(*args
, **kwargs
)
1321 def _DrawLineList(*args
, **kwargs
): return _gdi
.DC__DrawLineList(*args
, **kwargs
)
1322 def _DrawRectangleList(*args
, **kwargs
): return _gdi
.DC__DrawRectangleList(*args
, **kwargs
)
1323 def _DrawEllipseList(*args
, **kwargs
): return _gdi
.DC__DrawEllipseList(*args
, **kwargs
)
1324 def _DrawPolygonList(*args
, **kwargs
): return _gdi
.DC__DrawPolygonList(*args
, **kwargs
)
1325 def _DrawTextList(*args
, **kwargs
): return _gdi
.DC__DrawTextList(*args
, **kwargs
)
1326 def DrawPointList(self
, points
, pens
=None):
1329 elif isinstance(pens
, wx
.Pen
):
1331 elif len(pens
) != len(points
):
1332 raise ValueError('points and pens must have same length')
1333 return self
._DrawPointList
(points
, pens
, [])
1336 def DrawLineList(self
, lines
, pens
=None):
1339 elif isinstance(pens
, wx
.Pen
):
1341 elif len(pens
) != len(lines
):
1342 raise ValueError('lines and pens must have same length')
1343 return self
._DrawLineList
(lines
, pens
, [])
1346 def DrawRectangleList(self
, rectangles
, pens
=None, brushes
=None):
1349 elif isinstance(pens
, wx
.Pen
):
1351 elif len(pens
) != len(rectangles
):
1352 raise ValueError('rectangles and pens must have same length')
1355 elif isinstance(brushes
, wx
.Brush
):
1357 elif len(brushes
) != len(rectangles
):
1358 raise ValueError('rectangles and brushes must have same length')
1359 return self
._DrawRectangleList
(rectangles
, pens
, brushes
)
1362 def DrawEllipseList(self
, ellipses
, pens
=None, brushes
=None):
1365 elif isinstance(pens
, wx
.Pen
):
1367 elif len(pens
) != len(ellipses
):
1368 raise ValueError('ellipses and pens must have same length')
1371 elif isinstance(brushes
, wx
.Brush
):
1373 elif len(brushes
) != len(ellipses
):
1374 raise ValueError('ellipses and brushes must have same length')
1375 return self
._DrawEllipseList
(ellipses
, pens
, brushes
)
1378 def DrawPolygonList(self
, polygons
, pens
=None, brushes
=None):
1383 elif isinstance(pens
, wx
.Pen
):
1385 elif len(pens
) != len(polygons
):
1386 raise ValueError('polygons and pens must have same length')
1389 elif isinstance(brushes
, wx
.Brush
):
1391 elif len(brushes
) != len(polygons
):
1392 raise ValueError('polygons and brushes must have same length')
1393 return self
._DrawPolygonList
(polygons
, pens
, brushes
)
1396 def DrawTextList(self
, textList
, coords
, foregrounds
= None, backgrounds
= None, fonts
= None):
1400 if type(textList
) == type(''):
1401 textList
= [textList
]
1402 elif len(textList
) != len(coords
):
1403 raise ValueError('textlist and coords must have same length')
1404 if foregrounds
is None:
1406 elif isinstance(foregrounds
, wxColour
):
1407 foregrounds
= [foregrounds
]
1408 elif len(foregrounds
) != len(coords
):
1409 raise ValueError('foregrounds and coords must have same length')
1410 if backgrounds
is None:
1412 elif isinstance(backgrounds
, wxColour
):
1413 backgrounds
= [backgrounds
]
1414 elif len(backgrounds
) != len(coords
):
1415 raise ValueError('backgrounds and coords must have same length')
1416 return self
._DrawTextList
(textList
, coords
, foregrounds
, backgrounds
)
1418 def __init__(self
): raise RuntimeError, "No constructor defined"
1420 return "<%s.%s; proxy of C++ wxDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1423 def __init__(self
, this
):
1425 if not hasattr(self
,"thisown"): self
.thisown
= 0
1427 _gdi
.DC_swigregister(DCPtr
)
1429 #---------------------------------------------------------------------------
1432 def __init__(self
, *args
, **kwargs
):
1433 newobj
= _gdi
.new_MemoryDC(*args
, **kwargs
)
1434 self
.this
= newobj
.this
1437 def SelectObject(*args
, **kwargs
): return _gdi
.MemoryDC_SelectObject(*args
, **kwargs
)
1439 return "<%s.%s; proxy of C++ wxMemoryDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1441 class MemoryDCPtr(MemoryDC
):
1442 def __init__(self
, this
):
1444 if not hasattr(self
,"thisown"): self
.thisown
= 0
1445 self
.__class
__ = MemoryDC
1446 _gdi
.MemoryDC_swigregister(MemoryDCPtr
)
1448 def MemoryDCFromDC(*args
, **kwargs
):
1449 val
= _gdi
.new_MemoryDCFromDC(*args
, **kwargs
)
1453 #---------------------------------------------------------------------------
1455 class BufferedDC(MemoryDC
):
1456 def __init__(self
, *args
, **kwargs
):
1457 newobj
= _gdi
.new_BufferedDC(*args
, **kwargs
)
1458 self
.this
= newobj
.this
1461 self
._dc
= args
[0] # save a ref so the other dc will not be deleted before self
1462 def UnMask(*args
, **kwargs
): return _gdi
.BufferedDC_UnMask(*args
, **kwargs
)
1464 return "<%s.%s; proxy of C++ wxBufferedDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1466 class BufferedDCPtr(BufferedDC
):
1467 def __init__(self
, this
):
1469 if not hasattr(self
,"thisown"): self
.thisown
= 0
1470 self
.__class
__ = BufferedDC
1471 _gdi
.BufferedDC_swigregister(BufferedDCPtr
)
1473 def BufferedDCInternalBuffer(*args
, **kwargs
):
1474 val
= _gdi
.new_BufferedDCInternalBuffer(*args
, **kwargs
)
1476 val
._dc
= args
[0] # save a ref so the other dc will not be deleted before self
1479 class BufferedPaintDC(BufferedDC
):
1480 def __init__(self
, *args
, **kwargs
):
1481 newobj
= _gdi
.new_BufferedPaintDC(*args
, **kwargs
)
1482 self
.this
= newobj
.this
1486 return "<%s.%s; proxy of C++ wxBufferedPaintDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1488 class BufferedPaintDCPtr(BufferedPaintDC
):
1489 def __init__(self
, this
):
1491 if not hasattr(self
,"thisown"): self
.thisown
= 0
1492 self
.__class
__ = BufferedPaintDC
1493 _gdi
.BufferedPaintDC_swigregister(BufferedPaintDCPtr
)
1495 #---------------------------------------------------------------------------
1498 def __init__(self
, *args
, **kwargs
):
1499 newobj
= _gdi
.new_ScreenDC(*args
, **kwargs
)
1500 self
.this
= newobj
.this
1503 def StartDrawingOnTopWin(*args
, **kwargs
): return _gdi
.ScreenDC_StartDrawingOnTopWin(*args
, **kwargs
)
1504 def StartDrawingOnTop(*args
, **kwargs
): return _gdi
.ScreenDC_StartDrawingOnTop(*args
, **kwargs
)
1505 def EndDrawingOnTop(*args
, **kwargs
): return _gdi
.ScreenDC_EndDrawingOnTop(*args
, **kwargs
)
1507 return "<%s.%s; proxy of C++ wxScreenDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1509 class ScreenDCPtr(ScreenDC
):
1510 def __init__(self
, this
):
1512 if not hasattr(self
,"thisown"): self
.thisown
= 0
1513 self
.__class
__ = ScreenDC
1514 _gdi
.ScreenDC_swigregister(ScreenDCPtr
)
1516 #---------------------------------------------------------------------------
1519 def __init__(self
, *args
, **kwargs
):
1520 newobj
= _gdi
.new_ClientDC(*args
, **kwargs
)
1521 self
.this
= newobj
.this
1525 return "<%s.%s; proxy of C++ wxClientDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1527 class ClientDCPtr(ClientDC
):
1528 def __init__(self
, this
):
1530 if not hasattr(self
,"thisown"): self
.thisown
= 0
1531 self
.__class
__ = ClientDC
1532 _gdi
.ClientDC_swigregister(ClientDCPtr
)
1534 #---------------------------------------------------------------------------
1537 def __init__(self
, *args
, **kwargs
):
1538 newobj
= _gdi
.new_PaintDC(*args
, **kwargs
)
1539 self
.this
= newobj
.this
1543 return "<%s.%s; proxy of C++ wxPaintDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1545 class PaintDCPtr(PaintDC
):
1546 def __init__(self
, this
):
1548 if not hasattr(self
,"thisown"): self
.thisown
= 0
1549 self
.__class
__ = PaintDC
1550 _gdi
.PaintDC_swigregister(PaintDCPtr
)
1552 #---------------------------------------------------------------------------
1555 def __init__(self
, *args
, **kwargs
):
1556 newobj
= _gdi
.new_WindowDC(*args
, **kwargs
)
1557 self
.this
= newobj
.this
1561 return "<%s.%s; proxy of C++ wxWindowDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1563 class WindowDCPtr(WindowDC
):
1564 def __init__(self
, this
):
1566 if not hasattr(self
,"thisown"): self
.thisown
= 0
1567 self
.__class
__ = WindowDC
1568 _gdi
.WindowDC_swigregister(WindowDCPtr
)
1570 #---------------------------------------------------------------------------
1573 def __init__(self
, *args
, **kwargs
):
1574 newobj
= _gdi
.new_MirrorDC(*args
, **kwargs
)
1575 self
.this
= newobj
.this
1579 return "<%s.%s; proxy of C++ wxMirrorDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1581 class MirrorDCPtr(MirrorDC
):
1582 def __init__(self
, this
):
1584 if not hasattr(self
,"thisown"): self
.thisown
= 0
1585 self
.__class
__ = MirrorDC
1586 _gdi
.MirrorDC_swigregister(MirrorDCPtr
)
1588 #---------------------------------------------------------------------------
1590 class PostScriptDC(DC
):
1591 def __init__(self
, *args
, **kwargs
):
1592 newobj
= _gdi
.new_PostScriptDC(*args
, **kwargs
)
1593 self
.this
= newobj
.this
1596 def GetPrintData(*args
, **kwargs
): return _gdi
.PostScriptDC_GetPrintData(*args
, **kwargs
)
1597 def SetPrintData(*args
, **kwargs
): return _gdi
.PostScriptDC_SetPrintData(*args
, **kwargs
)
1598 SetResolution
= staticmethod(_gdi
.PostScriptDC_SetResolution
)
1599 GetResolution
= staticmethod(_gdi
.PostScriptDC_GetResolution
)
1601 return "<%s.%s; proxy of C++ wxPostScriptDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1603 class PostScriptDCPtr(PostScriptDC
):
1604 def __init__(self
, this
):
1606 if not hasattr(self
,"thisown"): self
.thisown
= 0
1607 self
.__class
__ = PostScriptDC
1608 _gdi
.PostScriptDC_swigregister(PostScriptDCPtr
)
1610 PostScriptDC_SetResolution
= _gdi
.PostScriptDC_SetResolution
1612 PostScriptDC_GetResolution
= _gdi
.PostScriptDC_GetResolution
1614 #---------------------------------------------------------------------------
1616 class MetaFile(core
.Object
):
1617 def __init__(self
, *args
, **kwargs
):
1618 newobj
= _gdi
.new_MetaFile(*args
, **kwargs
)
1619 self
.this
= newobj
.this
1623 return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1625 class MetaFilePtr(MetaFile
):
1626 def __init__(self
, this
):
1628 if not hasattr(self
,"thisown"): self
.thisown
= 0
1629 self
.__class
__ = MetaFile
1630 _gdi
.MetaFile_swigregister(MetaFilePtr
)
1632 class MetaFileDC(DC
):
1633 def __init__(self
, *args
, **kwargs
):
1634 newobj
= _gdi
.new_MetaFileDC(*args
, **kwargs
)
1635 self
.this
= newobj
.this
1639 return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1641 class MetaFileDCPtr(MetaFileDC
):
1642 def __init__(self
, this
):
1644 if not hasattr(self
,"thisown"): self
.thisown
= 0
1645 self
.__class
__ = MetaFileDC
1646 _gdi
.MetaFileDC_swigregister(MetaFileDCPtr
)
1648 class PrinterDC(DC
):
1649 def __init__(self
, *args
, **kwargs
):
1650 newobj
= _gdi
.new_PrinterDC(*args
, **kwargs
)
1651 self
.this
= newobj
.this
1655 return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1657 class PrinterDCPtr(PrinterDC
):
1658 def __init__(self
, this
):
1660 if not hasattr(self
,"thisown"): self
.thisown
= 0
1661 self
.__class
__ = PrinterDC
1662 _gdi
.PrinterDC_swigregister(PrinterDCPtr
)
1664 #---------------------------------------------------------------------------
1666 IMAGELIST_DRAW_NORMAL
= _gdi
.IMAGELIST_DRAW_NORMAL
1667 IMAGELIST_DRAW_TRANSPARENT
= _gdi
.IMAGELIST_DRAW_TRANSPARENT
1668 IMAGELIST_DRAW_SELECTED
= _gdi
.IMAGELIST_DRAW_SELECTED
1669 IMAGELIST_DRAW_FOCUSED
= _gdi
.IMAGELIST_DRAW_FOCUSED
1670 IMAGE_LIST_NORMAL
= _gdi
.IMAGE_LIST_NORMAL
1671 IMAGE_LIST_SMALL
= _gdi
.IMAGE_LIST_SMALL
1672 IMAGE_LIST_STATE
= _gdi
.IMAGE_LIST_STATE
1673 class ImageList(core
.Object
):
1674 def __init__(self
, *args
, **kwargs
):
1675 newobj
= _gdi
.new_ImageList(*args
, **kwargs
)
1676 self
.this
= newobj
.this
1679 def __del__(self
, destroy
=_gdi
.delete_ImageList
):
1681 if self
.thisown
: destroy(self
)
1683 def Add(*args
, **kwargs
): return _gdi
.ImageList_Add(*args
, **kwargs
)
1684 def AddWithColourMask(*args
, **kwargs
): return _gdi
.ImageList_AddWithColourMask(*args
, **kwargs
)
1685 def AddIcon(*args
, **kwargs
): return _gdi
.ImageList_AddIcon(*args
, **kwargs
)
1686 def Replace(*args
, **kwargs
): return _gdi
.ImageList_Replace(*args
, **kwargs
)
1687 def Draw(*args
, **kwargs
): return _gdi
.ImageList_Draw(*args
, **kwargs
)
1688 def GetImageCount(*args
, **kwargs
): return _gdi
.ImageList_GetImageCount(*args
, **kwargs
)
1689 def Remove(*args
, **kwargs
): return _gdi
.ImageList_Remove(*args
, **kwargs
)
1690 def RemoveAll(*args
, **kwargs
): return _gdi
.ImageList_RemoveAll(*args
, **kwargs
)
1691 def GetSize(*args
, **kwargs
): return _gdi
.ImageList_GetSize(*args
, **kwargs
)
1693 return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1695 class ImageListPtr(ImageList
):
1696 def __init__(self
, this
):
1698 if not hasattr(self
,"thisown"): self
.thisown
= 0
1699 self
.__class
__ = ImageList
1700 _gdi
.ImageList_swigregister(ImageListPtr
)
1702 #---------------------------------------------------------------------------
1704 class PenList(core
.Object
):
1705 def AddPen(*args
, **kwargs
): return _gdi
.PenList_AddPen(*args
, **kwargs
)
1706 def FindOrCreatePen(*args
, **kwargs
): return _gdi
.PenList_FindOrCreatePen(*args
, **kwargs
)
1707 def RemovePen(*args
, **kwargs
): return _gdi
.PenList_RemovePen(*args
, **kwargs
)
1708 def GetCount(*args
, **kwargs
): return _gdi
.PenList_GetCount(*args
, **kwargs
)
1709 def __init__(self
): raise RuntimeError, "No constructor defined"
1711 return "<%s.%s; proxy of C++ wxPenList instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1713 class PenListPtr(PenList
):
1714 def __init__(self
, this
):
1716 if not hasattr(self
,"thisown"): self
.thisown
= 0
1717 self
.__class
__ = PenList
1718 _gdi
.PenList_swigregister(PenListPtr
)
1720 class BrushList(core
.Object
):
1721 def AddBrush(*args
, **kwargs
): return _gdi
.BrushList_AddBrush(*args
, **kwargs
)
1722 def FindOrCreateBrush(*args
, **kwargs
): return _gdi
.BrushList_FindOrCreateBrush(*args
, **kwargs
)
1723 def RemoveBrush(*args
, **kwargs
): return _gdi
.BrushList_RemoveBrush(*args
, **kwargs
)
1724 def GetCount(*args
, **kwargs
): return _gdi
.BrushList_GetCount(*args
, **kwargs
)
1725 def __init__(self
): raise RuntimeError, "No constructor defined"
1727 return "<%s.%s; proxy of C++ wxBrushList instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1729 class BrushListPtr(BrushList
):
1730 def __init__(self
, this
):
1732 if not hasattr(self
,"thisown"): self
.thisown
= 0
1733 self
.__class
__ = BrushList
1734 _gdi
.BrushList_swigregister(BrushListPtr
)
1736 class ColourDatabase(core
.Object
):
1737 def __init__(self
, *args
, **kwargs
):
1738 newobj
= _gdi
.new_ColourDatabase(*args
, **kwargs
)
1739 self
.this
= newobj
.this
1742 def __del__(self
, destroy
=_gdi
.delete_ColourDatabase
):
1744 if self
.thisown
: destroy(self
)
1746 def Find(*args
, **kwargs
): return _gdi
.ColourDatabase_Find(*args
, **kwargs
)
1747 def FindName(*args
, **kwargs
): return _gdi
.ColourDatabase_FindName(*args
, **kwargs
)
1749 def AddColour(*args
, **kwargs
): return _gdi
.ColourDatabase_AddColour(*args
, **kwargs
)
1750 def Append(*args
, **kwargs
): return _gdi
.ColourDatabase_Append(*args
, **kwargs
)
1752 return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1754 class ColourDatabasePtr(ColourDatabase
):
1755 def __init__(self
, this
):
1757 if not hasattr(self
,"thisown"): self
.thisown
= 0
1758 self
.__class
__ = ColourDatabase
1759 _gdi
.ColourDatabase_swigregister(ColourDatabasePtr
)
1761 class FontList(core
.Object
):
1762 def AddFont(*args
, **kwargs
): return _gdi
.FontList_AddFont(*args
, **kwargs
)
1763 def FindOrCreateFont(*args
, **kwargs
): return _gdi
.FontList_FindOrCreateFont(*args
, **kwargs
)
1764 def RemoveFont(*args
, **kwargs
): return _gdi
.FontList_RemoveFont(*args
, **kwargs
)
1765 def GetCount(*args
, **kwargs
): return _gdi
.FontList_GetCount(*args
, **kwargs
)
1766 def __init__(self
): raise RuntimeError, "No constructor defined"
1768 return "<%s.%s; proxy of C++ wxFontList instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1770 class FontListPtr(FontList
):
1771 def __init__(self
, this
):
1773 if not hasattr(self
,"thisown"): self
.thisown
= 0
1774 self
.__class
__ = FontList
1775 _gdi
.FontList_swigregister(FontListPtr
)
1777 #---------------------------------------------------------------------------
1779 #---------------------------------------------------------------------------
1781 class DragImage(core
.Object
):
1782 def __init__(self
, *args
, **kwargs
):
1783 newobj
= _gdi
.new_DragImage(*args
, **kwargs
)
1784 self
.this
= newobj
.this
1787 def __del__(self
, destroy
=_gdi
.delete_DragImage
):
1789 if self
.thisown
: destroy(self
)
1791 def SetBackingBitmap(*args
, **kwargs
): return _gdi
.DragImage_SetBackingBitmap(*args
, **kwargs
)
1792 def BeginDrag(*args
, **kwargs
): return _gdi
.DragImage_BeginDrag(*args
, **kwargs
)
1793 def BeginDragBounded(*args
, **kwargs
): return _gdi
.DragImage_BeginDragBounded(*args
, **kwargs
)
1794 def EndDrag(*args
, **kwargs
): return _gdi
.DragImage_EndDrag(*args
, **kwargs
)
1795 def Move(*args
, **kwargs
): return _gdi
.DragImage_Move(*args
, **kwargs
)
1796 def Show(*args
, **kwargs
): return _gdi
.DragImage_Show(*args
, **kwargs
)
1797 def Hide(*args
, **kwargs
): return _gdi
.DragImage_Hide(*args
, **kwargs
)
1798 def GetImageRect(*args
, **kwargs
): return _gdi
.DragImage_GetImageRect(*args
, **kwargs
)
1799 def DoDrawImage(*args
, **kwargs
): return _gdi
.DragImage_DoDrawImage(*args
, **kwargs
)
1800 def UpdateBackingFromWindow(*args
, **kwargs
): return _gdi
.DragImage_UpdateBackingFromWindow(*args
, **kwargs
)
1801 def RedrawImage(*args
, **kwargs
): return _gdi
.DragImage_RedrawImage(*args
, **kwargs
)
1803 return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1805 class DragImagePtr(DragImage
):
1806 def __init__(self
, this
):
1808 if not hasattr(self
,"thisown"): self
.thisown
= 0
1809 self
.__class
__ = DragImage
1810 _gdi
.DragImage_swigregister(DragImagePtr
)
1812 NORMAL_FONT
= cvar
.NORMAL_FONT
1813 SMALL_FONT
= cvar
.SMALL_FONT
1814 ITALIC_FONT
= cvar
.ITALIC_FONT
1815 SWISS_FONT
= cvar
.SWISS_FONT
1816 RED_PEN
= cvar
.RED_PEN
1817 CYAN_PEN
= cvar
.CYAN_PEN
1818 GREEN_PEN
= cvar
.GREEN_PEN
1819 BLACK_PEN
= cvar
.BLACK_PEN
1820 WHITE_PEN
= cvar
.WHITE_PEN
1821 TRANSPARENT_PEN
= cvar
.TRANSPARENT_PEN
1822 BLACK_DASHED_PEN
= cvar
.BLACK_DASHED_PEN
1823 GREY_PEN
= cvar
.GREY_PEN
1824 MEDIUM_GREY_PEN
= cvar
.MEDIUM_GREY_PEN
1825 LIGHT_GREY_PEN
= cvar
.LIGHT_GREY_PEN
1826 BLUE_BRUSH
= cvar
.BLUE_BRUSH
1827 GREEN_BRUSH
= cvar
.GREEN_BRUSH
1828 WHITE_BRUSH
= cvar
.WHITE_BRUSH
1829 BLACK_BRUSH
= cvar
.BLACK_BRUSH
1830 TRANSPARENT_BRUSH
= cvar
.TRANSPARENT_BRUSH
1831 CYAN_BRUSH
= cvar
.CYAN_BRUSH
1832 RED_BRUSH
= cvar
.RED_BRUSH
1833 GREY_BRUSH
= cvar
.GREY_BRUSH
1834 MEDIUM_GREY_BRUSH
= cvar
.MEDIUM_GREY_BRUSH
1835 LIGHT_GREY_BRUSH
= cvar
.LIGHT_GREY_BRUSH
1842 LIGHT_GREY
= cvar
.LIGHT_GREY
1843 STANDARD_CURSOR
= cvar
.STANDARD_CURSOR
1844 HOURGLASS_CURSOR
= cvar
.HOURGLASS_CURSOR
1845 CROSS_CURSOR
= cvar
.CROSS_CURSOR
1846 NullBitmap
= cvar
.NullBitmap
1847 NullIcon
= cvar
.NullIcon
1848 NullCursor
= cvar
.NullCursor
1849 NullPen
= cvar
.NullPen
1850 NullBrush
= cvar
.NullBrush
1851 NullPalette
= cvar
.NullPalette
1852 NullFont
= cvar
.NullFont
1853 NullColour
= cvar
.NullColour
1854 TheFontList
= cvar
.TheFontList
1855 ThePenList
= cvar
.ThePenList
1856 TheBrushList
= cvar
.TheBrushList
1857 TheColourDatabase
= cvar
.TheColourDatabase
1859 def DragIcon(*args
, **kwargs
):
1860 val
= _gdi
.new_DragIcon(*args
, **kwargs
)
1864 def DragString(*args
, **kwargs
):
1865 val
= _gdi
.new_DragString(*args
, **kwargs
)
1869 def DragTreeItem(*args
, **kwargs
):
1870 val
= _gdi
.new_DragTreeItem(*args
, **kwargs
)
1874 def DragListItem(*args
, **kwargs
):
1875 val
= _gdi
.new_DragListItem(*args
, **kwargs
)
1879 #---------------------------------------------------------------------------
1881 class Effects(core
.Object
):
1882 def __init__(self
, *args
, **kwargs
):
1883 newobj
= _gdi
.new_Effects(*args
, **kwargs
)
1884 self
.this
= newobj
.this
1887 def GetHighlightColour(*args
, **kwargs
): return _gdi
.Effects_GetHighlightColour(*args
, **kwargs
)
1888 def GetLightShadow(*args
, **kwargs
): return _gdi
.Effects_GetLightShadow(*args
, **kwargs
)
1889 def GetFaceColour(*args
, **kwargs
): return _gdi
.Effects_GetFaceColour(*args
, **kwargs
)
1890 def GetMediumShadow(*args
, **kwargs
): return _gdi
.Effects_GetMediumShadow(*args
, **kwargs
)
1891 def GetDarkShadow(*args
, **kwargs
): return _gdi
.Effects_GetDarkShadow(*args
, **kwargs
)
1892 def SetHighlightColour(*args
, **kwargs
): return _gdi
.Effects_SetHighlightColour(*args
, **kwargs
)
1893 def SetLightShadow(*args
, **kwargs
): return _gdi
.Effects_SetLightShadow(*args
, **kwargs
)
1894 def SetFaceColour(*args
, **kwargs
): return _gdi
.Effects_SetFaceColour(*args
, **kwargs
)
1895 def SetMediumShadow(*args
, **kwargs
): return _gdi
.Effects_SetMediumShadow(*args
, **kwargs
)
1896 def SetDarkShadow(*args
, **kwargs
): return _gdi
.Effects_SetDarkShadow(*args
, **kwargs
)
1897 def Set(*args
, **kwargs
): return _gdi
.Effects_Set(*args
, **kwargs
)
1898 def DrawSunkenEdge(*args
, **kwargs
): return _gdi
.Effects_DrawSunkenEdge(*args
, **kwargs
)
1899 def TileBitmap(*args
, **kwargs
): return _gdi
.Effects_TileBitmap(*args
, **kwargs
)
1901 return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1903 class EffectsPtr(Effects
):
1904 def __init__(self
, this
):
1906 if not hasattr(self
,"thisown"): self
.thisown
= 0
1907 self
.__class
__ = Effects
1908 _gdi
.Effects_swigregister(EffectsPtr
)