<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_transparency_value_changed(self, hscale):
 """Changes the value of background_transparency in dconf """

        value = hscale.get_value()
        self.prefDlg.set_colors_from_settings()
        self.settings.styleBackground.set_int('transparency', MAX_TRANSPARENCY - int(value))