class DuplicatePageTreeStore(PageTreeStoreBase): (source)
Known subclasses: zim.plugins.tags.TaggedPageTreeStore, zim.plugins.tags.TagsPageTreeStore
| Method | get_indexpath |
Get an PageIndexRecord for a Gtk.TreeIter |
| Method | set_current_page |
Since there may be duplicates of each page, highlight all of them |
| Instance Variable | current_page |
Undocumented |
Inherited from PageTreeStoreBase:
| Method | __init__ |
Initialize. Make sure to call this from derived classes if overridden. |
| Method | flush_cache |
Undocumented |
| Method | on_get_column_type |
Overridable. |
| Method | on_get_flags |
Overridable. |
| Method | on_get_iter |
Returns an MyTreeIter for a gtk TreePath or None |
| Method | on_get_n_columns |
Overridable. |
| Method | on_get_path |
Returns a gtk TreePath for an indexpath |
| Method | on_get_value |
Overridable. |
| Method | on_iter_children |
Returns an PageIndexRecord for the first child below path or None. If path is None returns the PageIndexRecord for first top level item. |
| Method | on_iter_has_child |
Returns True if PageIndexRecord for iter has children |
| Method | on_iter_n_children |
Returns the number of children in a namespace. When iter is None the number of pages in the root namespace is given. |
| Method | on_iter_next |
Returns the PageIndexRecord for the next row on the same level or None |
| Method | on_iter_nth_child |
Returns the nth child or None. If iter is None the nth item in the root namespace is returned. |
| Method | on_iter_parent |
Returns an indexpath for parent node or None |
| Constant | COLUMN_TYPES |
Undocumented |
| Method | _emit_page_changes |
Undocumented |
| Instance Variable | _flush_scheduled |
Undocumented |
Inherited from GenericTreeModel (via PageTreeStoreBase):
| Method | create_tree_iter |
Create a Gtk.TreeIter instance with the given user_data specific for this model. |
| Method | do_get_column_type |
Internal method. |
| Method | do_get_flags |
Internal method. |
| Method | do_get_iter |
Internal method. |
| Method | do_get_n_columns |
Internal method. |
| Method | do_get_path |
Internal method. |
| Method | do_get_value |
Internal method. |
| Method | do_iter_children |
Internal method. |
| Method | do_iter_has_child |
Internal method. |
| Method | do_iter_n_children |
Internal method. |
| Method | do_iter_next |
Internal method. |
| Method | do_iter_nth_child |
Internal method. |
| Method | do_iter_parent |
Internal method. |
| Method | do_ref_node |
Undocumented |
| Method | do_unref_node |
Undocumented |
| Method | get_user_data |
Get the user_data associated with the given TreeIter. |
| Method | invalidate_iter |
Clear user data and its reference from the iter and this model. |
| Method | invalidate_iters |
This method invalidates all TreeIter objects associated with this custom tree model and frees their locally pooled references. |
| Method | iter_depth_first |
Depth-first iteration of the entire TreeModel yielding the python nodes. |
| Method | iter_is_valid |
:Returns: True if the gtk.TreeIter specified by iter is valid for the custom tree model. |
| Method | on_ref_node |
Undocumented |
| Method | on_unref_node |
Undocumented |
| Method | row_deleted |
Notify the model a row has been deleted. |
| Method | set_user_data |
Applies user_data and stamp to the given iter. |
| Class Variable | leak_references |
Undocumented |
| Instance Variable | stamp |
Undocumented |
| Method | _create_tree_iter |
Internal creation of a (bool, TreeIter) pair for returning directly back to the view interfacing with this model. |
| Instance Variable | _held_refs |
Undocumented |
PageIndexRecord for a Gtk.TreeIter| Parameters | |
| treeiter | a Gtk.TreeIter |
| Returns | |
an PageIndexRecord object | |