Why OpenDialog.py don't work on Jotty application
- by venerable13
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.