Class

GcrUiKeyRenderer

Description [src]

class GcrUi.KeyRenderer : GObject.Object {
  parent: GObject
}

An implementation of GcrRenderer which renders keys.

Ancestors

Implements

Constructors

gcr_key_renderer_new

Create a new key renderer which renders a given key in the attributes.

Instance methods

gcr_key_renderer_get_attributes

Get the attributes displayed in the renderer.

gcr_key_renderer_set_attributes

Get the attributes displayed in the renderer. The attributes should represent either an RSA, DSA, or EC key in PKCS#11 style.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GcrRenderer (5)
gcr_renderer_emit_data_changed

Emit the GcrRenderer::data-changed signal on the renderer. This is used by renderer implementations.

gcr_renderer_get_attributes

Get the PKCS#11 attributes, if any, set for this renderer to display.

gcr_renderer_popuplate_popup

Called by GcrViewer when about to display a popup menu for the content displayed by the renderer. The renderer can add a menu item if desired.

gcr_renderer_render_view

Render the contents of the renderer to the given viewer.

gcr_renderer_set_attributes

Set the PKCS#11 attributes for this renderer to display.

Properties

GcrUi.KeyRenderer:object
No description available.
Properties inherited from GcrRenderer (2)
GcrUi.Renderer:attributes

The attributes to display.

GcrUi.Renderer:label

The label to display.

Signals

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Signals inherited from GcrRenderer (1)
GcrUi.Renderer::data-changed

A signal that is emitted by the renderer when it’s data changed and should be rerendered.

Class structure

struct GcrUiKeyRendererClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
 

The parent class.