Class: Wx::Notebook
- Inherits:
-
Object
- Object
- Wx::Notebook
- Defined in:
- lib/wx/classes/notebook.rb
Overview
Displays a set of pages in parallel using tabs
Instance Method Summary collapse
-
#each_page ⇒ Object
Convenience method for iterating pages.
Instance Method Details
#each_page ⇒ Object
Convenience method for iterating pages
4 5 6 7 8 |
# File 'lib/wx/classes/notebook.rb', line 4 def each_page 0.upto(get_page_count - 1) do | i | yield get_page(i) end end |