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:
[legend ] List of all members.
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]
Member Function Documentation
void Gtk::ListStore::clear
(
)
Removes all rows from the list store.
const GtkListStore* Gtk::ListStore::gobj
(
)
const [inline]
GtkListStore* Gtk::ListStore::gobj
(
)
[inline]
GtkListStore* Gtk::ListStore::gobj_copy
(
)
bool Gtk::ListStore::iter_is_valid
(
const iterator &
iter
)
const
WARNING: This function is slow.
Only use it for debugging and/or testing purposes.
Checks if the given iter is a valid iter for this Gtk::ListStore.
Parameters:
Returns: true
if the iter is valid, false
if the iter is invalid.
Since: 2.2.
Swaps a and b in store .
Note that this function only works with unsorted stores.
Since: 2.2
Parameters:
void Gtk::ListStore::move
(
const iterator &
source ,
const iterator &
destination
)
Moves source to the position at destination.
Note that this function only works with unsorted stores.
Parameters:
source The row that should be moved.
destination The position to move to.
Reorders the list store to follow the order indicated by new_order.
Note that this function only works with unsorted stores.
virtual void Gtk::ListStore::set_value_impl
(
const iterator &
row ,
int
column ,
const Glib::ValueBase &
value
)
[protected, virtual]
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