Class

GcrUiViewerWidget

Description [src]

final class GcrUi.ViewerWidget : Gtk.Box {
  /* No available fields */
}

A viewer widget which can display certificates and keys that are located in files.

Ancestors

  • GtkBox
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkBuildable
  • GtkOrientable

Constructors

gcr_viewer_widget_new

Create a new viewer widget.

Instance methods

gcr_viewer_widget_clear_error

Clear the error displayed on the viewer widget.

gcr_viewer_widget_get_display_name

Get the display name for data being displayed. This is automatically calculated from a loaded file, or can be explicitly set.

gcr_viewer_widget_get_parser

Get the parser used to parse loaded data into viewable items.

gcr_viewer_widget_get_viewer

Get the viewer used to display the viewable items.

gcr_viewer_widget_load_bytes

Parse and load some data to be displayed into the viewer widgets. The data may contain multiple parseable items if the format can contain multiple items.

gcr_viewer_widget_load_data

Parse and load some data to be displayed into the viewer widgets. The data may contain multiple parseable items if the format can contain multiple items.

gcr_viewer_widget_load_file

Display contents of a file in the viewer widget. Multiple files can be loaded.

gcr_viewer_widget_set_display_name

Set the display name for data being displayed. Once explicitly set it will no longer be calculated automatically by loading data.

gcr_viewer_widget_show_error

Show an error on the viewer widget. This is displayed on a info bar near the edge of the widget.

Properties

GcrUi.ViewerWidget:display-name

Display name for data being displayed. This is automatically calculated from a loaded file, or can be explicitly set.

GcrUi.ViewerWidget:parser

The parser used to parse loaded data into viewable items.

Signals

GcrUi.ViewerWidget::added

This signal is emitted when an item is added to the viewer widget.

Class structure

struct GcrUiViewerWidgetClass {
  GtkBoxClass parent_class;
  
}
Class members
parent_class
GtkBoxClass
  No description available.