<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html40/loose.dtd"> <html> <head> <title>Class: MenuBar</title> </head> <body bgcolor="#ffffff"> <p><i><a href="../../index.html">Table of Contents</a></i></p> <table border="0" cellpadding="5" cellspacing="0" width="100%"> <tr> <th rowspan="2" valign="top" align="left" width="10%" bgcolor="#88bbee"><font color="#000000">Class: MenuBar</font> </th> <th bgcolor="#88bbee" width="90%" align="right"><font color="#000000">../bkchem/Pmw.py</font> </th> </tr> <tr> <td> <table border="0" cellpadding="5" cellspacing="0" width="100%"> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="Base Classes">Base Classes</a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000"> </font> </th> </tr> <tr> <td> <a href="MegaWidget.html">MegaWidget</a><br> <ul> <a href="MegaArchetype.html">MegaArchetype</a><br> </ul> </td></tr> </table> <table border="0" cellpadding="5" cellspacing="0" width="100%"> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="Methods">Methods</a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000"> </font> </th> </tr> <tr> <td> <a href="#__init__">__init__</a><br> <a href="#addcascademenu">addcascademenu</a><br> <a href="#addmenu">addmenu</a><br> <a href="#addmenuitem">addmenuitem</a><br> <a href="#deletemenu">deletemenu</a><br> <a href="#deletemenuitems">deletemenuitems</a><br> <a href="#disableall">disableall</a><br> <a href="#enableall">enableall</a><br> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="__init__"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">__init__ </font> </th> </tr> <tr> <td> <font color="#000088"><pre> __init__ ( self, parent=None, **kw, ) </pre></font> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="addcascademenu"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">addcascademenu </font> </th> </tr> <tr> <td> <font color="#000088"><pre> addcascademenu ( self, parentMenuName, menuName, statusHelp='', traverseSpec=None, **kw, ) </pre></font> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="addmenu"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">addmenu </font> </th> </tr> <tr> <td> <font color="#000088"><pre> addmenu ( self, menuName, balloonHelp, statusHelp=None, side='left', traverseSpec=None, **kw, ) </pre></font> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="addmenuitem"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">addmenuitem </font> </th> </tr> <tr> <td> <font color="#000088"><pre> addmenuitem ( self, menuName, itemType, statusHelp='', traverseSpec=None, **kw, ) </pre></font> <table border="0" cellpadding="5" cellspacing="0" width="100%"> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="Exceptions">Exceptions</a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000"> </font> </th> </tr> <tr> <td> ValueError, 'unknown menuitem type "%s"' % itemType<br> </td></tr> </table> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="deletemenu"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">deletemenu </font> </th> </tr> <tr> <td> <font color="#000088"><pre> deletemenu ( self, menuName ) </pre></font> <p>Delete should be called for cascaded menus before main menus.</p> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="deletemenuitems"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">deletemenuitems </font> </th> </tr> <tr> <td> <font color="#000088"><pre> deletemenuitems ( self, menuName, start, end=None, ) </pre></font> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="disableall"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">disableall </font> </th> </tr> <tr> <td> <font color="#000088"><pre> disableall ( self ) </pre></font> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="enableall"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">enableall </font> </th> </tr> <tr> <td> <font color="#000088"><pre> enableall ( self ) </pre></font> </td></tr> </td></tr> </table> </td> </tr> </table> <hr> <p><i><a href="../../index.html">Table of Contents</a></i></p> <font size="-2"><i>This document was automatically generated on Tue Dec 12 13:46:43 2006 by <a href="http://happydoc.sourceforge.net">HappyDoc</a> version 2.1</i></font> </body> </html>