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

   <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
   <img id="toggleBlock-trigger" src="_static/images/closed.png"/>
   Inheritance diagram for class <strong>FMTitlePanel</strong>:
   </div>
   <div id="toggleBlock-summary" style="display:block;"></div>
   <div id="toggleBlock-content" style="display:none;">
   <p class="graphviz">
   <center><img src="_static/images/inheritance/wx.lib.agw.fmcustomizedlg.FMTitlePanel_inheritance.png" alt="Inheritance diagram of FMTitlePanel" usemap="#dummy" class="inheritance"/></center>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.agw.fmcustomizedlg.FMTitlePanel.html" title="wx.lib.agw.fmcustomizedlg.FMTitlePanel" alt="" coords="5,392,292,421"/> <area shape="rect" id="node2" href="wx.Panel.html" title="wx.Panel" alt="" coords="109,315,189,344"/> <area shape="rect" id="node3" href="wx.Window.html" title="wx.Window" alt="" coords="100,237,197,267"/> <area shape="rect" id="node4" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="84,160,213,189"/> <area shape="rect" id="node5" href="wx.EvtHandler.html" title="wx.EvtHandler" alt="" coords="90,83,207,112"/> <area shape="rect" id="node6" href="wx.Object.html" title="wx.Object" alt="" coords="45,5,132,35"/> <area shape="rect" id="node7" href="wx.Trackable.html" title="wx.Trackable" alt="" coords="157,5,263,35"/> </map> 
   </p>
   </div>

|


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


