title: I can't understand some find_text function in Tkinter
body: <p>I started read book about Tkinter </p>
  
  <p>(Tkinter GUI Application Development Blueprints)</p>
  
  <p>and when I began to make my text editor with the help of this book I don't really understand one part.</p>
  
  <p>There is a feature than can help you find words in the text.</p>
  
  <pre><code>def find_text(event=None):
  search_toplevel = Toplevel(root)
  search_toplevel.title('Find Text')
  search_toplevel.transient(root)
  search_toplevel.resizable(False, False)
  Label(search_toplevel, text="Find All:").grid(row=0, column=0, sticky='e')
  search_entry_widget = Entry(
      search_toplevel, width=25)
  search_entry_widget.grid(row=0, column=1, padx=2, pady=2, sticky='we')
  search_entry_widget.focus_set()
  ignore_case_value = IntVar()
  Checkbutton(search_toplevel, text='Ignore Case', variable=ignore_case_value).grid(
      row=1, column=1, sticky='e', padx=2, pady=2)
  Button(search_toplevel, text="Find All", underline=0,
         command=lambda: search_output(
             search_entry_widget.get(), ignore_case_value.get(),
             content_text, search_toplevel, search_entry_widget)
         ).grid(row=0, column=2, sticky='e' + 'w', padx=2, pady=2)
  </code></pre>
  
  <p>Lines where we create a button really hard for me. I found out that lambda-function is just like normal function but created in other way, but other stufffff is really hard.Can you please explain me what this code is actually do? (button code)</p>
  
  <p>full code: </p>
  
  <p><a href="https://github.com/PacktPublishing/Tkinter-GUI-Application-Development-Blueprints-Second-Edition/blob/master/Chapter%2002/2.05.py" rel="nofollow noreferrer">https://github.com/PacktPublishing/Tkinter-GUI-Application-Development-Blueprints-Second-Edition/blob/master/Chapter%2002/2.05.py</a></p>