Gtk : Generic : Refactor to add the config object to access all the var
                instead of having to pass each value