mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/tk/image.rb: bug fix
* 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
This commit is contained in:
parent
6e8ae612ba
commit
581ca6097e
6 changed files with 90 additions and 1 deletions
5
ext/tk/sample/cmd_resource
Normal file
5
ext/tk/sample/cmd_resource
Normal file
|
@ -0,0 +1,5 @@
|
|||
*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"}
|
Loading…
Add table
Add a link
Reference in a new issue