[pygtk] treeview, cursor_changed twice
Χρήστος Τριανταφύλλης
christriant1995 at gmail.com
Tue Jun 19 04:27:12 WST 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20120618/efd9db9d/attachment.html>
More information about the pygtk
mailing list