Sha256: 3c8d4e69596d788623a54c461755e43aefde5c00c41d0207838f090a8acf326c

Contents?: true

Size: 525 Bytes

Versions: 9

Compression:

Stored size: 525 Bytes

Contents

class Wx::RBN::RibbonToolBar

  def tool_client_data_store
    @tool_client_data ||= {}
  end
  private :tool_client_data_store

  def set_tool_client_data(tool, data)
    tool_client_data_store[tool] = data
  end

  def get_tool_client_data(tool)
    tool_client_data_store[tool]
  end
  alias :tool_client_data :get_tool_client_data

  def tools
    if block_given?
      tool_count.times { |i| yield tool_by_pos(i) }
    else
      ::Enumerator.new { |y| tool_count.times { |i| y << tool_by_pos(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_tool_bar.rb
wxruby3-0.9.0.pre.rc.2 lib/wx/rbn/ribbon_tool_bar.rb
wxruby3-0.9.0.pre.rc.1 lib/wx/rbn/ribbon_tool_bar.rb
wxruby3-0.9.0.pre.beta.14 lib/wx/rbn/ribbon_tool_bar.rb
wxruby3-0.9.0.pre.beta.13 lib/wx/rbn/ribbon_tool_bar.rb
wxruby3-0.9.0.pre.beta.11 lib/wx/rbn/ribbon_tool_bar.rb
wxruby3-0.9.0.pre.beta.10 lib/wx/rbn/ribbon_tool_bar.rb
wxruby3-0.9.0.pre.beta.9 lib/wx/rbn/ribbon_tool_bar.rb
wxruby3-0.9.0.pre.beta.8 lib/wx/rbn/ribbon_tool_bar.rb