Class

GcrUiImportButton

Description [src]

class GcrUi.ImportButton : Gtk.Button {
  parent: GtkButton
}

A button which imports keys and certificates.

The import button shows a spinner when the button is activated. When more than one importer is available, it shows a drop down to select which to import to.

Ancestors

  • GtkButton
  • GtkBin
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkActionable
  • GtkActivatable
  • GtkBuildable

Constructors

gcr_import_button_new

Create a new GcrImportButton.

Instance methods

gcr_import_button_add_parsed

Queue an item to import via the button.

Signals

GcrUi.ImportButton::imported

Signal emitted when an import completes or fails.

GcrUi.ImportButton::importing

Signal emitted when an import begins.

Class structure

struct GcrUiImportButtonClass {
  GtkButtonClass parent_class;
  void (* importing) (
    GcrImportButton* self,
    GcrImporter* importer
  );
  void (* imported) (
    GcrImportButton* self,
    GcrImporter* importer,
    GError* error
  );
  
}
Class members
parent_class
GtkButtonClass
 

The parent class.

importing
void (* importing) (
    GcrImportButton* self,
    GcrImporter* importer
  )
  No description available.
imported
void (* imported) (
    GcrImportButton* self,
    GcrImporter* importer,
    GError* error
  )
  No description available.

Virtual methods

GcrUi.ImportButtonClass.imported
No description available.
GcrUi.ImportButtonClass.importing
No description available.