### 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. since: 3
CertificateWidget | A widget that can be used to display a certificate. since: 3
CollectionModel | Ain implementation of a `GtkTreeModel` which contains a row for each object in a `GcrCollection`. since: 3
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. since: 3
FailureRenderer | A renderer that can be used for unsupported data. since: 3
ImportButton | A button which imports keys and certificates. since: 3
KeyRenderer | An implementation of `GcrRenderer` which renders keys. since: 3
KeyWidget | A key widget and renderer. since: 3
ListSelector | A selector widget to select 1 or more certificates or keys from a list. since: 3
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. since: 3
SecureEntryBuffer | A `GtkEntryBuffer` that uses non-pageable memory. since: 3
TreeSelector | A tree selector can be used to select certificates or keys. It allows the user to select multiple objects from a tree. since: 3
UnlockOptionsWidget | This widget displays a set of unlock options for the user to select. since: 3
ViewerWidget | A viewer widget which can display certificates and keys that are located in files. since: 3

#### Interfaces

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

#### 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. since: 3