Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Glib::RefPtr< TreeModel > Gtk::TreeView::get_model (  ) 

Returns the model the the Gtk::TreeView is based on. Returns 0 if the model is unset.

A Gtk::TreeModel, or 0 if none is currently being used.

Definition at line 1125 of file treeview.cc.

References gobj().

Referenced by _get_base_model().


  Glib::RefPtr<TreeModel> retvalue = Glib::wrap(gtk_tree_view_get_model(gobj()));

    retvalue->reference(); //The function does not do a ref for us.
  return retvalue;

Generated by  Doxygen 1.6.0   Back to index