Top | ![]() |
![]() |
![]() |
![]() |
GcrCollection * | collection | Read / Write / Construct Only |
gpointer | columns | Read / Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkTreeView ╰── GcrTreeSelector
GcrTreeSelector implements AtkImplementorIface, GtkBuildable and GtkScrollable.
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.
const GcrColumn *
gcr_tree_selector_get_columns (GcrTreeSelector *self
);
Get the columns displayed in a selector in multiple mode.
[skip]
GcrTreeSelector * gcr_tree_selector_new (GcrCollection *collection
,const GcrColumn *columns
);
Create a new GcrTreeSelector.
[skip]
GList *
gcr_tree_selector_get_selected (GcrTreeSelector *self
);
Get a list of selected objects.
the list of selected
objects, to be released with g_list_free()
.
[transfer container][element-type GObject.Object]
void gcr_tree_selector_set_selected (GcrTreeSelector *self
,GList *selected
);
Select certain objects in the selector.
“collection”
property“collection” GcrCollection *
The collection which contains the objects to display in the selector.
Flags: Read / Write / Construct Only
“columns”
property“columns” gpointer
The columns to use to display the objects.
Flags: Read / Write / Construct Only