• Just looking around
    sandlbn
    Posts: 19 from 2009/4/5
    From: Ireland
    I have a problem with pymui. I tried to start according to the tutorial from the http://yellowblue.free.fr/yiki/doku.php/en:dev:pymui:docs:tutorial . But the Notify function syntax for the class Window () is incorrect. I looked through gribouillis2 sources and found that the changed order of arguments.
    Now I use it as follows

    win.Notify ('CloseRequest', lambda e: app.Quit (), when = True)

    For SimpleButton() object function Notify() works fine, but for the Window Object shows the error AssertionError. Does anyone know how to use the Notify() for windows objects ?
  • »21.07.11 - 06:58
    Profile