
|
Main Page
Widgets
Namespaces
Book
Gtk::TreeStore Class Reference
[TreeView Classes]
Inheritance diagram for Gtk::TreeStore:
[legend]List of all members.
Constructor & Destructor Documentation
virtual Gtk::TreeStore::~TreeStore |
( |
|
) |
[virtual] |
|
Member Function Documentation
void Gtk::TreeStore::clear |
( |
|
) |
|
|
|
Removes all rows from tree_store.
|
const GtkTreeStore* Gtk::TreeStore::gobj |
( |
|
) |
const [inline] |
|
GtkTreeStore* Gtk::TreeStore::gobj |
( |
|
) |
[inline] |
|
GtkTreeStore* Gtk::TreeStore::gobj_copy |
( |
|
) |
|
|
bool Gtk::TreeStore::is_ancestor |
( |
const iterator& |
iter, |
|
|
const iterator& |
descendant |
|
) |
const |
|
|
Returns true if iter is an ancestor of descendant .
That is, iter is the parent (or grandparent or great-grandparent) of descendant . - Parameters:
-
- Returns:
true , if iter is an ancestor of descendant .
|
int Gtk::TreeStore::iter_depth |
( |
const iterator& |
iter |
) |
const |
|
|
Returns the depth of iter .
This will be 0 for anything on the root level, 1 for anything down a level, etc. - Parameters:
-
- Returns:
- The depth of iter .
|
bool Gtk::TreeStore::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::TreeStore. - Parameters:
-
- Returns:
true if the iter is valid, false if the iter is invalid.
Since: 2.2. |
|
Swaps a and b in the same level of tree_store .
Note that this function only works with unsorted stores.
Since: 2.2 - Parameters:
-
|
void Gtk::TreeStore::move |
( |
const iterator& |
source, |
|
|
const iterator& |
destination |
|
) |
|
|
|
Moves source to the position at destination.
source and destination should be at the same level. 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 children of node to follow the order indicated by new_order.
Note that this function only works with unsorted stores. |
virtual void Gtk::TreeStore::set_value_impl |
( |
const iterator& |
row, |
|
|
int |
column, |
|
|
const Glib::ValueBase& |
value |
|
) |
[protected, virtual] |
|
Friends And Related Function Documentation
Glib::RefPtr<Gtk::TreeStore> wrap |
( |
GtkTreeStore* |
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
|