Gtk::TreeRowReference Class Reference
[TreeView Classes]
Typedefed as Gtk::TreeModel::RowReference. More...
List of all members.
Detailed Description
Typedefed as Gtk::TreeModel::RowReference.
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.
Constructor & Destructor Documentation
Gtk::TreeRowReference::TreeRowReference |
( |
|
) |
|
Gtk::TreeRowReference::TreeRowReference |
( |
GtkTreeRowReference * |
gobject, |
|
|
bool |
make_a_copy = true | |
|
) |
| | [explicit] |
Gtk::TreeRowReference::~TreeRowReference |
( |
|
) |
|
Member Function Documentation
Returns the model that the row reference is monitoring.
- Since gtkmm 2.8:
- Returns:
- The model.
Returns the model that the row reference is monitoring.
- Since gtkmm 2.8:
- Returns:
- The model.
Returns a path that the row reference currently points to, or 0
if the path pointed to is no longer valid.
- Returns:
- A current path, or
0
.
const GtkTreeRowReference* Gtk::TreeRowReference::gobj |
( |
|
) |
const [inline] |
Provides access to the underlying C instance.
GtkTreeRowReference* Gtk::TreeRowReference::gobj |
( |
|
) |
[inline] |
Provides access to the underlying C instance.
GtkTreeRowReference* Gtk::TreeRowReference::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 Gtk::TreeRowReference::is_valid |
( |
|
) |
const |
Returns true
if the reference is non-0
and refers to a current valid path.
- Returns:
true
if reference points to a valid path.
Gtk::TreeRowReference::operator bool |
( |
|
) |
const |
Friends And Related Function Documentation
A Glib::wrap() method for this object.
- Parameters:
-
| object | The C instance. |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns:
- A C++ instance that wraps this C instance.
Member Data Documentation
The documentation for this class was generated from the following file: