<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_window_width_value_changed(self, wscale):
 """Changes the value of window_width in dconf """

        val = wscale.get_value()
        self.settings.general.set_int('window-width', int(val))