title: Remove a button in the kivy widget
body: <p>In kivy, I try to remove a button in the widget but that doesn't work, I guess it's because my targeting is bad but I don't find on internet the good way to do it.</p>
  
  <p>I would like to remove a button when I click on another button</p>
  
  <pre><code>class RPS(Widget):
      user_name_input = ObjectProperty()
      user_name = ''
  
      def save_user_name(self):
          user_name = self.user_name_input.text
          print(user_name)
          self.remove_widget(self.ids.remove) # I guess the problem is here the way I target
  </code></pre>
  
  <p>kivy file</p>
  
  <pre><code>user_name_input: user_name
  TextInput:
      id: user_name
      size: 300, 50
      pos: 700,400
  Button:
      text: "name"
      pos: 1070,400
      size: 300, 50
      on_release: root.save_user_name()
  Button:
      id: remove
      text: "button to remove"
      pos: 1070,800
      size: 300, 50
  </code></pre>