![]() |
![]() |
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 | |
Glib::RefPtr<const TreeModel> | get_model () const |
Returns the model which reference is monitoring in order to appropriately the path. | |
Glib::RefPtr<TreeModel> | get_model () |
Returns the model which reference is monitoring in order to appropriately the path. | |
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. | |
const GtkTreeRowReference* | gobj () const |
Provides access to the underlying C instance. | |
GtkTreeRowReference* | gobj () |
Provides access to the underlying C instance. | |
GtkTreeRowReference* | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | |
bool | is_valid () const |
Returns true if the reference is non-0 and refers to a current valid path. | |
operator bool () const | |
The same as is_valid(). | |
TreeRowReference& | operator= (const TreeRowReference& other) |
void | swap (TreeRowReference& other) |
TreeRowReference (const Glib::RefPtr<TreeModel>& model, const TreeModel::Path& path) | |
TreeRowReference (const TreeRowReference& other) | |
TreeRowReference (GtkTreeRowReference* gobject, bool make_a_copy=true) | |
TreeRowReference () | |
~TreeRowReference () | |
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 the model which reference is monitoring in order to appropriately the path.
|
|
Returns the model which reference is monitoring in order to appropriately the path.
|
|
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.
|
|
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
|
|
Returns
|
|
The same as is_valid().
|
|
|
|
|
|
|
|
|
|
|