Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm new to glade and python. But the code generated by quickly when making my first app is so much confused for me to understand.

I don't know where should I add the code to initialized my new window, I think connecting it to button should be easy.

share|improve this question
    
As this is a developer question, you may want to re-post this in Stack Overflow. –  InkBlend Jun 25 '12 at 2:01

2 Answers 2

The command is quickly add dialog dialogname and needs ran from the app directory. Note, the word "Dialog" is automatically added to the dialog name.

share|improve this answer

The command to create a new dialog using quickly is quickly create dialog dialog name, where dialog-name is the name of the dialog you want to create. This command should be run from within your quickly app directory. This will create a new .ui file in Glade when you relaunch it, and a new Python file will be opened the next time you run quickly edit. Consult the Quickly Tutorial by running quickly tutorial from within your app directory for more information on adding dialogs. I have not noticed any difference between adding a dialog with the Quickly command and manually creating a dialog in Glade and adding the necessary code to a Python file, but please correct me if you (or anyone) know otherwise.

share|improve this answer
    
Aaron Thanks for your replay but I still facing problems with creating new windows... I did as you suggest and when I run this command quickly create dialog dialog-name within my app directory I get You can't launch /usr/share/quickly/templates/ubuntu-application/create.py command within a project. Please choose another path. Aborting –  Majster-pl Jun 28 '12 at 23:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.