GcrUi.TreeSelector.new
Description: Reference for GcrUi.TreeSelector.new

### Constructor

# GcrUi TreeSelectornew

#### Declaration [src]

    GcrTreeSelector*
    gcr_tree_selector_new (
      GcrCollection* collection,
      const GcrColumn* columns
    )

#### Description [src]

Create a new `GcrTreeSelector`.

This method is not directly available to language bindings.

#### Parameters

`collection`

  Type: `GcrCollection`

  The collection that contains the objects to display.

  The data is owned by the caller of the function.

`columns`

  Type: `GcrColumn`

  The columns to use to display the objects.

  The data is owned by the caller of the function.

#### Return value

Type: `GcrTreeSelector`

A newly allocated selector, which should be released with `g_object_unref()`

The caller of the function takes ownership of the data, and is responsible for freeing it.