Module idaapi :: Class Form :: Class ButtonInput
[frames] | no frames]

Class ButtonInput

   object --+        
            |        
 Form.Control --+    
                |    
Form.InputControl --+
                    |
                   Form.ButtonInput

Button control. A handler along with a 'code' (numeric value) can be associated with the button. This way one handler can handle many buttons based on the button code (or in other terms id or tag)

Instance Methods
 
__init__(self, handler, code="", swidth="", hlp=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Inherited from InputControl: get_tag

Inherited from Control: free, get_arg

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

Instance Variables

Inherited from Control: arg, form, id

Properties

Inherited from object: __class__

Method Details

__init__(self, handler, code="", swidth="", hlp=None)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • handler - Button handler. A callback taking one argument which is the code.
  • code - A code associated with the button and that is later passed to the handler.
Overrides: object.__init__