Type ClientDC
object --+
|
Object --+
|
DC --+
|
ClientDC
A wx.ClientDC must be constructed if an application wishes to paint on
the client area of a window from outside an EVT_PAINT event. This should
normally be constructed as a temporary stack object; don't store a
wx.ClientDC object long term.
To draw on a window from within an EVT_PAINT handler, construct a
wx.PaintDC object.
To draw on the whole window including decorations, construct a
wx.WindowDC object (Windows only).
| Method Summary |
| ClientDC |
__init__(self,
win)
Constructor. |
| |
__repr__(self)
|
__init__(self,
win)
(Constructor)
Constructor. Pass the window on which you wish to paint.
-
- Parameters:
win
(type=Window)
- Returns:
-
ClientDC
- Overrides:
wx.DC.__init__
|