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

Typo: widget (?)

* ext/tk/lib/tk.rb: wiget => widget
* ext/tk/sample/demos-en/{floor.rb,floor2.rb,puzzle.rb}: widet => widget
* ext/tk/sample/demos-en/textpeer.rb: Wdget => widget
* ext/tk/sample/demos-jp/puzzle.rb: widet => widget
* ext/tk/sample/demos-jp/textpeer.rb: Wdget => widget
* ext/tk/sample/tkextlib/bwidget/basic.rb: widtet => widget

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
a_matsuda 2015-12-27 09:57:12 +00:00
parent 2a4729a40d
commit 98e3c058fa
8 changed files with 8 additions and 8 deletions

View file

@ -913,7 +913,7 @@ end
def install_win(ppath,name=nil)
if name
if name == ''
raise ArgumentError, "invalid wiget-name '#{name}'"
raise ArgumentError, "invalid widget-name '#{name}'"
end
if name[0] == ?.
@path = '' + name

View file

@ -1,7 +1,7 @@
# frozen_string_literal: false
# floor.rb
#
# This demonstration script creates a canvas widet that displays the
# This demonstration script creates a canvas widget that displays the
# floorplan for DEC's Western Research Laboratory.
#
# floorDisplay widget demo (called by 'widget')

View file

@ -1,7 +1,7 @@
# frozen_string_literal: false
%# floor2.rb
#
# This demonstration script creates a canvas widet that displays the
# This demonstration script creates a canvas widget that displays the
# floorplan for DEC's Western Research Laboratory.
#
# floorDisplay widget demo (called by 'widget')

View file

@ -4,7 +4,7 @@
# This demonstration script creates a 15-puzzle game using a collection
# of buttons.
#
# widet demo 'puzzle' (called by 'widget')
# widget demo 'puzzle' (called by 'widget')
#
# toplevel widget

View file

@ -11,7 +11,7 @@ end
# demo toplevel widget
$textpeer_demo = TkToplevel.new {|w|
title("Text Wdget Peering Demonstration")
title("Text Widget Peering Demonstration")
iconname("textpeer")
positionWindow(w)
}

View file

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# frozen_string_literal: false
#
# widet demo 'puzzle' (called by 'widget')
# widget demo 'puzzle' (called by 'widget')
#
# toplevel widget が存在すれば削除する

View file

@ -12,7 +12,7 @@ end
# demo toplevel widget
$textpeer_demo = TkToplevel.new {|w|
title("Text Wdget Peering Demonstration")
title("Text Widget Peering Demonstration")
iconname("textpeer")
positionWindow(w)
}

View file

@ -42,7 +42,7 @@ module DemoBasic
def self._entry(parent)
ent = Tk::BWidget::Entry.new(parent, :text=>'Press enter',
:helptext=>'Entry widtet',
:helptext=>'Entry widget',
:command=>proc{
@@var['entcmd'] = 'command called'
Tk.after(500, proc{@@var['entcmd'] = ''})