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/resource.ja
nagai bc8b42fc1e * bug fix : wrong resource file format (resource.{en,jp})
* add Tk::Encoding.{encoding_convertfrom, encoding_convertto}
* add TkOptionDB.read_with_encoding to read non-utf8 resource file


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-31 23:04:45 +00:00

12 lines
427 B
Text

!
! see Tcl/Tk's "options" manual for "Database Name" and "Database Class"
!
*BtnFrame.borderWidth: 5
*BtnFrame.relief: ridge
*BtnFrame.Button.background: wheat
*BtnFrame.Button.foreground: red
*hello.text: こんにちは
*quit.text: 終了
*BTN_CMD.show_msg: {|arg| print "($SAFE=#{$SAFE}) ";\
print "こんにちは!! #{arg} のサンプルです.\n"}
*BTN_CMD.bye_msg: {print "($SAFE=#{$SAFE}) さようなら.\n"}