IDAPython 8.4
Loading...
Searching...
No Matches
Form.ButtonInput Class Reference
Inheritance diagram for Form.ButtonInput:
Form.InputControl Form.Control

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
 

Detailed Description

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)

Constructor & Destructor Documentation

◆ __init__()

__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.

Member Function Documentation

◆ helper_cb()

helper_cb ( self,
button_code,
p_fa )

◆ is_input_field()

is_input_field ( self)
Return True if this field acts as an input

Reimplemented from Form.InputControl.

Member Data Documentation

◆ arg

arg = _BUTTONCB_T(self.helper_cb)

◆ handler

handler = handler

The documentation for this class was generated from the following file: