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 wxNativeFontInfoPtr
:
248 def __init__(self
,this
):
251 def FromString(self
, *_args
, **_kwargs
):
252 val
= apply(gdic
.wxNativeFontInfo_FromString
,(self
,) + _args
, _kwargs
)
254 def ToString(self
, *_args
, **_kwargs
):
255 val
= apply(gdic
.wxNativeFontInfo_ToString
,(self
,) + _args
, _kwargs
)
257 def __str__(self
, *_args
, **_kwargs
):
258 val
= apply(gdic
.wxNativeFontInfo___str__
,(self
,) + _args
, _kwargs
)
261 return "<C wxNativeFontInfo instance at %s>" % (self
.this
,)
262 class wxNativeFontInfo(wxNativeFontInfoPtr
):
263 def __init__(self
,this
):
269 class wxFontMapperPtr
:
270 def __init__(self
,this
):
273 def __del__(self
,gdic
=gdic
):
274 if self
.thisown
== 1 :
275 gdic
.delete_wxFontMapper(self
)
276 def GetAltForEncoding(self
, *_args
, **_kwargs
):
277 val
= apply(gdic
.wxFontMapper_GetAltForEncoding
,(self
,) + _args
, _kwargs
)
279 def IsEncodingAvailable(self
, *_args
, **_kwargs
):
280 val
= apply(gdic
.wxFontMapper_IsEncodingAvailable
,(self
,) + _args
, _kwargs
)
282 def CharsetToEncoding(self
, *_args
, **_kwargs
):
283 val
= apply(gdic
.wxFontMapper_CharsetToEncoding
,(self
,) + _args
, _kwargs
)
285 def SetDialogParent(self
, *_args
, **_kwargs
):
286 val
= apply(gdic
.wxFontMapper_SetDialogParent
,(self
,) + _args
, _kwargs
)
288 def SetDialogTitle(self
, *_args
, **_kwargs
):
289 val
= apply(gdic
.wxFontMapper_SetDialogTitle
,(self
,) + _args
, _kwargs
)
291 def SetConfig(self
, *_args
, **_kwargs
):
292 val
= apply(gdic
.wxFontMapper_SetConfig
,(self
,) + _args
, _kwargs
)
294 def SetConfigPath(self
, *_args
, **_kwargs
):
295 val
= apply(gdic
.wxFontMapper_SetConfigPath
,(self
,) + _args
, _kwargs
)
298 return "<C wxFontMapper instance at %s>" % (self
.this
,)
299 class wxFontMapper(wxFontMapperPtr
):
300 def __init__(self
,*_args
,**_kwargs
):
301 self
.this
= apply(gdic
.new_wxFontMapper
,_args
,_kwargs
)
307 class wxFontPtr(wxGDIObjectPtr
):
308 def __init__(self
,this
):
311 def __del__(self
,gdic
=gdic
):
312 if self
.thisown
== 1 :
313 gdic
.delete_wxFont(self
)
314 def Ok(self
, *_args
, **_kwargs
):
315 val
= apply(gdic
.wxFont_Ok
,(self
,) + _args
, _kwargs
)
317 def GetPointSize(self
, *_args
, **_kwargs
):
318 val
= apply(gdic
.wxFont_GetPointSize
,(self
,) + _args
, _kwargs
)
320 def GetFamily(self
, *_args
, **_kwargs
):
321 val
= apply(gdic
.wxFont_GetFamily
,(self
,) + _args
, _kwargs
)
323 def GetStyle(self
, *_args
, **_kwargs
):
324 val
= apply(gdic
.wxFont_GetStyle
,(self
,) + _args
, _kwargs
)
326 def GetWeight(self
, *_args
, **_kwargs
):
327 val
= apply(gdic
.wxFont_GetWeight
,(self
,) + _args
, _kwargs
)
329 def GetUnderlined(self
, *_args
, **_kwargs
):
330 val
= apply(gdic
.wxFont_GetUnderlined
,(self
,) + _args
, _kwargs
)
332 def GetFaceName(self
, *_args
, **_kwargs
):
333 val
= apply(gdic
.wxFont_GetFaceName
,(self
,) + _args
, _kwargs
)
335 def GetEncoding(self
, *_args
, **_kwargs
):
336 val
= apply(gdic
.wxFont_GetEncoding
,(self
,) + _args
, _kwargs
)
338 def GetNativeFontInfo(self
, *_args
, **_kwargs
):
339 val
= apply(gdic
.wxFont_GetNativeFontInfo
,(self
,) + _args
, _kwargs
)
340 if val
: val
= wxNativeFontInfoPtr(val
)
342 def SetPointSize(self
, *_args
, **_kwargs
):
343 val
= apply(gdic
.wxFont_SetPointSize
,(self
,) + _args
, _kwargs
)
345 def SetFamily(self
, *_args
, **_kwargs
):
346 val
= apply(gdic
.wxFont_SetFamily
,(self
,) + _args
, _kwargs
)
348 def SetStyle(self
, *_args
, **_kwargs
):
349 val
= apply(gdic
.wxFont_SetStyle
,(self
,) + _args
, _kwargs
)
351 def SetWeight(self
, *_args
, **_kwargs
):
352 val
= apply(gdic
.wxFont_SetWeight
,(self
,) + _args
, _kwargs
)
354 def SetFaceName(self
, *_args
, **_kwargs
):
355 val
= apply(gdic
.wxFont_SetFaceName
,(self
,) + _args
, _kwargs
)
357 def SetUnderlined(self
, *_args
, **_kwargs
):
358 val
= apply(gdic
.wxFont_SetUnderlined
,(self
,) + _args
, _kwargs
)
360 def SetEncoding(self
, *_args
, **_kwargs
):
361 val
= apply(gdic
.wxFont_SetEncoding
,(self
,) + _args
, _kwargs
)
363 def SetNativeFontInfo(self
, *_args
, **_kwargs
):
364 val
= apply(gdic
.wxFont_SetNativeFontInfo
,(self
,) + _args
, _kwargs
)
366 def GetFamilyString(self
, *_args
, **_kwargs
):
367 val
= apply(gdic
.wxFont_GetFamilyString
,(self
,) + _args
, _kwargs
)
369 def GetStyleString(self
, *_args
, **_kwargs
):
370 val
= apply(gdic
.wxFont_GetStyleString
,(self
,) + _args
, _kwargs
)
372 def GetWeightString(self
, *_args
, **_kwargs
):
373 val
= apply(gdic
.wxFont_GetWeightString
,(self
,) + _args
, _kwargs
)
376 return "<C wxFont instance at %s>" % (self
.this
,)
377 class wxFont(wxFontPtr
):
378 def __init__(self
,*_args
,**_kwargs
):
379 self
.this
= apply(gdic
.new_wxFont
,_args
,_kwargs
)
384 def wxFontFromNativeInfo(*_args
,**_kwargs
):
385 val
= wxFontPtr(apply(gdic
.new_wxFontFromNativeInfo
,_args
,_kwargs
))
390 class wxFontListPtr(wxObjectPtr
):
391 def __init__(self
,this
):
394 def AddFont(self
, *_args
, **_kwargs
):
395 val
= apply(gdic
.wxFontList_AddFont
,(self
,) + _args
, _kwargs
)
397 def FindOrCreateFont(self
, *_args
, **_kwargs
):
398 val
= apply(gdic
.wxFontList_FindOrCreateFont
,(self
,) + _args
, _kwargs
)
399 if val
: val
= wxFontPtr(val
)
401 def RemoveFont(self
, *_args
, **_kwargs
):
402 val
= apply(gdic
.wxFontList_RemoveFont
,(self
,) + _args
, _kwargs
)
405 return "<C wxFontList instance at %s>" % (self
.this
,)
406 class wxFontList(wxFontListPtr
):
407 def __init__(self
,this
):
413 class wxColourPtr(wxObjectPtr
):
414 def __init__(self
,this
):
417 def __del__(self
,gdic
=gdic
):
418 if self
.thisown
== 1 :
419 gdic
.delete_wxColour(self
)
420 def Red(self
, *_args
, **_kwargs
):
421 val
= apply(gdic
.wxColour_Red
,(self
,) + _args
, _kwargs
)
423 def Green(self
, *_args
, **_kwargs
):
424 val
= apply(gdic
.wxColour_Green
,(self
,) + _args
, _kwargs
)
426 def Blue(self
, *_args
, **_kwargs
):
427 val
= apply(gdic
.wxColour_Blue
,(self
,) + _args
, _kwargs
)
429 def Ok(self
, *_args
, **_kwargs
):
430 val
= apply(gdic
.wxColour_Ok
,(self
,) + _args
, _kwargs
)
432 def Set(self
, *_args
, **_kwargs
):
433 val
= apply(gdic
.wxColour_Set
,(self
,) + _args
, _kwargs
)
435 def Get(self
, *_args
, **_kwargs
):
436 val
= apply(gdic
.wxColour_Get
,(self
,) + _args
, _kwargs
)
439 return "<C wxColour instance at %s>" % (self
.this
,)
441 def __str__(self
): return str(self
.asTuple())
442 def __repr__(self
): return str(self
.asTuple())
443 class wxColour(wxColourPtr
):
444 def __init__(self
,*_args
,**_kwargs
):
445 self
.this
= apply(gdic
.new_wxColour
,_args
,_kwargs
)
451 class wxColourDatabasePtr(wxObjectPtr
):
452 def __init__(self
,this
):
455 def FindColour(self
, *_args
, **_kwargs
):
456 val
= apply(gdic
.wxColourDatabase_FindColour
,(self
,) + _args
, _kwargs
)
457 if val
: val
= wxColourPtr(val
)
459 def FindName(self
, *_args
, **_kwargs
):
460 val
= apply(gdic
.wxColourDatabase_FindName
,(self
,) + _args
, _kwargs
)
462 def Append(self
, *_args
, **_kwargs
):
463 val
= apply(gdic
.wxColourDatabase_Append
,(self
,) + _args
, _kwargs
)
466 return "<C wxColourDatabase instance at %s>" % (self
.this
,)
467 class wxColourDatabase(wxColourDatabasePtr
):
468 def __init__(self
,this
):
474 class wxPenPtr(wxGDIObjectPtr
):
475 def __init__(self
,this
):
478 def __del__(self
,gdic
=gdic
):
479 if self
.thisown
== 1 :
480 gdic
.delete_wxPen(self
)
481 def GetCap(self
, *_args
, **_kwargs
):
482 val
= apply(gdic
.wxPen_GetCap
,(self
,) + _args
, _kwargs
)
484 def GetColour(self
, *_args
, **_kwargs
):
485 val
= apply(gdic
.wxPen_GetColour
,(self
,) + _args
, _kwargs
)
486 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
488 def GetJoin(self
, *_args
, **_kwargs
):
489 val
= apply(gdic
.wxPen_GetJoin
,(self
,) + _args
, _kwargs
)
491 def GetStyle(self
, *_args
, **_kwargs
):
492 val
= apply(gdic
.wxPen_GetStyle
,(self
,) + _args
, _kwargs
)
494 def GetWidth(self
, *_args
, **_kwargs
):
495 val
= apply(gdic
.wxPen_GetWidth
,(self
,) + _args
, _kwargs
)
497 def Ok(self
, *_args
, **_kwargs
):
498 val
= apply(gdic
.wxPen_Ok
,(self
,) + _args
, _kwargs
)
500 def SetCap(self
, *_args
, **_kwargs
):
501 val
= apply(gdic
.wxPen_SetCap
,(self
,) + _args
, _kwargs
)
503 def SetColour(self
, *_args
, **_kwargs
):
504 val
= apply(gdic
.wxPen_SetColour
,(self
,) + _args
, _kwargs
)
506 def SetJoin(self
, *_args
, **_kwargs
):
507 val
= apply(gdic
.wxPen_SetJoin
,(self
,) + _args
, _kwargs
)
509 def SetStyle(self
, *_args
, **_kwargs
):
510 val
= apply(gdic
.wxPen_SetStyle
,(self
,) + _args
, _kwargs
)
512 def SetWidth(self
, *_args
, **_kwargs
):
513 val
= apply(gdic
.wxPen_SetWidth
,(self
,) + _args
, _kwargs
)
515 def SetDashes(self
, *_args
, **_kwargs
):
516 val
= apply(gdic
.wxPen_SetDashes
,(self
,) + _args
, _kwargs
)
518 def GetStipple(self
, *_args
, **_kwargs
):
519 val
= apply(gdic
.wxPen_GetStipple
,(self
,) + _args
, _kwargs
)
520 if val
: val
= wxBitmapPtr(val
)
522 def SetStipple(self
, *_args
, **_kwargs
):
523 val
= apply(gdic
.wxPen_SetStipple
,(self
,) + _args
, _kwargs
)
526 return "<C wxPen instance at %s>" % (self
.this
,)
527 class wxPen(wxPenPtr
):
528 def __init__(self
,*_args
,**_kwargs
):
529 self
.this
= apply(gdic
.new_wxPen
,_args
,_kwargs
)
535 class wxPyPenPtr(wxPenPtr
):
536 def __init__(self
,this
):
539 def __del__(self
,gdic
=gdic
):
540 if self
.thisown
== 1 :
541 gdic
.delete_wxPyPen(self
)
542 def SetDashes(self
, *_args
, **_kwargs
):
543 val
= apply(gdic
.wxPyPen_SetDashes
,(self
,) + _args
, _kwargs
)
546 return "<C wxPyPen instance at %s>" % (self
.this
,)
547 class wxPyPen(wxPyPenPtr
):
548 def __init__(self
,*_args
,**_kwargs
):
549 self
.this
= apply(gdic
.new_wxPyPen
,_args
,_kwargs
)
555 class wxPenListPtr(wxObjectPtr
):
556 def __init__(self
,this
):
559 def AddPen(self
, *_args
, **_kwargs
):
560 val
= apply(gdic
.wxPenList_AddPen
,(self
,) + _args
, _kwargs
)
562 def FindOrCreatePen(self
, *_args
, **_kwargs
):
563 val
= apply(gdic
.wxPenList_FindOrCreatePen
,(self
,) + _args
, _kwargs
)
564 if val
: val
= wxPenPtr(val
)
566 def RemovePen(self
, *_args
, **_kwargs
):
567 val
= apply(gdic
.wxPenList_RemovePen
,(self
,) + _args
, _kwargs
)
570 return "<C wxPenList instance at %s>" % (self
.this
,)
571 class wxPenList(wxPenListPtr
):
572 def __init__(self
,this
):
578 class wxBrushPtr(wxGDIObjectPtr
):
579 def __init__(self
,this
):
582 def __del__(self
,gdic
=gdic
):
583 if self
.thisown
== 1 :
584 gdic
.delete_wxBrush(self
)
585 def GetColour(self
, *_args
, **_kwargs
):
586 val
= apply(gdic
.wxBrush_GetColour
,(self
,) + _args
, _kwargs
)
587 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
589 def GetStipple(self
, *_args
, **_kwargs
):
590 val
= apply(gdic
.wxBrush_GetStipple
,(self
,) + _args
, _kwargs
)
591 if val
: val
= wxBitmapPtr(val
)
593 def GetStyle(self
, *_args
, **_kwargs
):
594 val
= apply(gdic
.wxBrush_GetStyle
,(self
,) + _args
, _kwargs
)
596 def Ok(self
, *_args
, **_kwargs
):
597 val
= apply(gdic
.wxBrush_Ok
,(self
,) + _args
, _kwargs
)
599 def SetColour(self
, *_args
, **_kwargs
):
600 val
= apply(gdic
.wxBrush_SetColour
,(self
,) + _args
, _kwargs
)
602 def SetStipple(self
, *_args
, **_kwargs
):
603 val
= apply(gdic
.wxBrush_SetStipple
,(self
,) + _args
, _kwargs
)
605 def SetStyle(self
, *_args
, **_kwargs
):
606 val
= apply(gdic
.wxBrush_SetStyle
,(self
,) + _args
, _kwargs
)
609 return "<C wxBrush instance at %s>" % (self
.this
,)
610 class wxBrush(wxBrushPtr
):
611 def __init__(self
,*_args
,**_kwargs
):
612 self
.this
= apply(gdic
.new_wxBrush
,_args
,_kwargs
)
618 class wxBrushListPtr(wxObjectPtr
):
619 def __init__(self
,this
):
622 def AddBrush(self
, *_args
, **_kwargs
):
623 val
= apply(gdic
.wxBrushList_AddBrush
,(self
,) + _args
, _kwargs
)
625 def FindOrCreateBrush(self
, *_args
, **_kwargs
):
626 val
= apply(gdic
.wxBrushList_FindOrCreateBrush
,(self
,) + _args
, _kwargs
)
627 if val
: val
= wxBrushPtr(val
)
629 def RemoveBrush(self
, *_args
, **_kwargs
):
630 val
= apply(gdic
.wxBrushList_RemoveBrush
,(self
,) + _args
, _kwargs
)
633 return "<C wxBrushList instance at %s>" % (self
.this
,)
634 class wxBrushList(wxBrushListPtr
):
635 def __init__(self
,this
):
641 class wxDCPtr(wxObjectPtr
):
642 def __init__(self
,this
):
645 def __del__(self
,gdic
=gdic
):
646 if self
.thisown
== 1 :
647 gdic
.delete_wxDC(self
)
648 def BeginDrawing(self
, *_args
, **_kwargs
):
649 val
= apply(gdic
.wxDC_BeginDrawing
,(self
,) + _args
, _kwargs
)
651 def Blit(self
, *_args
, **_kwargs
):
652 val
= apply(gdic
.wxDC_Blit
,(self
,) + _args
, _kwargs
)
654 def Clear(self
, *_args
, **_kwargs
):
655 val
= apply(gdic
.wxDC_Clear
,(self
,) + _args
, _kwargs
)
657 def CrossHair(self
, *_args
, **_kwargs
):
658 val
= apply(gdic
.wxDC_CrossHair
,(self
,) + _args
, _kwargs
)
660 def DestroyClippingRegion(self
, *_args
, **_kwargs
):
661 val
= apply(gdic
.wxDC_DestroyClippingRegion
,(self
,) + _args
, _kwargs
)
663 def DeviceToLogicalX(self
, *_args
, **_kwargs
):
664 val
= apply(gdic
.wxDC_DeviceToLogicalX
,(self
,) + _args
, _kwargs
)
666 def DeviceToLogicalXRel(self
, *_args
, **_kwargs
):
667 val
= apply(gdic
.wxDC_DeviceToLogicalXRel
,(self
,) + _args
, _kwargs
)
669 def DeviceToLogicalY(self
, *_args
, **_kwargs
):
670 val
= apply(gdic
.wxDC_DeviceToLogicalY
,(self
,) + _args
, _kwargs
)
672 def DeviceToLogicalYRel(self
, *_args
, **_kwargs
):
673 val
= apply(gdic
.wxDC_DeviceToLogicalYRel
,(self
,) + _args
, _kwargs
)
675 def DrawArc(self
, *_args
, **_kwargs
):
676 val
= apply(gdic
.wxDC_DrawArc
,(self
,) + _args
, _kwargs
)
678 def DrawCircle(self
, *_args
, **_kwargs
):
679 val
= apply(gdic
.wxDC_DrawCircle
,(self
,) + _args
, _kwargs
)
681 def DrawEllipse(self
, *_args
, **_kwargs
):
682 val
= apply(gdic
.wxDC_DrawEllipse
,(self
,) + _args
, _kwargs
)
684 def DrawEllipticArc(self
, *_args
, **_kwargs
):
685 val
= apply(gdic
.wxDC_DrawEllipticArc
,(self
,) + _args
, _kwargs
)
687 def DrawIcon(self
, *_args
, **_kwargs
):
688 val
= apply(gdic
.wxDC_DrawIcon
,(self
,) + _args
, _kwargs
)
690 def DrawLine(self
, *_args
, **_kwargs
):
691 val
= apply(gdic
.wxDC_DrawLine
,(self
,) + _args
, _kwargs
)
693 def DrawLines(self
, *_args
, **_kwargs
):
694 val
= apply(gdic
.wxDC_DrawLines
,(self
,) + _args
, _kwargs
)
696 def DrawPolygon(self
, *_args
, **_kwargs
):
697 val
= apply(gdic
.wxDC_DrawPolygon
,(self
,) + _args
, _kwargs
)
699 def DrawPoint(self
, *_args
, **_kwargs
):
700 val
= apply(gdic
.wxDC_DrawPoint
,(self
,) + _args
, _kwargs
)
702 def DrawRectangle(self
, *_args
, **_kwargs
):
703 val
= apply(gdic
.wxDC_DrawRectangle
,(self
,) + _args
, _kwargs
)
705 def DrawRotatedText(self
, *_args
, **_kwargs
):
706 val
= apply(gdic
.wxDC_DrawRotatedText
,(self
,) + _args
, _kwargs
)
708 def DrawRoundedRectangle(self
, *_args
, **_kwargs
):
709 val
= apply(gdic
.wxDC_DrawRoundedRectangle
,(self
,) + _args
, _kwargs
)
711 def DrawSpline(self
, *_args
, **_kwargs
):
712 val
= apply(gdic
.wxDC_DrawSpline
,(self
,) + _args
, _kwargs
)
714 def DrawText(self
, *_args
, **_kwargs
):
715 val
= apply(gdic
.wxDC_DrawText
,(self
,) + _args
, _kwargs
)
717 def EndDoc(self
, *_args
, **_kwargs
):
718 val
= apply(gdic
.wxDC_EndDoc
,(self
,) + _args
, _kwargs
)
720 def EndDrawing(self
, *_args
, **_kwargs
):
721 val
= apply(gdic
.wxDC_EndDrawing
,(self
,) + _args
, _kwargs
)
723 def EndPage(self
, *_args
, **_kwargs
):
724 val
= apply(gdic
.wxDC_EndPage
,(self
,) + _args
, _kwargs
)
726 def FloodFill(self
, *_args
, **_kwargs
):
727 val
= apply(gdic
.wxDC_FloodFill
,(self
,) + _args
, _kwargs
)
729 def GetBackground(self
, *_args
, **_kwargs
):
730 val
= apply(gdic
.wxDC_GetBackground
,(self
,) + _args
, _kwargs
)
731 if val
: val
= wxBrushPtr(val
)
733 def GetBrush(self
, *_args
, **_kwargs
):
734 val
= apply(gdic
.wxDC_GetBrush
,(self
,) + _args
, _kwargs
)
735 if val
: val
= wxBrushPtr(val
)
737 def GetCharHeight(self
, *_args
, **_kwargs
):
738 val
= apply(gdic
.wxDC_GetCharHeight
,(self
,) + _args
, _kwargs
)
740 def GetCharWidth(self
, *_args
, **_kwargs
):
741 val
= apply(gdic
.wxDC_GetCharWidth
,(self
,) + _args
, _kwargs
)
743 def GetClippingBox(self
, *_args
, **_kwargs
):
744 val
= apply(gdic
.wxDC_GetClippingBox
,(self
,) + _args
, _kwargs
)
746 def GetFont(self
, *_args
, **_kwargs
):
747 val
= apply(gdic
.wxDC_GetFont
,(self
,) + _args
, _kwargs
)
748 if val
: val
= wxFontPtr(val
)
750 def GetLogicalFunction(self
, *_args
, **_kwargs
):
751 val
= apply(gdic
.wxDC_GetLogicalFunction
,(self
,) + _args
, _kwargs
)
753 def GetLogicalScale(self
, *_args
, **_kwargs
):
754 val
= apply(gdic
.wxDC_GetLogicalScale
,(self
,) + _args
, _kwargs
)
756 def GetMapMode(self
, *_args
, **_kwargs
):
757 val
= apply(gdic
.wxDC_GetMapMode
,(self
,) + _args
, _kwargs
)
759 def GetOptimization(self
, *_args
, **_kwargs
):
760 val
= apply(gdic
.wxDC_GetOptimization
,(self
,) + _args
, _kwargs
)
762 def GetPen(self
, *_args
, **_kwargs
):
763 val
= apply(gdic
.wxDC_GetPen
,(self
,) + _args
, _kwargs
)
764 if val
: val
= wxPenPtr(val
)
766 def GetPixel(self
, *_args
, **_kwargs
):
767 val
= apply(gdic
.wxDC_GetPixel
,(self
,) + _args
, _kwargs
)
768 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
770 def GetSizeTuple(self
, *_args
, **_kwargs
):
771 val
= apply(gdic
.wxDC_GetSizeTuple
,(self
,) + _args
, _kwargs
)
773 def GetSize(self
, *_args
, **_kwargs
):
774 val
= apply(gdic
.wxDC_GetSize
,(self
,) + _args
, _kwargs
)
775 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
777 def GetSizeMM(self
, *_args
, **_kwargs
):
778 val
= apply(gdic
.wxDC_GetSizeMM
,(self
,) + _args
, _kwargs
)
779 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
781 def GetTextBackground(self
, *_args
, **_kwargs
):
782 val
= apply(gdic
.wxDC_GetTextBackground
,(self
,) + _args
, _kwargs
)
783 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
785 def GetTextExtent(self
, *_args
, **_kwargs
):
786 val
= apply(gdic
.wxDC_GetTextExtent
,(self
,) + _args
, _kwargs
)
788 def GetFullTextExtent(self
, *_args
, **_kwargs
):
789 val
= apply(gdic
.wxDC_GetFullTextExtent
,(self
,) + _args
, _kwargs
)
791 def GetTextForeground(self
, *_args
, **_kwargs
):
792 val
= apply(gdic
.wxDC_GetTextForeground
,(self
,) + _args
, _kwargs
)
793 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
795 def GetUserScale(self
, *_args
, **_kwargs
):
796 val
= apply(gdic
.wxDC_GetUserScale
,(self
,) + _args
, _kwargs
)
798 def LogicalToDeviceX(self
, *_args
, **_kwargs
):
799 val
= apply(gdic
.wxDC_LogicalToDeviceX
,(self
,) + _args
, _kwargs
)
801 def LogicalToDeviceXRel(self
, *_args
, **_kwargs
):
802 val
= apply(gdic
.wxDC_LogicalToDeviceXRel
,(self
,) + _args
, _kwargs
)
804 def LogicalToDeviceY(self
, *_args
, **_kwargs
):
805 val
= apply(gdic
.wxDC_LogicalToDeviceY
,(self
,) + _args
, _kwargs
)
807 def LogicalToDeviceYRel(self
, *_args
, **_kwargs
):
808 val
= apply(gdic
.wxDC_LogicalToDeviceYRel
,(self
,) + _args
, _kwargs
)
810 def MaxX(self
, *_args
, **_kwargs
):
811 val
= apply(gdic
.wxDC_MaxX
,(self
,) + _args
, _kwargs
)
813 def MaxY(self
, *_args
, **_kwargs
):
814 val
= apply(gdic
.wxDC_MaxY
,(self
,) + _args
, _kwargs
)
816 def MinX(self
, *_args
, **_kwargs
):
817 val
= apply(gdic
.wxDC_MinX
,(self
,) + _args
, _kwargs
)
819 def MinY(self
, *_args
, **_kwargs
):
820 val
= apply(gdic
.wxDC_MinY
,(self
,) + _args
, _kwargs
)
822 def Ok(self
, *_args
, **_kwargs
):
823 val
= apply(gdic
.wxDC_Ok
,(self
,) + _args
, _kwargs
)
825 def SetDeviceOrigin(self
, *_args
, **_kwargs
):
826 val
= apply(gdic
.wxDC_SetDeviceOrigin
,(self
,) + _args
, _kwargs
)
828 def SetBackground(self
, *_args
, **_kwargs
):
829 val
= apply(gdic
.wxDC_SetBackground
,(self
,) + _args
, _kwargs
)
831 def SetBackgroundMode(self
, *_args
, **_kwargs
):
832 val
= apply(gdic
.wxDC_SetBackgroundMode
,(self
,) + _args
, _kwargs
)
834 def SetClippingRegion(self
, *_args
, **_kwargs
):
835 val
= apply(gdic
.wxDC_SetClippingRegion
,(self
,) + _args
, _kwargs
)
837 def SetClippingRegionAsRegion(self
, *_args
, **_kwargs
):
838 val
= apply(gdic
.wxDC_SetClippingRegionAsRegion
,(self
,) + _args
, _kwargs
)
840 def SetPalette(self
, *_args
, **_kwargs
):
841 val
= apply(gdic
.wxDC_SetPalette
,(self
,) + _args
, _kwargs
)
843 def SetBrush(self
, *_args
, **_kwargs
):
844 val
= apply(gdic
.wxDC_SetBrush
,(self
,) + _args
, _kwargs
)
846 def SetFont(self
, *_args
, **_kwargs
):
847 val
= apply(gdic
.wxDC_SetFont
,(self
,) + _args
, _kwargs
)
849 def SetLogicalFunction(self
, *_args
, **_kwargs
):
850 val
= apply(gdic
.wxDC_SetLogicalFunction
,(self
,) + _args
, _kwargs
)
852 def SetLogicalScale(self
, *_args
, **_kwargs
):
853 val
= apply(gdic
.wxDC_SetLogicalScale
,(self
,) + _args
, _kwargs
)
855 def SetMapMode(self
, *_args
, **_kwargs
):
856 val
= apply(gdic
.wxDC_SetMapMode
,(self
,) + _args
, _kwargs
)
858 def SetOptimization(self
, *_args
, **_kwargs
):
859 val
= apply(gdic
.wxDC_SetOptimization
,(self
,) + _args
, _kwargs
)
861 def SetPen(self
, *_args
, **_kwargs
):
862 val
= apply(gdic
.wxDC_SetPen
,(self
,) + _args
, _kwargs
)
864 def SetTextBackground(self
, *_args
, **_kwargs
):
865 val
= apply(gdic
.wxDC_SetTextBackground
,(self
,) + _args
, _kwargs
)
867 def SetTextForeground(self
, *_args
, **_kwargs
):
868 val
= apply(gdic
.wxDC_SetTextForeground
,(self
,) + _args
, _kwargs
)
870 def SetUserScale(self
, *_args
, **_kwargs
):
871 val
= apply(gdic
.wxDC_SetUserScale
,(self
,) + _args
, _kwargs
)
873 def StartDoc(self
, *_args
, **_kwargs
):
874 val
= apply(gdic
.wxDC_StartDoc
,(self
,) + _args
, _kwargs
)
876 def StartPage(self
, *_args
, **_kwargs
):
877 val
= apply(gdic
.wxDC_StartPage
,(self
,) + _args
, _kwargs
)
879 def DrawBitmap(self
, *_args
, **_kwargs
):
880 val
= apply(gdic
.wxDC_DrawBitmap
,(self
,) + _args
, _kwargs
)
882 def CanDrawBitmap(self
, *_args
, **_kwargs
):
883 val
= apply(gdic
.wxDC_CanDrawBitmap
,(self
,) + _args
, _kwargs
)
885 def CanGetTextExtent(self
, *_args
, **_kwargs
):
886 val
= apply(gdic
.wxDC_CanGetTextExtent
,(self
,) + _args
, _kwargs
)
888 def GetDepth(self
, *_args
, **_kwargs
):
889 val
= apply(gdic
.wxDC_GetDepth
,(self
,) + _args
, _kwargs
)
891 def GetPPI(self
, *_args
, **_kwargs
):
892 val
= apply(gdic
.wxDC_GetPPI
,(self
,) + _args
, _kwargs
)
893 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
895 def GetLogicalOrigin(self
, *_args
, **_kwargs
):
896 val
= apply(gdic
.wxDC_GetLogicalOrigin
,(self
,) + _args
, _kwargs
)
898 def SetLogicalOrigin(self
, *_args
, **_kwargs
):
899 val
= apply(gdic
.wxDC_SetLogicalOrigin
,(self
,) + _args
, _kwargs
)
901 def GetDeviceOrigin(self
, *_args
, **_kwargs
):
902 val
= apply(gdic
.wxDC_GetDeviceOrigin
,(self
,) + _args
, _kwargs
)
904 def SetAxisOrientation(self
, *_args
, **_kwargs
):
905 val
= apply(gdic
.wxDC_SetAxisOrientation
,(self
,) + _args
, _kwargs
)
907 def CalcBoundingBox(self
, *_args
, **_kwargs
):
908 val
= apply(gdic
.wxDC_CalcBoundingBox
,(self
,) + _args
, _kwargs
)
910 def ResetBoundingBox(self
, *_args
, **_kwargs
):
911 val
= apply(gdic
.wxDC_ResetBoundingBox
,(self
,) + _args
, _kwargs
)
913 def GetHDC(self
, *_args
, **_kwargs
):
914 val
= apply(gdic
.wxDC_GetHDC
,(self
,) + _args
, _kwargs
)
917 return "<C wxDC instance at %s>" % (self
.this
,)
919 def __init__(self
,this
):
925 class wxMemoryDCPtr(wxDCPtr
):
926 def __init__(self
,this
):
929 def SelectObject(self
, *_args
, **_kwargs
):
930 val
= apply(gdic
.wxMemoryDC_SelectObject
,(self
,) + _args
, _kwargs
)
933 return "<C wxMemoryDC instance at %s>" % (self
.this
,)
934 class wxMemoryDC(wxMemoryDCPtr
):
935 def __init__(self
,*_args
,**_kwargs
):
936 self
.this
= apply(gdic
.new_wxMemoryDC
,_args
,_kwargs
)
942 class wxScreenDCPtr(wxDCPtr
):
943 def __init__(self
,this
):
946 def StartDrawingOnTopWin(self
, *_args
, **_kwargs
):
947 val
= apply(gdic
.wxScreenDC_StartDrawingOnTopWin
,(self
,) + _args
, _kwargs
)
949 def StartDrawingOnTop(self
, *_args
, **_kwargs
):
950 val
= apply(gdic
.wxScreenDC_StartDrawingOnTop
,(self
,) + _args
, _kwargs
)
952 def EndDrawingOnTop(self
, *_args
, **_kwargs
):
953 val
= apply(gdic
.wxScreenDC_EndDrawingOnTop
,(self
,) + _args
, _kwargs
)
956 return "<C wxScreenDC instance at %s>" % (self
.this
,)
957 class wxScreenDC(wxScreenDCPtr
):
958 def __init__(self
,*_args
,**_kwargs
):
959 self
.this
= apply(gdic
.new_wxScreenDC
,_args
,_kwargs
)
965 class wxClientDCPtr(wxDCPtr
):
966 def __init__(self
,this
):
970 return "<C wxClientDC instance at %s>" % (self
.this
,)
971 class wxClientDC(wxClientDCPtr
):
972 def __init__(self
,*_args
,**_kwargs
):
973 self
.this
= apply(gdic
.new_wxClientDC
,_args
,_kwargs
)
979 class wxPaintDCPtr(wxDCPtr
):
980 def __init__(self
,this
):
984 return "<C wxPaintDC instance at %s>" % (self
.this
,)
985 class wxPaintDC(wxPaintDCPtr
):
986 def __init__(self
,*_args
,**_kwargs
):
987 self
.this
= apply(gdic
.new_wxPaintDC
,_args
,_kwargs
)
993 class wxWindowDCPtr(wxDCPtr
):
994 def __init__(self
,this
):
998 return "<C wxWindowDC instance at %s>" % (self
.this
,)
999 class wxWindowDC(wxWindowDCPtr
):
1000 def __init__(self
,*_args
,**_kwargs
):
1001 self
.this
= apply(gdic
.new_wxWindowDC
,_args
,_kwargs
)
1007 class wxMetaFileDCPtr(wxDCPtr
):
1008 def __init__(self
,this
):
1011 def Close(self
, *_args
, **_kwargs
):
1012 val
= apply(gdic
.wxMetaFileDC_Close
,(self
,) + _args
, _kwargs
)
1015 return "<C wxMetaFileDC instance at %s>" % (self
.this
,)
1016 class wxMetaFileDC(wxMetaFileDCPtr
):
1017 def __init__(self
,*_args
,**_kwargs
):
1018 self
.this
= apply(gdic
.new_wxMetaFileDC
,_args
,_kwargs
)
1024 class wxPalettePtr(wxGDIObjectPtr
):
1025 def __init__(self
,this
):
1028 def __del__(self
,gdic
=gdic
):
1029 if self
.thisown
== 1 :
1030 gdic
.delete_wxPalette(self
)
1031 def GetPixel(self
, *_args
, **_kwargs
):
1032 val
= apply(gdic
.wxPalette_GetPixel
,(self
,) + _args
, _kwargs
)
1034 def GetRGB(self
, *_args
, **_kwargs
):
1035 val
= apply(gdic
.wxPalette_GetRGB
,(self
,) + _args
, _kwargs
)
1037 def Ok(self
, *_args
, **_kwargs
):
1038 val
= apply(gdic
.wxPalette_Ok
,(self
,) + _args
, _kwargs
)
1041 return "<C wxPalette instance at %s>" % (self
.this
,)
1042 class wxPalette(wxPalettePtr
):
1043 def __init__(self
,*_args
,**_kwargs
):
1044 self
.this
= apply(gdic
.new_wxPalette
,_args
,_kwargs
)
1050 class wxImageListPtr(wxObjectPtr
):
1051 def __init__(self
,this
):
1054 def __del__(self
,gdic
=gdic
):
1055 if self
.thisown
== 1 :
1056 gdic
.delete_wxImageList(self
)
1057 def Add(self
, *_args
, **_kwargs
):
1058 val
= apply(gdic
.wxImageList_Add
,(self
,) + _args
, _kwargs
)
1060 def AddWithColourMask(self
, *_args
, **_kwargs
):
1061 val
= apply(gdic
.wxImageList_AddWithColourMask
,(self
,) + _args
, _kwargs
)
1063 def AddIcon(self
, *_args
, **_kwargs
):
1064 val
= apply(gdic
.wxImageList_AddIcon
,(self
,) + _args
, _kwargs
)
1066 def Replace(self
, *_args
, **_kwargs
):
1067 val
= apply(gdic
.wxImageList_Replace
,(self
,) + _args
, _kwargs
)
1069 def Draw(self
, *_args
, **_kwargs
):
1070 val
= apply(gdic
.wxImageList_Draw
,(self
,) + _args
, _kwargs
)
1072 def GetImageCount(self
, *_args
, **_kwargs
):
1073 val
= apply(gdic
.wxImageList_GetImageCount
,(self
,) + _args
, _kwargs
)
1075 def Remove(self
, *_args
, **_kwargs
):
1076 val
= apply(gdic
.wxImageList_Remove
,(self
,) + _args
, _kwargs
)
1078 def RemoveAll(self
, *_args
, **_kwargs
):
1079 val
= apply(gdic
.wxImageList_RemoveAll
,(self
,) + _args
, _kwargs
)
1081 def GetSize(self
, *_args
, **_kwargs
):
1082 val
= apply(gdic
.wxImageList_GetSize
,(self
,) + _args
, _kwargs
)
1085 return "<C wxImageList instance at %s>" % (self
.this
,)
1086 class wxImageList(wxImageListPtr
):
1087 def __init__(self
,*_args
,**_kwargs
):
1088 self
.this
= apply(gdic
.new_wxImageList
,_args
,_kwargs
)
1094 class wxRegionPtr(wxGDIObjectPtr
):
1095 def __init__(self
,this
):
1098 def __del__(self
,gdic
=gdic
):
1099 if self
.thisown
== 1 :
1100 gdic
.delete_wxRegion(self
)
1101 def Clear(self
, *_args
, **_kwargs
):
1102 val
= apply(gdic
.wxRegion_Clear
,(self
,) + _args
, _kwargs
)
1104 def Contains(self
, *_args
, **_kwargs
):
1105 val
= apply(gdic
.wxRegion_Contains
,(self
,) + _args
, _kwargs
)
1107 def ContainsPoint(self
, *_args
, **_kwargs
):
1108 val
= apply(gdic
.wxRegion_ContainsPoint
,(self
,) + _args
, _kwargs
)
1110 def ContainsRect(self
, *_args
, **_kwargs
):
1111 val
= apply(gdic
.wxRegion_ContainsRect
,(self
,) + _args
, _kwargs
)
1113 def ContainsRectDim(self
, *_args
, **_kwargs
):
1114 val
= apply(gdic
.wxRegion_ContainsRectDim
,(self
,) + _args
, _kwargs
)
1116 def GetBox(self
, *_args
, **_kwargs
):
1117 val
= apply(gdic
.wxRegion_GetBox
,(self
,) + _args
, _kwargs
)
1118 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1120 def Intersect(self
, *_args
, **_kwargs
):
1121 val
= apply(gdic
.wxRegion_Intersect
,(self
,) + _args
, _kwargs
)
1123 def IntersectRect(self
, *_args
, **_kwargs
):
1124 val
= apply(gdic
.wxRegion_IntersectRect
,(self
,) + _args
, _kwargs
)
1126 def IntersectRegion(self
, *_args
, **_kwargs
):
1127 val
= apply(gdic
.wxRegion_IntersectRegion
,(self
,) + _args
, _kwargs
)
1129 def IsEmpty(self
, *_args
, **_kwargs
):
1130 val
= apply(gdic
.wxRegion_IsEmpty
,(self
,) + _args
, _kwargs
)
1132 def Union(self
, *_args
, **_kwargs
):
1133 val
= apply(gdic
.wxRegion_Union
,(self
,) + _args
, _kwargs
)
1135 def UnionRect(self
, *_args
, **_kwargs
):
1136 val
= apply(gdic
.wxRegion_UnionRect
,(self
,) + _args
, _kwargs
)
1138 def UnionRegion(self
, *_args
, **_kwargs
):
1139 val
= apply(gdic
.wxRegion_UnionRegion
,(self
,) + _args
, _kwargs
)
1141 def Subtract(self
, *_args
, **_kwargs
):
1142 val
= apply(gdic
.wxRegion_Subtract
,(self
,) + _args
, _kwargs
)
1144 def SubtractRect(self
, *_args
, **_kwargs
):
1145 val
= apply(gdic
.wxRegion_SubtractRect
,(self
,) + _args
, _kwargs
)
1147 def SubtractRegion(self
, *_args
, **_kwargs
):
1148 val
= apply(gdic
.wxRegion_SubtractRegion
,(self
,) + _args
, _kwargs
)
1150 def Xor(self
, *_args
, **_kwargs
):
1151 val
= apply(gdic
.wxRegion_Xor
,(self
,) + _args
, _kwargs
)
1153 def XorRect(self
, *_args
, **_kwargs
):
1154 val
= apply(gdic
.wxRegion_XorRect
,(self
,) + _args
, _kwargs
)
1156 def XorRegion(self
, *_args
, **_kwargs
):
1157 val
= apply(gdic
.wxRegion_XorRegion
,(self
,) + _args
, _kwargs
)
1160 return "<C wxRegion instance at %s>" % (self
.this
,)
1161 class wxRegion(wxRegionPtr
):
1162 def __init__(self
,*_args
,**_kwargs
):
1163 self
.this
= apply(gdic
.new_wxRegion
,_args
,_kwargs
)
1169 class wxRegionIteratorPtr(wxObjectPtr
):
1170 def __init__(self
,this
):
1173 def __del__(self
,gdic
=gdic
):
1174 if self
.thisown
== 1 :
1175 gdic
.delete_wxRegionIterator(self
)
1176 def GetX(self
, *_args
, **_kwargs
):
1177 val
= apply(gdic
.wxRegionIterator_GetX
,(self
,) + _args
, _kwargs
)
1179 def GetY(self
, *_args
, **_kwargs
):
1180 val
= apply(gdic
.wxRegionIterator_GetY
,(self
,) + _args
, _kwargs
)
1182 def GetW(self
, *_args
, **_kwargs
):
1183 val
= apply(gdic
.wxRegionIterator_GetW
,(self
,) + _args
, _kwargs
)
1185 def GetWidth(self
, *_args
, **_kwargs
):
1186 val
= apply(gdic
.wxRegionIterator_GetWidth
,(self
,) + _args
, _kwargs
)
1188 def GetH(self
, *_args
, **_kwargs
):
1189 val
= apply(gdic
.wxRegionIterator_GetH
,(self
,) + _args
, _kwargs
)
1191 def GetHeight(self
, *_args
, **_kwargs
):
1192 val
= apply(gdic
.wxRegionIterator_GetHeight
,(self
,) + _args
, _kwargs
)
1194 def GetRect(self
, *_args
, **_kwargs
):
1195 val
= apply(gdic
.wxRegionIterator_GetRect
,(self
,) + _args
, _kwargs
)
1196 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1198 def HaveRects(self
, *_args
, **_kwargs
):
1199 val
= apply(gdic
.wxRegionIterator_HaveRects
,(self
,) + _args
, _kwargs
)
1201 def Reset(self
, *_args
, **_kwargs
):
1202 val
= apply(gdic
.wxRegionIterator_Reset
,(self
,) + _args
, _kwargs
)
1204 def Next(self
, *_args
, **_kwargs
):
1205 val
= apply(gdic
.wxRegionIterator_Next
,(self
,) + _args
, _kwargs
)
1208 return "<C wxRegionIterator instance at %s>" % (self
.this
,)
1209 class wxRegionIterator(wxRegionIteratorPtr
):
1210 def __init__(self
,*_args
,**_kwargs
):
1211 self
.this
= apply(gdic
.new_wxRegionIterator
,_args
,_kwargs
)
1219 #-------------- FUNCTION WRAPPERS ------------------
1221 def wxEmptyBitmap(*_args
, **_kwargs
):
1222 val
= apply(gdic
.wxEmptyBitmap
,_args
,_kwargs
)
1223 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1226 def wxBitmapFromXPMData(*_args
, **_kwargs
):
1227 val
= apply(gdic
.wxBitmapFromXPMData
,_args
,_kwargs
)
1228 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1231 def wxBitmapFromIcon(*_args
, **_kwargs
):
1232 val
= apply(gdic
.wxBitmapFromIcon
,_args
,_kwargs
)
1233 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1236 def wxBitmapFromBits(*_args
, **_kwargs
):
1237 val
= apply(gdic
.wxBitmapFromBits
,_args
,_kwargs
)
1238 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1241 def wxMaskColour(*_args
, **_kwargs
):
1242 val
= apply(gdic
.wxMaskColour
,_args
,_kwargs
)
1243 if val
: val
= wxMaskPtr(val
); val
.thisown
= 1
1246 def wxEmptyIcon(*_args
, **_kwargs
):
1247 val
= apply(gdic
.wxEmptyIcon
,_args
,_kwargs
)
1248 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1251 def wxIconFromXPMData(*_args
, **_kwargs
):
1252 val
= apply(gdic
.wxIconFromXPMData
,_args
,_kwargs
)
1253 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1256 def wxStockCursor(*_args
, **_kwargs
):
1257 val
= apply(gdic
.wxStockCursor
,_args
,_kwargs
)
1258 if val
: val
= wxCursorPtr(val
); val
.thisown
= 1
1261 def wxNamedColour(*_args
, **_kwargs
):
1262 val
= apply(gdic
.wxNamedColour
,_args
,_kwargs
)
1263 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1266 def wxMemoryDCFromDC(*_args
, **_kwargs
):
1267 val
= apply(gdic
.wxMemoryDCFromDC
,_args
,_kwargs
)
1268 if val
: val
= wxMemoryDCPtr(val
); val
.thisown
= 1
1271 wxFontMapper_GetEncodingName
= gdic
.wxFontMapper_GetEncodingName
1273 wxFontMapper_GetEncodingDescription
= gdic
.wxFontMapper_GetEncodingDescription
1275 wxFontMapper_GetDefaultConfigPath
= gdic
.wxFontMapper_GetDefaultConfigPath
1277 wxFont_GetDefaultEncoding
= gdic
.wxFont_GetDefaultEncoding
1279 wxFont_SetDefaultEncoding
= gdic
.wxFont_SetDefaultEncoding
1283 #-------------- VARIABLE WRAPPERS ------------------
1285 wxFONTFAMILY_DEFAULT
= gdic
.wxFONTFAMILY_DEFAULT
1286 wxFONTFAMILY_DECORATIVE
= gdic
.wxFONTFAMILY_DECORATIVE
1287 wxFONTFAMILY_ROMAN
= gdic
.wxFONTFAMILY_ROMAN
1288 wxFONTFAMILY_SCRIPT
= gdic
.wxFONTFAMILY_SCRIPT
1289 wxFONTFAMILY_SWISS
= gdic
.wxFONTFAMILY_SWISS
1290 wxFONTFAMILY_MODERN
= gdic
.wxFONTFAMILY_MODERN
1291 wxFONTFAMILY_TELETYPE
= gdic
.wxFONTFAMILY_TELETYPE
1292 wxFONTFAMILY_MAX
= gdic
.wxFONTFAMILY_MAX
1293 wxFONTSTYLE_NORMAL
= gdic
.wxFONTSTYLE_NORMAL
1294 wxFONTSTYLE_ITALIC
= gdic
.wxFONTSTYLE_ITALIC
1295 wxFONTSTYLE_SLANT
= gdic
.wxFONTSTYLE_SLANT
1296 wxFONTSTYLE_MAX
= gdic
.wxFONTSTYLE_MAX
1297 wxFONTWEIGHT_NORMAL
= gdic
.wxFONTWEIGHT_NORMAL
1298 wxFONTWEIGHT_LIGHT
= gdic
.wxFONTWEIGHT_LIGHT
1299 wxFONTWEIGHT_BOLD
= gdic
.wxFONTWEIGHT_BOLD
1300 wxFONTWEIGHT_MAX
= gdic
.wxFONTWEIGHT_MAX
1301 wxFONTENCODING_SYSTEM
= gdic
.wxFONTENCODING_SYSTEM
1302 wxFONTENCODING_DEFAULT
= gdic
.wxFONTENCODING_DEFAULT
1303 wxFONTENCODING_ISO8859_1
= gdic
.wxFONTENCODING_ISO8859_1
1304 wxFONTENCODING_ISO8859_2
= gdic
.wxFONTENCODING_ISO8859_2
1305 wxFONTENCODING_ISO8859_3
= gdic
.wxFONTENCODING_ISO8859_3
1306 wxFONTENCODING_ISO8859_4
= gdic
.wxFONTENCODING_ISO8859_4
1307 wxFONTENCODING_ISO8859_5
= gdic
.wxFONTENCODING_ISO8859_5
1308 wxFONTENCODING_ISO8859_6
= gdic
.wxFONTENCODING_ISO8859_6
1309 wxFONTENCODING_ISO8859_7
= gdic
.wxFONTENCODING_ISO8859_7
1310 wxFONTENCODING_ISO8859_8
= gdic
.wxFONTENCODING_ISO8859_8
1311 wxFONTENCODING_ISO8859_9
= gdic
.wxFONTENCODING_ISO8859_9
1312 wxFONTENCODING_ISO8859_10
= gdic
.wxFONTENCODING_ISO8859_10
1313 wxFONTENCODING_ISO8859_11
= gdic
.wxFONTENCODING_ISO8859_11
1314 wxFONTENCODING_ISO8859_12
= gdic
.wxFONTENCODING_ISO8859_12
1315 wxFONTENCODING_ISO8859_13
= gdic
.wxFONTENCODING_ISO8859_13
1316 wxFONTENCODING_ISO8859_14
= gdic
.wxFONTENCODING_ISO8859_14
1317 wxFONTENCODING_ISO8859_15
= gdic
.wxFONTENCODING_ISO8859_15
1318 wxFONTENCODING_ISO8859_MAX
= gdic
.wxFONTENCODING_ISO8859_MAX
1319 wxFONTENCODING_KOI8
= gdic
.wxFONTENCODING_KOI8
1320 wxFONTENCODING_ALTERNATIVE
= gdic
.wxFONTENCODING_ALTERNATIVE
1321 wxFONTENCODING_BULGARIAN
= gdic
.wxFONTENCODING_BULGARIAN
1322 wxFONTENCODING_CP437
= gdic
.wxFONTENCODING_CP437
1323 wxFONTENCODING_CP850
= gdic
.wxFONTENCODING_CP850
1324 wxFONTENCODING_CP852
= gdic
.wxFONTENCODING_CP852
1325 wxFONTENCODING_CP855
= gdic
.wxFONTENCODING_CP855
1326 wxFONTENCODING_CP866
= gdic
.wxFONTENCODING_CP866
1327 wxFONTENCODING_CP874
= gdic
.wxFONTENCODING_CP874
1328 wxFONTENCODING_CP1250
= gdic
.wxFONTENCODING_CP1250
1329 wxFONTENCODING_CP1251
= gdic
.wxFONTENCODING_CP1251
1330 wxFONTENCODING_CP1252
= gdic
.wxFONTENCODING_CP1252
1331 wxFONTENCODING_CP1253
= gdic
.wxFONTENCODING_CP1253
1332 wxFONTENCODING_CP1254
= gdic
.wxFONTENCODING_CP1254
1333 wxFONTENCODING_CP1255
= gdic
.wxFONTENCODING_CP1255
1334 wxFONTENCODING_CP1256
= gdic
.wxFONTENCODING_CP1256
1335 wxFONTENCODING_CP1257
= gdic
.wxFONTENCODING_CP1257
1336 wxFONTENCODING_CP12_MAX
= gdic
.wxFONTENCODING_CP12_MAX
1337 wxFONTENCODING_UTF7
= gdic
.wxFONTENCODING_UTF7
1338 wxFONTENCODING_UTF8
= gdic
.wxFONTENCODING_UTF8
1339 wxFONTENCODING_UNICODE
= gdic
.wxFONTENCODING_UNICODE
1340 wxFONTENCODING_MAX
= gdic
.wxFONTENCODING_MAX
1342 wxNORMAL_FONT
= wxFontPtr(gdic
.cvar
.wxNORMAL_FONT
)
1343 wxSMALL_FONT
= wxFontPtr(gdic
.cvar
.wxSMALL_FONT
)
1344 wxITALIC_FONT
= wxFontPtr(gdic
.cvar
.wxITALIC_FONT
)
1345 wxSWISS_FONT
= wxFontPtr(gdic
.cvar
.wxSWISS_FONT
)
1346 wxRED_PEN
= wxPenPtr(gdic
.cvar
.wxRED_PEN
)
1347 wxCYAN_PEN
= wxPenPtr(gdic
.cvar
.wxCYAN_PEN
)
1348 wxGREEN_PEN
= wxPenPtr(gdic
.cvar
.wxGREEN_PEN
)
1349 wxBLACK_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_PEN
)
1350 wxWHITE_PEN
= wxPenPtr(gdic
.cvar
.wxWHITE_PEN
)
1351 wxTRANSPARENT_PEN
= wxPenPtr(gdic
.cvar
.wxTRANSPARENT_PEN
)
1352 wxBLACK_DASHED_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_DASHED_PEN
)
1353 wxGREY_PEN
= wxPenPtr(gdic
.cvar
.wxGREY_PEN
)
1354 wxMEDIUM_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxMEDIUM_GREY_PEN
)
1355 wxLIGHT_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxLIGHT_GREY_PEN
)
1356 wxBLUE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLUE_BRUSH
)
1357 wxGREEN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREEN_BRUSH
)
1358 wxWHITE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxWHITE_BRUSH
)
1359 wxBLACK_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLACK_BRUSH
)
1360 wxTRANSPARENT_BRUSH
= wxBrushPtr(gdic
.cvar
.wxTRANSPARENT_BRUSH
)
1361 wxCYAN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxCYAN_BRUSH
)
1362 wxRED_BRUSH
= wxBrushPtr(gdic
.cvar
.wxRED_BRUSH
)
1363 wxGREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREY_BRUSH
)
1364 wxMEDIUM_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxMEDIUM_GREY_BRUSH
)
1365 wxLIGHT_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxLIGHT_GREY_BRUSH
)
1366 wxBLACK
= wxColourPtr(gdic
.cvar
.wxBLACK
)
1367 wxWHITE
= wxColourPtr(gdic
.cvar
.wxWHITE
)
1368 wxRED
= wxColourPtr(gdic
.cvar
.wxRED
)
1369 wxBLUE
= wxColourPtr(gdic
.cvar
.wxBLUE
)
1370 wxGREEN
= wxColourPtr(gdic
.cvar
.wxGREEN
)
1371 wxCYAN
= wxColourPtr(gdic
.cvar
.wxCYAN
)
1372 wxLIGHT_GREY
= wxColourPtr(gdic
.cvar
.wxLIGHT_GREY
)
1373 wxSTANDARD_CURSOR
= wxCursorPtr(gdic
.cvar
.wxSTANDARD_CURSOR
)
1374 wxHOURGLASS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxHOURGLASS_CURSOR
)
1375 wxCROSS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxCROSS_CURSOR
)
1376 wxNullBitmap
= wxBitmapPtr(gdic
.cvar
.wxNullBitmap
)
1377 wxNullIcon
= wxIconPtr(gdic
.cvar
.wxNullIcon
)
1378 wxNullCursor
= wxCursorPtr(gdic
.cvar
.wxNullCursor
)
1379 wxNullPen
= wxPenPtr(gdic
.cvar
.wxNullPen
)
1380 wxNullBrush
= wxBrushPtr(gdic
.cvar
.wxNullBrush
)
1381 wxNullPalette
= wxPalettePtr(gdic
.cvar
.wxNullPalette
)
1382 wxNullFont
= wxFontPtr(gdic
.cvar
.wxNullFont
)
1383 wxNullColour
= wxColourPtr(gdic
.cvar
.wxNullColour
)
1384 wxTheFontList
= wxFontListPtr(gdic
.cvar
.wxTheFontList
)
1385 wxThePenList
= wxPenListPtr(gdic
.cvar
.wxThePenList
)
1386 wxTheBrushList
= wxBrushListPtr(gdic
.cvar
.wxTheBrushList
)
1387 wxTheColourDatabase
= wxColourDatabasePtr(gdic
.cvar
.wxTheColourDatabase
)
1388 wxIMAGELIST_DRAW_NORMAL
= gdic
.wxIMAGELIST_DRAW_NORMAL
1389 wxIMAGELIST_DRAW_TRANSPARENT
= gdic
.wxIMAGELIST_DRAW_TRANSPARENT
1390 wxIMAGELIST_DRAW_SELECTED
= gdic
.wxIMAGELIST_DRAW_SELECTED
1391 wxIMAGELIST_DRAW_FOCUSED
= gdic
.wxIMAGELIST_DRAW_FOCUSED
1392 wxIMAGE_LIST_NORMAL
= gdic
.wxIMAGE_LIST_NORMAL
1393 wxIMAGE_LIST_SMALL
= gdic
.wxIMAGE_LIST_SMALL
1394 wxIMAGE_LIST_STATE
= gdic
.wxIMAGE_LIST_STATE
1395 wxOutRegion
= gdic
.wxOutRegion
1396 wxPartRegion
= gdic
.wxPartRegion
1397 wxInRegion
= gdic
.wxInRegion