Parent

Files

Wx::CheckListBox

A ListBox, where each item has a checkbox next to it

Public Instance Methods

append(item, data = nil) click to toggle source

Call method in ControlWithItems, then sync item data

# File wx/classes/checklistbox.rb, line 13
  def append(item, data = nil)
    super(item)
    __wx_item_data[count - 1] = data
  end
clear() click to toggle source

Call method in ControlWithItems, then sync item data

# File wx/classes/checklistbox.rb, line 19
  def clear
    super
    __wx_item_data.clear
  end
get_checked_items() click to toggle source

Returns an array of indices of items that are currently checked.

# File wx/classes/checklistbox.rb, line 32
  def get_checked_items
    find_all { | i | checked?(i) }    
  end
get_item_data(n) click to toggle source

Wholly redefined here

# File wx/classes/checklistbox.rb, line 37
  def get_item_data(n)
    __wx_item_data[n]
  end
set_item_data(n, data) click to toggle source

Wholly redefined here

# File wx/classes/checklistbox.rb, line 42
  def set_item_data(n, data)
    __wx_item_data[n] = data
  end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.