2004-07-01 05:38:48 -04:00
|
|
|
#
|
|
|
|
# The vu widget set support
|
|
|
|
# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
|
|
|
|
#
|
|
|
|
|
|
|
|
require 'tk'
|
|
|
|
|
|
|
|
# call setup script for general 'tkextlib' libraries
|
|
|
|
require 'tkextlib/setup.rb'
|
|
|
|
|
|
|
|
# call setup script
|
2004-07-06 05:42:12 -04:00
|
|
|
require 'tkextlib/vu/setup.rb'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
|
|
|
# load package
|
|
|
|
# TkPackage.require('vu', '2.1')
|
2004-07-06 05:42:12 -04:00
|
|
|
TkPackage.require('vu')
|
2004-07-01 05:38:48 -04:00
|
|
|
|
|
|
|
# autoload
|
|
|
|
module Tk
|
|
|
|
module Vu
|
2004-07-06 05:42:12 -04:00
|
|
|
def self.package_version
|
|
|
|
begin
|
|
|
|
TkPackage.require('vu')
|
|
|
|
rescue
|
|
|
|
''
|
|
|
|
end
|
|
|
|
end
|
2004-07-01 05:38:48 -04:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
##########################################
|
2004-07-01 05:38:48 -04:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :Dial, 'tkextlib/vu/dial'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :Pie, 'tkextlib/vu/pie'
|
|
|
|
autoload :PieSlice, 'tkextlib/vu/pie'
|
|
|
|
autoload :NamedPieSlice, 'tkextlib/vu/pie'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :Spinbox, 'tkextlib/vu/spinbox'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :Bargraph, 'tkextlib/vu/bargraph'
|
2004-07-01 05:38:48 -04:00
|
|
|
end
|
|
|
|
end
|