Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • tk/lib/tkextlib/bwidget/scrolledwindow.rb

Class/Module Index [+]

Quicksearch

Tk::BWidget::ScrolledWindow

Public Instance Methods

get_frame(&b) click to toggle source
 
               # File tk/lib/tkextlib/bwidget/scrolledwindow.rb, line 32
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
            
set_widget(win) click to toggle source
 
               # File tk/lib/tkextlib/bwidget/scrolledwindow.rb, line 44
def set_widget(win)
  tk_send_without_enc('setwidget', win)
  self
end