Re: gtk_tree_view/store, best way to select all nodes of a branch



My current simple solution is as follows:
I use the gtk_tree_model_foreach() function and pass some user data with the current major number of the 
tree-path.
Inside the foreach-function I use gtk_tree_path_to_string, where I check if the first number is identical to 
the user data.

This works, but I have to use a lot of string functions.
Is there a smarter way to do that with less overhead?

regards
  Arne



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]