|
| | TreeModelFilter (TreeModelFilter &&src) noexcept |
| |
| TreeModelFilter & | operator= (TreeModelFilter &&src) noexcept |
| |
| | ~TreeModelFilter () noexcept override |
| |
| GtkTreeModelFilter * | gobj () |
| | Provides access to the underlying C GObject.
|
| |
| const GtkTreeModelFilter * | gobj () const |
| | Provides access to the underlying C GObject.
|
| |
| GtkTreeModelFilter * | gobj_copy () |
| | Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
| |
| void | set_visible_func (const SlotVisible &slot) |
| | Sets the "visible" callback used when filtering the filter.
|
| |
| void | set_modify_func (const TreeModelColumnRecord &columns, const SlotModify &slot) |
| | Specify columns that will be provided by this model, and a callback that will provide data for these columns based on data in the columns of the child model.
|
| |
| void | set_visible_column (const TreeModelColumnBase &column) |
| | Sets column of the child_model to be the column where filter should look for visibility information.
|
| |
| void | set_visible_column (int column) |
| | Sets column of the child_model to be the column where filter should look for visibility information.
|
| |
| Glib::RefPtr< TreeModel > | get_model () |
| | Returns a pointer to the child model of filter.
|
| |
| Glib::RefPtr< const TreeModel > | get_model () const |
| | Returns a pointer to the child model of filter.
|
| |
| iterator | convert_child_iter_to_iter (const iterator &child_iter) const |
| | Gets an iterator that points to the sorted row that corresponds to the child row pointed at by child_iter.
|
| |
| iterator | convert_iter_to_child_iter (const iterator &filter_iter) const |
| | Gets an iterator that points to the child row that corresponds to the sorted row pointed at by sorted_iter.
|
| |
| Path | convert_child_path_to_path (const Path &child_path) const |
| | Converts child_path to a path relative to filter.
|
| |
| Path | convert_path_to_child_path (const Path &filter_path) const |
| | Converts filter_path to a path on the child model of filter.
|
| |
| void | refilter () |
| | Emits row_changed for each row in the child model, which causes the filter to re-evaluate whether a row is visible or not.
|
| |
| void | clear_cache () |
| | This function should almost never be called.
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< TreeModel > > | property_child_model () const |
| | The model for the filtermodel to filter.
|
| |
| Glib::PropertyProxy_ReadOnly< TreeModel::Path > | property_virtual_root () const |
| | The virtual root (relative to the child model) for this filtermodel.
|
| |
| | TreeModel (TreeModel &&src) noexcept |
| |
| TreeModel & | operator= (TreeModel &&src) noexcept |
| |
| | ~TreeModel () noexcept override |
| |
| GtkTreeModel * | gobj () |
| | Provides access to the underlying C GObject.
|
| |
| const GtkTreeModel * | gobj () const |
| | Provides access to the underlying C GObject.
|
| |
| iterator | get_iter (const Path & path) |
| | Returns a valid iterator pointing to path.
|
| |
| iterator | get_iter (const Glib::ustring &path_string) |
| | Returns a valid iterator pointing to path_string.
|
| |
| Children | children () |
| | This returns an STL-like container API, for iterating over the rows.
|
| |
| Children | children () const |
| | This returns an STL-like container API, for iterating over the rows.
|
| |
| void | foreach_iter (const SlotForeachIter &slot) |
| | Calls a callback of type SlotForeachIter on each node in the model in a depth-first fashion.
|
| |
| void | foreach_path (const SlotForeachPath &slot) |
| | Calls a callback of type SlotForeachPath on each node in the model in a depth-first fashion.
|
| |
| void | foreach (const SlotForeachPathAndIter &slot) |
| | Calls a callback of type SlotForeachPathAndIter on each node in the model in a depth-first fashion.
|
| |
| TreeModelFlags | get_flags () const |
| | Returns a set of flags supported by this interface.
|
| |
| int | get_n_columns () const |
| | Returns the number of columns supported by tree_model.
|
| |
| GType | get_column_type (int index) const |
| | Returns the type of the column.
|
| |
| TreeModel::Path | get_path (const iterator &iter) const |
| | Returns a Gtk::TreePath referenced by iter.
|
| |
| void | row_changed (const Path & path, const iterator &iter) |
| | Emits the Gtk::TreeModel::signal_row_changed() signal on tree_model.
|
| |
| void | row_inserted (const Path & path, const iterator &iter) |
| | Emits the Gtk::TreeModel::signal_row_inserted() signal on tree_model.
|
| |
| void | row_has_child_toggled (const Path & path, const iterator &iter) |
| | Emits the Gtk::TreeModel::signal_row_has_child_toggled() signal on tree_model.
|
| |
| void | row_deleted (const Path & path) |
| | Emits the Gtk::TreeModel::signal_row_deleted() signal on tree_model.
|
| |
| void | rows_reordered (const Path & path, const iterator &iter, const std::vector< int > &new_order) |
| | Emits the "rows_reordered" signal on the tree model.
|
| |
| void | rows_reordered (const Path & path, const std::vector< int > &new_order) |
| | Emits the "rows_reordered" signal on the tree model.
|
| |
| void | rows_reordered (const Path & path, const iterator &iter, int *new_order) |
| | Emits the Gtk::TreeModel::signal_rows_reordered() signal on tree_model.
|
| |
| Glib::ustring | get_string (const iterator &iter) const |
| | Generates a string representation of the iter.
|
| |
| Glib::SignalProxy< void, const TreeModel::Path &, const TreeModel::iterator & > | signal_row_changed () |
| |
| Glib::SignalProxy< void, const TreeModel::Path &, const TreeModel::iterator & > | signal_row_inserted () |
| |
| Glib::SignalProxy< void, const TreeModel::Path &, const TreeModel::iterator & > | signal_row_has_child_toggled () |
| |
| Glib::SignalProxy< void, const TreeModel::Path & > | signal_row_deleted () |
| |
| Glib::SignalProxy< void, const TreeModel::Path &, const TreeModel::iterator &, int * > | signal_rows_reordered () |
| |
|
| | TreeModelFilter (const Glib::RefPtr< TreeModel > &child_model) |
| |
| | TreeModelFilter (const Glib::RefPtr< TreeModel > &child_model, const TreeModel::Path &virtual_root) |
| |
| void | set_value_impl (const iterator &row, int column, const Glib::ValueBase & value) override |
| | Override and implement this in a derived TreeModel class, so that Row::operator() and Row::set_value() work.
|
| |
| | TreeModel () |
| | You should derive from this class to use it.
|
| |
| virtual TreeModelFlags | get_flags_vfunc () const |
| |
| virtual int | get_n_columns_vfunc () const |
| |
| virtual GType | get_column_type_vfunc (int index) const |
| |
| virtual bool | iter_next_vfunc (const iterator &iter, iterator &iter_next) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual bool | get_iter_vfunc (const Path & path, iterator &iter) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual bool | iter_children_vfunc (const iterator & parent, iterator &iter) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual bool | iter_parent_vfunc (const iterator &child, iterator &iter) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual bool | iter_nth_child_vfunc (const iterator & parent, int n, iterator &iter) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual bool | iter_nth_root_child_vfunc (int n, iterator &iter) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual bool | iter_has_child_vfunc (const iterator &iter) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual int | iter_n_children_vfunc (const iterator &iter) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual int | iter_n_root_children_vfunc () const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual void | ref_node_vfunc (const iterator &iter) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual void | unref_node_vfunc (const iterator &iter) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual TreeModel::Path | get_path_vfunc (const iterator &iter) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual void | get_value_vfunc (const iterator &iter, int column, Glib::ValueBase & value) const |
| | Override and implement this in a derived TreeModel class.
|
| |
| virtual void | get_value_impl (const iterator &row, int column, Glib::ValueBase & value) const |
| |
| virtual void | on_row_changed (const TreeModel::Path & path, const TreeModel::iterator &iter) |
| | This is a default handler for the signal signal_row_changed().
|
| |
| virtual void | on_row_inserted (const TreeModel::Path & path, const TreeModel::iterator &iter) |
| | This is a default handler for the signal signal_row_inserted().
|
| |
| virtual void | on_row_has_child_toggled (const TreeModel::Path & path, const TreeModel::iterator &iter) |
| | This is a default handler for the signal signal_row_has_child_toggled().
|
| |
| virtual void | on_row_deleted (const TreeModel::Path & path) |
| | This is a default handler for the signal signal_row_deleted().
|
| |
| virtual void | on_rows_reordered (const TreeModel::Path & path, const TreeModel::iterator &iter, int *new_order) |
| | This is a default handler for the signal signal_rows_reordered().
|
| |