Method: Tk::BWidget::Bitmap#initialize
- Defined in:
- lib/tkextlib/bwidget/bitmap.rb
#initialize(name) ⇒ Bitmap
Returns a new instance of Bitmap.
18 19 20 21 |
# File 'lib/tkextlib/bwidget/bitmap.rb', line 18 def initialize(name) @path = tk_call_without_enc('Bitmap::get', name) Tk_IMGTBL[@path] = self end |