__init__(self,
title,
cols,
flags=0,
popup_names=None,
icon=-1,
x1=-1,
y1=-1,
x2=-1,
y2=-1,
deflt=-1,
embedded=False,
width=None,
height=None)
(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 | Choose2.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 or an index to
a custom loaded icon)
x1, y1, x2, y2 - The default location
embedded - Create as embedded chooser
width - Embedded chooser width
height - Embedded chooser height
- Overrides:
object.__init__
|