searchtree: add class doc

This commit is contained in:
Eric Le Lay 2020-04-05 17:14:11 +02:00
parent e8fd2e081f
commit 00d9ca36f0
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@ from gi.repository import Gdk, GLib # isort:skip
class SearchTree:
"""
handle showing/hiding the search box for podcast or episode treeviews,
as well as searching for text entered in the search entry.
Automatically attaches to entry signals on creation.
"""
def __init__(self, search_box, search_entry, tree, model, config):
self.search_box = search_box
self.search_entry = search_entry