code: def _init(self):
          
          for label in self.ticklabels:
              label.destroy()
          self.label.place_forget()
          self.ticks = []
          self.ticklabels = []
          if self._resolution > 0:
              nb_steps = round((self.scale.cget('to') - self.scale.cget('from')) / self._resolution)
              self.scale.configure(to=self.scale.cget('from') + nb_steps * self._resolution)
              self._extent = self.scale.cget('to') - self.scale.cget('from')
          if str(self.scale.cget('orient')) == "horizontal":
              self.get_scale_length = self.scale.winfo_width
              self.display_value = self._display_value_horizontal
              self._update_slider_length = self._update_slider_length_horizontal
              self.place_ticks = self._place_ticks_horizontal
              self._init_horizontal()
          else:
              self.get_scale_length = self.scale.winfo_height
              self.display_value = self._display_value_vertical
              self._update_slider_length = self._update_slider_length_vertical
              self.place_ticks = self._place_ticks_vertical
              self._init_vertical()
          self.scale.lift()
          try:
              self._var.trace_remove('write', self._trace)
              self._trace = self._var.trace_add('write', self._increment)
          except AttributeError:
              # backward compatibility
              self._var.trace_vdelete('w', self._trace)
              self._trace = self._var.trace('w', self._increment)
          self._update_slider_length()
docs: Create and grid the widgets.