Sha256: 8590f09d6192258404d15b8e13a6f67437a89fe6dac103442977eaa031eaabca

Contents?: true

Size: 501 Bytes

Versions: 9

Compression:

Stored size: 501 Bytes

Contents

class Wx::RBN::RibbonGallery

  def item_client_data_store
    @item_client_data ||= {}
  end
  private :item_client_data_store

  def set_item_client_data(item, data)
    item_client_data_store[item] = data
  end

  def get_item_client_data(item)
    item_client_data_store[item]
  end
  alias :item_client_data :get_item_client_data

  def items
    if block_given?
      count.times { |i| yield item(i) }
    else
      ::Enumerator.new { |y| count.times { |i| y << item(i) } }
    end
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.0.pre.rc.2 lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.0.pre.rc.1 lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.0.pre.beta.14 lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.0.pre.beta.13 lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.0.pre.beta.11 lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.0.pre.beta.10 lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.0.pre.beta.9 lib/wx/rbn/ribbon_gallery.rb
wxruby3-0.9.0.pre.beta.8 lib/wx/rbn/ribbon_gallery.rb