MaxVK
November 3rd, 2008, 06:16 PM
Having made a start with wxPython I have had to move to PyGTK. All seems fine, but I rather like the idea of using GladeGen.
The problem is that the program GladeGen.py, seems to be invisible!
Let me describe what I have done:
Downloaded GladeGen ;)
Place this into folder A
Used Glade(3) to create an interface
Saved the interface as Test.glade in the folder A (along with GladeGen.py)
Open a terminal window
CD to folder A
Type 'GladeGen.py Test.glade Test Test
According to the tutorial (http://www.linuxjournal.com/article/7421) this should now produce the required files with the event handlers etc.
However, what I get is this:
"bash: GladeGen.py: command not found"
I'm lost! Am I doing something so silly that I cant even see what it is? Surely since I have CD'ed to the folder GladeGen.py should be available!
I have tried using GladeGen as it came from the archive file, Iv tried making the file executable, but no matter what I do I get that message, which seems to make no sense!
Anyone have any ideas please.
Cheers
Max
The problem is that the program GladeGen.py, seems to be invisible!
Let me describe what I have done:
Downloaded GladeGen ;)
Place this into folder A
Used Glade(3) to create an interface
Saved the interface as Test.glade in the folder A (along with GladeGen.py)
Open a terminal window
CD to folder A
Type 'GladeGen.py Test.glade Test Test
According to the tutorial (http://www.linuxjournal.com/article/7421) this should now produce the required files with the event handlers etc.
However, what I get is this:
"bash: GladeGen.py: command not found"
I'm lost! Am I doing something so silly that I cant even see what it is? Surely since I have CD'ed to the folder GladeGen.py should be available!
I have tried using GladeGen as it came from the archive file, Iv tried making the file executable, but no matter what I do I get that message, which seems to make no sense!
Anyone have any ideas please.
Cheers
Max