FIRST :: Callbacks

class first_plugin_ida.first.FIRST[source]
class Callbacks[source]

Callbacks for FIRST’s Dialog UI components.

This class contains only static methods and should be accessed as such.

class Update[source]

Updating callback class.

This class is basic and sets up data and complete callbacks for the add operation.

Parameters:dialog (FIRSTUI.Update) – Dialog box the accepted button was selected.
class Upload(dialog)[source]

Uploading/Adding callback class.

This class is basic and sets up data and complete callbacks for the add operation.

Parameters:dialog (FIRSTUI.Upload or FIRSTUI.UploadAll) – Dialog box the accepted button was selected.
message

Format string for the wait box message.

Type:str
message = 'Uploading metadata for {0} function(s)\n {1}% complete'
static accepted(fclass, dialog)[source]

Registered callback for accept dialog action.

Parameters:
  • fclass (idaapi.PluginForm) – The plugin form part of
  • dialog (FIRSTUI.*) – A dialog box object.
static check(dialog)[source]

Check and CheckAll dialog box handler.

Parameters:dialog (FIRSTUI.Check or FIRSTUI.CheckAll) – Check or CheckAll dialog box.
static welcome(dialog)[source]

Welcome dialog box handler.

Parameters:dialog (FIRSTUI.Welcome) – Welcome dialog box.