Gtk.TreeView.get_model

### Method

# Gtk TreeViewget_model

#### Declaration [src]

    GtkTreeModel*
    gtk_tree_view_get_model (
      GtkTreeView* tree_view
    )

#### Description [src]

Returns the model the `GtkTreeView` is based on. Returns `NULL` if the model is unset.

Gets property | `Gtk.TreeView:model`

#### Return value

Type: `GtkTreeModel`

A `GtkTreeModel`

The data is owned by the instance.
The return value can be `NULL`.