InfGtk.CertificateView¶
- 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 |
|
class |
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Grid (5), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The certificate to show |
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class InfGtk.CertificateView(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
A new
InfGtk.CertificateView
.- Return type:
Creates a new
InfGtk.CertificateView
. To show a certificate, useInfGtk.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:
Creates a new
InfGtk.CertificateView
showing the given certificate. This is the same as creating a new certificate view and callingInfGtk.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
() withNone
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
() withNone
as certificate.