[pygtk] problem with TreeView + ListStore

Guillermo Heizenreder gheize at gmail.com
Tue Sep 4 05:43:08 EDT 2007


Hi list
I'm developing a application for learn pygkt, and I need to know when a
user selected or clicked one determinate row of my TreeView for shot
another signal .

Study the tutorial [1] I began to see the explanation that I see in the
chapter 14.7. TreeView Signal and found one in particular
"select-cursor-row", but I don't understood  how implementing.

Something like that.
   if user_selected_row:
      self.hbox_118.show()
      print "YES"       

NOTE: self.hbox_118 = wTree.get_widget("hbox118")

Thank and Regard
  
[1] http://www.pygtk.org/pygtk2tutorial/sec-TreeViewSignals.html

P/D: my English it to bad, I'm a novice.
-- 
Heizenreder Guillermo
http://code.google.com/u/gheize/




More information about the Python-list mailing list