View Single Post
  #1  
Old 10-22-2007, 07:16 PM
AlyssaK AlyssaK is offline
Member
 
Join Date: Dec 2006
Posts: 16
Status bar in user interface

Hi everyone,

I'm looking at creating a status bar to display information. I'm using the following code as a starting point, however there is a syntax error! Its as really basic problem I know.

statusBar = viz.addTextbox()
statusBar.translate(0.928,0.98)

Traceback (most recent call last):
File "<string>", line 11, in ?
File "main.py", line 5, in ?
from gui import GUI
File "gui.py", line 68
statusBar = viz.addTextbox()
^
SyntaxError: invalid syntax

If you have alternate code please post a reply or have found where im going wrong.

Thanks!!!
Reply With Quote