Functions available from formchgcb_t.
More...
#include <kernwin.hpp>
|
enum | dlgbtn_t { dbt_yes
, dbt_cancel
, dbt_no
} |
|
|
virtual bool idaapi | _get_field_value (int field_id, void *buf)=0 |
| Get value of an input field. More...
|
|
virtual bool idaapi | _set_field_value (int field_id, const void *buf)=0 |
| Set value of an input field. More...
|
|
virtual bool idaapi | enable_field (int field_id, bool enable)=0 |
| Enable or disable an input field. More...
|
|
virtual bool idaapi | show_field (int field_id, bool display)=0 |
| Show or hide an input field. More...
|
|
virtual bool idaapi | move_field (int field_id, int x, int y, int w, int h)=0 |
| Move/Resize an input field. More...
|
|
virtual int idaapi | get_focused_field (void)=0 |
| Get currently focused input field. More...
|
|
virtual bool idaapi | set_focused_field (int field_id)=0 |
| Set currently focused input field. More...
|
|
virtual void idaapi | refresh_field (int field_id)=0 |
| Refresh a field.
|
|
virtual void idaapi | close (int close_normally)=0 |
| Close the form.
|
|
virtual void *idaapi | get_ud ()=0 |
| Retrieve the user data specified through %*.
|
|
virtual bool idaapi | _get_str_field_value (int field_id, char *buf, const size_t bufsize)=0 |
| Get value of an UTF-8 string input field. More...
|
|
virtual bool | enable_dialog_button (dlgbtn_t btn, bool enabled)=0 |
|
virtual bool | is_dialog_button_enabled (dlgbtn_t btn)=0 |
|
Functions available from formchgcb_t.
For getters/setters for specific field values, see DEF_SET_METHOD.
◆ _get_field_value()
virtual bool idaapi form_actions_t::_get_field_value |
( |
int |
field_id, |
|
|
void * |
buf |
|
) |
| |
|
pure virtual |
Get value of an input field.
- Returns
- false if no such field id or invalid field type (B)
◆ _set_field_value()
virtual bool idaapi form_actions_t::_set_field_value |
( |
int |
field_id, |
|
|
const void * |
buf |
|
) |
| |
|
pure virtual |
Set value of an input field.
- Returns
- false if no such field id or invalid field type (B)
◆ enable_field()
virtual bool idaapi form_actions_t::enable_field |
( |
int |
field_id, |
|
|
bool |
enable |
|
) |
| |
|
pure virtual |
Enable or disable an input field.
- Returns
- false if no such field id
◆ show_field()
virtual bool idaapi form_actions_t::show_field |
( |
int |
field_id, |
|
|
bool |
display |
|
) |
| |
|
pure virtual |
Show or hide an input field.
- Returns
- false if no such field id
◆ move_field()
virtual bool idaapi form_actions_t::move_field |
( |
int |
field_id, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
|
pure virtual |
Move/Resize an input field.
Parameters specified as -1 are not modified.
- Returns
- false no such field id
◆ get_focused_field()
virtual int idaapi form_actions_t::get_focused_field |
( |
void |
| ) |
|
|
pure virtual |
Get currently focused input field.
- Returns
- -1 if no such field
◆ set_focused_field()
virtual bool idaapi form_actions_t::set_focused_field |
( |
int |
field_id | ) |
|
|
pure virtual |
Set currently focused input field.
- Returns
- false if no such field id
◆ _get_str_field_value()
virtual bool idaapi form_actions_t::_get_str_field_value |
( |
int |
field_id, |
|
|
char * |
buf, |
|
|
const size_t |
bufsize |
|
) |
| |
|
pure virtual |
Get value of an UTF-8 string input field.
- Returns
- false if no such field id or invalid field type (B)
The documentation for this struct was generated from the following file: