adding metods in gtk_ui for work with another objects
authorAlexandr Popov <popov2al@gmail.com>
Sun, 15 Mar 2009 13:15:19 +0000 (16:15 +0300)
committerAlexandr Popov <popov2al@gmail.com>
Sun, 15 Mar 2009 13:15:19 +0000 (16:15 +0300)
src/gtk_ui.py

index e7d33cc..376eff9 100644 (file)
@@ -151,6 +151,14 @@ class GtkWindow(gtk.Window):
         """Stop search. "Stop" button clicked callback."""
         self.stopit = True
 
+    def get_st_par(self):
+        self.start_path = self.srch_p_entr.get_text()
+        self.fl_cnt = int( self.file_cnt.get_value() )
+        return self.start_path, self.fl_cnt
+    
+    def show(self):
+        pass
+
 ### Main call ##################################################################
 def main():
     """Main function."""