14 lines
352 B
Python
14 lines
352 B
Python
# Copyright 2022 (c) Anna Schumaker.
|
|
"""Widgets for sidebar rows."""
|
|
from gi.repository import GObject
|
|
from gi.repository import Gtk
|
|
from .. import db
|
|
|
|
|
|
class BaseRow(Gtk.Box):
|
|
"""Base class for Row widgets."""
|
|
|
|
playlist = GObject.Property(type=db.playlist.Playlist)
|
|
name = GObject.Property(type=str)
|
|
count = GObject.Property(type=int)
|