Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gtk.TreeView.do_unselect_all() without arguments #167

Open
buhtz opened this issue Jul 3, 2018 · 1 comment
Open

Gtk.TreeView.do_unselect_all() without arguments #167

buhtz opened this issue Jul 3, 2018 · 1 comment

Comments

@buhtz
Copy link

buhtz commented Jul 3, 2018

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)

@lazka
Copy link
Member

lazka commented Jul 4, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants