Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a working TreeView with a ListStore as its model and selection set to SINGLE. How do I emit a signal to activate a specific row? I'm using PyGI.

(Sorry if this is basic; it's not in the Python-GTK3 tutorial and much of the documentation around is based on pygtk, not PyGI.)

share|improve this question

You'll need a GtkTreePath to the row, and a GtkTreeViewColumn for the column, but you can use row_activated() on the TreeView widget you wish to activate from. Calling this will result in the row-activated signal being called, as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.