Helper class to draw gradient shadings on the dialog.
Default class constructor. |
|
Handles the |
|
Handles the |
FMTitlePanel
(wx.Panel)¶Helper class to draw gradient shadings on the dialog.
__init__
(self, parent, title)¶Default class constructor.
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
.
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
.
event – a PaintEvent
event to be processed.