1 # This file was created automatically by SWIG.
6 def __init__(self
,this
):
10 if self
.thisown
== 1 :
11 gdic
.delete_wxBitmap(self
.this
)
12 def Create(self
,arg0
,arg1
,*args
):
13 val
= apply(gdic
.wxBitmap_Create
,(self
.this
,arg0
,arg1
,)+args
)
16 val
= gdic
.wxBitmap_GetDepth(self
.this
)
19 val
= gdic
.wxBitmap_GetHeight(self
.this
)
22 val
= gdic
.wxBitmap_GetPalette(self
.this
)
23 val
= wxPalettePtr(val
)
26 val
= gdic
.wxBitmap_GetMask(self
.this
)
30 val
= gdic
.wxBitmap_GetWidth(self
.this
)
32 def LoadFile(self
,arg0
,arg1
):
33 val
= gdic
.wxBitmap_LoadFile(self
.this
,arg0
,arg1
)
36 val
= gdic
.wxBitmap_Ok(self
.this
)
38 def SaveFile(self
,arg0
,arg1
,*args
):
40 try: argl
[0] = argl
[0].this
43 val
= apply(gdic
.wxBitmap_SaveFile
,(self
.this
,arg0
,arg1
,)+args
)
45 def SetDepth(self
,arg0
):
46 val
= gdic
.wxBitmap_SetDepth(self
.this
,arg0
)
48 def SetHeight(self
,arg0
):
49 val
= gdic
.wxBitmap_SetHeight(self
.this
,arg0
)
51 def SetMask(self
,arg0
):
52 val
= gdic
.wxBitmap_SetMask(self
.this
,arg0
.this
)
54 def SetPalette(self
,arg0
):
55 val
= gdic
.wxBitmap_SetPalette(self
.this
,arg0
.this
)
57 def SetWidth(self
,arg0
):
58 val
= gdic
.wxBitmap_SetWidth(self
.this
,arg0
)
61 return "<C wxBitmap instance>"
62 class wxBitmap(wxBitmapPtr
):
63 def __init__(self
,arg0
,arg1
) :
64 self
.this
= gdic
.new_wxBitmap(arg0
,arg1
)
71 def __init__(self
,this
):
75 if self
.thisown
== 1 :
76 gdic
.delete_wxMask(self
.this
)
78 return "<C wxMask instance>"
79 class wxMask(wxMaskPtr
):
80 def __init__(self
,arg0
) :
81 self
.this
= gdic
.new_wxMask(arg0
.this
)
87 class wxIconPtr(wxBitmapPtr
):
88 def __init__(self
,this
):
92 if self
.thisown
== 1 :
93 gdic
.delete_wxIcon(self
.this
)
95 val
= gdic
.wxIcon_GetDepth(self
.this
)
98 val
= gdic
.wxIcon_GetHeight(self
.this
)
101 val
= gdic
.wxIcon_GetWidth(self
.this
)
103 def LoadFile(self
,arg0
,arg1
):
104 val
= gdic
.wxIcon_LoadFile(self
.this
,arg0
,arg1
)
107 val
= gdic
.wxIcon_Ok(self
.this
)
109 def SetDepth(self
,arg0
):
110 val
= gdic
.wxIcon_SetDepth(self
.this
,arg0
)
112 def SetHeight(self
,arg0
):
113 val
= gdic
.wxIcon_SetHeight(self
.this
,arg0
)
115 def SetWidth(self
,arg0
):
116 val
= gdic
.wxIcon_SetWidth(self
.this
,arg0
)
119 return "<C wxIcon instance>"
120 class wxIcon(wxIconPtr
):
121 def __init__(self
,arg0
,arg1
,*args
) :
122 self
.this
= apply(gdic
.new_wxIcon
,(arg0
,arg1
,)+args
)
128 class wxCursorPtr(wxBitmapPtr
):
129 def __init__(self
,this
):
133 if self
.thisown
== 1 :
134 gdic
.delete_wxCursor(self
.this
)
136 val
= gdic
.wxCursor_Ok(self
.this
)
139 return "<C wxCursor instance>"
140 class wxCursor(wxCursorPtr
):
141 def __init__(self
,arg0
,arg1
,*args
) :
142 self
.this
= apply(gdic
.new_wxCursor
,(arg0
,arg1
,)+args
)
149 def __init__(self
,this
):
152 def GetFaceName(self
):
153 val
= gdic
.wxFont_GetFaceName(self
.this
)
156 val
= gdic
.wxFont_GetFamily(self
.this
)
159 val
= gdic
.wxFont_GetFontId(self
.this
)
161 def GetPointSize(self
):
162 val
= gdic
.wxFont_GetPointSize(self
.this
)
165 val
= gdic
.wxFont_GetStyle(self
.this
)
167 def GetUnderlined(self
):
168 val
= gdic
.wxFont_GetUnderlined(self
.this
)
171 val
= gdic
.wxFont_GetWeight(self
.this
)
173 def SetFaceName(self
,arg0
):
174 val
= gdic
.wxFont_SetFaceName(self
.this
,arg0
)
176 def SetFamily(self
,arg0
):
177 val
= gdic
.wxFont_SetFamily(self
.this
,arg0
)
179 def SetPointSize(self
,arg0
):
180 val
= gdic
.wxFont_SetPointSize(self
.this
,arg0
)
182 def SetStyle(self
,arg0
):
183 val
= gdic
.wxFont_SetStyle(self
.this
,arg0
)
185 def SetUnderlined(self
,arg0
):
186 val
= gdic
.wxFont_SetUnderlined(self
.this
,arg0
)
188 def SetWeight(self
,arg0
):
189 val
= gdic
.wxFont_SetWeight(self
.this
,arg0
)
192 return "<C wxFont instance>"
193 class wxFont(wxFontPtr
):
194 def __init__(self
,arg0
,arg1
,arg2
,arg3
,*args
) :
195 self
.this
= apply(gdic
.new_wxFont
,(arg0
,arg1
,arg2
,arg3
,)+args
)
202 def __init__(self
,this
):
206 if self
.thisown
== 1 :
207 gdic
.delete_wxColour(self
.this
)
209 val
= gdic
.wxColour_Red(self
.this
)
212 val
= gdic
.wxColour_Green(self
.this
)
215 val
= gdic
.wxColour_Blue(self
.this
)
218 val
= gdic
.wxColour_Ok(self
.this
)
220 def Set(self
,arg0
,arg1
,arg2
):
221 val
= gdic
.wxColour_Set(self
.this
,arg0
,arg1
,arg2
)
224 val
= gdic
.wxColour_Get(self
.this
)
227 return "<C wxColour instance>"
228 class wxColour(wxColourPtr
):
229 def __init__(self
,*args
) :
230 self
.this
= apply(gdic
.new_wxColour
,()+args
)
237 def __init__(self
,this
):
241 val
= gdic
.wxPen_GetCap(self
.this
)
244 val
= gdic
.wxPen_GetColour(self
.this
)
245 val
= wxColourPtr(val
)
248 val
= gdic
.wxPen_GetJoin(self
.this
)
251 val
= gdic
.wxPen_GetStyle(self
.this
)
254 val
= gdic
.wxPen_GetWidth(self
.this
)
257 val
= gdic
.wxPen_Ok(self
.this
)
259 def SetCap(self
,arg0
):
260 val
= gdic
.wxPen_SetCap(self
.this
,arg0
)
262 def SetColour(self
,arg0
):
263 val
= gdic
.wxPen_SetColour(self
.this
,arg0
.this
)
265 def SetJoin(self
,arg0
):
266 val
= gdic
.wxPen_SetJoin(self
.this
,arg0
)
268 def SetStyle(self
,arg0
):
269 val
= gdic
.wxPen_SetStyle(self
.this
,arg0
)
271 def SetWidth(self
,arg0
):
272 val
= gdic
.wxPen_SetWidth(self
.this
,arg0
)
274 def GetDashes(self
,arg0
):
275 val
= gdic
.wxPen_GetDashes(self
.this
,arg0
)
277 def GetStipple(self
):
278 val
= gdic
.wxPen_GetStipple(self
.this
)
279 val
= wxBitmapPtr(val
)
281 def SetDashes(self
,arg0
,*args
):
282 val
= apply(gdic
.wxPen_SetDashes
,(self
.this
,arg0
,)+args
)
284 def SetStipple(self
,arg0
):
285 val
= gdic
.wxPen_SetStipple(self
.this
,arg0
.this
)
288 return "<C wxPen instance>"
289 class wxPen(wxPenPtr
):
290 def __init__(self
,arg0
,*args
) :
291 self
.this
= apply(gdic
.new_wxPen
,(arg0
.this
,)+args
)
298 def __init__(self
,this
):
302 val
= gdic
.wxBrush_GetColour(self
.this
)
303 val
= wxColourPtr(val
)
305 def GetStipple(self
):
306 val
= gdic
.wxBrush_GetStipple(self
.this
)
307 val
= wxBitmapPtr(val
)
310 val
= gdic
.wxBrush_GetStyle(self
.this
)
313 val
= gdic
.wxBrush_Ok(self
.this
)
315 def SetColour(self
,arg0
):
316 val
= gdic
.wxBrush_SetColour(self
.this
,arg0
.this
)
318 def SetStipple(self
,arg0
):
319 val
= gdic
.wxBrush_SetStipple(self
.this
,arg0
.this
)
321 def SetStyle(self
,arg0
):
322 val
= gdic
.wxBrush_SetStyle(self
.this
,arg0
)
325 return "<C wxBrush instance>"
326 class wxBrush(wxBrushPtr
):
327 def __init__(self
,arg0
,*args
) :
328 self
.this
= apply(gdic
.new_wxBrush
,(arg0
.this
,)+args
)
335 def __init__(self
,this
):
339 if self
.thisown
== 1 :
340 gdic
.delete_wxDC(self
.this
)
341 def BeginDrawing(self
):
342 val
= gdic
.wxDC_BeginDrawing(self
.this
)
344 def Blit(self
,arg0
,arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
):
345 val
= gdic
.wxDC_Blit(self
.this
,arg0
,arg1
,arg2
,arg3
,arg4
.this
,arg5
,arg6
,arg7
)
348 val
= gdic
.wxDC_Clear(self
.this
)
350 def CrossHair(self
,arg0
,arg1
):
351 val
= gdic
.wxDC_CrossHair(self
.this
,arg0
,arg1
)
353 def DestroyClippingRegion(self
):
354 val
= gdic
.wxDC_DestroyClippingRegion(self
.this
)
356 def DeviceToLogicalX(self
,arg0
):
357 val
= gdic
.wxDC_DeviceToLogicalX(self
.this
,arg0
)
359 def DeviceToLogicalXRel(self
,arg0
):
360 val
= gdic
.wxDC_DeviceToLogicalXRel(self
.this
,arg0
)
362 def DeviceToLogicalY(self
,arg0
):
363 val
= gdic
.wxDC_DeviceToLogicalY(self
.this
,arg0
)
365 def DeviceToLogicalYRel(self
,arg0
):
366 val
= gdic
.wxDC_DeviceToLogicalYRel(self
.this
,arg0
)
368 def DrawArc(self
,arg0
,arg1
,arg2
,arg3
,arg4
,arg5
):
369 val
= gdic
.wxDC_DrawArc(self
.this
,arg0
,arg1
,arg2
,arg3
,arg4
,arg5
)
371 def DrawCircle(self
,arg0
,arg1
,arg2
):
372 val
= gdic
.wxDC_DrawCircle(self
.this
,arg0
,arg1
,arg2
)
374 def DrawEllipse(self
,arg0
,arg1
,arg2
,arg3
):
375 val
= gdic
.wxDC_DrawEllipse(self
.this
,arg0
,arg1
,arg2
,arg3
)
377 def DrawEllipticArc(self
,arg0
,arg1
,arg2
,arg3
,arg4
,arg5
):
378 val
= gdic
.wxDC_DrawEllipticArc(self
.this
,arg0
,arg1
,arg2
,arg3
,arg4
,arg5
)
380 def DrawIcon(self
,arg0
,arg1
,arg2
):
381 val
= gdic
.wxDC_DrawIcon(self
.this
,arg0
.this
,arg1
,arg2
)
383 def DrawLine(self
,arg0
,arg1
,arg2
,arg3
):
384 val
= gdic
.wxDC_DrawLine(self
.this
,arg0
,arg1
,arg2
,arg3
)
386 def DrawLines(self
,arg0
,*args
):
387 argl
= map(None,args
)
388 try: argl
[0] = argl
[0].this
391 val
= apply(gdic
.wxDC_DrawLines
,(self
.this
,arg0
,)+args
)
393 def DrawPolygon(self
,arg0
,*args
):
394 argl
= map(None,args
)
395 try: argl
[0] = argl
[0].this
398 val
= apply(gdic
.wxDC_DrawPolygon
,(self
.this
,arg0
,)+args
)
400 def DrawPoint(self
,arg0
,arg1
):
401 val
= gdic
.wxDC_DrawPoint(self
.this
,arg0
,arg1
)
403 def DrawRectangle(self
,arg0
,arg1
,arg2
,arg3
):
404 val
= gdic
.wxDC_DrawRectangle(self
.this
,arg0
,arg1
,arg2
,arg3
)
406 def DrawRoundedRectangle(self
,arg0
,arg1
,arg2
,arg3
,*args
):
407 val
= apply(gdic
.wxDC_DrawRoundedRectangle
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
409 def DrawSpline(self
,arg0
,*args
):
410 argl
= map(None,args
)
411 try: argl
[0] = argl
[0].this
414 val
= apply(gdic
.wxDC_DrawSpline
,(self
.this
,arg0
,)+args
)
416 def DrawText(self
,arg0
,arg1
,arg2
):
417 val
= gdic
.wxDC_DrawText(self
.this
,arg0
,arg1
,arg2
)
420 val
= gdic
.wxDC_EndDoc(self
.this
)
422 def EndDrawing(self
):
423 val
= gdic
.wxDC_EndDrawing(self
.this
)
426 val
= gdic
.wxDC_EndPage(self
.this
)
428 def FloodFill(self
,arg0
,arg1
,arg2
,*args
):
429 val
= apply(gdic
.wxDC_FloodFill
,(self
.this
,arg0
,arg1
,arg2
.this
,)+args
)
431 def GetBackground(self
):
432 val
= gdic
.wxDC_GetBackground(self
.this
)
433 val
= wxBrushPtr(val
)
436 val
= gdic
.wxDC_GetBrush(self
.this
)
437 val
= wxBrushPtr(val
)
439 def GetCharHeight(self
):
440 val
= gdic
.wxDC_GetCharHeight(self
.this
)
442 def GetCharWidth(self
):
443 val
= gdic
.wxDC_GetCharWidth(self
.this
)
445 def GetClippingBox(self
):
446 val
= gdic
.wxDC_GetClippingBox(self
.this
)
449 val
= gdic
.wxDC_GetFont(self
.this
)
452 def GetLogicalFunction(self
):
453 val
= gdic
.wxDC_GetLogicalFunction(self
.this
)
455 def GetMapMode(self
):
456 val
= gdic
.wxDC_GetMapMode(self
.this
)
458 def GetOptimization(self
):
459 val
= gdic
.wxDC_GetOptimization(self
.this
)
462 val
= gdic
.wxDC_GetPen(self
.this
)
465 def GetPixel(self
,arg0
,arg1
):
466 val
= gdic
.wxDC_GetPixel(self
.this
,arg0
,arg1
)
467 val
= wxColourPtr(val
)
470 def GetSizeTuple(self
):
471 val
= gdic
.wxDC_GetSizeTuple(self
.this
)
474 val
= gdic
.wxDC_GetSize(self
.this
)
478 def GetTextBackground(self
):
479 val
= gdic
.wxDC_GetTextBackground(self
.this
)
480 val
= wxColourPtr(val
)
482 def GetTextExtent(self
,arg0
):
483 val
= gdic
.wxDC_GetTextExtent(self
.this
,arg0
)
485 def GetFullTextExtent(self
,arg0
,*args
):
486 argl
= map(None,args
)
487 try: argl
[0] = argl
[0].this
490 val
= apply(gdic
.wxDC_GetFullTextExtent
,(self
.this
,arg0
,)+args
)
492 def GetTextForeground(self
):
493 val
= gdic
.wxDC_GetTextForeground(self
.this
)
494 val
= wxColourPtr(val
)
496 def LogicalToDeviceX(self
,arg0
):
497 val
= gdic
.wxDC_LogicalToDeviceX(self
.this
,arg0
)
499 def LogicalToDeviceXRel(self
,arg0
):
500 val
= gdic
.wxDC_LogicalToDeviceXRel(self
.this
,arg0
)
502 def LogicalToDeviceY(self
,arg0
):
503 val
= gdic
.wxDC_LogicalToDeviceY(self
.this
,arg0
)
505 def LogicalToDeviceYRel(self
,arg0
):
506 val
= gdic
.wxDC_LogicalToDeviceYRel(self
.this
,arg0
)
509 val
= gdic
.wxDC_MaxX(self
.this
)
512 val
= gdic
.wxDC_MaxY(self
.this
)
515 val
= gdic
.wxDC_MinX(self
.this
)
518 val
= gdic
.wxDC_MinY(self
.this
)
521 val
= gdic
.wxDC_Ok(self
.this
)
523 def SetDeviceOrigin(self
,arg0
,arg1
):
524 val
= gdic
.wxDC_SetDeviceOrigin(self
.this
,arg0
,arg1
)
526 def SetBackground(self
,arg0
):
527 val
= gdic
.wxDC_SetBackground(self
.this
,arg0
.this
)
529 def SetBackgroundMode(self
,arg0
):
530 val
= gdic
.wxDC_SetBackgroundMode(self
.this
,arg0
)
532 def SetClippingRegion(self
,arg0
,arg1
,arg2
,arg3
):
533 val
= gdic
.wxDC_SetClippingRegion(self
.this
,arg0
,arg1
,arg2
,arg3
)
535 def SetPalette(self
,arg0
):
536 val
= gdic
.wxDC_SetPalette(self
.this
,arg0
.this
)
538 def SetBrush(self
,arg0
):
539 val
= gdic
.wxDC_SetBrush(self
.this
,arg0
.this
)
541 def SetFont(self
,arg0
):
542 val
= gdic
.wxDC_SetFont(self
.this
,arg0
.this
)
544 def SetLogicalFunction(self
,arg0
):
545 val
= gdic
.wxDC_SetLogicalFunction(self
.this
,arg0
)
547 def SetMapMode(self
,arg0
):
548 val
= gdic
.wxDC_SetMapMode(self
.this
,arg0
)
550 def SetOptimization(self
,arg0
):
551 val
= gdic
.wxDC_SetOptimization(self
.this
,arg0
)
553 def SetPen(self
,arg0
):
554 val
= gdic
.wxDC_SetPen(self
.this
,arg0
.this
)
556 def SetTextBackground(self
,arg0
):
557 val
= gdic
.wxDC_SetTextBackground(self
.this
,arg0
.this
)
559 def SetTextForeground(self
,arg0
):
560 val
= gdic
.wxDC_SetTextForeground(self
.this
,arg0
.this
)
562 def SetUserScale(self
,arg0
,arg1
):
563 val
= gdic
.wxDC_SetUserScale(self
.this
,arg0
,arg1
)
565 def StartDoc(self
,arg0
):
566 val
= gdic
.wxDC_StartDoc(self
.this
,arg0
)
569 val
= gdic
.wxDC_StartPage(self
.this
)
571 def DrawBitmap(self
,arg0
,arg1
,arg2
,*args
):
572 val
= apply(gdic
.wxDC_DrawBitmap
,(self
.this
,arg0
.this
,arg1
,arg2
,)+args
)
575 return "<C wxDC instance>"
577 def __init__(self
,this
):
583 class wxMemoryDCPtr(wxDCPtr
):
584 def __init__(self
,this
):
587 def SelectObject(self
,arg0
):
588 val
= gdic
.wxMemoryDC_SelectObject(self
.this
,arg0
.this
)
591 return "<C wxMemoryDC instance>"
592 class wxMemoryDC(wxMemoryDCPtr
):
594 self
.this
= gdic
.new_wxMemoryDC()
600 class wxScreenDCPtr(wxDCPtr
):
601 def __init__(self
,this
):
604 def StartDrawingOnTop(self
,arg0
):
605 val
= gdic
.wxScreenDC_StartDrawingOnTop(self
.this
,arg0
.this
)
607 def StartDrawingOnTopRect(self
,*args
):
608 argl
= map(None,args
)
609 try: argl
[0] = argl
[0].this
612 val
= apply(gdic
.wxScreenDC_StartDrawingOnTopRect
,(self
.this
,)+args
)
614 def EndDrawingOnTop(self
):
615 val
= gdic
.wxScreenDC_EndDrawingOnTop(self
.this
)
618 return "<C wxScreenDC instance>"
619 class wxScreenDC(wxScreenDCPtr
):
621 self
.this
= gdic
.new_wxScreenDC()
627 class wxClientDCPtr(wxDCPtr
):
628 def __init__(self
,this
):
632 return "<C wxClientDC instance>"
633 class wxClientDC(wxClientDCPtr
):
634 def __init__(self
,arg0
) :
635 self
.this
= gdic
.new_wxClientDC(arg0
.this
)
641 class wxPaintDCPtr(wxDCPtr
):
642 def __init__(self
,this
):
646 return "<C wxPaintDC instance>"
647 class wxPaintDC(wxPaintDCPtr
):
648 def __init__(self
,arg0
) :
649 self
.this
= gdic
.new_wxPaintDC(arg0
.this
)
655 class wxWindowDCPtr(wxDCPtr
):
656 def __init__(self
,this
):
660 return "<C wxWindowDC instance>"
661 class wxWindowDC(wxWindowDCPtr
):
662 def __init__(self
,arg0
) :
663 self
.this
= gdic
.new_wxWindowDC(arg0
.this
)
669 class wxPrinterDCPtr(wxDCPtr
):
670 def __init__(self
,this
):
674 return "<C wxPrinterDC instance>"
675 class wxPrinterDC(wxPrinterDCPtr
):
676 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
677 self
.this
= apply(gdic
.new_wxPrinterDC
,(arg0
,arg1
,arg2
,)+args
)
683 class wxMetaFileDCPtr(wxDCPtr
):
684 def __init__(self
,this
):
688 val
= gdic
.wxMetaFileDC_Close(self
.this
)
691 return "<C wxMetaFileDC instance>"
692 class wxMetaFileDC(wxMetaFileDCPtr
):
693 def __init__(self
,*args
) :
694 self
.this
= apply(gdic
.new_wxMetaFileDC
,()+args
)
701 def __init__(self
,this
):
705 if self
.thisown
== 1 :
706 gdic
.delete_wxPalette(self
.this
)
707 def GetPixel(self
,arg0
,arg1
,arg2
):
708 val
= gdic
.wxPalette_GetPixel(self
.this
,arg0
,arg1
,arg2
)
710 def GetRGB(self
,arg0
,arg1
,arg2
,arg3
):
711 val
= gdic
.wxPalette_GetRGB(self
.this
,arg0
,arg1
,arg2
,arg3
)
714 val
= gdic
.wxPalette_Ok(self
.this
)
717 return "<C wxPalette instance>"
718 class wxPalette(wxPalettePtr
):
719 def __init__(self
,arg0
,arg1
,arg2
) :
720 self
.this
= gdic
.new_wxPalette(arg0
,arg1
,arg2
)
726 class wxImageListPtr
:
727 def __init__(self
,this
):
731 if self
.thisown
== 1 :
732 gdic
.delete_wxImageList(self
.this
)
733 def Add(self
,arg0
,*args
):
734 argl
= map(None,args
)
735 try: argl
[0] = argl
[0].this
738 val
= apply(gdic
.wxImageList_Add
,(self
.this
,arg0
.this
,)+args
)
740 def AddWithColourMask(self
,arg0
,arg1
):
741 val
= gdic
.wxImageList_AddWithColourMask(self
.this
,arg0
.this
,arg1
.this
)
743 def AddIcon(self
,arg0
):
744 val
= gdic
.wxImageList_AddIcon(self
.this
,arg0
.this
)
746 def Replace(self
,arg0
,arg1
,*args
):
747 argl
= map(None,args
)
748 try: argl
[0] = argl
[0].this
751 val
= apply(gdic
.wxImageList_Replace
,(self
.this
,arg0
,arg1
.this
,)+args
)
753 def ReplaceIcon(self
,arg0
,arg1
):
754 val
= gdic
.wxImageList_ReplaceIcon(self
.this
,arg0
,arg1
.this
)
756 def Draw(self
,arg0
,arg1
,arg2
,arg3
,*args
):
757 val
= apply(gdic
.wxImageList_Draw
,(self
.this
,arg0
,arg1
.this
,arg2
,arg3
,)+args
)
759 def GetImageCount(self
):
760 val
= gdic
.wxImageList_GetImageCount(self
.this
)
762 def Remove(self
,arg0
):
763 val
= gdic
.wxImageList_Remove(self
.this
,arg0
)
766 val
= gdic
.wxImageList_RemoveAll(self
.this
)
769 return "<C wxImageList instance>"
770 class wxImageList(wxImageListPtr
):
771 def __init__(self
,arg0
,arg1
,*args
) :
772 self
.this
= apply(gdic
.new_wxImageList
,(arg0
,arg1
,)+args
)
780 #-------------- FUNCTION WRAPPERS ------------------
782 def wxEmptyBitmap(arg0
,arg1
,*args
):
783 val
= apply(gdic
.wxEmptyBitmap
,(arg0
,arg1
,)+args
)
784 val
= wxBitmapPtr(val
)
788 def wxNoRefBitmap(arg0
,arg1
):
789 val
= gdic
.wxNoRefBitmap(arg0
,arg1
)
790 val
= wxBitmapPtr(val
)
793 def wxMaskColour(arg0
,arg1
):
794 val
= gdic
.wxMaskColour(arg0
.this
,arg1
.this
)
799 def wxStockCursor(arg0
):
800 val
= gdic
.wxStockCursor(arg0
)
801 val
= wxCursorPtr(val
)
805 def wxNamedColour(arg0
):
806 val
= gdic
.wxNamedColour(arg0
)
807 val
= wxColourPtr(val
)
811 def wxMemoryDCFromDC(arg0
):
812 val
= gdic
.wxMemoryDCFromDC(arg0
.this
)
813 val
= wxMemoryDCPtr(val
)
819 #-------------- VARIABLE WRAPPERS ------------------
822 wxNORMAL_FONT
= wxFontPtr(gdic
.cvar
.wxNORMAL_FONT
)
823 wxSMALL_FONT
= wxFontPtr(gdic
.cvar
.wxSMALL_FONT
)
824 wxITALIC_FONT
= wxFontPtr(gdic
.cvar
.wxITALIC_FONT
)
825 wxSWISS_FONT
= wxFontPtr(gdic
.cvar
.wxSWISS_FONT
)
826 wxRED_PEN
= wxPenPtr(gdic
.cvar
.wxRED_PEN
)
827 wxCYAN_PEN
= wxPenPtr(gdic
.cvar
.wxCYAN_PEN
)
828 wxGREEN_PEN
= wxPenPtr(gdic
.cvar
.wxGREEN_PEN
)
829 wxBLACK_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_PEN
)
830 wxWHITE_PEN
= wxPenPtr(gdic
.cvar
.wxWHITE_PEN
)
831 wxTRANSPARENT_PEN
= wxPenPtr(gdic
.cvar
.wxTRANSPARENT_PEN
)
832 wxBLACK_DASHED_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_DASHED_PEN
)
833 wxGREY_PEN
= wxPenPtr(gdic
.cvar
.wxGREY_PEN
)
834 wxMEDIUM_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxMEDIUM_GREY_PEN
)
835 wxLIGHT_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxLIGHT_GREY_PEN
)
836 wxBLUE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLUE_BRUSH
)
837 wxGREEN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREEN_BRUSH
)
838 wxWHITE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxWHITE_BRUSH
)
839 wxBLACK_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLACK_BRUSH
)
840 wxTRANSPARENT_BRUSH
= wxBrushPtr(gdic
.cvar
.wxTRANSPARENT_BRUSH
)
841 wxCYAN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxCYAN_BRUSH
)
842 wxRED_BRUSH
= wxBrushPtr(gdic
.cvar
.wxRED_BRUSH
)
843 wxGREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREY_BRUSH
)
844 wxMEDIUM_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxMEDIUM_GREY_BRUSH
)
845 wxLIGHT_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxLIGHT_GREY_BRUSH
)
846 wxBLACK
= wxColourPtr(gdic
.cvar
.wxBLACK
)
847 wxWHITE
= wxColourPtr(gdic
.cvar
.wxWHITE
)
848 wxRED
= wxColourPtr(gdic
.cvar
.wxRED
)
849 wxBLUE
= wxColourPtr(gdic
.cvar
.wxBLUE
)
850 wxGREEN
= wxColourPtr(gdic
.cvar
.wxGREEN
)
851 wxCYAN
= wxColourPtr(gdic
.cvar
.wxCYAN
)
852 wxLIGHT_GREY
= wxColourPtr(gdic
.cvar
.wxLIGHT_GREY
)
853 wxSTANDARD_CURSOR
= wxCursorPtr(gdic
.cvar
.wxSTANDARD_CURSOR
)
854 wxHOURGLASS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxHOURGLASS_CURSOR
)
855 wxCROSS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxCROSS_CURSOR
)
856 wxNullBitmap
= wxBitmapPtr(gdic
.cvar
.wxNullBitmap
)
857 wxNullIcon
= wxIconPtr(gdic
.cvar
.wxNullIcon
)
858 wxNullCursor
= wxCursorPtr(gdic
.cvar
.wxNullCursor
)
859 wxNullPen
= wxPenPtr(gdic
.cvar
.wxNullPen
)
860 wxNullBrush
= wxBrushPtr(gdic
.cvar
.wxNullBrush
)
861 wxNullPalette
= wxPalettePtr(gdic
.cvar
.wxNullPalette
)
862 wxNullFont
= wxFontPtr(gdic
.cvar
.wxNullFont
)
863 wxNullColour
= wxColourPtr(gdic
.cvar
.wxNullColour
)
864 wxIMAGELIST_DRAW_NORMAL
= gdic
.wxIMAGELIST_DRAW_NORMAL
865 wxIMAGELIST_DRAW_TRANSPARENT
= gdic
.wxIMAGELIST_DRAW_TRANSPARENT
866 wxIMAGELIST_DRAW_SELECTED
= gdic
.wxIMAGELIST_DRAW_SELECTED
867 wxIMAGELIST_DRAW_FOCUSED
= gdic
.wxIMAGELIST_DRAW_FOCUSED
868 wxIMAGE_LIST_NORMAL
= gdic
.wxIMAGE_LIST_NORMAL
869 wxIMAGE_LIST_SMALL
= gdic
.wxIMAGE_LIST_SMALL
870 wxIMAGE_LIST_STATE
= gdic
.wxIMAGE_LIST_STATE