IDAPython 8.4
Loading...
Searching...
No Matches
Form.InputControl Class Reference
Inheritance diagram for Form.InputControl:
Form.Control Form.ButtonInput Form.DropdownListControl Form.EmbeddedChooserControl Form.MultiLineTextControl Form.NumericInput Form.StringInput Form.ColorInput Form.DirInput Form.FileInput

Public Member Functions

 __init__ (self, tp, width, swidth, hlp=None, is_relative_offset=False)
 
 get_tag (self)
 
 is_input_field (self)
 
- Public Member Functions inherited from Form.Control
 get_arg (self)
 
 free (self)
 

Public Attributes

 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

Generic form input control.
It could be numeric control, string control, directory/file browsing, etc...

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
tp,
width,
swidth,
hlp = None,
is_relative_offset = False )
@param width:  The maximum possible number of characters that
               can be entered into the input field
@param swidth: The width of visible part of the input field

Reimplemented from Form.Control.

Reimplemented in Form.ButtonInput, Form.ColorInput, Form.DirInput, Form.DropdownListControl, Form.EmbeddedChooserControl, Form.FileInput, Form.MultiLineTextControl, Form.NumericInput, and Form.StringInput.

Member Function Documentation

◆ get_tag()

get_tag ( self)
Control tag character. One of Form.FT_XXXX.
The form class will expand the {} notation and replace them with the tags

Reimplemented from Form.Control.

◆ is_input_field()

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

Reimplemented from Form.Control.

Reimplemented in Form.ButtonInput.

Member Data Documentation

◆ hlp

hlp = hlp

◆ id

id

◆ is_relative_offset

is_relative_offset = is_relative_offset

◆ swidth

swidth = swidth

◆ tp

tp = tp

◆ width

width = width

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