Class
GcrUiKeyRenderer
Description [src]
class GcrUi.KeyRenderer : GObject.Object {
parent: GObject
}
An implementation of GcrRenderer
which renders keys.
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 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
Properties inherited from GcrRenderer (2)
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.