“cmd.set_title” attaches a text string to the state of a particular object which can be displayed next to the object name when that state is active. This is useful for display the energies of a set of conformers.
cmd.set_title(string object, int state, string text)
def set_title(object, state, text):