def objnode(adict):
        prefix = "GtkShortcuts"
        if not adict["klass"].startswith(prefix):
            adict["klass"] = prefix + adict["klass"]
        if "attrib" not in adict:
            adict["attrib"]= {}
        aobj = etree.Element ("object", attrib=adict["attrib"])
        aobj.attrib["class"] = adict["klass"]
        return aobj