![]() |
![]() |
This reference will keep pointing to the node pointed to by the Path, so long as it exists. It listens to all signals emitted by the Model, and updates its Path appropriately.
Public Member Functions | |
TreeRowReference () | |
TreeRowReference (GtkTreeRowReference* gobject, bool make_a_copy=true) | |
TreeRowReference (const TreeRowReference& other) | |
TreeRowReference& | operator= (const TreeRowReference& other) |
~TreeRowReference () | |
void | swap (TreeRowReference& other) |
GtkTreeRowReference* | gobj () |
Provides access to the underlying C instance. | |
const GtkTreeRowReference* | gobj () const |
Provides access to the underlying C instance. | |
GtkTreeRowReference* | gobj_copy () const |
TreeRowReference (const Glib::RefPtr<TreeModel> model, const TreeModel::Path& path) | |
operator bool () | |
The same as is_valid(). | |
TreeModel::Path | get_path () const |
Returns a path that the row reference currently points to, or 0 if the path pointed to is no longer valid. | |
bool | is_valid () const |
Returns true if the reference is non-0 and refers to a current valid path. | |
Protected Attributes | |
GtkTreeRowReference* | gobject_ |
Related Functions | |
(Note that these are not member functions.) | |
void | swap (TreeRowReference& lhs, TreeRowReference& rhs) |
Gtk::TreeRowReference | wrap (GtkTreeRowReference* object, bool take_copy=false) |
|
|
|
|
|
|
|
|
|
|
|
Returns a path that the row reference currently points to, or
|
|
Provides access to the underlying C instance.
|
|
Provides access to the underlying C instance.
|
|
|
|
Returns
|
|
The same as is_valid().
|
|
|
|
|
|
|
|
|
|
|