check to see if popup menu is enabled.

Walter Igo walterigo at yahoo.com
Fri Sep 1 13:58:13 PDT 2006


I have the fallowing line of code.
 
self.Bind(wx.EVT_CONTEXT_MENU,self.PopUpSwitch)
 
and it works fine.. but I want to check to see if the menu is activated (popedOpen) to remove a fue choices if it is already open.
 
I have already done this in the past a fue months ago. and it worked fine. but I acidently overwritten the code with a earlier version.
 
Now I cant find the command that checks the state of the menu, to see if it is open or not.
 
Thanks Walter Igo
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20060901/802e53da/attachment.htm


More information about the wxpython-users mailing list