Class

GcrUiComboSelector

Description [src]

class GcrUi.ComboSelector : Gtk.ComboBox {
  parent: GtkComboBox
}

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.

Ancestors

  • GtkComboBox
  • GtkBin
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkBuildable
  • GtkCellEditable
  • GtkCellLayout

Constructors

gcr_combo_selector_new

Create a new GcrTreeSelector.

Instance methods

gcr_combo_selector_get_collection

Get the collection that this selector is displaying objects from.

gcr_combo_selector_get_selected

Get the selected object in the selector, or NULL if nothing selected.

gcr_combo_selector_set_selected

Set the currently selected object in the selector, or clear the selection if selected is set to NULL.

Properties

GcrUi.ComboSelector:collection

The collection which contains the objects to display in the selector.

Class structure

struct GcrUiComboSelectorClass {
  /* no available fields */
}