From bb897dc79a2e85e802780fbec0df6a71577ea1d0 Mon Sep 17 00:00:00 2001 From: nagai Date: Tue, 24 Aug 2010 17:24:13 +0000 Subject: * 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 --- ext/tk/lib/tk.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ext/tk/lib') 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 -- cgit v1.2.3