2004-07-01 05:38:48 -04:00
|
|
|
#
|
|
|
|
# Tile theme engin (tile widget set) support
|
|
|
|
# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
|
|
|
|
#
|
|
|
|
|
|
|
|
require 'tk'
|
|
|
|
|
|
|
|
# call setup script for general 'tkextlib' libraries
|
|
|
|
require 'tkextlib/setup.rb'
|
|
|
|
|
|
|
|
# library directory
|
2004-07-06 05:42:12 -04:00
|
|
|
require 'tkextlib/tile/setup.rb'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
|
|
|
# load package
|
|
|
|
# TkPackage.require('tile', '0.4')
|
2005-03-05 02:35:41 -05:00
|
|
|
# TkPackage.require('tile', '0.6')
|
2005-11-21 12:34:12 -05:00
|
|
|
# TkPackage.require('tile', '0.7')
|
2005-03-05 02:35:41 -05:00
|
|
|
verstr = TkPackage.require('tile')
|
|
|
|
ver = verstr.split('.')
|
|
|
|
if ver[0].to_i == 0 && ver[1].to_i <= 4
|
|
|
|
# version 0.4 or former
|
|
|
|
module Tk
|
|
|
|
module Tile
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
USE_TILE_NAMESPACE = true
|
2005-11-21 12:34:12 -05:00
|
|
|
USE_TTK_NAMESPACE = false
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
TILE_SPEC_VERSION_ID = 0
|
|
|
|
end
|
|
|
|
end
|
|
|
|
elsif ver[0].to_i == 0 && ver[1].to_i <= 6
|
|
|
|
# version 0.5 -- version 0.6
|
|
|
|
module Tk
|
|
|
|
module Tile
|
|
|
|
USE_TILE_NAMESPACE = true
|
2005-11-21 12:34:12 -05:00
|
|
|
USE_TTK_NAMESPACE = true
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
TILE_SPEC_VERSION_ID = 5
|
2005-03-05 02:35:41 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
else
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
# version 0.7 or later
|
2005-03-05 02:35:41 -05:00
|
|
|
module Tk
|
|
|
|
module Tile
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
USE_TILE_NAMESPACE = false
|
2005-11-21 12:34:12 -05:00
|
|
|
USE_TTK_NAMESPACE = true
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
TILE_SPEC_VERSION_ID = 7
|
2005-03-05 02:35:41 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2004-07-01 05:38:48 -04:00
|
|
|
|
|
|
|
# autoload
|
|
|
|
module Tk
|
|
|
|
module Tile
|
2004-07-14 21:18:57 -04:00
|
|
|
TkComm::TkExtlibAutoloadModule.unshift(self)
|
|
|
|
|
2005-05-30 10:53:52 -04:00
|
|
|
PACKAGE_NAME = 'tile'.freeze
|
|
|
|
def self.package_name
|
|
|
|
PACKAGE_NAME
|
|
|
|
end
|
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
def self.package_version
|
|
|
|
begin
|
2004-10-11 00:51:21 -04:00
|
|
|
TkPackage.require('tile')
|
2004-07-06 05:42:12 -04:00
|
|
|
rescue
|
2004-10-11 00:51:21 -04:00
|
|
|
''
|
2004-07-06 05:42:12 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
def self.__Import_Tile_Widgets__!
|
2005-11-21 12:34:12 -05:00
|
|
|
Tk.tk_call('namespace', 'import', '-force', 'ttk::*')
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
end
|
|
|
|
|
2005-04-09 05:27:54 -04:00
|
|
|
def self.load_images(imgdir, pat=TkComm::None)
|
|
|
|
images = Hash[*TkComm.simplelist(Tk.tk_call('::tile::LoadImages',
|
|
|
|
imgdir, pat))]
|
|
|
|
images.keys.each{|k|
|
|
|
|
images[k] = TkPhotoImage.new(:imagename=>images[k],
|
|
|
|
:without_creating=>true)
|
|
|
|
}
|
|
|
|
|
|
|
|
images
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.style(*args)
|
|
|
|
args.map!{|arg| TkComm._get_eval_string(arg)}.join('.')
|
|
|
|
end
|
|
|
|
|
|
|
|
module KeyNav
|
|
|
|
def self.enableMnemonics(w)
|
|
|
|
Tk.tk_call('::keynav::enableMnemonics', w)
|
|
|
|
end
|
|
|
|
def self.defaultButton(w)
|
|
|
|
Tk.tk_call('::keynav::defaultButton', w)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
module Font
|
|
|
|
Default = 'TkDefaultFont'
|
|
|
|
Text = 'TkTextFont'
|
|
|
|
Heading = 'TkHeadingFont'
|
|
|
|
Caption = 'TkCaptionFont'
|
|
|
|
Tooltip = 'TkTooltipFont'
|
|
|
|
|
|
|
|
Fixed = 'TkFixedFont'
|
|
|
|
Menu = 'TkMenuFont'
|
|
|
|
SmallCaption = 'TkSmallCaptionFont'
|
|
|
|
Icon = 'TkIconFont'
|
|
|
|
end
|
|
|
|
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
module ParseStyleLayout
|
|
|
|
def _style_layout(lst)
|
|
|
|
ret = []
|
|
|
|
until lst.empty?
|
|
|
|
sub = [lst.shift]
|
|
|
|
keys = {}
|
|
|
|
|
|
|
|
until lst.empty?
|
|
|
|
if lst[0][0] == ?-
|
|
|
|
k = lst.shift[1..-1]
|
|
|
|
children = lst.shift
|
|
|
|
children = _style_layout(children) if children.kind_of?(Array)
|
|
|
|
keys[k] = children
|
|
|
|
else
|
|
|
|
break
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
sub << keys unless keys.empty?
|
|
|
|
ret << sub
|
|
|
|
end
|
|
|
|
ret
|
|
|
|
end
|
|
|
|
private :_style_layout
|
|
|
|
end
|
|
|
|
|
2004-07-01 05:38:48 -04:00
|
|
|
module TileWidget
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
include Tk::Tile::ParseStyleLayout
|
|
|
|
|
|
|
|
def __val2ruby_optkeys # { key=>proc, ... }
|
|
|
|
# The method is used to convert a opt-value to a ruby's object.
|
|
|
|
# When get the value of the option "key", "proc.call(value)" is called.
|
|
|
|
super().update('style'=>proc{|v| _style_layout(list(v))})
|
|
|
|
end
|
|
|
|
private :__val2ruby_optkeys
|
|
|
|
|
2004-07-01 05:38:48 -04:00
|
|
|
def instate(state, script=nil, &b)
|
2004-10-11 00:51:21 -04:00
|
|
|
if script
|
|
|
|
tk_send('instate', state, script)
|
|
|
|
elsif b
|
|
|
|
tk_send('instate', state, Proc.new(&b))
|
|
|
|
else
|
|
|
|
bool(tk_send('instate', state))
|
|
|
|
end
|
2004-07-01 05:38:48 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
def state(state=nil)
|
2004-10-11 00:51:21 -04:00
|
|
|
if state
|
|
|
|
tk_send('state', state)
|
|
|
|
else
|
|
|
|
list(tk_send('state'))
|
|
|
|
end
|
2004-07-01 05:38:48 -04:00
|
|
|
end
|
2006-10-04 05:52:54 -04:00
|
|
|
|
|
|
|
def identify(x, y)
|
|
|
|
ret = tk_send_without_enc('identify', x, y)
|
|
|
|
(ret.empty?)? nil: ret
|
|
|
|
end
|
2004-07-01 05:38:48 -04:00
|
|
|
end
|
|
|
|
|
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 :TButton, 'tkextlib/tile/tbutton'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Button, 'tkextlib/tile/tbutton'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :TCheckButton, 'tkextlib/tile/tcheckbutton'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :CheckButton, 'tkextlib/tile/tcheckbutton'
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :TCheckbutton, 'tkextlib/tile/tcheckbutton'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Checkbutton, 'tkextlib/tile/tcheckbutton'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 18:17:08 -04:00
|
|
|
autoload :Dialog, 'tkextlib/tile/dialog'
|
|
|
|
|
2005-03-05 02:35:41 -05:00
|
|
|
autoload :TEntry, 'tkextlib/tile/tentry'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Entry, 'tkextlib/tile/tentry'
|
|
|
|
|
2005-03-05 02:35:41 -05:00
|
|
|
autoload :TCombobox, 'tkextlib/tile/tcombobox'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Combobox, 'tkextlib/tile/tcombobox'
|
2005-03-05 02:35:41 -05:00
|
|
|
|
|
|
|
autoload :TFrame, 'tkextlib/tile/tframe'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Frame, 'tkextlib/tile/tframe'
|
|
|
|
|
2005-03-05 02:35:41 -05:00
|
|
|
autoload :TLabelframe, 'tkextlib/tile/tlabelframe'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Labelframe, 'tkextlib/tile/tlabelframe'
|
2005-03-05 02:35:41 -05:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :TLabel, 'tkextlib/tile/tlabel'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Label, 'tkextlib/tile/tlabel'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :TMenubutton, 'tkextlib/tile/tmenubutton'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Menubutton, 'tkextlib/tile/tmenubutton'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :TNotebook, 'tkextlib/tile/tnotebook'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Notebook, 'tkextlib/tile/tnotebook'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
2005-04-09 05:27:54 -04:00
|
|
|
autoload :TPaned, 'tkextlib/tile/tpaned'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Paned, 'tkextlib/tile/tpaned'
|
2005-04-09 05:27:54 -04:00
|
|
|
|
2005-03-05 02:46:44 -05:00
|
|
|
autoload :TProgressbar, 'tkextlib/tile/tprogressbar'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Progressbar, 'tkextlib/tile/tprogressbar'
|
2005-03-05 02:46:44 -05:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :TRadioButton, 'tkextlib/tile/tradiobutton'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :RadioButton, 'tkextlib/tile/tradiobutton'
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :TRadiobutton, 'tkextlib/tile/tradiobutton'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Radiobutton, 'tkextlib/tile/tradiobutton'
|
2004-07-01 05:38:48 -04:00
|
|
|
|
2005-04-09 05:27:54 -04:00
|
|
|
autoload :TScale, 'tkextlib/tile/tscale'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Scale, 'tkextlib/tile/tscale'
|
2005-04-09 05:27:54 -04:00
|
|
|
autoload :TProgress, 'tkextlib/tile/tscale'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Progress, 'tkextlib/tile/tscale'
|
2005-04-09 05:27:54 -04:00
|
|
|
|
|
|
|
autoload :TScrollbar, 'tkextlib/tile/tscrollbar'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Scrollbar, 'tkextlib/tile/tscrollbar'
|
2005-03-05 02:35:41 -05:00
|
|
|
|
|
|
|
autoload :TSeparator, 'tkextlib/tile/tseparator'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Separator, 'tkextlib/tile/tseparator'
|
2005-03-05 02:35:41 -05:00
|
|
|
|
|
|
|
autoload :TSquare, 'tkextlib/tile/tsquare'
|
2005-08-04 00:48:13 -04:00
|
|
|
autoload :Square, 'tkextlib/tile/tsquare'
|
2005-03-05 02:35:41 -05:00
|
|
|
|
2005-08-01 06:25:51 -04:00
|
|
|
autoload :Treeview, 'tkextlib/tile/treeview'
|
2005-03-05 02:35:41 -05:00
|
|
|
|
2004-07-06 05:42:12 -04:00
|
|
|
autoload :Style, 'tkextlib/tile/style'
|
2004-07-01 05:38:48 -04:00
|
|
|
end
|
|
|
|
end
|