Sha256: 08fe4c2881c5c0a54e71217c63ceebf27bacb7bf090d2dd041ab2630927590fd
Contents?: true
Size: 517 Bytes
Versions: 9
Compression:
Stored size: 517 Bytes
Contents
class Wx::RBN::RibbonButtonBar 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? button_count.times { |i| yield item(i) } else ::Enumerator.new { |y| button_count.times { |i| y << item(i) } } end end end
Version data entries
9 entries across 9 versions & 1 rubygems