mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 18:13:58 +02:00
* ext/tk/lib/tkextlib/tktable/tktable.rb: border_* instance methods
don't call 'border' subcommands. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c54c781076
commit
ddecfe79c7
3 changed files with 10 additions and 5 deletions
|
@ -360,16 +360,16 @@ class Tk::TkTable
|
|||
end
|
||||
|
||||
def border_mark(x, y)
|
||||
simplelist(tk_send('scan', 'mark', x, y))
|
||||
simplelist(tk_send('border', 'mark', x, y))
|
||||
end
|
||||
def border_mark_row(x, y)
|
||||
tk_send('scan', 'mark', x, y, 'row')
|
||||
tk_send('border', 'mark', x, y, 'row')
|
||||
end
|
||||
def border_mark_col(x, y)
|
||||
tk_send('scan', 'mark', x, y, 'col')
|
||||
tk_send('border', 'mark', x, y, 'col')
|
||||
end
|
||||
def border_dragto(x, y)
|
||||
tk_send('scan', 'dragto', x, y)
|
||||
tk_send('border', 'dragto', x, y)
|
||||
end
|
||||
|
||||
def clear_cache(first=None, last=None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue