2004-07-08 12:50:07 -04:00
|
|
|
#
|
|
|
|
# [incr Widgets] support
|
|
|
|
# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
|
|
|
|
#
|
|
|
|
|
|
|
|
require 'tk'
|
|
|
|
require 'tkextlib/itcl'
|
|
|
|
require 'tkextlib/itk'
|
|
|
|
|
|
|
|
# call setup script for general 'tkextlib' libraries
|
|
|
|
#require 'tkextlib/setup.rb'
|
|
|
|
|
|
|
|
# call setup script
|
|
|
|
#require 'tkextlib/iwidgets/setup.rb'
|
|
|
|
|
|
|
|
# load all image format handlers
|
|
|
|
#TkPackage.require('Iwidgets', '4.0')
|
|
|
|
TkPackage.require('Iwidgets')
|
|
|
|
|
|
|
|
module Tk
|
|
|
|
module Iwidgets
|
2004-07-14 21:18:57 -04:00
|
|
|
TkComm::TkExtlibAutoloadModule.unshift(self)
|
|
|
|
|
2004-07-08 12:50:07 -04:00
|
|
|
extend TkCore
|
|
|
|
|
2005-05-30 10:53:52 -04:00
|
|
|
PACKAGE_NAME = 'Iwidgets'.freeze
|
|
|
|
def self.package_name
|
|
|
|
PACKAGE_NAME
|
|
|
|
end
|
|
|
|
|
2004-07-08 12:50:07 -04:00
|
|
|
def self.package_version
|
|
|
|
begin
|
2004-10-11 00:51:21 -04:00
|
|
|
TkPackage.require('Iwidgets')
|
2004-07-08 12:50:07 -04:00
|
|
|
rescue
|
2004-10-11 00:51:21 -04:00
|
|
|
''
|
2004-07-08 12:50:07 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
####################################################
|
|
|
|
|
|
|
|
autoload :Buttonbox, 'tkextlib/iwidgets/buttonbox'
|
|
|
|
autoload :Calendar, 'tkextlib/iwidgets/calendar'
|
|
|
|
autoload :Canvasprintbox, 'tkextlib/iwidgets/canvasprintbox'
|
|
|
|
autoload :Canvasprintdialog, 'tkextlib/iwidgets/canvasprintdialog'
|
|
|
|
autoload :Checkbox, 'tkextlib/iwidgets/checkbox'
|
|
|
|
autoload :Combobox, 'tkextlib/iwidgets/combobox'
|
|
|
|
autoload :Dateentry, 'tkextlib/iwidgets/dateentry'
|
|
|
|
autoload :Datefield, 'tkextlib/iwidgets/datefield'
|
|
|
|
autoload :Dialog, 'tkextlib/iwidgets/dialog'
|
|
|
|
autoload :Dialogshell, 'tkextlib/iwidgets/dialogshell'
|
|
|
|
autoload :Disjointlistbox, 'tkextlib/iwidgets/disjointlistbox'
|
|
|
|
autoload :Entryfield, 'tkextlib/iwidgets/entryfield'
|
|
|
|
autoload :Extbutton, 'tkextlib/iwidgets/extbutton'
|
|
|
|
autoload :Extfileselectionbox, 'tkextlib/iwidgets/extfileselectionbox'
|
|
|
|
autoload :Extfileselectiondialog,'tkextlib/iwidgets/extfileselectiondialog'
|
|
|
|
autoload :Feedback, 'tkextlib/iwidgets/feedback'
|
|
|
|
autoload :Fileselectionbox, 'tkextlib/iwidgets/fileselectionbox'
|
|
|
|
autoload :Fileselectiondialog, 'tkextlib/iwidgets/fileselectiondialog'
|
|
|
|
autoload :Finddialog, 'tkextlib/iwidgets/finddialog'
|
2004-07-09 15:29:29 -04:00
|
|
|
autoload :Hierarchy, 'tkextlib/iwidgets/hierarchy'
|
|
|
|
autoload :Hyperhelp, 'tkextlib/iwidgets/hyperhelp'
|
2004-07-08 12:50:07 -04:00
|
|
|
autoload :Labeledframe, 'tkextlib/iwidgets/labeledframe'
|
|
|
|
autoload :Labeledwidget, 'tkextlib/iwidgets/labeledwidget'
|
2004-07-09 15:29:29 -04:00
|
|
|
autoload :Mainwindow, 'tkextlib/iwidgets/mainwindow'
|
2004-07-14 21:18:57 -04:00
|
|
|
autoload :Menubar, 'tkextlib/iwidgets/menubar'
|
2004-07-09 15:29:29 -04:00
|
|
|
autoload :Messagebox, 'tkextlib/iwidgets/messagebox'
|
|
|
|
autoload :Messagedialog, 'tkextlib/iwidgets/messagedialog'
|
2004-07-14 21:18:57 -04:00
|
|
|
autoload :Notebook, 'tkextlib/iwidgets/notebook'
|
|
|
|
autoload :Optionmenu, 'tkextlib/iwidgets/optionmenu'
|
|
|
|
autoload :Panedwindow, 'tkextlib/iwidgets/panedwindow'
|
|
|
|
autoload :Pushbutton, 'tkextlib/iwidgets/pushbutton'
|
|
|
|
autoload :Promptdialog, 'tkextlib/iwidgets/promptdialog'
|
2004-07-09 15:29:29 -04:00
|
|
|
autoload :Radiobox, 'tkextlib/iwidgets/radiobox'
|
2004-07-14 21:18:57 -04:00
|
|
|
autoload :Scrolledcanvas, 'tkextlib/iwidgets/scrolledcanvas'
|
|
|
|
autoload :Scrolledframe, 'tkextlib/iwidgets/scrolledframe'
|
|
|
|
autoload :Scrolledhtml, 'tkextlib/iwidgets/scrolledhtml'
|
|
|
|
autoload :Scrolledlistbox, 'tkextlib/iwidgets/scrolledlistbox'
|
|
|
|
autoload :Scrolledtext, 'tkextlib/iwidgets/scrolledtext'
|
2004-07-09 15:29:29 -04:00
|
|
|
autoload :Scrolledwidget, 'tkextlib/iwidgets/scrolledwidget'
|
2004-07-14 21:18:57 -04:00
|
|
|
autoload :Selectionbox, 'tkextlib/iwidgets/selectionbox'
|
|
|
|
autoload :Selectiondialog, 'tkextlib/iwidgets/selectiondialog'
|
2004-07-08 12:50:07 -04:00
|
|
|
autoload :Shell, 'tkextlib/iwidgets/shell'
|
2004-07-14 21:18:57 -04:00
|
|
|
autoload :Spindate, 'tkextlib/iwidgets/spindate'
|
|
|
|
autoload :Spinint, 'tkextlib/iwidgets/spinint'
|
|
|
|
autoload :Spinner, 'tkextlib/iwidgets/spinner'
|
|
|
|
autoload :Spintime, 'tkextlib/iwidgets/spintime'
|
|
|
|
autoload :Tabnotebook, 'tkextlib/iwidgets/tabnotebook'
|
|
|
|
autoload :Tabset, 'tkextlib/iwidgets/tabset'
|
2004-07-09 15:29:29 -04:00
|
|
|
autoload :Timeentry, 'tkextlib/iwidgets/timeentry'
|
|
|
|
autoload :Timefield, 'tkextlib/iwidgets/timefield'
|
|
|
|
autoload :Toolbar, 'tkextlib/iwidgets/toolbar'
|
|
|
|
autoload :Watch, 'tkextlib/iwidgets/watch'
|
2004-07-08 12:50:07 -04:00
|
|
|
end
|
|
|
|
end
|