~hemanth-hm/rfc/rfc-finder

« back to all changes in this revision

Viewing changes to bin/rfc-search

  • Committer: Hemanth
  • Date: 2010-04-26 16:38:25 UTC
  • Revision ID: hemanth.hm@gmail.com-20100426163825-5dkxlv0mjyw2kmco
Added few fuction for  on click

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
 
91
91
    def about(self, widget, data=None):
92
92
        """Display the about box for rfc-search."""
 
93
        get = self.builder.get_object
 
94
                self.rfc_search_window.entry1 = get("entry1")
 
95
        self.rfc_search_window.button1 = get("button1")
 
96
        self.rfc_search_window = get("rfc_search_window")
93
97
        about = AboutRfcSearchDialog.AboutRfcSearchDialog()
94
98
        response = about.run()
95
99
        about.destroy()
112
116
        # Clean up code for saving application state should be added here.
113
117
        gtk.main_quit()
114
118
 
 
119
        def on_button1_clicked(self, button, data=None):
 
120
                 x = self.urfc_search_window.entry1.get_text()
 
121
                 print x
 
122
        
115
123
if __name__ == "__main__":
116
124
    # Support for command line options.
117
125
    import logging