wx.lib.agw.pybusyinfo.PyInfoFrame¶
Base class for PyBusyInfo.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. |
|
Handles the |
|
Handles the |
|
Sets |
Class API¶
- class PyInfoFrame(wx.Frame)¶
Base class for
PyBusyInfo.
Methods¶
- __init__(self, parent, message, title, icon)¶
Default class constructor.
- Parameters:
parent – the frame parent;
message – the message to display in the
PyBusyInfo;title – the main
PyBusyInfotitle;icon – an icon to draw as the frame icon, an instance of
wx.Bitmap.
- OnErase(self, event)¶
Handles the
wx.EVT_ERASE_BACKGROUNDevent forPyInfoFrame.- Parameters:
event – a
EraseEventevent to be processed.
Note
This method is intentionally empty to reduce flicker.
- OnPaint(self, event)¶
Handles the
wx.EVT_PAINTevent forPyInfoFrame.- Parameters:
event – a
PaintEventto be processed.
- SetBusyShape(self, event=None)¶
Sets
PyInfoFrameshape using the region created from the bitmap.- Parameters:
event – a
wx.WindowCreateEventevent (GTK only, as GTK supports setting the window shape only during window creation).