Re: Pyglade, gtk, howto write more efficiently, and waste less code?

2006-09-20 Thread Pipiten
Thanks thomas!, i did it that way ;). maybe someone can help me with this, it seems simple, but i don`t know how to do it. I have: self.paths = ["","path1","path2","path3","path4","path5"] self.paths[1] = self.wTree.get_widget("path1") self.paths[2] = self.wTree.get_widget

Pyglade, gtk, howto write more efficiently, and waste less code?

2006-09-19 Thread Pipiten
Hi everybody, i` m new in this group, and python so.., my greetings to everybody here. I wrote a little program, in wich i do this: (I have several "Select File" buttons, one for each file (in this case, an image) wich has an text_entry, so i can add a comment for each picture.) def on_button1_cli