wx.lib.agw.fmcustomizedlg.FMTitlePanel¶
Helper class to draw gradient shadings on the dialog.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. |
|
Handles the |
|
Handles the |
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 forFMTitlePanel
.- 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 forFMTitlePanel
.- Parameters:
event – a
PaintEvent
event to be processed.