Removing and recreating tree isn't very efficient, so for operations like adding new directory or removing items from the store, only affected rows are changed (added or removed from the treestore).
Gtkpass is a simple GUI for the pass password manager written in Python and GTK 3.0.