| IDAPython 9.0
    | 
 
  
| Public Member Functions | |
| __init__ (self, handler, code="", swidth="", hlp=None) | |
| helper_cb (self, button_code, p_fa) | |
| is_input_field (self) | |
|  Public Member Functions inherited from Form.InputControl | |
| get_tag (self) | |
|  Public Member Functions inherited from Form.Control | |
| get_arg (self) | |
| free (self) | |
| Public Attributes | |
| handler = handler | |
| arg = _BUTTONCB_T(self.helper_cb) | |
|  Public Attributes inherited from Form.InputControl | |
| tp = tp | |
| width = width | |
| swidth = swidth | |
| hlp = hlp | |
| is_relative_offset = is_relative_offset | |
| id | |
|  Public Attributes inherited from Form.Control | |
| int | id = 0 | 
| input_field_index = None | |
| arg = None | |
| form = None | |
| bool | form_hasattr = False | 
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)
| __init__ | ( | self, | |
| handler, | |||
| code = "", | |||
| swidth = "", | |||
| hlp = None ) | 
@param handler: Button handler. A callback taking one argument which is the code. @param code: A code associated with the button and that is later passed to the handler.
Reimplemented from Form.InputControl.
| helper_cb | ( | self, | |
| button_code, | |||
| p_fa ) | 
| is_input_field | ( | self | ) | 
Return True if this field acts as an input
Reimplemented from Form.InputControl.
| arg = _BUTTONCB_T(self.helper_cb) | 
| handler = handler |