1.1.1.1. campaign

1.1.1.1.1. Classes

class CampaignAssistant(application, campaign_id=None)[source]

Bases: GladeGObject

Display an assistant which walks the user through creating a new campaign or configuring an existing campaign. If no campaign_id is specified a new campaign will be created.

__init__(application, campaign_id=None)[source]
Parameters
  • application (KingPhisherClientApplication) – The application instance which this object belongs to.

  • campaign_id – The ID of the campaign to edit.

property campaign_name[source]

The string value of the configured campaign name. This may be set even when the campaign was not created, which would be the case if the user closed the window.

dependencies = <GladeDependencies name='CampaignAssistant' >[source]

A GladeDependencies instance which defines information for loading the widget from the GTK builder data.

objects_persist = False[source]

Whether objects should be automatically loaded from and saved to the configuration.

top_gobject = 'assistant'[source]

The name of the attribute to set a reference of the top level GObject to.