wxCheckListBox(3erl) | Erlang Module Definition | wxCheckListBox(3erl) |
wxCheckListBox - Functions for wxCheckListBox class
A wxCheckListBox is like a wxListBox, but allows items to be checked or unchecked.
When using this class under Windows wxWidgets must be compiled with wxUSE_OWNER_DRAWN set to 1.
See: wxListBox, wxChoice, wxComboBox, wxListCtrl, wxCommandEvent
This class is derived (and can use functions) from: wxListBox wxControlWithItems wxControl wxWindow wxEvtHandler
wxWidgets docs: wxCheckListBox
Event types emitted from this class: command_checklistbox_toggled
wxCheckListBox() = wx:wx_object()
new() -> wxCheckListBox()
Default constructor.
new(Parent, Id) -> wxCheckListBox()
Types:
new(Parent, Id, Options :: [Option]) -> wxCheckListBox()
Types:
Constructor, creating and showing a list box.
destroy(This :: wxCheckListBox()) -> ok
Destructor, destroying the list box.
check(This, Item) -> ok
Types:
check(This, Item, Options :: [Option]) -> ok
Types:
Checks the given item.
Note that calling this method does not result in a wxEVT_CHECKLISTBOX event being emitted.
isChecked(This, Item) -> boolean()
Types:
Returns true if the given item is checked, false otherwise.
wx 2.2.1 | wxWidgets team. |