phoenix_title wx.lib.agw.pybusyinfo.PyInfoFrame

Base class for PyBusyInfo.


class_hierarchy Class Hierarchy

Inheritance diagram for class PyInfoFrame:

super_classes Known Superclasses

wx.Frame


method_summary Methods Summary

__init__

Default class constructor.

OnErase

Handles the wx.EVT_ERASE_BACKGROUND event for PyInfoFrame.

OnPaint

Handles the wx.EVT_PAINT event for PyInfoFrame.

SetBusyShape

Sets PyInfoFrame shape using the region created from the bitmap.


api 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 for PyInfoFrame.

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 for PyInfoFrame.

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