我實現了一個自定義的TreeModel在PyGI(GTK3)以下方式(如建議here 和here): test.py from gi.repository import Gtk
class Store(GObject.Object, Gtk.TreeModel):
def __init__(self):
self.data = [[i*j for i in range(1
我需要幫助在Windows下設置PyGObject。我已經installed it但gi.repository ERROR:root:Could not find any typelib for Gtk
Traceback (most recent call last):
File "example.py", line 2, in <module>
from gi.repos