Class
GcrUiKeyWidget
Description [src]
final class GcrUi.KeyWidget : Gtk.Bin {
/* No available fields */
}
A key widget and renderer
A key widget can be used to display a RSA, DSA or EC key. The widget is normally in a collapsed state showing only details, but can be expanded by the user.
Use gcr_key_widget_new()
to create a new key widget. Only one key can be
displayed. A key widget contains a GcrViewer
internally and
GcrKeyRenderer
is used to render the key to the viewer. To show more
than one key in a view, create the viewer and add renderers to it.
Constructors
gcr_key_widget_new
Create a new key widget which displays a given key in the attributes.
Instance methods
gcr_key_widget_get_attributes
Get the attributes displayed in the widget.
gcr_key_widget_set_attributes
Get the attributes displayed in the widget. The attributes should represent either an RSA, DSA or EC key in PKCS#11 style.
Properties
GcrUi.KeyWidget:attributes
No description available.