gtkmm 4.14.0
Public Types | Public Member Functions | List of all members
Gtk::TreeNodeChildren Class Reference

Typedefed as TreeModel::Children. More...

#include <gtkmm/treeiter.h>

Inheritance diagram for Gtk::TreeNodeChildren:
Inheritance graph

Public Types

using value_type = Gtk::TreeRow
using iterator = Gtk::TreeIter< Gtk::TreeRow >
- Public Types inherited from Gtk::TreeNodeConstChildren
using value_type = Gtk::TreeConstRow
using size_type = unsigned int
using difference_type = int
using const_iterator = Gtk::TreeIter< Gtk::TreeConstRow >

Public Member Functions

iterator begin ()
iterator end ()
value_type operator[] (size_type index)
const_iterator begin () const
const_iterator end () const
- Public Member Functions inherited from Gtk::TreeNodeConstChildren
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.
- 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.
const GtkTreeIter * gobj () const
 Provides access to the underlying C instance.

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.
- Protected Attributes inherited from Gtk::TreeIterBase
GtkTreeIter gobject_

Detailed Description

Typedefed as TreeModel::Children.

Virtual container of TreeModel::Row items.

4.10: Use Gio::ListModel instead.

Member Typedef Documentation

◆ iterator

◆ value_type

Member Function Documentation

◆ begin() [1/2]

iterator Gtk::TreeNodeChildren::begin ( )

◆ begin() [2/2]

const_iterator Gtk::TreeNodeConstChildren::begin ( ) const

◆ end() [1/2]

iterator Gtk::TreeNodeChildren::end ( )

◆ end() [2/2]

const_iterator Gtk::TreeNodeConstChildren::end ( ) const

◆ operator[]()

value_type Gtk::TreeNodeChildren::operator[] ( size_type  index)