Sha256: b435d4306966d89072be7916610d0d286d10b3070ff591df33ff40c6cd601ac2

Contents?: true

Size: 585 Bytes

Versions: 28

Compression:

Stored size: 585 Bytes

Contents

# Multi-item control with numerous possible view styles
class Wx::ListCtrl
  # Make these ruby enumerables so find, find_all, map are available 
  include Enumerable
  # Passes each valid item index into the passed block
  def each
    0.upto(item_count - 1) { | i | yield i }
  end

  # Stub version for LC_VIRTUAL controls that does nothing; may be
  # overridden in subclasses.
  def on_get_item_attr(i)
    nil
  end

  # Stub version for LC_VIRTUAL|LC_REPORT controls that does nothing;
  # may be overridden in subclasses.
  def on_get_item_column_image(i, col)
    -1
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
wxruby-1.9.7-i386-mswin32 lib/wx/classes/listctrl.rb
wxruby-1.9.5-i386-mswin32 lib/wx/classes/listctrl.rb
wxruby-1.9.4-i386-mswin32 lib/wx/classes/listctrl.rb
wxruby-1.9.3-i386-mswin32 lib/wx/classes/listctrl.rb
wxruby-1.9.3-universal-darwin lib/wx/classes/listctrl.rb
wxruby-1.9.3-x86-linux lib/wx/classes/listctrl.rb
wxruby-1.9.4-x86_64-linux lib/wx/classes/listctrl.rb
wxruby-1.9.4-x86-linux lib/wx/classes/listctrl.rb
wxruby-1.9.5-universal-darwin-9 lib/wx/classes/listctrl.rb
wxruby-1.9.5-x86-linux lib/wx/classes/listctrl.rb
wxruby-1.9.5-x86_64-linux lib/wx/classes/listctrl.rb
wxruby-1.9.6-universal-darwin-9 lib/wx/classes/listctrl.rb
wxruby-1.9.6-x86-linux lib/wx/classes/listctrl.rb
wxruby-1.9.6-x86-mswin32-60 lib/wx/classes/listctrl.rb
wxruby-1.9.6-x86-mingw32 lib/wx/classes/listctrl.rb
wxruby-1.9.7-universal-darwin-9 lib/wx/classes/listctrl.rb
wxruby-1.9.7-x86-linux lib/wx/classes/listctrl.rb
wxruby-1.9.7-x86-mswin32-60 lib/wx/classes/listctrl.rb
wxruby-1.9.8-universal-darwin-9 lib/wx/classes/listctrl.rb
wxruby-1.9.8-x86-linux lib/wx/classes/listctrl.rb