Class: Wx::Notebook

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/classes/notebook.rb

Overview

Displays a set of pages in parallel using tabs

Instance Method Summary collapse

Instance Method Details

#each_pageObject

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