def read(*parts):
    """
    Build an absolute path from *parts* and and return the contents of the
    resulting file.  Assume UTF-8 encoding.
    """
    with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
        return f.read()
def set_values(self, values):
    self._locker.lock("emit_size_spin_button_value_changed")
    self._locker.lock("prevent_removal_below_min_size")