Method

Gtk.TreeView.get_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.

Return value

Returns: GtkTreeModel

A GtkTreeModel, or NULL if none is currently being used.

Ownership is not transferred to the caller
Can be NULL