Sha256: 9d80e9d53339627fc0396a2dacf6728846016c0f5e8f28b8e5a134b48133e7e2
Contents?: true
Size: 382 Bytes
Versions: 52
Compression:
Stored size: 382 Bytes
Contents
#!/usr/bin/ruby # hello_tk.rb - sample for Ruby/TK # # Copyright (C) 2004 Masao Mutoh # This file is distributed under the same license as gettext. require 'rubygems' require 'gettext' require 'tk' include GetText base_dir = File.dirname(__FILE__) bindtextdomain("hello_tk", :path => File.join(base_dir, "locale")) TkLabel.new { text _("hello, tk world") pack } Tk.mainloop
Version data entries
52 entries across 52 versions & 1 rubygems