2008/4/19, Shadi Azoum <[EMAIL PROTECTED]>:

> I have two columns in a treeview, one with strings in a hierarchial fashion
> and corresponding checkboxes. How can I make all children checkboxes
> selected if a parent checkbox is selected?
>  I would greatly appreciate any help.

You need to catch the changed signal, and set up all the children as you wish.

In the w3af project [1], I did that, and even set up everything so
when you click/unclick a children, the parent goes to "mixed mode".

Check it out and try it!

Regards,

[1] https://sourceforge.net/projects/w3af

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to