Base class for PyBusyInfo
.
Default class constructor. |
|
Handles the |
|
Handles the |
|
Sets |
PyInfoFrame
(wx.Frame)¶Base class for PyBusyInfo
.
__init__
(self, parent, message, title, icon)¶Default class constructor.
parent – the frame parent;
message – the message to display in the PyBusyInfo
;
title – the main PyBusyInfo
title;
icon – an icon to draw as the frame icon, an instance of wx.Bitmap
.
OnErase
(self, event)¶Handles the wx.EVT_ERASE_BACKGROUND
event for PyInfoFrame
.
event – a EraseEvent
event to be processed.
Note
This method is intentionally empty to reduce flicker.
OnPaint
(self, event)¶Handles the wx.EVT_PAINT
event for PyInfoFrame
.
event – a PaintEvent
to be processed.
SetBusyShape
(self, event=None)¶Sets PyInfoFrame
shape using the region created from the bitmap.
event – a wx.WindowCreateEvent
event (GTK only, as GTK supports setting
the window shape only during window creation).