HappyDoc Generated Documentation Class: WindowMenuBar

. / CGLtk / AquaTkFixes.py / WindowMenuBar 

Create a menubar that appears in a window in Aqua. This can be used in addition to setting the toplevel -menu option which will place the menu at the top of the screen when the window has the focus.

Browsing the menus by posting one menu then moving the mouse pointer over a different menu does not work. Didn't find any way to implement that in Aqua Tk 8.5.2. Don't get Enter/Leave window events. Can poll to see what menu the pointer is over but there is no way to unpost the current menu. Menu.unpost() does nothing on the Mac. Posting a second menu causes an error and leaves the first menu posted. Also found no way to even determine when a menu is still posted (by say a click on some other window). Tk mapped and viewable state is not accurate.

Methods   
  highlight_cb 
highlight_cb ( self,  label )
  update_menus 
update_menus ( self )
  post_menu_cb 
post_menu_cb ( self,  label )
  __init__ 
__init__ (
        self,
        menubar,
        parent,
        )
  unhighlight_cb 
unhighlight_cb ( self,  label )

This document was automatically generated Wed Jul 9 15:49:27 2008 by HappyDoc version 3.1