title: Kivy - Drop-down List - How to get current text from selected button?
body: <p>In the following code, there is a button that when pressed shows a drop-down list with 9 Values. 
  Once I select one of these options, I would like to print on Python what is the value that I selected. 
  For example, if I select "Value 4", in the moment that I select "Value 4" this value has to be printed in my code. </p>
  
  <p>I found some similar question about this, and I provide the link below, although none of them solved my problem. 
  <a href="https://stackoverflow.com/questions/50759993/python-kivy-get-text-from-dynamically-created-buttons-with-a-dropdown">Python, Kivy. Get text from dynamically created buttons with a dropdown</a> 
  <a href="https://stackoverflow.com/questions/44552832/retrieving-values-from-a-kivy-dropdown-widget">Retrieving values from a kivy dropdown widget</a> </p>
  
  <pre><code>from kivy.app import App
  from kivy.uix.button import Button
  from kivy.uix.dropdown import DropDown
  from kivy.uix.boxlayout import BoxLayout
  from kivy.uix.label import Label
  
  class Test(App):
      def build(self):
          box = BoxLayout(orientation = 'vertical')
          label = Label(text = 'LABEL')
          button = Button(text='Selecione', font_size=30, size_hint_y=0.15 , on_release = self.lista)
          box.add_widget(label)
          box.add_widget(button)
  
          return box
  
      def lista(self, button):
          dropdown = DropDown()
  
          for index in range(10):
              btn = Button(text='Value %d' % index, size_hint_y=None, height=44)
              btn.text = 'Value %d' %index
              btn.bind(on_release=lambda btn: dropdown.select(btn.text))
              dropdown.add_widget(btn)
  
          button.bind(on_release=dropdown.open)
          dropdown.bind(on_select=lambda instance, x: setattr(button, 'text', x))
          print(button.text)
  
  Test().run()
  </code></pre>
  
  <p>I need to print the text of the selected "button" in the drop down list.</p>