pgi-docgen icon indicating copy to clipboard operation
pgi-docgen copied to clipboard

Gtk.TreeView.do_unselect_all() without arguments

Open buhtz opened this issue 6 years ago • 1 comments

See

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)

buhtz avatar Jul 03 '18 21:07 buhtz

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

lazka avatar Jul 04 '18 06:07 lazka