mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
2000-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
24b9bdca25
commit
8b1de0b1ad
49 changed files with 610 additions and 613 deletions
|
@ -16,7 +16,7 @@ class TkVirtualEvent<TkObject
|
|||
end
|
||||
|
||||
def TkVirtualEvent.info
|
||||
tk_call('event', 'info').split(/\s+/).filter{|seq|
|
||||
tk_call('event', 'info').split(/\s+/).collect!{|seq|
|
||||
TkVirtualEvent.getobj(seq[1..-2])
|
||||
}
|
||||
end
|
||||
|
@ -49,8 +49,8 @@ class TkVirtualEvent<TkObject
|
|||
end
|
||||
|
||||
def info
|
||||
tk_call('event', 'info', "<#{@id}>").split(/\s+/).filter{|seq|
|
||||
l = seq.scan(/<*[^<>]+>*/).filter{|subseq|
|
||||
tk_call('event', 'info', "<#{@id}>").split(/\s+/).collect!{|seq|
|
||||
l = seq.scan(/<*[^<>]+>*/).collect!{|subseq|
|
||||
case (subseq)
|
||||
when /^<<[^<>]+>>$/
|
||||
TkVirtualEvent.getobj(subseq[1..-2])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue