diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-24 17:24:13 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-24 17:24:13 +0000 |
commit | bb897dc79a2e85e802780fbec0df6a71577ea1d0 (patch) | |
tree | 3003958fc8776687cf19336ba7f7ac0783d19df0 /ext/tk/lib/tk.rb | |
parent | 53081b87177fab3976c5d5886a572d784b5a46b3 (diff) |
* ext/tk/tcltklib.c: add codes for Ruby/Tk-Kit which depends on recent
versions of kitgen for Tclkit (ready to use Mk4tcl or Vqtcl). And
support working on a file tree extracted from a VFS dataset on
Ruby/Tk-Kit. It's still experimental, because ext/tk/extconf.rb
can't make a Makefile for Ruby/Tk-Kit.
* ext/tk/lib/tk.rb: add comment about TclTkLib::WINDOWING_SYSTEM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r-- | ext/tk/lib/tk.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 4beaaf932a..f00afe9ea0 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -1205,6 +1205,18 @@ module TkCore # module TkCore; RUN_EVENTLOOP_ON_MAIN_THREAD = true; end # ---------------------------------------------------------- # + # *** ADD (2010/07/05) *** + # The value of TclTkLib::WINDOWING_SYSTEM is defined at compiling. + # If it is inconsistent with linked DLL, please call the following + # before "require 'tk'". + # ---------------------------------------------------------- + # require 'tcltklib' + # module TclTkLib + # remove_const :WINDOWING_SYSTEM + # WINDOWING_SYSTEM = 'x11' # or 'aqua' + # end + # ---------------------------------------------------------- + # RUN_EVENTLOOP_ON_MAIN_THREAD = true else RUN_EVENTLOOP_ON_MAIN_THREAD = false |