gcr-certificate-widget

## gcr-certificate-widget gcr-certificate-widget |

## Synopsis

    #define             GCR_CERTIFICATE_COLUMNS
    struct              GcrCertificateWidget;
    struct              GcrCertificateWidgetClass;
    struct              GcrCertificateRenderer;
    struct              GcrCertificateRendererClass;
    GcrCertificateWidget * gcr_certificate_widget_new       (GcrCertificate *certificate);
    GcrCertificate *    gcr_certificate_widget_get_certificate
                                                            (GcrCertificateWidget *self);
    void                gcr_certificate_widget_set_certificate
                                                            (GcrCertificateWidget *self,
                                                             GcrCertificate *certificate);
    GcrCertificateRenderer * gcr_certificate_renderer_new   (GcrCertificate *certificate);
    GcrCertificateRenderer * gcr_certificate_renderer_new_for_attributes
                                                            (const gchar *label,
                                                             struct _GckAttributes *attrs);
    GcrCertificate *    gcr_certificate_renderer_get_certificate
                                                            (GcrCertificateRenderer *self);
    void                gcr_certificate_renderer_set_certificate
                                                            (GcrCertificateRenderer *self,
                                                             GcrCertificate *certificate);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBin
                               +----GcrCertificateWidget

      GObject
       +----GcrCertificateRenderer

## Implemented Interfaces

GcrCertificateWidget implements AtkImplementorIface and GtkBuildable.

GcrCertificateRenderer implements GcrRenderer, GcrComparableIface and GcrCertificate.

## Properties

      "attributes"               GckAttributes*        : Read / Write
      "certificate"              GcrCertificate*       : Read / Write
      "attributes"               GckAttributes*        : Read / Write
      "certificate"              GcrCertificate*       : Read / Write
      "label"                    gchar*                : Read / Write

## Description

## Details

### GCR_CERTIFICATE_COLUMNS

    #define GCR_CERTIFICATE_COLUMNS                 (gcr_certificate_get_columns ())

The columns that are valid for a certificate. This is to be used with the GcrTreeSelector or GcrCollectionModel.

This is an array of GcrColumn, owned by the gcr library.

### struct GcrCertificateWidget

    struct GcrCertificateWidget;

### struct GcrCertificateWidgetClass

    struct GcrCertificateWidgetClass {
    };

### struct GcrCertificateRenderer

    struct GcrCertificateRenderer;

### struct GcrCertificateRendererClass

    struct GcrCertificateRendererClass {
    	GObjectClass parent_class;
    };

### gcr_certificate_widget_new ()

    GcrCertificateWidget * gcr_certificate_widget_new       (GcrCertificate *certificate);

### gcr_certificate_widget_get_certificate ()

    GcrCertificate *    gcr_certificate_widget_get_certificate
                                                            (GcrCertificateWidget *self);

### gcr_certificate_widget_set_certificate ()

    void                gcr_certificate_widget_set_certificate
                                                            (GcrCertificateWidget *self,
                                                             GcrCertificate *certificate);

### gcr_certificate_renderer_new ()

    GcrCertificateRenderer * gcr_certificate_renderer_new   (GcrCertificate *certificate);

### gcr_certificate_renderer_new_for_attributes ()

    GcrCertificateRenderer * gcr_certificate_renderer_new_for_attributes
                                                            (const gchar *label,
                                                             struct _GckAttributes *attrs);

### gcr_certificate_renderer_get_certificate ()

    GcrCertificate *    gcr_certificate_renderer_get_certificate
                                                            (GcrCertificateRenderer *self);

### gcr_certificate_renderer_set_certificate ()

    void                gcr_certificate_renderer_set_certificate
                                                            (GcrCertificateRenderer *self,
                                                             GcrCertificate *certificate);

## Property Details

### The `"attributes"` property

      "attributes"               GckAttributes*        : Read / Write

Attributes which contain the certificate.

### The `"certificate"` property

      "certificate"              GcrCertificate*       : Read / Write

Certificate to display.

### The `"attributes"` property

      "attributes"               GckAttributes*        : Read / Write

Certificate pkcs11 attributes.

### The `"certificate"` property

      "certificate"              GcrCertificate*       : Read / Write

Certificate to display.

### The `"label"` property

      "label"                    gchar*                : Read / Write

Certificate Label.

Default value: ""