Could you give an example of how to plug code with a generated python file ? for example, how to attach a command when the "New" menu is triggerred ? window @MyWindow "My First Window" { menuBar { menu "File" { menuItem @New "New" } } stef -- Stéphane Conversy http://www-ihm.lri.fr/~conversy/ mailto:conversy at lri.fr