choose_multi
summary: show tabular data, with multiple selection
- description:
Similar to @{choose}, but with multiple selection
keywords: chooser, actions
see_also: choose
level: intermediate
Classes
Chooser wrapper class. |
Functions
|
Module Contents
- class choose_multi.MyChoose(title, nb=5)
Bases:
ida_kernwin.ChooseChooser wrapper class.
Some constants are defined in this class. Please refer to kernwin.hpp for more information.
- items
- OnGetSize()
Get the number of elements in the chooser.
This callback is mandatory
- Returns:
the number of elements
- OnGetLine(n)
Get data for an element
This callback is mandatory
- Parameters:
n – the index to fetch data for
- Returns:
a list of strings
- OnSelectLine(n)
User pressed the enter key, or double-clicked a selection
- Parameters:
sel – the current selection
- Returns:
a tuple (changed, selection)
- OnDeleteLine(indices)
User deleted an element
- Parameters:
sel – the current selection
- Returns:
a tuple (changed, selection)
- show(num)
- choose_multi.test_choose(num)