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
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 forPyInfoFrame
.- Parameters:
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 forPyInfoFrame
.- Parameters:
event – a
PaintEvent
to be processed.
- SetBusyShape(self, event=None)¶
Sets
PyInfoFrame
shape using the region created from the bitmap.- Parameters:
event – a
wx.WindowCreateEvent
event (GTK only, as GTK supports setting the window shape only during window creation).