URL:
  <http://gna.org/bugs/?14326>

                 Summary: Pudding.MainLoop.main_loop call doesn't return any
value to its caller
                 Project: Soya 3D
            Submitted by: deavid
            Submitted on: Wednesday 09/16/09 at 11:23
                Category: None
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In Soya-0.14 stable, file pudding/main_loop.py:

        def main_loop(self):
                """ resize all widgets and start the main_loop """
                soya.root_widget.on_resize()

                soya.MainLoop.main_loop(self)


but soya's main loop is returning a (sometimes useful) value that is provided
by the user.

So, if we're using pudding, it's not possible to use return values in
main_loop.

If we place a simple "return" it could address the problem:


        def main_loop(self):
                """ resize all widgets and start the main_loop """
                soya.root_widget.on_resize()

                return soya.MainLoop.main_loop(self)





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?14326>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to