![]() |
![]() |
![]() |
Gcr Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
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
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkTreeView +----GcrListSelector
GcrListSelector implements AtkImplementorIface, GtkBuildable and GtkScrollable.
The GcrListSelector can be used to select one or more certificates or keys. Live search is available for quick filtering.
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]
|
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] |
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 GLib.Object]
|
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 GLib.Object] |
"collection"
property"collection" GcrCollection* : Read / Write / Construct Only
The collection which contains the objects to display in the selector.