Inheritance diagram for wx.ScreenDC:
A wx.ScreenDC can be used to paint on the screen. This should normally be constructed as a temporary stack object; don’t store a wx.ScreenDC object.
See also
A wx.ScreenDC can be used to paint anywhere on the screen. This should normally be constructed as a temporary stack object; don’t store a wx.ScreenDC object.
Returns:
Use this in conjunction with StartDrawingOnTop or StartDrawingOnTopWin to ensure that drawing to the screen occurs on top of existing windows. Without this, some window systems (such as X) only allow drawing to take place underneath other windows.
You might use this pair of functions when implementing a drag feature, for example as in the wx.SplitterWindow implementation.
Returns:
bool
Note
This function is probably obsolete since the X implementations allow drawing directly on the screen now. However, the fact that this function allows the screen to be refreshed afterwards, may be useful to some applications.
Use this in conjunction with EndDrawingOnTop to ensure that drawing to the screen occurs on top of existing windows. Without this, some window systems (such as X) only allow drawing to take place underneath other windows.
An application can specify an area of the screen which is to be drawn on. If None is passed, the whole screen is available.
It is recommended that an area of the screen is specified because with large regions, flickering effects are noticeable when destroying the temporary transparent window used to implement this feature.
You might use this pair of functions when implementing a drag feature, for example as in the wx.SplitterWindow implementation.
Parameters:
Returns:
bool
Note
This function is probably obsolete since the X implementations allow drawing directly on the screen now. However, the fact that this function allows the screen to be refreshed afterwards, may be useful to some applications.
See also
Specify that the area of the screen to be drawn upon coincides with the given window.
Parameters:
Returns:
bool
Note
This function is probably obsolete since the X implementations allow drawing directly on the screen now. However, the fact that this function allows the screen to be refreshed afterwards, may be useful to some applications.
See also