mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 00:54:01 +02:00

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
21 lines
512 B
Ruby
21 lines
512 B
Ruby
#
|
|
# tk/message.rb : treat message widget
|
|
#
|
|
require 'tk'
|
|
require 'tk/label'
|
|
|
|
class Tk::Message<TkLabel
|
|
TkCommandNames = ['message'.freeze].freeze
|
|
WidgetClassName = 'Message'.freeze
|
|
WidgetClassNames[WidgetClassName] = self
|
|
#def create_self(keys)
|
|
# if keys and keys != None
|
|
# tk_call_without_enc('message', @path, *hash_kv(keys, true))
|
|
# else
|
|
# tk_call_without_enc('message', @path)
|
|
# end
|
|
#end
|
|
private :create_self
|
|
end
|
|
|
|
TkMessage = Tk::Message unless Object.const_defined? :TkMessage
|