IDAPython 8.4
|
Public Member Functions | |
__init__ (self, handler, code="", swidth="", hlp=None) | |
helper_cb (self, button_code, p_fa) | |
is_input_field (self) | |
![]() | |
get_tag (self) | |
![]() | |
get_arg (self) | |
free (self) | |
Public Attributes | |
handler = handler | |
arg = _BUTTONCB_T(self.helper_cb) | |
![]() | |
tp = tp | |
width = width | |
swidth = swidth | |
hlp = hlp | |
is_relative_offset = is_relative_offset | |
id | |
![]() | |
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 |