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

Class Control

object --+
         |
        Form.Control
Known Subclasses:

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
 
get_tag(self)
Control tag character.
 
get_arg(self)
Control returns the parameter to be pushed on the stack (Of ask_form())
 
free(self)
Free the control
 
is_input_field(self)
Return True if this field acts as an input

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

Instance Variables
  id
Automatically assigned control ID
  input_field_index
If this control is an input field, once Compile() returns this will hold its index.
  arg
Control argument value.
  form
Reference to the parent form.
Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

get_tag(self)

 

Control tag character. One of Form.FT_XXXX. The form class will expand the {} notation and replace them with the tags


Instance Variable Details

input_field_index

If this control is an input field, once Compile() returns this will hold its index. This is used only to compute the possible STARTITEM index

arg

Control argument value. This could be one element or a list/tuple (for multiple args per control)

form

Reference to the parent form. It is filled by Form.Add()