1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/tk/sample/cmd_resource

6 lines
258 B
Text
Raw Normal View History

*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"}