# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 27 def add(page, &b) win = window(tk_send('add', tagid(page))) if b if TkCore::WITH_RUBY_VM ### Ruby 1.9 !!!! win.instance_exec(self, &b) else win.instance_eval(&b) end end win end
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 39 def compute_size tk_send('compute_size') self end
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 44 def delete(page) tk_send('delete', tagid(page)) self end
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 49 def get_frame(page, &b) win = window(tk_send('getframe', tagid(page))) if b if TkCore::WITH_RUBY_VM ### Ruby 1.9 !!!! win.instance_exec(self, &b) else win.instance_eval(&b) end end win end
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 61 def get_page(page) tk_send('pages', page) end
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 65 def pages(first=None, last=None) list(tk_send('pages', first, last)) end