Saba Khan ha scritto: > Hi, > I want to become parent child behaviour in tree view. When i select the > child toggle button , parent is selected by default itself if it does not > selected already. But when i use to select parent toggle button only parent > should be selected in that way not rest of childs. > So how i can make this relation in tree view. > Hope for the positive and prompt reply. Hou have to find the parent of the selected row (see gtk_tree_model_iter_parent() ) and select there what you need to be selected, iterating to the root or until a parent node is already selected. BYtE, Diego. _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list