def METHOD_NAME(self):
    root = BoxLayout(orientation='vertical')
    self.viewer = viewer = KinectViewer(
        index=self.config.getint('kinect', 'index'),
        shader=self.config.get('shader', 'theme'))
    root.add_widget(viewer)
    toolbar = BoxLayout(size_hint=(1, None), height=50)
    root.add_widget(toolbar)
    slider = Slider(min=1., max=32., value=1.)
    def update_depth_range(instance, value):
        viewer.depth_range = value
    slider.bind(value=update_depth_range)
    toolbar.add_widget(slider)
    return root