mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
581ca6097e
* ext/tk/lib/tk/optiondb.rb: support definition of command resources on widgets git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
5 lines
258 B
Text
5 lines
258 B
Text
*BtnFrame.hello.text: HELLO
|
|
*BtnFrame.hello.command: ruby {puts "Hello World!!"}
|
|
*BTN_CMD.show_msg: {|arg| print "Hello, #{arg}!!\n"}
|
|
*hello.show_msg: {|arg| print "Hello, Hello, #{arg}!!\n"}
|
|
*hello.ZZZ.show_msg: {|arg| print "Hello, Hello, ZZZ:#{arg}!!\n"}
|