Class

GcrUiCertificateWidget

Description [src]

class GcrUi.CertificateWidget : Gtk.Bin {
  /* No available fields */
}

A widget that can be used to display a certificate.

A certificate widget is normally in a collapsed state showing only details, but can be expanded by the user.

Use gcr_certificate_widget_new() to create a new certificate widget. Only one certificate can be displayed. It contains a GcrViewer internally and GcrCertificateRenderer is used to render the certificate to the viewer.

To show more than one certificate in a view, create the viewer and add renderers to it.

Ancestors

  • GtkBin
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkBuildable

Constructors

gcr_certificate_widget_new

Create a new certificate widget which displays a given certificate.

Instance methods

gcr_certificate_widget_get_attributes

Get the attributes displayed in the widget. The attributes should contain a certificate.

gcr_certificate_widget_get_certificate

Get the certificate displayed in the widget.

gcr_certificate_widget_set_attributes

Set the attributes displayed in the widget. The attributes should contain a certificate.

gcr_certificate_widget_set_certificate

Set the certificate displayed in the widget.

Properties

GcrUi.CertificateWidget:attributes
No description available.
GcrUi.CertificateWidget:certificate
No description available.

Class structure

struct GcrUiCertificateWidgetClass {
  /* no available fields */
}