__init__(self,
title,
cols,
flags=0,
popup_names=None,
icon=-1,
x1=-1,
y1=-1,
x2=-1,
y2=-1,
deflt=-1)
(Constructor)
|
|
Constructs a chooser window.
- Parameters:
title - The chooser title
cols - a list of colums; each list item is a list of two items example:
[ ["Address", 10 | Choose2.CHCOL_HEX],
["Name", 30 | CHCOL_PLAIN] ]
flags - One of CH_XXXX constants
deflt - Default starting item
popup_names - list of new captions to replace this list ["Insert",
"Delete", "Edit", "Refresh"]
icon - Icon index (the icon should exist in ida resources)
x1, y1, x2, y2 - The default location
- Overrides:
object.__init__
|