|  |  |  | Gcr Library Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct GcrTreeSelector; struct GcrTreeSelectorClass; GcrCollection * gcr_tree_selector_get_collection (GcrTreeSelector *self); const GcrColumn * gcr_tree_selector_get_columns (GcrTreeSelector *self); GcrTreeSelector * gcr_tree_selector_new (GcrCollection *collection,const GcrColumn *columns); GList * gcr_tree_selector_get_selected (GcrTreeSelector *self); void gcr_tree_selector_set_selected (GcrTreeSelector *self,GList *selected);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkTreeView +----GcrTreeSelector
GcrTreeSelector implements AtkImplementorIface, GtkBuildable and GtkScrollable.
"collection" GcrCollection* : Read / Write / Construct Only "columns" gpointer : Read / Write / Construct Only
The GcrTreeSelector can be used to select certificates or keys. It allows the user to select multiple objects from a tree.
GcrCollection *     gcr_tree_selector_get_collection    (GcrTreeSelector *self);
Get the collection that this selector is displaying objects from.
| 
 | The selector | 
| Returns : | the collection, owned by the selector. [transfer none] | 
const GcrColumn *   gcr_tree_selector_get_columns       (GcrTreeSelector *self);
Get the columns displayed in a selector in multiple mode.
| 
 | The selector | 
| Returns : | The columns, owned by the selector. [transfer none] | 
GcrTreeSelector * gcr_tree_selector_new (GcrCollection *collection,const GcrColumn *columns);
Create a new GcrTreeSelector.
| 
 | The collection that contains the objects to display | 
| 
 | The columns to use to display the objects | 
| Returns : | a newly allocated selector, which should be
released with g_object_unref(). [transfer full] | 
GList *             gcr_tree_selector_get_selected      (GcrTreeSelector *self);
Get a list of selected objects.
| 
 | The selector | 
| Returns : | the list of selected
objects, to be released with g_list_free(). [transfer container][element-type GLib.Object] | 
void gcr_tree_selector_set_selected (GcrTreeSelector *self,GList *selected);
Select certain objects in the selector.
| 
 | The selector | 
| 
 | The list of objects to select. [element-type GLib.Object] | 
"collection" property"collection" GcrCollection* : Read / Write / Construct Only
The collection which contains the objects to display in the selector.
"columns" property"columns" gpointer : Read / Write / Construct Only
The columns to use to display the objects.