Phoenix Logo

phoenix_title wx.lib.agw.fmcustomizedlg.FMTitlePanel

Helper class to draw gradient shadings on the dialog.


class_hierarchy Class Hierarchy

Inheritance diagram for class FMTitlePanel:


super_classes Known Superclasses

wx.Panel


method_summary Methods Summary

__init__ Default class constructor.
OnEraseBackground Handles the wx.EVT_ERASE_BACKGROUND event for FMTitlePanel.
OnPaint Handles the wx.EVT_PAINT event for FMTitlePanel.

api Class API



class FMTitlePanel(wx.Panel)

Helper class to draw gradient shadings on the dialog.


Methods



__init__(self, parent, title)

Default class constructor.

Parameters:
  • parent – the FMTitlePanel parent;
  • title – the string to use as a dialog title.


OnEraseBackground(self, event)

Handles the wx.EVT_ERASE_BACKGROUND event for FMTitlePanel.

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

Parameters:event – a PaintEvent event to be processed.