diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-07 15:15:59 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-07 15:15:59 +0000 |
commit | fea0595635b6aeb7629c7d56db6eef07bbaf8ff0 (patch) | |
tree | e8ae9a791864ad07fdc5c16f43ad341e88e8af0f /ext/tk/sample/menubar1.rb | |
parent | 43c3e415e14dc7fbc9d929dea6b73dc977deddf3 (diff) |
* ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
[Bug #11886] The patch provided by Akira Matsuda.
* ext/tk/sample/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/menubar1.rb')
-rw-r--r-- | ext/tk/sample/menubar1.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/menubar1.rb b/ext/tk/sample/menubar1.rb index 1a935d5961..a468fb6ea4 100644 --- a/ext/tk/sample/menubar1.rb +++ b/ext/tk/sample/menubar1.rb @@ -44,7 +44,7 @@ menubar = TkMenubar.new(nil, menu_spec, 'tearoff'=>false, 'foreground'=>'grey40', 'activeforeground'=>'red', - 'font'=>'Helvetia 12 bold') + 'font'=>'Helvetica 12 bold') menubar.pack('side'=>'top', 'fill'=>'x') TkText.new(:wrap=>'word').pack.insert('1.0', 'Please read the sample source, and check how to override default configure options of menu entries on a menu_spec. Maybe, on windows, this menubar does not work properly about keyboard shortcuts. Then, please use "menu" option of root/toplevel widget (see sample/menubar2.rb).') |