| Trees | Indices | Help |
|
|---|
|
|
object --+
|
Form
| Nested Classes | |
|
NumericArgument Argument representing various integer arguments (ushort, uint32, uint64, etc...) |
|
|
StringArgument Argument representing a character buffer |
|
| Control | |
|
LabelControl Base class for static label control |
|
|
StringLabel String label control |
|
|
NumericLabel Numeric label control |
|
|
GroupItemControl Base class for group control items |
|
|
ChkGroupItemControl Checkbox group item control |
|
|
RadGroupItemControl Radiobox group item control |
|
|
GroupControl Base class for group controls |
|
|
ChkGroupControl Checkbox group control class. |
|
|
RadGroupControl Radiobox group control class. |
|
|
InputControl Generic form input control. |
|
|
NumericInput A composite class serving as a base numeric input control class |
|
|
ColorInput Color button input control |
|
|
StringInput Base string input control class. |
|
|
FileInput File Open/Save input control |
|
|
DirInput Directory browsing control |
|
|
ButtonInput Button control. |
|
|
FormChangeCb Form change handler. |
|
|
EmbeddedChooserControl Embedded chooser control. |
|
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Class Variables | |
FT_ASCII = 'A'Ascii string - char * |
|
FT_SEG = 'S'Segment - sel_t * |
|
FT_HEX = 'N'Hex number - uval_t * |
|
FT_SHEX = 'n'Signed hex number - sval_t * |
|
FT_COLOR = 'K'Color button - bgcolor_t * |
|
FT_ADDR = '$'Address - ea_t * |
|
FT_UINT64 = 'L'default base uint64 - uint64 |
|
FT_INT64 = 'l'default base int64 - int64 |
|
FT_RAWHEX = 'M'Hex number, no 0x prefix - uval_t * |
|
FT_FILE = 'f'File browse - char * at least QMAXPATH |
|
FT_DEC = 'D'Decimal number - sval_t * |
|
FT_OCT = 'O'Octal number, C notation - sval_t * |
|
FT_BIN = 'Y'Binary number, 0b prefix - sval_t * |
|
FT_CHAR = 'H'Char value -- sval_t * |
|
FT_IDENT = 'I'Identifier - char * at least MAXNAMELEN |
|
FT_BUTTON = 'B'Button - def handler(code) |
|
FT_DIR = 'F'Path to directory - char * at least QMAXPATH |
|
FT_TYPE = 'T'Type declaration - char * at least MAXSTR |
|
FT_FORMCHG = '%/'Form change callback - formchgcb_t |
|
FT_ECHOOSER = 'E'Embedded chooser - idaapi.Choose2 |
|
FT_CHKGRP = 'C'
|
|
FT_CHKGRP2 = 'c'
|
|
FT_RADGRP = 'R'
|
|
FT_RADGRP2 = 'r'
|
|
| Instance Variables | |
|
form Form string |
|
|
controls Dictionary of controls |
|
|
title The Form title. |
|
| Properties | |
|
Inherited from |
| Method Details |
Contruct a Form class. This class wraps around AskUsingForm() and provides an easier / alternative syntax for describing forms. The form control names are wrapped inside the opening and closing curly braces and the control themselves are defined and instantiated via various form controls (subclasses of Form).
|
Frees all resources associated with a compiled form. Make sure you call this function when you finish using the form. |
Low level function. Prefer AddControls() to this function. This function adds one control to the form.
|
Adds controls from a dictionary. The dictionary key is the control name and the value is a Form.Control object
|
Low level function. Compiles (parses the form syntax and adds the control) the form string and returns the argument list to be passed the argument list to AskUsingForm(). The form controls are wrapped inside curly braces: {ControlName}. A special operator can be used to return the ID of a given control by its name: {id:ControlName}. This is useful when you use the STARTITEM form keyword to set the initially focused control.
|
Compiles a form and returns the form object (self) and the argument list. The form object will contain object names corresponding to the form elements
|
Checks if the form has already been compiled
|
Displays a compiled form.
|
Enable or disable an input field
|
Show or hide an input field
|
Move/resize an input field
|
Get currently focused input field.
|
Set currently focused input field
|
Refresh a field
|
Returns the control's value depending on its type
|
Set the control's value depending on its type
|
| Instance Variable Details |
titleThe Form title. It will be filled when the form is compiled |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Apr 21 16:32:03 2011 | http://epydoc.sourceforge.net |