Method: Tk::Text#mark_gravity
- Defined in:
- lib/tk/text.rb
#mark_gravity(mark, direction = nil) ⇒ Object
383 384 385 386 387 388 389 390 391 |
# File 'lib/tk/text.rb', line 383 def mark_gravity(mark, direction=nil) if direction tk_send_without_enc('mark', 'gravity', _get_eval_enc_str(mark), direction) self else tk_send_without_enc('mark', 'gravity', _get_eval_enc_str(mark)) end end |