Donkyhotay / pgu

Automatically exported from code.google.com/p/pgu
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Select GUI Statement not working in examples.. #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. example/gui5.py (I tested in example 3 also)
latest version / win32XP

Please provide any additional information below.

Traceback (most recent call last):
  File "Z:\Temp\pgu-0.12.2\examples\gui3.py", line 47, in <module>
    app.run(container)
  File "..\pgu\gui\app.py", line 218, in run
    self.loop()
  File "..\pgu\gui\app.py", line 174, in loop
    us = self.update(s)
  File "..\pgu\gui\app.py", line 203, in update
    us = container.Container.update(self,screen)
  File "..\pgu\gui\container.py", line 44, in update
    us = w.update(surface.subsurface(s,w.rect))
  File "..\pgu\gui\theme.py", line 341, in func
    r = m(surface.subsurface(s,w._rect_content))
  File "..\pgu\gui\container.py", line 44, in update
    us = w.update(surface.subsurface(s,w.rect))
  File "..\pgu\gui\theme.py", line 341, in func
    r = m(surface.subsurface(s,w._rect_content))
  File "..\pgu\gui\container.py", line 36, in update
    sub.blit(w._container_bkgr,(0,0))
AttributeError: Button instance has no attribute '_container_bkgr'
>>> 

Original issue reported on code.google.com by rigo.cis...@gmail.com on 13 Jul 2009 at 4:27

GoogleCodeExporter commented 9 years ago
Correction from Example5
>>
Traceback (most recent call last):
  File "Z:\Temp\pgu-0.12.2\examples\gui5.py", line 78, in <module>
    app.run(c)
  File "..\pgu\gui\app.py", line 218, in run
    self.loop()
  File "..\pgu\gui\app.py", line 174, in loop
    us = self.update(s)
  File "..\pgu\gui\app.py", line 203, in update
    us = container.Container.update(self,screen)
  File "..\pgu\gui\container.py", line 44, in update
    us = w.update(surface.subsurface(s,w.rect))
  File "..\pgu\gui\theme.py", line 341, in func
    r = m(surface.subsurface(s,w._rect_content))
  File "..\pgu\gui\container.py", line 44, in update
    us = w.update(surface.subsurface(s,w.rect))
  File "..\pgu\gui\theme.py", line 341, in func
    r = m(surface.subsurface(s,w._rect_content))
  File "..\pgu\gui\container.py", line 36, in update
    sub.blit(w._container_bkgr,(0,0))
AttributeError: Button instance has no attribute '_container_bkgr'

Original comment by rigo.cis...@gmail.com on 13 Jul 2009 at 4:28

GoogleCodeExporter commented 9 years ago

Original comment by peter.ro...@gmail.com on 11 Aug 2009 at 2:33

GoogleCodeExporter commented 9 years ago
This bug should now be fixed in v0.12.3

Original comment by peter.ro...@gmail.com on 15 Aug 2009 at 6:33

GoogleCodeExporter commented 9 years ago
Great Thanks!

Original comment by rigo.cis...@gmail.com on 15 Aug 2009 at 11:28