code: def init_widget(self):
          
          super(AndroidTimePicker, self).init_widget()
          d = self.declaration
          w = self.widget
          self.set_hour(d.hour)
          self.set_minute(d.minute)
          self.set_hour_mode(d.hour_mode)
  
          w.setOnTimeChangedListener(w.getId())
          w.onTimeChanged.connect(self.on_time_changed)
docs: Initialize the underlying widget.