Re: gtk_tree_view/store, best way to select all nodes of a branch
- From: Arne Pagel <arne pagelnet de>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk_tree_view/store, best way to select all nodes of a branch
- Date: Wed, 12 Sep 2012 10:40:11 +0200
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]