![]() |
![]() |
![]() |
libinfgtk-0.5 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
InfGtkCertificateView; GtkWidget * inf_gtk_certificate_view_new (void
); GtkWidget * inf_gtk_certificate_view_new_with_certificate (gnutls_x509_crt_t cert
); void inf_gtk_certificate_view_set_certificate (InfGtkCertificateView *view
,gnutls_x509_crt_t cert
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkNotebook +----InfGtkCertificateView
GtkWidget * inf_gtk_certificate_view_new (void
);
Creates a new InfGtkCertificateView. To show a certificate, use
inf_gtk_certificate_view_set_certificate()
on the returned widget.
Returns : |
A new InfGtkCertificateView. |
GtkWidget * inf_gtk_certificate_view_new_with_certificate
(gnutls_x509_crt_t cert
);
Creates a new InfGtkCertificateView showing the given certificate. This
is the same as creating a new certificate view and calling
inf_gtk_certificate_view_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
inf_gtk_certificate_view_set_certificate()
with NULL
as certificate.
|
The certificate to show. |
Returns : |
A new InfGtkCertificateView. |
void inf_gtk_certificate_view_set_certificate (InfGtkCertificateView *view
,gnutls_x509_crt_t cert
);
Shows the given certificate in view
.
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
inf_gtk_certificate_view_set_certificate()
with NULL
as certificate.
|
A InfGtkCertificateView. |
|
The certificate to show. |