GcrListSelector

## GcrListSelector GcrListSelector — A selector widget to one or more certificates from a list. |

## 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.

## Properties

      "collection"               GcrCollection*        : Read / Write / Construct Only

## Description

The GcrListSelector can be used to select one or more certificates or keys. Live search is available for quick filtering.

## Details

### struct GcrListSelector

    struct GcrListSelector;

A list selector widget.

### struct GcrListSelectorClass

    struct GcrListSelectorClass {
    };

The class for GcrListSelector.

### gcr_list_selector_new ()

    GcrListSelector *   gcr_list_selector_new               (GcrCollection *collection);

Create a new GcrListSelector.

`collection` : | 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.

`self` : | 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.

`self` : | The selector
Returns : | the list of selected objects, to be released with `g_list_free()`. [transfer container][element-type GLib.Object]

### gcr_list_selector_set_selected ()

    void                gcr_list_selector_set_selected      (GcrListSelector *self,
                                                             GList *selected);

Select certain objects in the selector.

`self` : | The selector
`selected` : | the list of objects to select. [element-type GLib.Object]

## Property Details

### The `"collection"` property

      "collection"               GcrCollection*        : Read / Write / Construct Only

The collection which contains the objects to display in the selector.