From: Alex S. <al...@sc...> - 2008-04-08 20:18:22
|
Hello: I have been using commands with menu items before, using model.Background, and they work fine. Now I am trying to use a notebook component, and my menu commands are ignored !?! I can see the event in the message watcher, but I cannot catch it. The only sample I've found using a notebook and the menu is in tools/oneEditor/tabcodeEditor.py They do not use 'commands' there but they use 'select' on menu items. 1) Is there any difference on commands handling when using a notebook? 2) How do I get the model.Backgound object from an event object within a page? In other words: I catch some event in a page, and I want to access some variables from the notebook, that are shared between all pages. Thanks in advance! |