Re: Tree view and multiple TreeModels.
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: marcodev comcast net, gtk-app-devel-list gnome org (Gtk List)
- Cc:
- Subject: Re: Tree view and multiple TreeModels.
- Date: Fri, 1 Apr 2005 23:00:22 +0300
marcodev comcast net wrote:
Hi,
I have a TreeView widget I use to display data from two different
TreeModels (or TreeStores). I switch the model connected to the TreeView
depending on what the user wants to look at. The TreeView has the
"row-activated" signal connected to it and what I'd like to know is if
there is a way to tell which TreeModel is the one being passed to the
callback at the time the user activates the row. I guess I could keep track
of what model is being displayed but if there is a cleaner way to get this
info from the data passed to the callback I'd rather use that.
gtk_tree_view_get_model()?
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]