'Change the gravity of a mark MARKNAME to DIRECTION (LEFT or RIGHT).
Return the current value if None is given for DIRECTION.'

def mark_gravity(self, markName, direction=None):

    return self.tk.call((self._w, 'mark', 'gravity', markName, direction))
