I don't have time to look at your patch right now, but here's a hint.

On the pages that can go more than one place, you have to hook up a
signal in glade and then define a handler in py to make it go to the
correct page.

Example handler:
    def on_spindle_back(self, *args):
        self.on_spindle_next()
        if self.data.axes != 1:
            self.widgets.druid1.set_page(self.widgets.zaxis)
        else:
            self.widgets.druid1.set_page(self.widgets.aaxis)
        return True

Corresponding line in glade file:
    <signal name="back" handler="on_spindle_back" .../>

I'm not sure what it looks like in the glade gui, but I know there's a
whole tab for signals.

Jeff

------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to