diff options
Diffstat (limited to 'ext/tk/lib/tkextlib')
42 files changed, 211 insertions, 1 deletions
diff --git a/ext/tk/lib/tkextlib/ICONS/icons.rb b/ext/tk/lib/tkextlib/ICONS/icons.rb index 20d706df6..68e765694 100644 --- a/ext/tk/lib/tkextlib/ICONS/icons.rb +++ b/ext/tk/lib/tkextlib/ICONS/icons.rb @@ -18,6 +18,11 @@ module Tk class ICONS < TkImage extend Tk + PACKAGE_NAME = 'icons'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('icons') diff --git a/ext/tk/lib/tkextlib/blt.rb b/ext/tk/lib/tkextlib/blt.rb index 60ed39a0c..8ac860551 100644 --- a/ext/tk/lib/tkextlib/blt.rb +++ b/ext/tk/lib/tkextlib/blt.rb @@ -38,7 +38,11 @@ module Tk lib = '' end LIB_PATH = TkVarAccess.new('blt_libPath', lib) - + + PACKAGE_NAME = 'BLT'.freeze + def self.package_name + PACKAGE_NAME + end def self.package_version begin diff --git a/ext/tk/lib/tkextlib/bwidget.rb b/ext/tk/lib/tkextlib/bwidget.rb index 56009f469..62631d8b5 100644 --- a/ext/tk/lib/tkextlib/bwidget.rb +++ b/ext/tk/lib/tkextlib/bwidget.rb @@ -23,6 +23,11 @@ module Tk LIBRARY = tk_call('set', '::BWIDGET::LIBRARY') + PACKAGE_NAME = 'BWidget'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('BWidget') diff --git a/ext/tk/lib/tkextlib/itcl/incr_tcl.rb b/ext/tk/lib/tkextlib/itcl/incr_tcl.rb index c03f3c36c..07abf3a7b 100644 --- a/ext/tk/lib/tkextlib/itcl/incr_tcl.rb +++ b/ext/tk/lib/tkextlib/itcl/incr_tcl.rb @@ -22,6 +22,11 @@ module Tk VERSION = TkCore::INTERP._invoke("set", "::itcl::version").freeze PATCHLEVEL = TkCore::INTERP._invoke("set", "::itcl::patchLevel").freeze + PACKAGE_NAME = 'Itcl'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('Itcl') diff --git a/ext/tk/lib/tkextlib/itk/incr_tk.rb b/ext/tk/lib/tkextlib/itk/incr_tk.rb index cdc05bde9..9f96109f1 100644 --- a/ext/tk/lib/tkextlib/itk/incr_tk.rb +++ b/ext/tk/lib/tkextlib/itk/incr_tk.rb @@ -20,6 +20,11 @@ module Tk LIBRARY = TkVarAccess.new('::itk::library') + PACKAGE_NAME = 'Itk'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('Itk') diff --git a/ext/tk/lib/tkextlib/iwidgets.rb b/ext/tk/lib/tkextlib/iwidgets.rb index 5ef82f68c..ebd4cf750 100644 --- a/ext/tk/lib/tkextlib/iwidgets.rb +++ b/ext/tk/lib/tkextlib/iwidgets.rb @@ -23,6 +23,11 @@ module Tk extend TkCore + PACKAGE_NAME = 'Iwidgets'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('Iwidgets') diff --git a/ext/tk/lib/tkextlib/tcllib/autoscroll.rb b/ext/tk/lib/tkextlib/tcllib/autoscroll.rb index 256b01ba8..f2c898458 100644 --- a/ext/tk/lib/tkextlib/tcllib/autoscroll.rb +++ b/ext/tk/lib/tkextlib/tcllib/autoscroll.rb @@ -31,6 +31,11 @@ require 'tkextlib/tcllib.rb' module Tk module Tcllib module Autoscroll + PACKAGE_NAME = 'autoscroll'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('autoscroll') diff --git a/ext/tk/lib/tkextlib/tcllib/ctext.rb b/ext/tk/lib/tkextlib/tcllib/ctext.rb index 342b268c7..aa2ef2036 100644 --- a/ext/tk/lib/tkextlib/tcllib/ctext.rb +++ b/ext/tk/lib/tkextlib/tcllib/ctext.rb @@ -16,6 +16,11 @@ TkPackage.require('ctext') module Tk module Tcllib class CText < TkText + PACKAGE_NAME = 'ctext'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('ctext') diff --git a/ext/tk/lib/tkextlib/tcllib/cursor.rb b/ext/tk/lib/tkextlib/tcllib/cursor.rb index 86a68497b..9bb828e8d 100644 --- a/ext/tk/lib/tkextlib/tcllib/cursor.rb +++ b/ext/tk/lib/tkextlib/tcllib/cursor.rb @@ -12,6 +12,11 @@ require 'tkextlib/tcllib.rb' module Tk module Tcllib module Cursor + PACKAGE_NAME = 'cursor'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('cursor') diff --git a/ext/tk/lib/tkextlib/tcllib/datefield.rb b/ext/tk/lib/tkextlib/tcllib/datefield.rb index fb11da200..bd8448810 100644 --- a/ext/tk/lib/tkextlib/tcllib/datefield.rb +++ b/ext/tk/lib/tkextlib/tcllib/datefield.rb @@ -25,6 +25,11 @@ TkPackage.require('datefield') module Tk module Tcllib class Datefield < TkEntry + PACKAGE_NAME = 'datefield'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('datefield') diff --git a/ext/tk/lib/tkextlib/tcllib/ico.rb b/ext/tk/lib/tkextlib/tcllib/ico.rb index c87275126..3beeb11a4 100644 --- a/ext/tk/lib/tkextlib/tcllib/ico.rb +++ b/ext/tk/lib/tkextlib/tcllib/ico.rb @@ -16,6 +16,11 @@ TkPackage.require('ico') module Tk module Tcllib class ICO < TkImage + PACKAGE_NAME = 'ico'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('ico') diff --git a/ext/tk/lib/tkextlib/tcllib/ip_entry.rb b/ext/tk/lib/tkextlib/tcllib/ip_entry.rb index a71aaf879..e24d1ba14 100644 --- a/ext/tk/lib/tkextlib/tcllib/ip_entry.rb +++ b/ext/tk/lib/tkextlib/tcllib/ip_entry.rb @@ -19,6 +19,11 @@ TkPackage.require('ipentry') module Tk module Tcllib class IP_Entry < TkEntry + PACKAGE_NAME = 'ipentry'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('ipentry') diff --git a/ext/tk/lib/tkextlib/tcllib/plotchart.rb b/ext/tk/lib/tkextlib/tcllib/plotchart.rb index 5603ce128..a8d2be00a 100644 --- a/ext/tk/lib/tkextlib/tcllib/plotchart.rb +++ b/ext/tk/lib/tkextlib/tcllib/plotchart.rb @@ -66,6 +66,11 @@ TkPackage.require('Plotchart') module Tk module Tcllib module Plotchart + PACKAGE_NAME = 'Plotchart'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('Plotchart') diff --git a/ext/tk/lib/tkextlib/tcllib/style.rb b/ext/tk/lib/tkextlib/tcllib/style.rb index 72a99d80f..33d103a45 100644 --- a/ext/tk/lib/tkextlib/tcllib/style.rb +++ b/ext/tk/lib/tkextlib/tcllib/style.rb @@ -11,6 +11,11 @@ require 'tkextlib/tcllib.rb' module Tk::Tcllib module Style + PACKAGE_NAME = 'style'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('style') diff --git a/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb b/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb index 4e6008bb3..5fb89dd73 100644 --- a/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb +++ b/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb @@ -21,6 +21,11 @@ module Tk end module Tk::Tcllib::Tkpiechart + PACKAGE_NAME = 'tkpiechart'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('tkpiechart') diff --git a/ext/tk/lib/tkextlib/tclx/tclx.rb b/ext/tk/lib/tkextlib/tclx/tclx.rb index 44799acbc..5a908fcd0 100644 --- a/ext/tk/lib/tkextlib/tclx/tclx.rb +++ b/ext/tk/lib/tkextlib/tclx/tclx.rb @@ -15,6 +15,11 @@ TkPackage.require('Tclx') module Tk module TclX + PACKAGE_NAME = 'Tclx'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('Tclx') diff --git a/ext/tk/lib/tkextlib/tile.rb b/ext/tk/lib/tkextlib/tile.rb index c79866eb1..80f2d0ae2 100644 --- a/ext/tk/lib/tkextlib/tile.rb +++ b/ext/tk/lib/tkextlib/tile.rb @@ -37,6 +37,11 @@ module Tk module Tile TkComm::TkExtlibAutoloadModule.unshift(self) + PACKAGE_NAME = 'tile'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('tile') diff --git a/ext/tk/lib/tkextlib/tkDND/shape.rb b/ext/tk/lib/tkextlib/tkDND/shape.rb index 0f6a5f0a3..570c93b0d 100644 --- a/ext/tk/lib/tkextlib/tkDND/shape.rb +++ b/ext/tk/lib/tkextlib/tkDND/shape.rb @@ -18,6 +18,12 @@ module Tk module TkDND module Shape extend TkCore + + PACKAGE_NAME = 'shape'.freeze + def self.package_name + PACKAGE_NAME + end + =begin def self.package_version begin diff --git a/ext/tk/lib/tkextlib/tkDND/tkdnd.rb b/ext/tk/lib/tkextlib/tkDND/tkdnd.rb index b75282d3c..a040532eb 100644 --- a/ext/tk/lib/tkextlib/tkDND/tkdnd.rb +++ b/ext/tk/lib/tkextlib/tkDND/tkdnd.rb @@ -15,6 +15,11 @@ TkPackage.require('tkdnd') module Tk module TkDND + PACKAGE_NAME = 'tkdnd'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('tkdnd') diff --git a/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb b/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb index 6d060a117..818a65966 100644 --- a/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb +++ b/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb @@ -16,6 +16,11 @@ TkPackage.require('Tkhtml') module Tk class HTML_Widget < TkWindow + PACKAGE_NAME = 'Tkhtml'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('Tkhtml') diff --git a/ext/tk/lib/tkextlib/tkimg.rb b/ext/tk/lib/tkextlib/tkimg.rb index ffeafbb58..c01359d3e 100644 --- a/ext/tk/lib/tkextlib/tkimg.rb +++ b/ext/tk/lib/tkextlib/tkimg.rb @@ -17,6 +17,11 @@ TkPackage.require('Img') module Tk module Img + PACKAGE_NAME = 'Img'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('Img') diff --git a/ext/tk/lib/tkextlib/tkimg/bmp.rb b/ext/tk/lib/tkextlib/tkimg/bmp.rb index 581483f8f..ea90181aa 100644 --- a/ext/tk/lib/tkextlib/tkimg/bmp.rb +++ b/ext/tk/lib/tkextlib/tkimg/bmp.rb @@ -16,6 +16,11 @@ TkPackage.require('img::bmp') module Tk module Img module BMP + PACKAGE_NAME = 'img::bmp'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::bmp') diff --git a/ext/tk/lib/tkextlib/tkimg/gif.rb b/ext/tk/lib/tkextlib/tkimg/gif.rb index 6ef18f8e9..d542d4756 100644 --- a/ext/tk/lib/tkextlib/tkimg/gif.rb +++ b/ext/tk/lib/tkextlib/tkimg/gif.rb @@ -16,6 +16,11 @@ TkPackage.require('img::gif') module Tk module Img module GIF + PACKAGE_NAME = 'img::gif'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::gif') diff --git a/ext/tk/lib/tkextlib/tkimg/ico.rb b/ext/tk/lib/tkextlib/tkimg/ico.rb index 1e3cb5f49..e79bdf45e 100644 --- a/ext/tk/lib/tkextlib/tkimg/ico.rb +++ b/ext/tk/lib/tkextlib/tkimg/ico.rb @@ -16,6 +16,11 @@ TkPackage.require('img::ico') module Tk module Img module ICO + PACKAGE_NAME = 'img::ico'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::ico') diff --git a/ext/tk/lib/tkextlib/tkimg/jpeg.rb b/ext/tk/lib/tkextlib/tkimg/jpeg.rb index 017c93ee0..212612016 100644 --- a/ext/tk/lib/tkextlib/tkimg/jpeg.rb +++ b/ext/tk/lib/tkextlib/tkimg/jpeg.rb @@ -16,6 +16,11 @@ TkPackage.require('img::jpeg') module Tk module Img module JPEG + PACKAGE_NAME = 'img::jpeg'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::jpeg') diff --git a/ext/tk/lib/tkextlib/tkimg/pcx.rb b/ext/tk/lib/tkextlib/tkimg/pcx.rb index e924d4886..6831f4d35 100644 --- a/ext/tk/lib/tkextlib/tkimg/pcx.rb +++ b/ext/tk/lib/tkextlib/tkimg/pcx.rb @@ -16,6 +16,11 @@ TkPackage.require('img::pcx') module Tk module Img module PCX + PACKAGE_NAME = 'img::pcx'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::pcx') diff --git a/ext/tk/lib/tkextlib/tkimg/pixmap.rb b/ext/tk/lib/tkextlib/tkimg/pixmap.rb index f9aaa65a9..707dcf9c7 100644 --- a/ext/tk/lib/tkextlib/tkimg/pixmap.rb +++ b/ext/tk/lib/tkextlib/tkimg/pixmap.rb @@ -16,6 +16,11 @@ TkPackage.require('img::pixmap') module Tk module Img module PIXMAP + PACKAGE_NAME = 'img::pixmap'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::pixmap') diff --git a/ext/tk/lib/tkextlib/tkimg/png.rb b/ext/tk/lib/tkextlib/tkimg/png.rb index b15583639..5c829f48d 100644 --- a/ext/tk/lib/tkextlib/tkimg/png.rb +++ b/ext/tk/lib/tkextlib/tkimg/png.rb @@ -16,6 +16,11 @@ TkPackage.require('img::png') module Tk module Img module PNG + PACKAGE_NAME = 'img::png'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::png') diff --git a/ext/tk/lib/tkextlib/tkimg/ppm.rb b/ext/tk/lib/tkextlib/tkimg/ppm.rb index df56baee4..eacfae467 100644 --- a/ext/tk/lib/tkextlib/tkimg/ppm.rb +++ b/ext/tk/lib/tkextlib/tkimg/ppm.rb @@ -16,6 +16,11 @@ TkPackage.require('img::ppm') module Tk module Img module PPM + PACKAGE_NAME = 'img::ppm'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::ppm') diff --git a/ext/tk/lib/tkextlib/tkimg/ps.rb b/ext/tk/lib/tkextlib/tkimg/ps.rb index 3025066eb..68e9178ac 100644 --- a/ext/tk/lib/tkextlib/tkimg/ps.rb +++ b/ext/tk/lib/tkextlib/tkimg/ps.rb @@ -16,6 +16,11 @@ TkPackage.require('img::ps') module Tk module Img module PS + PACKAGE_NAME = 'img::ps'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::ps') diff --git a/ext/tk/lib/tkextlib/tkimg/sgi.rb b/ext/tk/lib/tkextlib/tkimg/sgi.rb index e505c87e8..ec7038bf0 100644 --- a/ext/tk/lib/tkextlib/tkimg/sgi.rb +++ b/ext/tk/lib/tkextlib/tkimg/sgi.rb @@ -16,6 +16,11 @@ TkPackage.require('img::sgi') module Tk module Img module SGI + PACKAGE_NAME = 'img::sgi'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::sgi') diff --git a/ext/tk/lib/tkextlib/tkimg/sun.rb b/ext/tk/lib/tkextlib/tkimg/sun.rb index 25bfea8fb..651f94649 100644 --- a/ext/tk/lib/tkextlib/tkimg/sun.rb +++ b/ext/tk/lib/tkextlib/tkimg/sun.rb @@ -16,6 +16,11 @@ TkPackage.require('img::sun') module Tk module Img module SUN + PACKAGE_NAME = 'img::sun'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::sun') diff --git a/ext/tk/lib/tkextlib/tkimg/tga.rb b/ext/tk/lib/tkextlib/tkimg/tga.rb index e3f84c371..1eae407c0 100644 --- a/ext/tk/lib/tkextlib/tkimg/tga.rb +++ b/ext/tk/lib/tkextlib/tkimg/tga.rb @@ -16,6 +16,11 @@ TkPackage.require('img::tga') module Tk module Img module TGA + PACKAGE_NAME = 'img::tga'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::tga') diff --git a/ext/tk/lib/tkextlib/tkimg/tiff.rb b/ext/tk/lib/tkextlib/tkimg/tiff.rb index e7e12406a..ed271c260 100644 --- a/ext/tk/lib/tkextlib/tkimg/tiff.rb +++ b/ext/tk/lib/tkextlib/tkimg/tiff.rb @@ -16,6 +16,11 @@ TkPackage.require('img::tiff') module Tk module Img module TIFF + PACKAGE_NAME = 'img::tiff'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::tiff') diff --git a/ext/tk/lib/tkextlib/tkimg/window.rb b/ext/tk/lib/tkextlib/tkimg/window.rb index 00ed7d1b8..3b5906fab 100644 --- a/ext/tk/lib/tkextlib/tkimg/window.rb +++ b/ext/tk/lib/tkextlib/tkimg/window.rb @@ -16,6 +16,11 @@ TkPackage.require('img::window') module Tk module Img module WINDOW + PACKAGE_NAME = 'img::window'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::window') diff --git a/ext/tk/lib/tkextlib/tkimg/xbm.rb b/ext/tk/lib/tkextlib/tkimg/xbm.rb index 08b1b9876..f4bea030b 100644 --- a/ext/tk/lib/tkextlib/tkimg/xbm.rb +++ b/ext/tk/lib/tkextlib/tkimg/xbm.rb @@ -16,6 +16,11 @@ TkPackage.require('img::xbm') module Tk module Img module XBM + PACKAGE_NAME = 'img::xbm'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::xbm') diff --git a/ext/tk/lib/tkextlib/tkimg/xpm.rb b/ext/tk/lib/tkextlib/tkimg/xpm.rb index e29c1d554..5119c8710 100644 --- a/ext/tk/lib/tkextlib/tkimg/xpm.rb +++ b/ext/tk/lib/tkextlib/tkimg/xpm.rb @@ -16,6 +16,11 @@ TkPackage.require('img::xpm') module Tk module Img module XPM + PACKAGE_NAME = 'img::xpm'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('img::xpm') diff --git a/ext/tk/lib/tkextlib/tktable/tktable.rb b/ext/tk/lib/tkextlib/tktable/tktable.rb index dff44bf10..8e9ba8b8c 100644 --- a/ext/tk/lib/tkextlib/tktable/tktable.rb +++ b/ext/tk/lib/tkextlib/tktable/tktable.rb @@ -17,6 +17,11 @@ TkPackage.require('Tktable') module Tk class TkTable < TkWindow + PACKAGE_NAME = 'Tktable'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('Tktable') diff --git a/ext/tk/lib/tkextlib/tktrans/tktrans.rb b/ext/tk/lib/tkextlib/tktrans/tktrans.rb index 55ac03e56..665c57af0 100644 --- a/ext/tk/lib/tkextlib/tktrans/tktrans.rb +++ b/ext/tk/lib/tkextlib/tktrans/tktrans.rb @@ -14,6 +14,11 @@ TkPackage.require('tktrans') rescue Tk.load_tcllibrary('tktrans') module Tk module TkTrans + PACKAGE_NAME = 'tktrans'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('tktrans') diff --git a/ext/tk/lib/tkextlib/treectrl/tktreectrl.rb b/ext/tk/lib/tkextlib/treectrl/tktreectrl.rb index c0475f5d5..69244eae7 100644 --- a/ext/tk/lib/tkextlib/treectrl/tktreectrl.rb +++ b/ext/tk/lib/tkextlib/treectrl/tktreectrl.rb @@ -19,6 +19,11 @@ module Tk class TreeCtrl < TkWindow BindTag_FileList = TkBindTag.new_by_name('TreeCtrlFileList') + PACKAGE_NAME = 'treectrl'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('treectrl') diff --git a/ext/tk/lib/tkextlib/vu.rb b/ext/tk/lib/tkextlib/vu.rb index c4ea1b86e..d2234eb2a 100644 --- a/ext/tk/lib/tkextlib/vu.rb +++ b/ext/tk/lib/tkextlib/vu.rb @@ -20,6 +20,11 @@ module Tk module Vu TkComm::TkExtlibAutoloadModule.unshift(self) + PACKAGE_NAME = 'vu'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('vu') diff --git a/ext/tk/lib/tkextlib/winico/winico.rb b/ext/tk/lib/tkextlib/winico/winico.rb index 1e2f1c006..a9fef3ac7 100644 --- a/ext/tk/lib/tkextlib/winico/winico.rb +++ b/ext/tk/lib/tkextlib/winico/winico.rb @@ -16,6 +16,11 @@ TkPackage.require('winico') module Tk class Winico < TkObject + PACKAGE_NAME = 'winico'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('winico') |