class documentation

class TagsTreeModelMixin(TagsTreeModelBase): (source)

Known subclasses: zim.plugins.tags.TagsPageTreeStore

View In Hierarchy

Method find Returns the Gtk.TreePath for a notebook page Path If the Path appears multiple times returns the first occurrence @raises IndexNotFoundError: if path not found
Method find_all Returns a list of Gtk.TreePath for a notebook page Path Returns all occurrences in the treeview @raises IndexNotFoundError: if path not found
Method get_mytreeiter Returns a treeiter object for treepath or None @implementation: must be implemented by a subclass
Method on_tag_added_to_page Undocumented
Method on_tag_remove_from_page Undocumented
Method on_tag_removed_from_page Undocumented
Method on_tag_row_deleted Undocumented
Method on_tag_row_inserted Undocumented
Method _find_all_pages Undocumented
Method _find_tag Undocumented
Method _get_offset_n_children Undocumented
Method _matching_tag_ids Undocumented
Instance Variable _deleted_tag_path Undocumented

Inherited from TagsTreeModelBase:

Method __init__ Undocumented
Method connect_to_updateiter Connect to a new IndexUpdateIter
Instance Variable tags Undocumented
Method _emit_children_inserted Undocumented
Method _update_ids Undocumented
Instance Variable _tagids Undocumented
Instance Variable _tagquery Undocumented

Inherited from PagesTreeModelMixin (via TagsTreeModelBase):

Method n_children_top Return the number of items in the top level of the model
Method on_page_row_changed Undocumented
Method on_page_row_delete Undocumented
Method on_page_row_deleted Undocumented
Method on_page_row_inserted Undocumented
Method _check_parent_has_child_toggled Undocumented
Method _set_root_id Undocumented
Instance Variable _deleted_paths Undocumented
Instance Variable _MY_ROOT_ID Undocumented
Instance Variable _MY_ROOT_NAME Undocumented
Instance Variable _MY_ROOT_NAME_C Undocumented
Instance Variable _REVERSE Undocumented

Inherited from TreeModelMixinBase (via TagsTreeModelBase, PagesTreeModelMixin):

Method teardown Undocumented
Instance Variable cache Undocumented
Instance Variable db Undocumented
Instance Variable index Undocumented

Inherited from ConnectorMixin (via TagsTreeModelBase, PagesTreeModelMixin, TreeModelMixinBase):

Method connectto Connect to signals of another object E.g.:
Method connectto_all Convenience method to combine multiple calls to connectto().
Method disconnect_all Disconnect all signals that have been connected with connectto and friends. Typically called when you want to destroy this object.
Method disconnect_from Disc all signals that have been connected with connectto and friends to a specific object.
Method _disconnect_from Undocumented
Instance Variable _connected_signals Undocumented
def find(self, path): (source)
Returns the Gtk.TreePath for a notebook page Path If the Path appears multiple times returns the first occurrence
Raises
IndexNotFoundErrorif path not found
def find_all(self, path): (source)
Returns a list of Gtk.TreePath for a notebook page Path Returns all occurrences in the treeview
Raises
IndexNotFoundErrorif path not found
def get_mytreeiter(self, treepath): (source)
Returns a treeiter object for treepath or None
Unknown Field: implementation
must be implemented by a subclass
def on_tag_added_to_page(self, o, row, pagerow): (source)

Undocumented

def on_tag_remove_from_page(self, o, row, pagerow): (source)

Undocumented

def on_tag_removed_from_page(self, o, row, pagerow): (source)
def on_tag_row_deleted(self, o, row): (source)
def on_tag_row_inserted(self, o, row): (source)
def _find_all_pages(self, name): (source)
def _find_tag(self, tag): (source)

Undocumented

def _get_offset_n_children(self, row): (source)

Undocumented

def _matching_tag_ids(self, pageid): (source)

Undocumented