pgi-docgen
pgi-docgen copied to clipboard
Gtk.TreeView.do_unselect_all() without arguments
Gtk.TreeView.do_unselect_all() without arguments
has no arguments there.
But when calling it in my code I see
self.do_unselect_all()
TypeError: Gtk.TreeView.unselect_all() takes exactly 1 argument (0 given)
self.do_unselect_all(self)
should work.
I agree that the docs should be improved here
some related background: https://gitlab.gnome.org/GNOME/pygobject/issues/58