mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/tcltklib : bug fix
* ext/tk/lib/tk : bug fix and add Tcl/Tk extension support libraries git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
73cf1d02ba
commit
ffcedd7950
199 changed files with 14221 additions and 677 deletions
57
ext/tk/lib/tkextlib/tcllib.rb
Normal file
57
ext/tk/lib/tkextlib/tcllib.rb
Normal file
|
@ -0,0 +1,57 @@
|
|||
#
|
||||
# tcllib extension support
|
||||
# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
|
||||
#
|
||||
|
||||
require 'tk'
|
||||
|
||||
# call setup script for general 'tkextlib' libraries
|
||||
require 'tkextlib/setup.rb'
|
||||
|
||||
# library directory
|
||||
dir = File.expand_path(__FILE__).sub(/#{File.extname(__FILE__)}$/, '')
|
||||
|
||||
# call setup script
|
||||
require File.join(dir, 'setup.rb')
|
||||
|
||||
# package:: autoscroll
|
||||
#require 'tkextlib/tcllib/autoscroll'
|
||||
require File.join(dir, 'autoscroll')
|
||||
|
||||
# package:: cursor
|
||||
#require 'tkextlib/tcllib/cursor'
|
||||
require File.join(dir, 'cursor')
|
||||
|
||||
# package:: style
|
||||
#require 'tkextlib/tcllib/style'
|
||||
require File.join(dir, 'style')
|
||||
|
||||
|
||||
# autoload
|
||||
module Tk
|
||||
module Tcllib
|
||||
dir = File.expand_path(__FILE__).sub(/#{File.extname(__FILE__)}$/, '')
|
||||
|
||||
# package:: ctext
|
||||
#autoload :CText, 'tkextlib/tcllib/ctext'
|
||||
autoload :CText, File.join(dir, 'ctext')
|
||||
|
||||
# package:: datefield
|
||||
#autoload :Datefield, 'tkextlib/tcllib/datefield'
|
||||
#autoload :DateField, 'tkextlib/tcllib/datefield'
|
||||
autoload :Datefield, File.join(dir, 'datefield')
|
||||
autoload :DateField, File.join(dir, 'datefield')
|
||||
|
||||
# package:: ipentry
|
||||
#autoload :IP_Entry, 'tkextlib/tcllib/ip_entry'
|
||||
autoload :IP_Entry, File.join(dir, 'ip_entry')
|
||||
|
||||
# package:: Plotchart
|
||||
#autoload :Plotchart, 'tkextlib/tcllib/plotchart'
|
||||
autoload :Plotchart, File.join(dir, 'plotchart')
|
||||
|
||||
# package:: tkpiechart
|
||||
#autoload :Tkpiechart, 'tkextlib/tcllib/tkpiechart'
|
||||
autoload :Tkpiechart, File.join(dir, 'tkpiechart')
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue