IDAPython 9.0
Loading...
Searching...
No Matches
quick_widget_commands_t._ah_t Class Reference
Inheritance diagram for quick_widget_commands_t._ah_t:
action_handler_t

Public Member Functions

 __init__ (self, parent, cmd_id)
 
 activate (self, ctx)
 
 update (self, ctx)
 
- Public Member Functions inherited from action_handler_t

Public Attributes

 parent = parent
 
 cmd_id = cmd_id
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
parent,
cmd_id )

Reimplemented from action_handler_t.

Member Function Documentation

◆ activate()

activate ( self,
ctx )
Activate an action. This function implements the core behavior of an action. It is called when the action is triggered, from a menu, from a popup menu, from the toolbar, or programmatically. 

@returns non-zero: all IDA windows will be refreshed

Reimplemented from action_handler_t.

◆ update()

update ( self,
ctx )
Update an action. This is called when the context of the UI changed, and we need to let the action update some of its properties if needed (label, icon, ...)
In addition, this lets IDA know whether the action is enabled, and when it should be queried for availability again.
Note: This callback is not meant to change anything in the application's state, except by calling one (or many) of the "update_action_*()" functions on this very action. 

Reimplemented from action_handler_t.

Member Data Documentation

◆ cmd_id

cmd_id = cmd_id

◆ parent

parent = parent

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