Module: Tk::Img

Defined in:
lib/tkextlib/tkimg.rb,
lib/tkextlib/tkimg/ps.rb,
lib/tkextlib/tkimg/gif.rb,
lib/tkextlib/tkimg/ppm.rb,
lib/tkextlib/tkimg/tga.rb,
lib/tkextlib/tkimg/pcx.rb,
lib/tkextlib/tkimg/xpm.rb,
lib/tkextlib/tkimg/ico.rb,
lib/tkextlib/tkimg/sun.rb,
lib/tkextlib/tkimg/png.rb,
lib/tkextlib/tkimg/xbm.rb,
lib/tkextlib/tkimg/sgi.rb,
lib/tkextlib/tkimg/bmp.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, GIF, ICO, JPEG, PCX, PIXMAP, PNG, PPM, PS, SGI, SUN, TGA, TIFF, WINDOW, XBM, XPM

Constant Summary collapse

PACKAGE_NAME =
'Img'.freeze

Class Method Summary collapse

Class Method Details

.package_nameObject



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

def self.package_name
  PACKAGE_NAME
end

.package_versionObject



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

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