.. 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.fmcustomizedlg
.. highlight:: python
.. _wx.lib.agw.fmcustomizedlg.FMTitlePanel:
==========================================================================================================================================
|phoenix_title| **wx.lib.agw.fmcustomizedlg.FMTitlePanel**
==========================================================================================================================================
Helper class to draw gradient shadings on the dialog.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
FMTitlePanel:
|
|super_classes| Known Superclasses
==================================
:class:`wx.Panel`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.agw.fmcustomizedlg.FMTitlePanel.__init__` Default class constructor.
:meth:`~wx.lib.agw.fmcustomizedlg.FMTitlePanel.OnEraseBackground` Handles the ``wx.EVT_ERASE_BACKGROUND`` event for :class:`FMTitlePanel`.
:meth:`~wx.lib.agw.fmcustomizedlg.FMTitlePanel.OnPaint` Handles the ``wx.EVT_PAINT`` event for :class:`FMTitlePanel`.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: FMTitlePanel(wx.Panel)
Helper class to draw gradient shadings on the dialog.
.. method:: __init__(self, parent, title)
Default class constructor.
:param `parent`: the :class:`FMTitlePanel` parent;
:param `title`: the string to use as a dialog title.
.. method:: OnEraseBackground(self, event)
Handles the ``wx.EVT_ERASE_BACKGROUND`` event for :class:`FMTitlePanel`.
: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:`FMTitlePanel`.
:param `event`: a :class:`PaintEvent` event to be processed.