### In Files

- wx/classes/checklistbox.rb

### Parent

Wx::Object

### Methods

- append
- clear
- get_checked_items
- get_item_data
- set_item_data

### Files

- wxruby2.lib

### Class Index

Quicksearch

- Wx
- Wx::AcceleratorTable
- Wx::Animation
- Wx::App
- Wx::ArtProvider
- Wx::AuiNotebook
- Wx::Bitmap
- Wx::BusyCursor
- Wx::CheckListBox
- Wx::Choice
- Wx::ClientDC
- Wx::Clipboard
- Wx::Colour
- Wx::ComboBox
- Wx::CommandEvent
- Wx::ControlWithItems
- Wx::DC
- Wx::Event
- Wx::EvtHandler
- Wx::Font
- Wx::Grid
- Wx::HelpController
- Wx::HelpControllerHelpProvider
- Wx::HelpProvider
- Wx::HtmlHelpController
- Wx::HtmlWindow
- Wx::Icon
- Wx::IconBundle
- Wx::Image
- Wx::ImageList
- Wx::KeywordConstructor
- Wx::KeywordConstructor::ClassMethods
- Wx::ListBox
- Wx::ListCtrl
- Wx::Locale
- Wx::MediaCtrl
- Wx::Menu
- Wx::MenuItem
- Wx::Notebook
- Wx::Object
- Wx::PaintDC
- Wx::Point
- Wx::PreviewFrame
- Wx::Rect
- Wx::RichTextCtrl
- Wx::SimpleHelpProvider
- Wx::Size
- Wx::Sizer
- Wx::Sound
- Wx::StandardPaths
- Wx::TextCtrl
- Wx::TextUrlEvent
- Wx::Timer
- Wx::ToolBar
- Wx::ToolBarTool
- Wx::TreeCtrl
- Wx::Window
- Wx::XmlResource
- Rumix
- Rumix::Application
- Rumix::Config
- Rumix::Registry
- Rumix::Widget
- Rumix::Widget::CheckOptionPanel
- Rumix::Widget::OptionItem
- Rumix::Widget::OptionPanel
- Rumix::Widget::RadioOptionPanel
- Rumix::Widget::TitleText
- ROpt
- ROpt::ArgumentParser
- ROpt::ParseResult
- Uconv
- Uconv::Error
- Enumerable
- File
- Ini
- Kernel
- Module
- Object
- Pathname
- WxConstructor
- WxRubyStyleAccessors

No matching classes.

# 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.