1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/tk/sample/tkextlib/treectrl/{help,www-options}.rb: fixed typo.

(click or resize column header)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-04-09 04:09:09 +00:00
parent f965e55355
commit e1510f334d
3 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2005-04-09 ocean <ocean@ruby-lang.org>
* sample/tkextlib/treectrl/{help,www-options}.rb: fixed typo.
(click or resize column header)
2005-04-09 ocean <ocean@ruby-lang.org> 2005-04-09 ocean <ocean@ruby-lang.org>
* sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title) * sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)

View file

@ -119,7 +119,7 @@ def demoHelpContents(t)
treeCtrlHelp.bind('Leave', proc{|w, x, y| helpMotion(w, x, y) }, '%W %x %y') treeCtrlHelp.bind('Leave', proc{|w, x, y| helpMotion(w, x, y) }, '%W %x %y')
treeCtrlHelp.bind('Button1-Motion', treeCtrlHelp.bind('KeyPress-Return',
proc{|w, x, y| proc{|w, x, y|
if w.selection_get.length == 1 if w.selection_get.length == 1
if $Version_1_1_OrLater if $Version_1_1_OrLater
@ -271,7 +271,7 @@ def demoHelpContents2(t)
treeCtrlHelp.bind('Leave', proc{|w, x, y| helpMotion(w, x, y) }, '%W %x %y') treeCtrlHelp.bind('Leave', proc{|w, x, y| helpMotion(w, x, y) }, '%W %x %y')
treeCtrlHelp.bind('Button1-Motion', treeCtrlHelp.bind('KeyPress-Return',
proc{|w, x, y| proc{|w, x, y|
if w.selection_get.length == 1 if w.selection_get.length == 1
w.item_toggle(w.selection_get[0]) w.item_toggle(w.selection_get[0])
@ -347,7 +347,7 @@ end
def helpRelease1(w, x, y) def helpRelease1(w, x, y)
case @Priv['buttonMode'] case @Priv['buttonMode']
when 'resize', 'header' when 'resize', 'header'
Tk::TreeCtrl::BindCallback.Release1(w, x, y) Tk::TreeCtrl::BindCallback.release1(w, x, y)
end end
@Priv['buttonMode'] = '' @Priv['buttonMode'] = ''
end end

View file

@ -276,7 +276,7 @@ end
def optionMotion1(w, x, y) def optionMotion1(w, x, y)
case @Priv['buttonMode'] case @Priv['buttonMode']
when 'resize', 'header' when 'resize', 'header'
Tk::TreeCtrl::BindCallback.Motion1(w, x, y) Tk::TreeCtrl::BindCallback.motion1(w, x, y)
end end
end end
@ -297,7 +297,7 @@ end
def optionRelease1(w, x, y) def optionRelease1(w, x, y)
case @Priv['buttonMode'] case @Priv['buttonMode']
when 'resize', 'header' when 'resize', 'header'
Tk::TreeCtrl::BindCallback.Release1(w, x, y) Tk::TreeCtrl::BindCallback.release1(w, x, y)
end end
@Priv['buttonMode'] = '' @Priv['buttonMode'] = ''
end end