.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2018 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>
   </div>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.Panel.html" title="wx.Panel" alt="" coords="102,315,177,344"/> <area shape="rect" id="node7" href="wx.lib.agw.fmcustomizedlg.FMTitlePanel.html" title="wx.lib.agw.fmcustomizedlg.FMTitlePanel" alt="" coords="4,392,275,421"/> <area shape="rect" id="node2" href="wx.Window.html" title="wx.Window" alt="" coords="95,237,184,267"/> <area shape="rect" id="node3" href="wx.Trackable.html" title="wx.Trackable" alt="" coords="32,5,133,35"/> <area shape="rect" id="node4" href="wx.EvtHandler.html" title="wx.EvtHandler" alt="" coords="84,83,195,112"/> <area shape="rect" id="node6" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="79,160,200,189"/> <area shape="rect" id="node5" href="wx.Object.html" title="wx.Object" alt="" coords="157,5,239,35"/> </map> 
   </p>

|


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


