|  |  |  | Gcr Library Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct GcrComboSelector; struct GcrComboSelectorClass; GcrCollection * gcr_combo_selector_get_collection (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);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkComboBox +----GcrComboSelector
GcrComboSelector implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.
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.
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. [transfer none] | 
GcrComboSelector *  gcr_combo_selector_new              (GcrCollection *collection);
Create a new GcrTreeSelector.
| 
 | The collection that contains the objects to display | 
| Returns : | A newly allocated selector, which should be released with g_object_unref(). | 
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. [transfer none] | 
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. [allow-none] | 
"collection" property"collection" GcrCollection* : Read / Write / Construct Only
The collection which contains the objects to display in the selector.