Module ida_kernwin :: Class Form :: Class DropdownListControl
[frames] | no frames]

Class DropdownListControl

                          object --+        
                                   |        
                        Form.Control --+    
                                       |    
                       Form.InputControl --+
                                           |
                      object --+           |
                               |           |
ida_idaapi.pyidc_opaque_object_t --+       |
                                   |       |
      ida_idaapi.py_clinked_object_t --+   |
                                       |   |
                      ida_pro._qstrvec_t --+
                                           |
                                          Form.DropdownListControl

Dropdown control This control allows manipulating a dropdown control

Instance Methods
 
__init__(self, items=[], readonly=True, selval=0, width=50, swidth=50, hlp=None)
x.__init__(...) initializes x; see help(type(x)) for signature
 
free(self)
Free the control
 
set_items(self, items)
Sets the dropdown list items

Inherited from InputControl: get_tag, is_input_field

Inherited from Control: get_arg

Inherited from ida_pro._qstrvec_t: __getitem__, __setitem__, add, addressof, assign, clear, from_list, insert, remove

Inherited from ida_idaapi.py_clinked_object_t: __del__, copy

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from ida_idaapi.pyidc_opaque_object_t: __idc_cvt_id__

Properties
  selval
  value

Inherited from ida_pro._qstrvec_t: size

Inherited from ida_idaapi.py_clinked_object_t: clink, clink_ptr

Inherited from object: __class__

Method Details

__init__(self, items=[], readonly=True, selval=0, width=50, swidth=50, hlp=None)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • items - A string list of items used to prepopulate the control
  • readonly - Specifies whether the dropdown list is editable or not
  • selval - The preselected item index (when readonly) or text value (when editable)
  • width - the control width (n/a if the dropdown list is readonly)
  • swidth - string width
Overrides: object.__init__

free(self)

 

Free the control

Overrides: Control.free
(inherited documentation)

Property Details

selval

Get Method:
__get_selval(self)
Set Method:
__set_selval(self, val)

value

Get Method:
__get_selval(self)
Set Method:
__set_selval(self, val)