Colossus wrote:
This is what I did but why does the function
gtk_tree_selection_count_selected_rows ( selection ) keep on returning 1 ?
Solved by connecting the selection and not the treeview to the changed
signal.
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/
John Coppens wrote:
I suspect you use a tree_view or so?
Yes.
You can unselect a row using Ctrl-Click on the row.
This is what I did but why does the function
gtk_tree_selection_count_selected_rows ( selection ) keep on returning
1 ?
--
Colossus
Cpsed, a Linux OpenGL 3D scene editor
h
On Mon, 05 Sep 2005 15:49:50 -0700
Colossus <[EMAIL PROTECTED]> wrote:
> I have a gtk_image_menu_item_new_from_stock that I want to enable /
> disable when rows are selected and not selected. The problem is that
> when I click on a row who is selected it is not unselected but remains
> selected.
Hi,
I have a gtk_image_menu_item_new_from_stock that I want to enable /
disable when rows are selected and not selected. The problem is that
when I click on a row who is selected it is not unselected but remains
selected. So the function gtk_tree_selection_count_selected_rows
return > 0 and th