def _add_fade_in_pressed(): compositorfades.add_fade_in(compositor, int(widgets.fade_in_spin.get_value())) # We need GUI reload to show results set_compositor(compositor)