title: Entery Text function
body: <p>i was wondering whether the entery text from within tkinter can take more than one function? if not is there any other way of doing it?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>        self.UI_lbl = tk.Label(self, text="Choose Piece: ")
          self.UI_lbl.grid(row=1, column=0, sticky="e")
          self.UI_entry1 = tk.Entry(self)
          self.UI_entry1.grid(row=1, column=1, sticky="w")
  
          self.UI_lbl = tk.Label(self, text="Choose Row: ")
          self.UI_lbl.grid(row=2, column=0, sticky="e")
          self.UI_entry2 = tk.Entry(self)
          self.UI_entry2.grid(row=2, column=1, sticky="w")
  
          self.UI_lbl2 = tk.Label(self, text="Choose Column: ")
          self.UI_lbl2.grid(row=3, column=0, sticky="e")
          self.UI_entry3 = tk.Entry(self)
          self.UI_entry3.grid(row=3, column=1, sticky="w")
  
          self.UI_lbl = tk.Label(self, text="Move Row: ")
          self.UI_lbl.grid(row=4, column=0, sticky="e")
          self.UI_entry4 = tk.Entry(self)
          self.UI_entry4.grid(row=4, column=1, sticky="w")
  
          self.UI_lbl2 = tk.Label(self, text="Move Column: ")
          self.UI_lbl2.grid(row=5, column=0, sticky="e")
          self.UI_entry5 = tk.Entry(self)
          self.UI_entry5.grid(row=5, column=1, sticky="w")
  
          self.UI_entry1.bind("&lt;Return&gt;", self.Player1)
          self.UI_entry2.bind("&lt;Return&gt;", self.Player1)
          self.UI_entry3.bind("&lt;Return&gt;", self.Player1)
          self.UI_entry4.bind("&lt;Return&gt;", self.Player1)
          self.UI_entry5.bind("&lt;Return&gt;", self.Player1)
  </code></pre>
  
  <p>i would like to use these entries in mutiple functioins but currently have one big one as i cannot assign multiple parameters, how would i be able to fix this?</p>