|  |  |  | Gcr Library Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
struct GcrComboSelector; struct GcrComboSelectorClass; GcrCollection * gcr_combo_selector_get_collection (GcrComboSelector *self); const GcrColumn * gcr_combo_selector_get_columns (GcrComboSelector *self); GcrComboSelector * gcr_combo_selector_new (GcrCollection *collection); GObject * gcr_combo_selector_get_selected (GcrComboSelector *self); void gcr_combo_selector_set_selected (GcrComboSelector *self,GObject *selected);
The GcrComboSelector can be used to select a certificate or key. It allows the user to select one object from the selector at a time.
struct GcrComboSelector {
	GtkComboBox parent;
};
A combo selector widget.
| GtkComboBox  | Parent object | 
GcrCollection *     gcr_combo_selector_get_collection   (GcrComboSelector *self);
Get the collection that this selector is displaying objects from.
| 
 | The selector | 
| Returns : | The collection, owned by the selector. | 
const GcrColumn *   gcr_combo_selector_get_columns      (GcrComboSelector *self);
GObject *           gcr_combo_selector_get_selected     (GcrComboSelector *self);
Get the selected object in the selector, or NULL if nothing selected.
| 
 | The selector | 
| Returns : | The selected object, owned by the selector, or NULL. | 
void gcr_combo_selector_set_selected (GcrComboSelector *self,GObject *selected);
Set the currently selected object in the selector, or clear the selection
if selected is set to NULL.
| 
 | The selector | 
| 
 | The object to select or NULL. |