summaryrefslogtreecommitdiff
path: root/ext/tk/lib
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-02 09:58:13 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-02 09:58:13 +0000
commit6277a66deb30559a8ea991175c274e0fd899e48e (patch)
tree0f1f15f96c362749e2646ae14a23e9d4a0a5e3e4 /ext/tk/lib
parent08719ea2380b179ef98a10cd5e871be7a44fff43 (diff)
* (bug fix) forgot to entry a widget class name of 'labelframe' widget
* add demo-scripts to the JP/EN widget demos git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib')
-rw-r--r--ext/tk/lib/tk.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 6f3de4e417..a2d2bf898f 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -4271,6 +4271,9 @@ class TkFrame<TkWindow
end
class TkLabelFrame<TkFrame
+ TkCommandNames = ['labelframe'.freeze].freeze
+ WidgetClassName = 'Labelframe'.freeze
+ WidgetClassNames[WidgetClassName] = self
def create_self(keys)
if keys and keys != None
tk_call 'labelframe', @path, *hash_kv(keys)
@@ -4279,6 +4282,7 @@ class TkLabelFrame<TkFrame
end
end
end
+TkLabelframe = TkLabelFrame
class TkPanedWindow<TkWindow
TkCommandNames = ['panedwindow'.freeze].freeze