.. $Id$  -*- rst -*-
.. pyformex reference manual --- menu
.. CREATED WITH py2rst.py: DO NOT EDIT

.. include:: ../defines.inc
.. include:: ../links.inc

.. _sec:ref-menu:

:mod:`menu` --- Menus for the pyFormex GUI.
===========================================

.. automodule:: menu
   :synopsis: Menus for the pyFormex GUI.



   .. autoclass:: BaseMenu


      BaseMenu objects have the following methods:

      .. automethod:: actionList()
      .. automethod:: index(text)
      .. automethod:: action(text)
      .. automethod:: item(text)
      .. automethod:: nextitem(text)
      .. automethod:: removeItem(item)
      .. automethod:: insert_sep(before=None)
      .. automethod:: insert_menu(menu,before=None)
      .. automethod:: insert_action(action,before=None)
      .. automethod:: create_insert_action(str,val,before=None)
      .. automethod:: insertItems(items,before=None)

   .. autoclass:: Menu


      Menu objects have the following methods:

      .. automethod:: process()
      .. automethod:: remove()

   .. autoclass:: MenuBar


      MenuBar objects have the following methods:

      .. automethod:: title()

   .. autoclass:: DAction


      DAction objects have the following methods:

      .. automethod:: activated()

   .. autoclass:: ActionList


      ActionList objects have the following methods:

      .. automethod:: add(name,icon=None,text=None)
      .. automethod:: names()

**Functions defined in the module menu**

   .. autofunction:: resetGUI()
   .. autofunction:: printwindow()
   .. autofunction:: saveGeometry()
   .. autofunction:: restoreGeometry()
   .. autofunction:: moveCorrect()
   .. autofunction:: closeLogFile()
   .. autofunction:: openLogFile()
   .. autofunction:: saveBoard()
   .. autofunction:: createMenuData()

   
.. moduleauthor:: pyFormex project (http://pyformex.org)

.. End

