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

Re: Tree view and multiple TreeModels.



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]