Module: Tk::Img

Defined in:
ext/lib/tkextlib/tkimg.rb,
ext/lib/tkextlib/tkimg/ps.rb,
ext/lib/tkextlib/tkimg/bmp.rb,
ext/lib/tkextlib/tkimg/gif.rb,
ext/lib/tkextlib/tkimg/ico.rb,
ext/lib/tkextlib/tkimg/pcx.rb,
ext/lib/tkextlib/tkimg/png.rb,
ext/lib/tkextlib/tkimg/ppm.rb,
ext/lib/tkextlib/tkimg/sgi.rb,
ext/lib/tkextlib/tkimg/sun.rb,
ext/lib/tkextlib/tkimg/tga.rb,
ext/lib/tkextlib/tkimg/xbm.rb,
ext/lib/tkextlib/tkimg/xpm.rb,
ext/lib/tkextlib/tkimg/jpeg.rb,
ext/lib/tkextlib/tkimg/tiff.rb,
ext/lib/tkextlib/tkimg/pixmap.rb,
ext/lib/tkextlib/tkimg/window.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 'ext/lib/tkextlib/tkimg.rb', line 21

def self.package_name
  PACKAGE_NAME
end

.package_versionObject



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

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