IDA C++ SDK 9.2
Loading...
Searching...
No Matches
Special values of the chooser index

Used in the following contexts: More...

Variables

static constexpr ssize_t chooser_base_t::NO_SELECTION = -1
 there is no selected item
static constexpr ssize_t chooser_base_t::EMPTY_CHOOSER = -2
 the chooser has no data and cannot be displayed
static constexpr ssize_t chooser_base_t::ALREADY_EXISTS = -3
 the non-modal chooser with the same data is already open
static constexpr ssize_t chooser_base_t::NO_ATTR = -4
 reserved for IDAPython

Detailed Description

Used in the following contexts:

  1. as the return value of the choose() function
  2. as the idx field of the return value of the get_item_index(), ins(), del(), edit(), enter(), refresh() callbacks of the chooser_t structure
  3. as the parameter n of the chooser_t::refresh() callback Usage matrix

Variable Documentation

◆ NO_SELECTION

ssize_t chooser_base_t::NO_SELECTION = -1
staticconstexpr

there is no selected item

◆ EMPTY_CHOOSER

ssize_t chooser_base_t::EMPTY_CHOOSER = -2
staticconstexpr

the chooser has no data and cannot be displayed

◆ ALREADY_EXISTS

ssize_t chooser_base_t::ALREADY_EXISTS = -3
staticconstexpr

the non-modal chooser with the same data is already open

◆ NO_ATTR

ssize_t chooser_base_t::NO_ATTR = -4
staticconstexpr

reserved for IDAPython