>
> How do you get the column number from a GtkTreeViewColumn pointer? Is
> there a way to get the previous and/or next Column or column number?
>
Use gtk_tree_view_get_columns() to get a GList of all the column and check
the pointer of focus_column against the GList with g_list_index(), this w
Anyone?
The following will get me the Column from a treeview, but from
focus_column I don't know if I'm in the first, second, third . . . or
last column.
GtkTreePath *tp=NULL;
GtkTreeViewColumn *focus_column=NULL;
gtk_tree_view_get_cursor(GTK_TREE_VIEW(treeview), &tp, &focus_column);
How do
The following will get me the Column from a treeview, but from
focus_column I don't know if I'm in the first, second, third . . . or
last column.
GtkTreePath *tp=NULL;
GtkTreeViewColumn *focus_column=NULL;
gtk_tree_view_get_cursor(GTK_TREE_VIEW(treeview), &tp, &focus_column);
How do you get th