IDA C++ SDK 9.2
Loading...
Searching...
No Matches
chooser_stdact_desc_t Struct Reference

#include <kernwin.hpp>

Public Member Functions

 chooser_stdact_desc_t (const char *_label=nullptr, const char *_tooltip=nullptr, int _icon=-1)
virtual ~chooser_stdact_desc_t ()
virtual action_state_t idaapi ucb (action_update_ctx_t *)
 the update callback, see action_handler_t::update() When the update callback is called from the chooser UI engine, it can be sure that ctx.source.chooser is a valid pointer to chooser_base_t and that there are selected items for the Delete and Edit actions.

Public Attributes

int version = 1
 to support the backward compatibility
const char * label
 see action_desc_t
const char * tooltip
int icon

Constructor & Destructor Documentation

◆ chooser_stdact_desc_t()

chooser_stdact_desc_t::chooser_stdact_desc_t ( const char * _label = nullptr,
const char * _tooltip = nullptr,
int _icon = -1 )
inline

◆ ~chooser_stdact_desc_t()

virtual chooser_stdact_desc_t::~chooser_stdact_desc_t ( )
inlinevirtual

Member Function Documentation

◆ ucb()

virtual action_state_t idaapi chooser_stdact_desc_t::ucb ( action_update_ctx_t * )
inlinevirtual

the update callback, see action_handler_t::update() When the update callback is called from the chooser UI engine, it can be sure that ctx.source.chooser is a valid pointer to chooser_base_t and that there are selected items for the Delete and Edit actions.

Member Data Documentation

◆ version

int chooser_stdact_desc_t::version = 1

to support the backward compatibility

◆ label

const char* chooser_stdact_desc_t::label

◆ tooltip

const char* chooser_stdact_desc_t::tooltip

◆ icon

int chooser_stdact_desc_t::icon

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