                           textvariable=self.tk_var,
                           justify=tk.RIGHT,
                           font=get_config().default_font)
          tbox.pack(padx=(0, 5), side=tk.RIGHT)
          ctl = self.control(
              self.frame,
              variable=self.tk_var,
              command=lambda val, var=self.tk_var, dt=dtype, rn=rounding, mm=min_max:
              set_slider_rounding(val, var, dt, rn, mm))
          rc_menu = ContextMenu(tbox)
          rc_menu.cm_bind()
          ctl["from_"] = min_max[0]
          ctl["to"] = min_max[1]
          logger.debug("Added slider control to Options Frame: %s", self.title)
 
</s> remove             fileopn = ttk.Button(self.frame,
                                 image=img,
                                 command=lambda cmd=action: cmd(self.tk_var, self.filetypes))
 </s> add             cmd = partial(action, filepath=self.tk_var, filetypes=self.filetypes)
            fileopn = ttk.Button(self.frame, image=img, command=cmd)
            add_command(fileopn.cget("command"), cmd) </s> remove         frame = ttk.Frame(parent)
 </s> add         frame = ttk.Frame(parent, name="fr_{}".format(self.title.lower())) </s> remove     @staticmethod
    def control_frame(parent):
 </s> add     def control_frame(self, parent): </s> remove         logger.debug("Adding browser buttons: (sysbrowser: '%s'", self.browser)
 </s> add         logger.debug("Adding browser buttons: (sysbrowser: %s", self.browser)
        cmd = partial(set_slider_rounding,
                      var=self.tk_var,
                      d_type=dtype,
                      round_to=rounding,
                      min_max=min_max)
        ctl = self.control(self.frame, variable=self.tk_var, command=cmd)
        add_command(ctl.cget("command"), cmd)
                           textvariable=self.tk_var,
                           justify=tk.RIGHT,
                           font=get_config().default_font)
          tbox.pack(padx=(0, 5), side=tk.RIGHT)
        cmd = partial(set_slider_rounding,
                      var=self.tk_var,
                      d_type=dtype,
                      round_to=rounding,
                      min_max=min_max)
        ctl = self.control(self.frame, variable=self.tk_var, command=cmd)
        add_command(ctl.cget("command"), cmd)
        cmd = partial(set_slider_rounding,
                      var=self.tk_var,
                      d_type=dtype,
                      round_to=rounding,
                      min_max=min_max)
        ctl = self.control(self.frame, variable=self.tk_var, command=cmd)
        add_command(ctl.cget("command"), cmd)
        cmd = partial(set_slider_rounding,
                      var=self.tk_var,
                      d_type=dtype,
                      round_to=rounding,
                      min_max=min_max)
        ctl = self.control(self.frame, variable=self.tk_var, command=cmd)
        add_command(ctl.cget("command"), cmd)
        cmd = partial(set_slider_rounding,
                      var=self.tk_var,
                      d_type=dtype,
                      round_to=rounding,
                      min_max=min_max)
        ctl = self.control(self.frame, variable=self.tk_var, command=cmd)
        add_command(ctl.cget("command"), cmd)
        cmd = partial(set_slider_rounding,
                      var=self.tk_var,
                      d_type=dtype,
                      round_to=rounding,
                      min_max=min_max)
        ctl = self.control(self.frame, variable=self.tk_var, command=cmd)
        add_command(ctl.cget("command"), cmd)
          rc_menu = ContextMenu(tbox)
          rc_menu.cm_bind()
          ctl["from_"] = min_max[0]
          ctl["to"] = min_max[1]
          logger.debug("Added slider control to Options Frame: %s", self.title)
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 Bugfix: Fix commands for re-arranged panels 
lib/gui/control_helper.py