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

Class FormChangeCb

  object --+    
           |    
Form.Control --+
               |
              Form.FormChangeCb

Form change handler. This can be thought of like a dialog procedure. Everytime a form action occurs, this handler will be called along with the control id. The programmer can then call various form actions accordingly:

Special control IDs: -1 (The form is initialized) and -2 (Ok has been clicked)

Instance Methods
 
__init__(self, handler)
Constructs the handler.
 
helper_cb(self, fid, p_fa)
 
get_tag(self)
Control tag character.
 
free(self)
Free the control

Inherited from Control: get_arg, is_input_field

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

Instance Variables

Inherited from Control: arg, form, id, input_field_index

Properties

Inherited from object: __class__

Method Details

__init__(self, handler)
(Constructor)

 

Constructs the handler.

Parameters:
  • handler - The handler (preferrably a member function of a class derived from the Form class).
Overrides: object.__init__

get_tag(self)

 

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

Overrides: Control.get_tag
(inherited documentation)

free(self)

 

Free the control

Overrides: Control.free
(inherited documentation)