Sha256: 111aa39eb7436d469c75cfd89e67e2e1bbda0b6d2ed7c7cab8b27d0fe3737e6a

Contents?: true

Size: 391 Bytes

Versions: 6

Compression:

Stored size: 391 Bytes

Contents

#
#  tkextlib/bwidget/bitmap.rb
#                               by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
#
require 'tk'
require 'tk/image'
require 'tkextlib/bwidget.rb'

module Tk
  module BWidget
    class Bitmap < TkPhotoImage
    end
  end
end

class Tk::BWidget::Bitmap
  def initialize(name)
    @path = tk_call_without_enc('Bitmap::get', name)
    Tk_IMGTBL[@path] = self
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tk-win-0.2.2-x86-mingw32 lib/tkextlib/bwidget/bitmap.rb
tk-win-0.2.1-x86-mingw32 lib/tkextlib/bwidget/bitmap.rb
tk-win-0.2.0-x86-mingw32 lib/tkextlib/bwidget/bitmap.rb
tk_as_gem-0.1.0 ext/lib/tkextlib/bwidget/bitmap.rb
tk_as_gem-0.0.1 ext/lib/tkextlib/bwidget/bitmap.rb
tk_as_gem-0.0.0 ext/lib/tkextlib/bwidget/bitmap.rb