Why OpenDialog.py don't work on Jotty application

Posted by venerable13 on Ask Ubuntu See other posts from Ask Ubuntu or by venerable13
Published on 2012-08-27T17:24:58Z Indexed on 2012/08/28 3:52 UTC
Read the original article Hit count: 191

Filed under:

I'm a Python beginner, I installed quickly, I wrote a "quickly tutorial" in terminal and I did all the steps before at:

"However, the application is not complete. There are a few things left for you to do:"

All the next steps aren't finished yet because when I use open dialog and select one of the files saved, the content of the file isn't showed on "textview1", Why? Only is deleted the content written. Before if was used without dialog works great.

SaveDialog.py work great.

-def on_mnu_new_activate(self, widget, data=None) don't work neither.

-If I use the bold lines by the others don't work.

###def open_file(self, widget, data=None):
def on_mnu_open_activate(self, widget, data=None):

###def save_file(self, widget, data=None):
def on_mnu_save_activate(self, widget, data=None):

To view the code, go to the link above, unrar the archive, install "quickly" if you don't have it yet, place inside on jotty directory, then put "quickly run", "quickly edit", "quickly design", depending what do you want to do.

Code - problematic code with OpenDialog implemented.

Code-part1 - works OK, but without OpenDialog.

I need principally that OpenDialog function work great.

© Ask Ubuntu or respective owner

Related posts about quickly