I am giving this command in ubuntu
def gui_c(self):
self.button1=Button(app,text="Search",command=self.search_())
self.button1.grid()
I want to search_() function by clicking on this button.But before clicking this function has been called and self.button1.grid() is not executed.
Please help.