PyDocs

Nav

Graphical user interfaces with Tk

Text.mark_gravity

tkinter

method of Text
  • Text.mark_gravity(markName, direction=None)
If direction is omitted, return the gravity of mark markName, either 'left' or 'right'. Otherwise set its gravity to direction. The gravity determines on which side of the mark text inserted at the mark’s position appears: a mark with right gravity (the default) stays to the right of such text.
0 Examples
No examples for tkinter/Text.mark_gravity.
See Also
No see-alsos for tkinter/Text.mark_gravity
0 Notes
No notes for Text.mark_gravity