diff options
Diffstat (limited to 'lib/tkentry.rb')
-rw-r--r-- | lib/tkentry.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tkentry.rb b/lib/tkentry.rb index 645fc997b1..b834c455c6 100644 --- a/lib/tkentry.rb +++ b/lib/tkentry.rb @@ -6,6 +6,12 @@ require 'tk.rb' class TkEntry<TkLabel + WidgetClassName = 'Entry'.freeze + TkClassBind::WidgetClassNameTBL[WidgetClassName] = self + def self.to_eval + WidgetClassName + end + def create_self tk_call 'entry', @path end |