logo top
Main Page   Widgets   Namespaces   Book  

Gtk::ListStore Class Reference
[TreeView Classes]

Thist is a list model for use with a Gtk::TreeView widget. More...

Inheritance diagram for Gtk::ListStore:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~ListStore ()
GtkListStore* gobj ()
const GtkListStore* gobj () const
GtkListStore* gobj_copy ()
iterator erase (const iterator& iter)
iterator insert (const iterator& iter)
iterator prepend ()
iterator append ()
void clear ()
 Removes all rows from the list store.


Static Public Methods

Glib::RefPtr<ListStore> create (const TreeModelColumnRecord& columns)

Protected Methods

 ListStore (const TreeModelColumnRecord& columns)
virtual void set_value_impl (const iterator& row, int column, const Glib::ValueBase& value)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gtk::ListStore> wrap (GtkListStore* object, bool take_copy=false)

Detailed Description

Thist is a list model for use with a Gtk::TreeView widget.

It implements the Gtk::TreeModel interface, and also implements the Gtk::TreeSortable interface so you can sort the list using the view. Finally, it also implements the tree drag and drop interfaces.


Constructor & Destructor Documentation

virtual Gtk::ListStore::~ListStore (   [virtual]
 

Gtk::ListStore::ListStore ( const TreeModelColumnRecord   columns [explicit, protected]
 


Member Function Documentation

iterator Gtk::ListStore::append (  
 

void Gtk::ListStore::clear (  
 

Removes all rows from the list store.

Glib::RefPtr<ListStore> Gtk::ListStore::create ( const TreeModelColumnRecord   columns [static]
 

iterator Gtk::ListStore::erase ( const iterator   iter
 

const GtkListStore* Gtk::ListStore::gobj (   const [inline]
 

Reimplemented from Gtk::TreeDragDest.

GtkListStore* Gtk::ListStore::gobj (   [inline]
 

Reimplemented from Gtk::TreeDragDest.

GtkListStore* Gtk::ListStore::gobj_copy (  
 

iterator Gtk::ListStore::insert ( const iterator   iter
 

iterator Gtk::ListStore::prepend (  
 

virtual void Gtk::ListStore::set_value_impl ( const iterator   row,
int    column,
const Glib::ValueBase   value
[protected, virtual]
 

Reimplemented from Gtk::TreeModel.


Friends And Related Function Documentation

Glib::RefPtr<Gtk::ListStore> wrap ( GtkListStore*    object,
bool    take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm by Doxygen 1.3-rc1 © 1997-2001