Re: Using a ButtonBox instead of a Notebook?

2018-03-18 Thread Lucky B.C
Hi, you're wrong about GtkTreeView did! Let's have more detail about what a GtkTreeView can do, here we go: 1) GtkTreeView can use more one GtkTreeModel . 2) GtkTreeModel is imple

Re: Using a ButtonBox instead of a Notebook?

2018-03-19 Thread Bachsau
I'm sorry, but I think I don't understand what you're trying to tell me, as I think this is how I already do it. I have a working Application managing a bunch of data represented by a list of items with several attributes. These items are displayed to the user by using a GtkTreeView backed by

Re: Using a ButtonBox instead of a Notebook?

2018-03-19 Thread Lucky B.C
Well, that's why you was wrong as I said, don't keep only one GtkTreeModel for storing the data, I mean you should have multiple GtkTreeModels. Please read again more detail in Gtk documents. On Mon, Mar 19, 2018, 19:00 Bachsau wrote: > I'm sorry, but I think I don't understand what you're tryin

Re: Using a ButtonBox instead of a Notebook?

2018-03-19 Thread '-'
Yo, Have you tried removing the existing TreeView widget from one Notebook tab, and adding it (the same instance) to another when the user switches? Also, TreeView has a set_model() method which lets you specify which model to use. For example, unset the model before making numerous data change

Re: Using a ButtonBox instead of a Notebook?

2018-03-19 Thread '-'
Yo, Have you tried removing the existing TreeView widget from one Notebook tab, and adding it (the same instance) to another when the user switches? Also, TreeView has a set_model() method which lets you specify which model to use. For example, unset the model before making numerous data change

Re: Using a ButtonBox instead of a Notebook?

2018-03-19 Thread Bachsau
Am 19.03.2018 um 13:21 schrieb Lucky B.C: don't keep only one GtkTreeModel for storing the data, I mean you should have multiple GtkTreeModels. You mean I should use more than one GtkTreeModel for a *single* set of data? What would be the benefit of this and how does it help with my problem?

Re: Using a ButtonBox instead of a Notebook?

2018-03-19 Thread Lucky B.C
On Mon, Mar 19, 2018, 19:00 Bachsau wrote: > > Now I want to expand my application to manage not just one but several > bunches of those data, each in a different tab inside the same window. > > First as you said that and then I thought you needed to know about GtkTreeModel widget "The GtkTreeMo

Re: Using a ButtonBox instead of a Notebook?

2018-03-27 Thread Bachsau
Finally I'm not sure if I'm just confused or having trouble understanding your english, but it sounds to me as if what you are suggesting to me to do is exactly what I said was MY idea in my first post! Your posts are not helpful. Yes, I want to use multiple GtkTreeModels. It was not even the

Re: Re: Using a ButtonBox instead of a Notebook?

2018-03-19 Thread Bachsau
Am 19.03.18 um 13:17 schrieb '-': Have you tried removing the existing TreeView widget from one Notebook tab, and adding it (the same instance) to another when the user switches? No, I didn't implement any Notebook yet. This was just to describe how it should look like. What you propose is an