GcrUi – 3
Description: Reference for GcrUi-3

### Namespace

# GcrUi – 3

Library providing GTK widgets for high level crypto

Version | 3
Authors | GCR contributors
License | LGPL-2.0-or-later
Website |
Source | https://gitlab.gnome.org/GNOME/gcr/

#### Build

C headers | `ui/gcr-ui.h`
pkg-config files | `gcr-ui-3`

#### Dependencies

GObject—2.0 | The base type system library
| Browse documentation
Gio—2.0 | GObject interfaces and objects
| Browse documentation
Gck—1 | GObject bindings for PKCS#11
| Browse documentation
Gcr—3 | GObject library for high level crypto parsing
| Browse documentation
Gtk—3.0 | The GTK UI toolkit
| Browse documentation

#### Additional documentation

- Widget gallery
- Classes Hierarchy

#### Classes

CertificateRenderer | An implementation of `GcrRenderer` which renders certificates.
CertificateWidget | A widget that can be used to display a certificate.
CollectionModel | Ain implementation of a `GtkTreeModel` which contains a row for each object in a `GcrCollection`.
ComboSelector | A widget that can be used to select a certificate or key. It allows the user to select one object from the selector at a time.
FailureRenderer | A renderer that can be used for unsupported data.
ImportButton | A button which imports keys and certificates.
KeyRenderer | An implementation of `GcrRenderer` which renders keys.
KeyWidget | A key widget and renderer.
ListSelector | A selector widget to select 1 or more certificates or keys from a list.
PromptDialog | A `GcrPrompt` implementation which shows a GTK dialog. The dialog will remain visible (but insensitive) between prompts. If the user cancels the dialog between prompts, then the dialog will be hidden.
SecureEntryBuffer | A `GtkEntryBuffer` that uses non-pageable memory.
TreeSelector | A tree selector can be used to select certificates or keys. It allows the user to select multiple objects from a tree.
UnlockOptionsWidget | This widget displays a set of unlock options for the user to select.
ViewerWidget | A viewer widget which can display certificates and keys that are located in files.

#### Interfaces

Renderer | An interface that’s implemented by renderers which wish to render data to a `GcrViewer`.
Viewer | An abstract interface that represents a widget that can hold various renderers and display their contents.

#### Enumerations

CollectionModelMode | If a `GcrCollectionModel` is created with a mode of `GCR_COLLECTION_MODEL_TREE`, then any included objects that are themselves a `GcrCollection`, will have all child objects include as child rows in a tree form.