AGW Logo

agw_title PyInfoFrame

Base class for PyBusyInfo.

hierarchy Inheritance Diagram

Inheritance diagram for: PyInfoFrame

Inheritance diagram of PyInfoFrame


method_summary Methods Summary

__init__Default class constructor.
OnEraseHandles the wx.EVT_ERASE_BACKGROUND event for PyInfoFrame.
OnPaintHandles the wx.EVT_PAINT event for PyInfoFrame.
SetBusyShapeSets PyInfoFrame shape using the region created from the bitmap.

API Class API

class PyInfoFrame(wx.Frame)[source]

Base class for PyBusyInfo.



__init__(parent, message, title, icon)[source]

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(event)[source]

Handles the wx.EVT_ERASE_BACKGROUND event for PyInfoFrame.

Parameters:event – a wx.EraseEvent event to be processed.

Note

This method is intentionally empty to reduce flicker.



OnPaint(event)[source]

Handles the wx.EVT_PAINT event for PyInfoFrame.

Parameters:event – a wx.PaintEvent to be processed.


SetBusyShape(event=None)[source]

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).
Tree

Table Of Contents

Previous topic

PyBusyInfo

Next topic

SVN Revision 68881 For pybusyinfo