| Gcr Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
Synopsis
struct GcrListSelector; struct GcrListSelectorClass; GcrListSelector * gcr_list_selector_new (GcrCollection *collection); GcrCollection * gcr_list_selector_get_collection (GcrListSelector *self); GList * gcr_list_selector_get_selected (GcrListSelector *self); void gcr_list_selector_set_selected (GcrListSelector *self,GList *selected);
Object Hierarchy
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkTreeView +----GcrListSelector
Implemented Interfaces
GcrListSelector implements AtkImplementorIface, GtkBuildable and GtkScrollable.
Description
The GcrListSelector can be used to select one or more certificates or keys. Live search is available for quick filtering.
Details
gcr_list_selector_new ()
GcrListSelector * gcr_list_selector_new (GcrCollection *collection);
Create a new GcrListSelector.
|
The collection that contains the objects to display |
Returns : |
a newly allocated selector, which should be
released with g_object_unref(). [transfer full]
|
gcr_list_selector_get_collection ()
GcrCollection * gcr_list_selector_get_collection (GcrListSelector *self);
Get the collection that this selector is displaying objects from.
|
The selector |
Returns : |
The collection, owned by the selector. [transfer none] |
gcr_list_selector_get_selected ()
GList * gcr_list_selector_get_selected (GcrListSelector *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 GObject.Object]
|
gcr_list_selector_set_selected ()
void gcr_list_selector_set_selected (GcrListSelector *self,GList *selected);
Select certain objects in the selector.
|
The selector |
|
the list of objects to select. [element-type GObject.Object] |
Property Details
The "collection" property
"collection" GcrCollection* : Read / Write / Construct Only
The collection which contains the objects to display in the selector.

