| Class | Tk::BWidget::PagesManager |
| In: |
tk/lib/tkextlib/bwidget/pagesmanager.rb
|
| Parent: | TkWindow |
| TkCommandNames | = | ['PagesManager'.freeze].freeze |
| WidgetClassName | = | 'PagesManager'.freeze |
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 27 def add(page, &b) win = window(tk_send('add', tagid(page))) win.instance_eval(&b) if b win end
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 33 def compute_size tk_send('compute_size') self end
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 38 def delete(page) tk_send('delete', tagid(page)) self end
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 43 def get_frame(page, &b) win = window(tk_send('getframe', tagid(page))) win.instance_eval(&b) if b win end
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 49 def get_page(page) tk_send('pages', page) end
# File tk/lib/tkextlib/bwidget/pagesmanager.rb, line 53 def pages(first=None, last=None) list(tk_send('pages', first, last)) end
ruby-doc.org is hosted and run by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. Ruby-doc.org was created in 2002 to promote the Ruby language and to help other Ruby hackers.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.