.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.agw.pybusyinfo .. highlight:: python .. _wx.lib.agw.pybusyinfo.PyInfoFrame: ========================================================================================================================================== |phoenix_title| **wx.lib.agw.pybusyinfo.PyInfoFrame** ========================================================================================================================================== Base class for :class:`PyBusyInfo`. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class PyInfoFrame:
| |super_classes| Known Superclasses ================================== :class:`wx.Frame` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.agw.pybusyinfo.PyInfoFrame.__init__` Default class constructor. :meth:`~wx.lib.agw.pybusyinfo.PyInfoFrame.OnErase` Handles the ``wx.EVT_ERASE_BACKGROUND`` event for :class:`PyInfoFrame`. :meth:`~wx.lib.agw.pybusyinfo.PyInfoFrame.OnPaint` Handles the ``wx.EVT_PAINT`` event for :class:`PyInfoFrame`. :meth:`~wx.lib.agw.pybusyinfo.PyInfoFrame.SetBusyShape` Sets :class:`PyInfoFrame` shape using the region created from the bitmap. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: PyInfoFrame(wx.Frame) Base class for :class:`PyBusyInfo`. .. method:: __init__(self, parent, message, title, icon) Default class constructor. :param `parent`: the frame parent; :param `message`: the message to display in the :class:`PyBusyInfo`; :param `title`: the main :class:`PyBusyInfo` title; :param `icon`: an icon to draw as the frame icon, an instance of :class:`wx.Bitmap`. .. method:: OnErase(self, event) Handles the ``wx.EVT_ERASE_BACKGROUND`` event for :class:`PyInfoFrame`. :param `event`: a :class:`EraseEvent` event to be processed. .. note:: This method is intentionally empty to reduce flicker. .. method:: OnPaint(self, event) Handles the ``wx.EVT_PAINT`` event for :class:`PyInfoFrame`. :param `event`: a :class:`PaintEvent` to be processed. .. method:: SetBusyShape(self, event=None) Sets :class:`PyInfoFrame` shape using the region created from the bitmap. :param `event`: a :class:`wx.WindowCreateEvent` event (GTK only, as GTK supports setting the window shape only during window creation).