title: AttributeError: 'float' object has no attribute 'root'
body: <p>i have a issue which i cant solve.</p>
  
  <p>When i run the following code i get this error</p>
  
  <pre><code>AttributeError: 'float' object has no attribute 'root'
  </code></pre>
  
  <p>Everything works fine till i ad a Clock.schedule</p>
  
  <p>Code: </p>
  
  <pre><code>from kivy.app import App
  from kivy.uix.floatlayout import FloatLayout
  from kivy.uix.label import Label
  from kivy.clock import Clock
  
  global C
  C = 0
  
  
  
  
  class Example(App):
       def build(self):
            global C
            C = C + 1
            y = str(C)
            self.root = FloatLayout()
            self.label = Label(text=y, pos=(0,0), size_hint=(1.0,1.0), halign="left")
  
  
        self.label.text_size = self.label.size
        self.root.add_widget(self.label)
        return self.root
        Clock.schedule_once(build, 0.1)
  
  Example().run()
  </code></pre>
  
  <p>For Example: When i want to update the time, i call a method every second with</p>
  
  <p>#Clock.schedule_interval(test, 1)</p>
  
  <p>So i call the Method every second</p>
  
  <p>But if i want to update the time and send it to a lable with the ID time i get the same error....</p>
  
  <pre><code>def test(self):
      z = time.strftime("%H:%M:%S")
      self.ids.time.text = (y)
  </code></pre>
  
  <p>Clock.schedule_interval(test, 1)</p>
  
  <p>My goal in this projekt is to show the time on every page and update the status of different inputs on different screens to lables for example every second.</p>
  
  <p>i tried the following command to but i guess it doesnt work for more then one screen</p>
  
  <p>self.the_time.text = MyTime</p>