1.1.5.4. main
¶
This module provides the main window used by the client application.
1.1.5.4.1. Classes¶
-
class
MainAppWindow
(config, application)[source]¶ Bases:
Gtk.ApplicationWindow
This is the top level King Phisher client window. This is also the parent window for most GTK objects.
-
__init__
(config, application)[source]¶ Parameters: - config (dict) – The main King Phisher client configuration.
- application (
KingPhisherClientApplication
) – The application instance to which this window belongs.
-
export_campaign_visit_geojson
()[source]¶ Export the current campaign visit information to a GeoJSON data file.
-
notebook
= None[source]¶ The primary
Gtk.Notebook
that holds the top level taps of the client GUI.
-
rpc
= None[source]¶ The
KingPhisherRPCClient
instance.
-
-
class
MainMenuBar
(application, window)[source]¶ Bases:
king_phisher.client.gui_utilities.GladeGObject
The main menu bar for the primary application window. This configures any optional menu items as well as handles all the menu item signals appropriately.
-
__init__
(application, window)[source]¶ Parameters: application ( Gtk.Application
) – The parent application for this object.
-