Hello, i have a treeview and i connect the cursor_changed to this:

def on_mangatreeview_cursor_changed(self, widget, user_param=None):
        treeselection = widget.get_selection()
        treemodel,treeiter = treeselection.get_selected()
        path = treemodel.get_path(treeiter)
        value = treemodel.get_value(treeiter, 0)

but the function run twice and i don't want this

any idea?

Thanks
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
  • [pygtk] treeview, cursor_changed... Χρήστος Τριανταφύλλης

Reply via email to