Dynamic menu event binding

Hi Guys,

There’s a fellow on StackOver that wants to know how to dynamically create menus and bind events to said menus. He’s actually trying to bind events like this: myMenuItem.Bind() instead of myFrame.Bind(). He doesn’t seem to appreciate my advice, so if someone else wants to take a shot, they’re welcome to it. Here’s the link:

http://stackoverflow.com/questions/13678267/why-cant-i-bind-events-directly-to-wx-menu-in-windows/

  • Mike

I gave it a shot :wink:

-Chris

···

On Mon, Dec 3, 2012 at 2:51 PM, Mike Driscoll <kyosohma@gmail.com> wrote:

Hi Guys,

There's a fellow on StackOver that wants to know how to dynamically create
menus and bind events to said menus. He's actually trying to bind events
like this: myMenuItem.Bind() instead of myFrame.Bind(). He doesn't seem to
appreciate my advice, so if someone else wants to take a shot, they're
welcome to it. Here's the link:

python - Why can't I bind events directly to wx.Menu in Windows? - Stack Overflow

- Mike

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov