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

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 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 '-'
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

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

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

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