Google

logo top
Main Page   Widgets   Namespaces   Book  

Gtk::TreeRowReference Class Reference
[TreeView Classes]

Typedefed as Gtk::TreeModel::RowReference. More...

List of all members.

Public Methods

 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 ()
const GtkTreeRowReference* gobj () const
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)


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 ( const TreeRowReference&    other
 

Gtk::TreeRowReference::~TreeRowReference (  
 

Gtk::TreeRowReference::TreeRowReference ( const Glib::RefPtr<TreeModel   model,
const TreeModel::Path   path
 


Member Function Documentation

TreeModel::Path Gtk::TreeRowReference::get_path (   const
 

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]
 

GtkTreeRowReference* Gtk::TreeRowReference::gobj (   [inline]
 

GtkTreeRowReference* Gtk::TreeRowReference::gobj_copy (   const
 

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 (  
 

The same as is_valid().

TreeRowReference& Gtk::TreeRowReference::operator= ( const TreeRowReference&    other
 

void Gtk::TreeRowReference::swap ( TreeRowReference&    other
 


Friends And Related Function Documentation

void swap ( TreeRowReference&    lhs,
TreeRowReference&    rhs
[related]
 

Gtk::TreeRowReference wrap ( GtkTreeRowReference*    object,
bool    take_copy = false
[related]
 


Member Data Documentation

GtkTreeRowReference* Gtk::TreeRowReference::gobject_ [protected]
 


The documentation for this class was generated from the following file:
Generated for gtkmm by Doxygen 1.3-rc1 © 1997-2001