- A
- C
- G
- I
- L
- R
- S
- W
| Htext_Var | = | TkVarAccess.new_hash('htext') |
| Htext_Widget | = | TkVarAccess.new('htext(widget)', :window) |
| Htext_File | = | TkVarAccess.new('htext(file)') |
| Htext_Line | = | TkVarAccess.new('htext(line)') |
| TkCommandNames | = | ['::blt::htext'.freeze].freeze |
| WidgetClassName | = | 'Htext'.freeze |
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 36 def append(win, keys={}) tk_send('append', _epath(win), keys) self end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 45 def current_line number(tk_send_without_enc('gotoline')) end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 41 def goto_line(idx) tk_send_without_enc('gotoline', idx) self end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 49 def index(str) number(tk_send('index', str)) end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 53 def line_pos(str) tk_send('linepos', str) end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 57 def range(from=None, to=None) tk_send_without_enc('range', from, to) end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 66 def scan_dragto(pos) tk_send_without_enc('scan', 'dragto', pos) self end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 61 def scan_mark(pos) tk_send_without_enc('scan', 'mark', pos) self end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 71 def search(pat, from=None, to=None) num = number(tk_send('search', pat, from, to)) (num < 0)? nil: num end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 76 def selection_adjust(index) tk_send_without_enc('selection', 'adjust', index) self end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 80 def selection_clear() tk_send_without_enc('selection', 'clear') self end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 84 def selection_from(index) tk_send_without_enc('selection', 'from', index) self end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 88 def selection_line(index) tk_send_without_enc('selection', 'line', index) self end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 92 def selection_present() bool(tk_send_without_enc('selection', 'present')) end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 95 def selection_range(first, last) tk_send_without_enc('selection', 'range', first, last) self end
Source: show
# File ext/tk/lib/tkextlib/blt/htext.rb, line 99 def selection_to(index) tk_send_without_enc('selection', 'to', index) self end