Table Of Contents

Previous topic

FMCustomizeDlg

Next topic

OrderedDict

This Page

phoenix_title FMTitlePanel

Helper class to draw gradient shadings on the dialog.


class_hierarchy Inheritance Diagram

Inheritance diagram for class FMTitlePanel

Inheritance diagram of FMTitlePanel


super_classes Known Superclasses

Panel


method_summary Methods Summary

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

api Class API



class FMTitlePanel(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 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 EVT_PAINT event for FMTitlePanel.

Parameters:event – a PaintEvent event to be processed.