__init__(self,
title,
cols,
flags=0,
popup_names=None,
icon=-1,
x1=-1,
y1=-1,
x2=-1,
y2=-1,
deflt=None,
embedded=False,
width=None,
height=None,
forbidden_cb=0)
(Constructor)
|
|
Constructs a chooser window.
@param title: The chooser title
@param cols: a list of colums; each list item is a list of two items
example: [ ["Address", 10 | Choose.CHCOL_HEX],
["Name", 30 | Choose.CHCOL_PLAIN] ]
@param flags: One of CH_XXXX constants
@param deflt: The index of the default item (0-based) for single
selection choosers or the list of indexes for multi selection
chooser
@param popup_names: List of new captions to replace this list
["Insert", "Delete", "Edit", "Refresh"]
@param icon: Icon index (the icon should exist in ida resources or
an index to a custom loaded icon)
@param x1, y1, x2, y2: The default location (for txt-version)
@param embedded: Create as embedded chooser
@param width: Embedded chooser width
@param height: Embedded chooser height
@param forbidden_cb: Explicitly forbidden callbacks
- Overrides:
object.__init__
|