<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_horizontal_displacement_value_changed(self, spin):
 """Changes the value of window-horizontal-displacement """

        self.settings.general.set_int('window-horizontal-displacement', int(spin.get_value()))