.. 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.FMCustomizeDlg:
==========================================================================================================================================
|phoenix_title| **wx.lib.agw.fmcustomizedlg.FMCustomizeDlg**
==========================================================================================================================================
Class used to customize the appearance of :class:`~wx.lib.agw.flatmenu.FlatMenu`
and :class:`~wx.lib.agw.flatmenu.FlatMenuBar`.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
FMCustomizeDlg:
|
|appearance| Control Appearance
===============================
|
.. container:: control-appearance-figures
.. figure:: _static/images/widgets/fullsize/wxmsw/wx.lib.agw.fmcustomizedlg.fmcustomizedlg.png
:alt: wxMSW
:figclass: appearance-figure
**wxMSW**
.. figure:: _static/images/widgets/fullsize/wxmac/../no_appearance.png
:alt: wxMAC
:figclass: appearance-figure
**wxMAC**
.. figure:: _static/images/widgets/fullsize/wxgtk/../no_appearance.png
:alt: wxGTK
:figclass: appearance-figure
**wxGTK**
|
|super_classes| Known Superclasses
==================================
:class:`wx.Dialog`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.agw.fmcustomizedlg.FMCustomizeDlg.__init__` Default class constructor.
:meth:`~wx.lib.agw.fmcustomizedlg.FMCustomizeDlg.CloseDialog` Closes the dialog.
:meth:`~wx.lib.agw.fmcustomizedlg.FMCustomizeDlg.ConnectEvents` Does nothing at the moment.
:meth:`~wx.lib.agw.fmcustomizedlg.FMCustomizeDlg.CreateDialog` Actually creates the dialog.
:meth:`~wx.lib.agw.fmcustomizedlg.FMCustomizeDlg.CreateMenusPage` Creates the :class:`~wx.lib.agw.labelbook.LabelBook` pages with :class:`~wx.lib.agw.flatmenu.FlatMenu` information.
:meth:`~wx.lib.agw.fmcustomizedlg.FMCustomizeDlg.CreateOptionsPage` Creates the :class:`~wx.lib.agw.labelbook.LabelBook` option page which holds the
:meth:`~wx.lib.agw.fmcustomizedlg.FMCustomizeDlg.CreateShortcutsPage` Creates the :class:`~wx.lib.agw.labelbook.LabelBook` shortcuts page.
:meth:`~wx.lib.agw.fmcustomizedlg.FMCustomizeDlg.Initialise` Initializes the :class:`~wx.lib.agw.labelbook.LabelBook` pages.
:meth:`~wx.lib.agw.fmcustomizedlg.FMCustomizeDlg.OnChangeStyle` Handles the ``wx.EVT_CHECKBOX`` event for :class:`FMCustomizeDlg`.
:meth:`~wx.lib.agw.fmcustomizedlg.FMCustomizeDlg.OnMenuChecked` Handles the ``wx.EVT_CHECKBOX`` event for :class:`FMCustomizeDlg`.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: FMCustomizeDlg(wx.Dialog)
Class used to customize the appearance of :class:`~wx.lib.agw.flatmenu.FlatMenu`
and :class:`~wx.lib.agw.flatmenu.FlatMenuBar`.
.. method:: __init__(self, parent=None)
Default class constructor.
:param `parent`: the :class:`FMCustomizeDlg` parent window.
.. method:: CloseDialog(self)
Closes the dialog.
.. method:: ConnectEvents(self)
Does nothing at the moment.
.. method:: CreateDialog(self)
Actually creates the dialog.
.. method:: CreateMenusPage(self)
Creates the :class:`~wx.lib.agw.labelbook.LabelBook` pages with :class:`~wx.lib.agw.flatmenu.FlatMenu` information.
.. method:: CreateOptionsPage(self)
Creates the :class:`~wx.lib.agw.labelbook.LabelBook` option page which holds the
:class:`~wx.lib.agw.flatmenu.FlatMenu` styles.
.. method:: CreateShortcutsPage(self)
Creates the :class:`~wx.lib.agw.labelbook.LabelBook` shortcuts page.
.. method:: Initialise(self)
Initializes the :class:`~wx.lib.agw.labelbook.LabelBook` pages.
.. method:: OnChangeStyle(self, event)
Handles the ``wx.EVT_CHECKBOX`` event for :class:`FMCustomizeDlg`.
:param `event`: a :class:`CommandEvent` event to be processed.
.. note:: This method handles the :class:`~wx.lib.agw.flatmenu.FlatMenu` styles.
.. method:: OnMenuChecked(self, event)
Handles the ``wx.EVT_CHECKBOX`` event for :class:`FMCustomizeDlg`.
:param `event`: a :class:`CommandEvent` event to be processed.
.. note:: This method handles the :class:`~wx.lib.agw.flatmenu.FlatMenu` menus visibility.