Sha256: adf97aad91e0d03bcc9a4bbd763e6d1c184efe4e512417d935263fb891842f53

Contents?: true

Size: 394 Bytes

Versions: 5

Compression:

Stored size: 394 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.

class Wx::AUI::AuiTabCtrl

  # Convenience method for iterating pages
  def each_page
    if block_given?
      0.upto(get_page_count - 1) do | i |
        yield get_page(i)
      end
    else
      ::Enumerator.new { |y| each_page { |pg| y << pg } }
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wxruby3-0.9.7-x64-mingw-ucrt lib/wx/aui/aui_tab_ctrl.rb
wxruby3-0.9.5-x64-mingw-ucrt lib/wx/aui/aui_tab_ctrl.rb
wxruby3-0.9.4-x64-mingw-ucrt lib/wx/aui/aui_tab_ctrl.rb
wxruby3-0.9.3-x64-mingw-ucrt lib/wx/aui/aui_tab_ctrl.rb
wxruby3-0.9.2-x64-mingw-ucrt lib/wx/aui/aui_tab_ctrl.rb