gtkmm: Gtk::TreeNodeConstChildren Class Reference

Typedefed as TreeModel::ConstChildren. More...

#include <gtkmm/treeiter.h>

Inheritance diagram for Gtk::TreeNodeConstChildren:

Public Types

using value_type = Gtk::TreeConstRow
using size_type = unsigned int
using difference_type = int
using const_iterator = Gtk::TreeIter< Gtk::TreeConstRow >

Public Member Functions

const_iterator begin () const
const_iterator end () const
const value_type operator[] (size_type index) const
size_type size () const
bool empty () const
 operator bool () const
 Discover whether this is a valid container. More...

- Public Member Functions inherited from Gtk::TreeIterBase
 TreeIterBase (const TreeIterBase& other) noexcept
TreeIterBaseoperator= (const TreeIterBase& other) noexcept
 TreeIterBase (TreeIterBase&& other) noexcept
TreeIterBaseoperator= (TreeIterBase&& other) noexcept
 TreeIterBase ()
 TreeIterBase (const GtkTreeIter* gobject)
GtkTreeIter* gobj ()
 Provides access to the underlying C instance. More...

const GtkTreeIter* gobj () const
 Provides access to the underlying C instance. More...


Additional Inherited Members

- Static Public Member Functions inherited from Gtk::TreeIterBase
static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system. More...

- Protected Attributes inherited from Gtk::TreeIterBase
GtkTreeIter gobject_

Detailed Description

Typedefed as TreeModel::ConstChildren.

Virtual container of TreeModel::ConstRow items.

TreeNodeConstChildren is a const version of TreeNodeChildren. TreeNodeConstChildren does not contain methods for modifying the underlying TreeModel.

See also

Member Typedef Documentation

Member Function Documentation

const_iterator Gtk::TreeNodeConstChildren::begin ( ) const
bool Gtk::TreeNodeConstChildren::empty ( ) const
const_iterator Gtk::TreeNodeConstChildren::end ( ) const
Gtk::TreeNodeConstChildren::operator bool ( ) const

Discover whether this is a valid container.

For instance,

if (children)
Since gtkmm 3.22:
const value_type Gtk::TreeNodeConstChildren::operator[] ( size_type  index) const
size_type Gtk::TreeNodeConstChildren::size ( ) const