Re: Using a ButtonBox instead of a Notebook?
- From: "Lucky B.C" <lblackc13 gmail com>
- To: Bachsau <web bachsau name>
- Cc: gtk-app-devel-list list <gtk-app-devel-list gnome org>
- Subject: Re: Using a ButtonBox instead of a Notebook?
- Date: Mon, 19 Mar 2018 11:39:17 +0700
Hi, you're wrong about GtkTreeView did! Let's have more detail about what a
GtkTreeView <https://developer.gnome.org/gtk3/stable/GtkTreeView.html> can
do, here we go:
1) GtkTreeView can use more one GtkTreeModel
<https://developer.gnome.org/gtk3/stable/GtkTreeModel.html>.
2) GtkTreeModel is implemented by GtkListStore
<https://developer.gnome.org/gtk3/stable/GtkListStore.html>,
GtkTreeModelFilter
<https://developer.gnome.org/gtk3/stable/GtkTreeModelFilter.html>,
GtkTreeModelSort
<https://developer.gnome.org/gtk3/stable/GtkTreeModelSort.html> and
GtkTreeStore <https://developer.gnome.org/gtk3/stable/GtkTreeStore.html>.
3) GtkList ... GtkTreeStore are what you need in the case.
On Mon, Mar 19, 2018 at 4:21 AM, Bachsau <web bachsau name> wrote:
Hi, I'm currently developing an app that uses two panes in its main
window, each containing a "TreeView". Now it shall be capable of showing
the contents of several different files in tabs. But using a "Notebook"
would require me to have a distinct copy of the "Paned" and "TreeView"
widgets on every page of the Notebook. I don't really like that and had the
idea of using a "ButtonBox" with radio buttons instead, which just swap the
"ListStore"s displayed by the "TreeView"s.
What do you think of this idea and is there a way to make the radio
buttons look like default "Notebook" tabs?
Thanks in advance,
Bachsau
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]