14 lines
377 B
Python
14 lines
377 B
Python
# Copyright 2021 (c) Anna Schumaker.
|
|
import tagdb
|
|
from gi.repository import GObject
|
|
|
|
class Selector(GObject.GObject):
|
|
def __init__(self): GObject.GObject.__init__(self)
|
|
def next(self): return None
|
|
def previous(self): return None
|
|
|
|
|
|
class TagdbSelector(Selector):
|
|
def next(self): return tagdb.Stack.next()[0]
|
|
def previous(self): return tagdb.Stack.previous()
|