InfGtk.CertificateView

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Grid Gtk.Grid Gtk.Container->Gtk.Grid InfGtk.CertificateView InfGtk.CertificateView Gtk.Grid->InfGtk.CertificateView Gtk.Orientable->Gtk.Grid Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Grid (21), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new ()

class

new_with_certificate (cert)

set_certificate (cert)

Virtual Methods

Inherited:

Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Grid (5), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Name

Type

Flags

Short Description

certificate

int

r/w

The certificate to show

Child Properties

Inherited:

Gtk.Grid (4)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent

Gtk.Grid

r

Class Details

class InfGtk.CertificateView(**kwargs)
Bases:

Gtk.Grid

Abstract:

No

Structure:

InfGtk.CertificateViewClass

classmethod new()
Returns:

A new InfGtk.CertificateView.

Return type:

Gtk.Widget

Creates a new InfGtk.CertificateView. To show a certificate, use InfGtk.CertificateView.set_certificate() on the returned widget.

classmethod new_with_certificate(cert)
Parameters:

cert (InfGnutls.X509Crt) – The certificate to show.

Returns:

A new InfGtk.CertificateView.

Return type:

Gtk.Widget

Creates a new InfGtk.CertificateView showing the given certificate. This is the same as creating a new certificate view and calling InfGtk.CertificateView.set_certificate() afterwards.

cert must not be freed as long as the certificate view is showing it. You can make the view not showing it anymore by calling InfGtk.CertificateView.set_certificate() with None as certificate.

set_certificate(cert)
Parameters:

cert (InfGnutls.X509Crt) – The certificate to show.

Shows the given certificate in self.

cert must not be freed as long as the certificate view is showing it. You can make the view not showing it anymore by calling InfGtk.CertificateView.set_certificate() with None as certificate.

Property Details

InfGtk.CertificateView.props.certificate
Name:

certificate

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE

The certificate to show