.. 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.flatmenu
.. highlight:: python
.. _wx.lib.agw.flatmenu.mcPopupWindow:
==========================================================================================================================================
|phoenix_title| **wx.lib.agw.flatmenu.mcPopupWindow**
==========================================================================================================================================
Since Max OS does not support :class:`PopupWindow`, this is an alternative.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
mcPopupWindow:
|
|sub_classes| Known Subclasses
==============================
:class:`wx.lib.agw.flatmenu.ShadowPopupWindow`
|
|super_classes| Known Superclasses
==================================
:class:`wx.MiniFrame`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.agw.flatmenu.mcPopupWindow.__init__` Default class constructor.
:meth:`~wx.lib.agw.flatmenu.mcPopupWindow.OnLeaveWindow` Handles the ``wx.EVT_LEAVE_WINDOW`` event for :class:`mcPopupWindow`.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: mcPopupWindow(wx.MiniFrame)
Since Max OS does not support :class:`PopupWindow`, this is an alternative.
.. method:: __init__(self, parent)
Default class constructor.
:param `parent`: the :class:`mcPopupWindow` parent window.
.. method:: OnLeaveWindow(self, event)
Handles the ``wx.EVT_LEAVE_WINDOW`` event for :class:`mcPopupWindow`.
:param `event`: a :class:`MouseEvent` event to be processed.