Module: Tk::Img

Defined in:
lib/tkextlib/tkimg.rb,
lib/tkextlib/tkimg/ps.rb,
lib/tkextlib/tkimg/bmp.rb,
lib/tkextlib/tkimg/sgi.rb,
lib/tkextlib/tkimg/raw.rb,
lib/tkextlib/tkimg/xbm.rb,
lib/tkextlib/tkimg/png.rb,
lib/tkextlib/tkimg/sun.rb,
lib/tkextlib/tkimg/tga.rb,
lib/tkextlib/tkimg/gif.rb,
lib/tkextlib/tkimg/ppm.rb,
lib/tkextlib/tkimg/pcx.rb,
lib/tkextlib/tkimg/xpm.rb,
lib/tkextlib/tkimg/ico.rb,
lib/tkextlib/tkimg/dted.rb,
lib/tkextlib/tkimg/tiff.rb,
lib/tkextlib/tkimg/jpeg.rb,
lib/tkextlib/tkimg/window.rb,
lib/tkextlib/tkimg/pixmap.rb

Defined Under Namespace

Modules: BMP, DTED, GIF, ICO, JPEG, PCX, PIXMAP, PNG, PPM, PS, Raw, SGI, SUN, TGA, TIFF, WINDOW, XBM, XPM

Constant Summary collapse

PACKAGE_NAME =
'Img'.freeze

Class Method Summary collapse

Class Method Details

.package_nameObject



22
23
24
# File 'lib/tkextlib/tkimg.rb', line 22

def self.package_name
  PACKAGE_NAME
end

.package_versionObject



26
27
28
29
30
31
32
# File 'lib/tkextlib/tkimg.rb', line 26

def self.package_version
  begin
    TkPackage.require('Img')
  rescue
    ''
  end
end