Module ida_kernwin :: 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 help(type(x)) for signature
 
helper_cb(self, button_code, p_fa)
 
is_input_field(self)
Return True if this field acts as an input

Inherited from InputControl: get_tag

Inherited from Control: free, get_arg

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

Properties

Inherited from object: __class__

Method Details

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

 

x.__init__(...) initializes x; see help(type(x)) 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__

is_input_field(self)

 

Return True if this field acts as an input

Overrides: Control.is_input_field
(inherited documentation)