Method: Tk::BWidget::PanelFrame#get_frame
- Defined in:
- lib/tkextlib/bwidget/panelframe.rb
#get_frame(&b) ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/tkextlib/bwidget/panelframe.rb', line 38 def get_frame(&b) win = window(tk_send_without_enc('getframe')) if b if TkCore::WITH_RUBY_VM ### Ruby 1.9 !!!! win.instance_exec(self, &b) else win.instance_eval(&b) end end win end |