PyCListBox Object
A windows listbox control. Encapsulates an MFC CListBox
class. Derived from a PyCControl
object.
Methods
- AddString
- Add a string to the listbox.
- DeleteString
- Delete a string from the listbox.
- Dir
- Fill a listbox with a file specification.
- GetCaretIndex
- Get the index of the item with the focus rectangle.
- GetCount
- Get the count of items in the listbox.
- GetCurSel
- Get the current selection in a single selection listbox.
- GetItemData
- Retrieves the application-specific object associated with a listbox entry
- GetItemValue
- Retrieves the application-specific value associated with a listbox entry
- GetSel
- Get the selected items in a multiple selection listbox.
- GetSelCount
- Get the number of selected items in a multtiple selection listbox.
- GetSelItems
- Get the index of the selected items in a multiple selection listbox.
- GetSelTextItems
- Get the text of the selected items in a multiple selection listbox.
- GetTopIndex
- Get the index of the topmost item.
- GetText
- Get the text associated with an item.
- GetTextLen
- Get the length of an item
- InsertString
- Insert a string into the listbox.
- ResetContent
- Remove all items from a listbox.
- SetCaretIndex
- Set the focus rectange to a specified item.
- SelectString
- Select an item, based on a string.
- SelItemRange
- Select a range of items in a multiple selection listbox.
- SetCurSel
- Set the current selection in a single selection listbox.
- SetItemData
- Sets the application-specific object associated with a listbox entry
- SetItemValue
- Sets the application-specific value associated with a listbox entry
- SetSel
- Set the selection.
- SetTabStops
- Set the tab stops for a listbox.
- SetTopIndex
- Set the top most visible item in a listbox.